purecloud-platform-client-v2 154.0.0 → 155.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 (77) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +323 -77
  3. package/dist/web-amd/purecloud-platform-client-v2.js +323 -77
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +323 -77
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +323 -77
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +409 -227
  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 +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 +1 -1
  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 +119 -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 +1 -1
  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
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 154.0.0
405
+ * @version 155.0.1
406
406
  */
407
407
  class ApiClient {
408
408
  /**
@@ -1481,7 +1481,7 @@ class AlertingApi {
1481
1481
  /**
1482
1482
  * Alerting service.
1483
1483
  * @module purecloud-platform-client-v2/api/AlertingApi
1484
- * @version 154.0.0
1484
+ * @version 155.0.1
1485
1485
  */
1486
1486
 
1487
1487
  /**
@@ -1795,7 +1795,7 @@ class AnalyticsApi {
1795
1795
  /**
1796
1796
  * Analytics service.
1797
1797
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1798
- * @version 154.0.0
1798
+ * @version 155.0.1
1799
1799
  */
1800
1800
 
1801
1801
  /**
@@ -3049,7 +3049,7 @@ class ArchitectApi {
3049
3049
  /**
3050
3050
  * Architect service.
3051
3051
  * @module purecloud-platform-client-v2/api/ArchitectApi
3052
- * @version 154.0.0
3052
+ * @version 155.0.1
3053
3053
  */
3054
3054
 
3055
3055
  /**
@@ -6097,7 +6097,7 @@ class AuditApi {
6097
6097
  /**
6098
6098
  * Audit service.
6099
6099
  * @module purecloud-platform-client-v2/api/AuditApi
6100
- * @version 154.0.0
6100
+ * @version 155.0.1
6101
6101
  */
6102
6102
 
6103
6103
  /**
@@ -6268,7 +6268,7 @@ class AuthorizationApi {
6268
6268
  /**
6269
6269
  * Authorization service.
6270
6270
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6271
- * @version 154.0.0
6271
+ * @version 155.0.1
6272
6272
  */
6273
6273
 
6274
6274
  /**
@@ -7496,7 +7496,7 @@ class BillingApi {
7496
7496
  /**
7497
7497
  * Billing service.
7498
7498
  * @module purecloud-platform-client-v2/api/BillingApi
7499
- * @version 154.0.0
7499
+ * @version 155.0.1
7500
7500
  */
7501
7501
 
7502
7502
  /**
@@ -7576,7 +7576,7 @@ class ChatApi {
7576
7576
  /**
7577
7577
  * Chat service.
7578
7578
  * @module purecloud-platform-client-v2/api/ChatApi
7579
- * @version 154.0.0
7579
+ * @version 155.0.1
7580
7580
  */
7581
7581
 
7582
7582
  /**
@@ -7667,7 +7667,7 @@ class CoachingApi {
7667
7667
  /**
7668
7668
  * Coaching service.
7669
7669
  * @module purecloud-platform-client-v2/api/CoachingApi
7670
- * @version 154.0.0
7670
+ * @version 155.0.1
7671
7671
  */
7672
7672
 
7673
7673
  /**
@@ -8244,7 +8244,7 @@ class ContentManagementApi {
8244
8244
  /**
8245
8245
  * ContentManagement service.
8246
8246
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8247
- * @version 154.0.0
8247
+ * @version 155.0.1
8248
8248
  */
8249
8249
 
8250
8250
  /**
@@ -9384,7 +9384,7 @@ class ConversationsApi {
9384
9384
  /**
9385
9385
  * Conversations service.
9386
9386
  * @module purecloud-platform-client-v2/api/ConversationsApi
9387
- * @version 154.0.0
9387
+ * @version 155.0.1
9388
9388
  */
9389
9389
 
9390
9390
  /**
@@ -14607,7 +14607,7 @@ class DataExtensionsApi {
14607
14607
  /**
14608
14608
  * DataExtensions service.
14609
14609
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14610
- * @version 154.0.0
14610
+ * @version 155.0.1
14611
14611
  */
14612
14612
 
14613
14613
  /**
@@ -14693,7 +14693,7 @@ class DownloadsApi {
14693
14693
  /**
14694
14694
  * Downloads service.
14695
14695
  * @module purecloud-platform-client-v2/api/DownloadsApi
14696
- * @version 154.0.0
14696
+ * @version 155.0.1
14697
14697
  */
14698
14698
 
14699
14699
  /**
@@ -14745,7 +14745,7 @@ class EventsApi {
14745
14745
  /**
14746
14746
  * Events service.
14747
14747
  * @module purecloud-platform-client-v2/api/EventsApi
14748
- * @version 154.0.0
14748
+ * @version 155.0.1
14749
14749
  */
14750
14750
 
14751
14751
  /**
@@ -14841,7 +14841,7 @@ class ExternalContactsApi {
14841
14841
  /**
14842
14842
  * ExternalContacts service.
14843
14843
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14844
- * @version 154.0.0
14844
+ * @version 155.0.1
14845
14845
  */
14846
14846
 
14847
14847
  /**
@@ -16799,7 +16799,7 @@ class FaxApi {
16799
16799
  /**
16800
16800
  * Fax service.
16801
16801
  * @module purecloud-platform-client-v2/api/FaxApi
16802
- * @version 154.0.0
16802
+ * @version 155.0.1
16803
16803
  */
16804
16804
 
16805
16805
  /**
@@ -16970,7 +16970,7 @@ class FlowsApi {
16970
16970
  /**
16971
16971
  * Flows service.
16972
16972
  * @module purecloud-platform-client-v2/api/FlowsApi
16973
- * @version 154.0.0
16973
+ * @version 155.0.1
16974
16974
  */
16975
16975
 
16976
16976
  /**
@@ -17041,7 +17041,7 @@ class GamificationApi {
17041
17041
  /**
17042
17042
  * Gamification service.
17043
17043
  * @module purecloud-platform-client-v2/api/GamificationApi
17044
- * @version 154.0.0
17044
+ * @version 155.0.1
17045
17045
  */
17046
17046
 
17047
17047
  /**
@@ -18658,7 +18658,7 @@ class GeneralDataProtectionRegulationApi {
18658
18658
  /**
18659
18659
  * GeneralDataProtectionRegulation service.
18660
18660
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18661
- * @version 154.0.0
18661
+ * @version 155.0.1
18662
18662
  */
18663
18663
 
18664
18664
  /**
@@ -18788,7 +18788,7 @@ class GeolocationApi {
18788
18788
  /**
18789
18789
  * Geolocation service.
18790
18790
  * @module purecloud-platform-client-v2/api/GeolocationApi
18791
- * @version 154.0.0
18791
+ * @version 155.0.1
18792
18792
  */
18793
18793
 
18794
18794
  /**
@@ -18919,7 +18919,7 @@ class GreetingsApi {
18919
18919
  /**
18920
18920
  * Greetings service.
18921
18921
  * @module purecloud-platform-client-v2/api/GreetingsApi
18922
- * @version 154.0.0
18922
+ * @version 155.0.1
18923
18923
  */
18924
18924
 
18925
18925
  /**
@@ -19374,7 +19374,7 @@ class GroupsApi {
19374
19374
  /**
19375
19375
  * Groups service.
19376
19376
  * @module purecloud-platform-client-v2/api/GroupsApi
19377
- * @version 154.0.0
19377
+ * @version 155.0.1
19378
19378
  */
19379
19379
 
19380
19380
  /**
@@ -19780,7 +19780,7 @@ class IdentityProviderApi {
19780
19780
  /**
19781
19781
  * IdentityProvider service.
19782
19782
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19783
- * @version 154.0.0
19783
+ * @version 155.0.1
19784
19784
  */
19785
19785
 
19786
19786
  /**
@@ -20536,7 +20536,7 @@ class IntegrationsApi {
20536
20536
  /**
20537
20537
  * Integrations service.
20538
20538
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20539
- * @version 154.0.0
20539
+ * @version 155.0.1
20540
20540
  */
20541
20541
 
20542
20542
  /**
@@ -22136,7 +22136,7 @@ class JourneyApi {
22136
22136
  /**
22137
22137
  * Journey service.
22138
22138
  * @module purecloud-platform-client-v2/api/JourneyApi
22139
- * @version 154.0.0
22139
+ * @version 155.0.1
22140
22140
  */
22141
22141
 
22142
22142
  /**
@@ -22922,7 +22922,7 @@ class KnowledgeApi {
22922
22922
  /**
22923
22923
  * Knowledge service.
22924
22924
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22925
- * @version 154.0.0
22925
+ * @version 155.0.1
22926
22926
  */
22927
22927
 
22928
22928
  /**
@@ -25355,7 +25355,7 @@ class LanguageUnderstandingApi {
25355
25355
  /**
25356
25356
  * LanguageUnderstanding service.
25357
25357
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
25358
- * @version 154.0.0
25358
+ * @version 155.0.1
25359
25359
  */
25360
25360
 
25361
25361
  /**
@@ -25545,6 +25545,7 @@ class LanguageUnderstandingApi {
25545
25545
  * @param {String} opts.dateStart Begin of time window as ISO-8601 date.
25546
25546
  * @param {String} opts.dateEnd End of time window as ISO-8601 date.
25547
25547
  * @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
25548
+ * @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
25548
25549
  * @param {Number} opts.pageNumber Page number (default to 1)
25549
25550
  * @param {Number} opts.pageSize Page size (default to 25)
25550
25551
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
@@ -25563,7 +25564,7 @@ class LanguageUnderstandingApi {
25563
25564
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
25564
25565
  'GET',
25565
25566
  { 'domainId': domainId },
25566
- { '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') },
25567
+ { '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') },
25567
25568
  { },
25568
25569
  { },
25569
25570
  null,
@@ -25757,8 +25758,13 @@ class LanguageUnderstandingApi {
25757
25758
  *
25758
25759
  * @param {String} minerId Miner ID
25759
25760
  * @param {String} draftId Draft ID
25761
+ * @param {Object} opts Optional parameters
25762
+ * @param {String} opts.draftIntentId Parameter to filter a specific intent.
25763
+ * @param {String} opts.draftTopicId Parameter to filter a specific topic.
25760
25764
  */
25761
- getLanguageunderstandingMinerDraft(minerId, draftId) {
25765
+ getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
25766
+ opts = opts || {};
25767
+
25762
25768
  // verify the required parameter 'minerId' is set
25763
25769
  if (minerId === undefined || minerId === null) {
25764
25770
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
@@ -25772,7 +25778,7 @@ class LanguageUnderstandingApi {
25772
25778
  '/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
25773
25779
  'GET',
25774
25780
  { 'minerId': minerId,'draftId': draftId },
25775
- { },
25781
+ { 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
25776
25782
  { },
25777
25783
  { },
25778
25784
  null,
@@ -25870,17 +25876,115 @@ class LanguageUnderstandingApi {
25870
25876
  );
25871
25877
  }
25872
25878
 
25879
+ /**
25880
+ * Retrieves details of a particular topic.
25881
+ *
25882
+ * @param {String} minerId Miner ID
25883
+ * @param {String} topicId The ID of the topic to be retrieved.
25884
+ * @param {Object} opts Optional parameters
25885
+ * @param {Object} opts.expand Option to fetch phrases
25886
+ */
25887
+ getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
25888
+ opts = opts || {};
25889
+
25890
+ // verify the required parameter 'minerId' is set
25891
+ if (minerId === undefined || minerId === null) {
25892
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
25893
+ }
25894
+ // verify the required parameter 'topicId' is set
25895
+ if (topicId === undefined || topicId === null) {
25896
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
25897
+ }
25898
+
25899
+ return this.apiClient.callApi(
25900
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
25901
+ 'GET',
25902
+ { 'minerId': minerId,'topicId': topicId },
25903
+ { 'expand': opts['expand'] },
25904
+ { },
25905
+ { },
25906
+ null,
25907
+ ['PureCloud OAuth'],
25908
+ ['application/json'],
25909
+ ['application/json']
25910
+ );
25911
+ }
25912
+
25913
+ /**
25914
+ * Retrieves utterances related to a phrase in a topic.
25915
+ *
25916
+ * @param {String} minerId Miner ID
25917
+ * @param {String} topicId The ID of the topic to be retrieved.
25918
+ * @param {String} phraseId The ID of the phrase to be retrieved.
25919
+ */
25920
+ getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
25921
+ // verify the required parameter 'minerId' is set
25922
+ if (minerId === undefined || minerId === null) {
25923
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
25924
+ }
25925
+ // verify the required parameter 'topicId' is set
25926
+ if (topicId === undefined || topicId === null) {
25927
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
25928
+ }
25929
+ // verify the required parameter 'phraseId' is set
25930
+ if (phraseId === undefined || phraseId === null) {
25931
+ throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
25932
+ }
25933
+
25934
+ return this.apiClient.callApi(
25935
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
25936
+ 'GET',
25937
+ { 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
25938
+ { },
25939
+ { },
25940
+ { },
25941
+ null,
25942
+ ['PureCloud OAuth'],
25943
+ ['application/json'],
25944
+ ['application/json']
25945
+ );
25946
+ }
25947
+
25948
+ /**
25949
+ * Retrieve a list of mined topics.
25950
+ *
25951
+ * @param {String} minerId Miner ID
25952
+ */
25953
+ getLanguageunderstandingMinerTopics(minerId) {
25954
+ // verify the required parameter 'minerId' is set
25955
+ if (minerId === undefined || minerId === null) {
25956
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
25957
+ }
25958
+
25959
+ return this.apiClient.callApi(
25960
+ '/api/v2/languageunderstanding/miners/{minerId}/topics',
25961
+ 'GET',
25962
+ { 'minerId': minerId },
25963
+ { },
25964
+ { },
25965
+ { },
25966
+ null,
25967
+ ['PureCloud OAuth'],
25968
+ ['application/json'],
25969
+ ['application/json']
25970
+ );
25971
+ }
25972
+
25873
25973
  /**
25874
25974
  * Retrieve the list of miners created.
25875
25975
  *
25976
+ * @param {Object} opts Optional parameters
25977
+ * @param {String} opts.minerType Type of miner, either intent or topic
25876
25978
  */
25877
- getLanguageunderstandingMiners() {
25979
+ getLanguageunderstandingMiners(opts) {
25980
+ opts = opts || {};
25981
+
25878
25982
 
25879
25983
  return this.apiClient.callApi(
25880
25984
  '/api/v2/languageunderstanding/miners',
25881
25985
  'GET',
25882
25986
  { },
25883
- { },
25987
+ { 'minerType': opts['minerType'] },
25884
25988
  { },
25885
25989
  { },
25886
25990
  null,
@@ -26084,8 +26188,12 @@ class LanguageUnderstandingApi {
26084
26188
  *
26085
26189
  * @param {String} domainId ID of the NLU domain.
26086
26190
  * @param {Object} body The NLU Domain Version to create.
26191
+ * @param {Object} opts Optional parameters
26192
+ * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
26087
26193
  */
26088
- postLanguageunderstandingDomainVersions(domainId, body) {
26194
+ postLanguageunderstandingDomainVersions(domainId, body, opts) {
26195
+ opts = opts || {};
26196
+
26089
26197
  // verify the required parameter 'domainId' is set
26090
26198
  if (domainId === undefined || domainId === null) {
26091
26199
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
@@ -26099,7 +26207,7 @@ class LanguageUnderstandingApi {
26099
26207
  '/api/v2/languageunderstanding/domains/{domainId}/versions',
26100
26208
  'POST',
26101
26209
  { 'domainId': domainId },
26102
- { },
26210
+ { 'includeUtterances': opts['includeUtterances'] },
26103
26211
  { },
26104
26212
  { },
26105
26213
  body,
@@ -26259,7 +26367,7 @@ class LanguagesApi {
26259
26367
  /**
26260
26368
  * Languages service.
26261
26369
  * @module purecloud-platform-client-v2/api/LanguagesApi
26262
- * @version 154.0.0
26370
+ * @version 155.0.1
26263
26371
  */
26264
26372
 
26265
26373
  /**
@@ -26527,7 +26635,7 @@ class LearningApi {
26527
26635
  /**
26528
26636
  * Learning service.
26529
26637
  * @module purecloud-platform-client-v2/api/LearningApi
26530
- * @version 154.0.0
26638
+ * @version 155.0.1
26531
26639
  */
26532
26640
 
26533
26641
  /**
@@ -27288,7 +27396,7 @@ class LicenseApi {
27288
27396
  /**
27289
27397
  * License service.
27290
27398
  * @module purecloud-platform-client-v2/api/LicenseApi
27291
- * @version 154.0.0
27399
+ * @version 155.0.1
27292
27400
  */
27293
27401
 
27294
27402
  /**
@@ -27526,7 +27634,7 @@ class LocationsApi {
27526
27634
  /**
27527
27635
  * Locations service.
27528
27636
  * @module purecloud-platform-client-v2/api/LocationsApi
27529
- * @version 154.0.0
27637
+ * @version 155.0.1
27530
27638
  */
27531
27639
 
27532
27640
  /**
@@ -27762,7 +27870,7 @@ class MessagingApi {
27762
27870
  /**
27763
27871
  * Messaging service.
27764
27872
  * @module purecloud-platform-client-v2/api/MessagingApi
27765
- * @version 154.0.0
27873
+ * @version 155.0.1
27766
27874
  */
27767
27875
 
27768
27876
  /**
@@ -27913,7 +28021,7 @@ class MobileDevicesApi {
27913
28021
  /**
27914
28022
  * MobileDevices service.
27915
28023
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27916
- * @version 154.0.0
28024
+ * @version 155.0.1
27917
28025
  */
27918
28026
 
27919
28027
  /**
@@ -28064,7 +28172,7 @@ class NotificationsApi {
28064
28172
  /**
28065
28173
  * Notifications service.
28066
28174
  * @module purecloud-platform-client-v2/api/NotificationsApi
28067
- * @version 154.0.0
28175
+ * @version 155.0.1
28068
28176
  */
28069
28177
 
28070
28178
  /**
@@ -28289,7 +28397,7 @@ class OAuthApi {
28289
28397
  /**
28290
28398
  * OAuth service.
28291
28399
  * @module purecloud-platform-client-v2/api/OAuthApi
28292
- * @version 154.0.0
28400
+ * @version 155.0.1
28293
28401
  */
28294
28402
 
28295
28403
  /**
@@ -28655,7 +28763,7 @@ class ObjectsApi {
28655
28763
  /**
28656
28764
  * Objects service.
28657
28765
  * @module purecloud-platform-client-v2/api/ObjectsApi
28658
- * @version 154.0.0
28766
+ * @version 155.0.1
28659
28767
  */
28660
28768
 
28661
28769
  /**
@@ -28926,7 +29034,7 @@ class OrganizationApi {
28926
29034
  /**
28927
29035
  * Organization service.
28928
29036
  * @module purecloud-platform-client-v2/api/OrganizationApi
28929
- * @version 154.0.0
29037
+ * @version 155.0.1
28930
29038
  */
28931
29039
 
28932
29040
  /**
@@ -29329,7 +29437,7 @@ class OrganizationAuthorizationApi {
29329
29437
  /**
29330
29438
  * OrganizationAuthorization service.
29331
29439
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
29332
- * @version 154.0.0
29440
+ * @version 155.0.1
29333
29441
  */
29334
29442
 
29335
29443
  /**
@@ -30254,7 +30362,7 @@ class OutboundApi {
30254
30362
  /**
30255
30363
  * Outbound service.
30256
30364
  * @module purecloud-platform-client-v2/api/OutboundApi
30257
- * @version 154.0.0
30365
+ * @version 155.0.1
30258
30366
  */
30259
30367
 
30260
30368
  /**
@@ -30604,6 +30712,64 @@ class OutboundApi {
30604
30712
  );
30605
30713
  }
30606
30714
 
30715
+ /**
30716
+ * Deletes all or expired email addresses from a DNC list.
30717
+ * This operation is Only for Internal DNC lists of email addresses
30718
+ * @param {String} dncListId DncList ID
30719
+ * @param {Object} opts Optional parameters
30720
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
30721
+ */
30722
+ deleteOutboundDnclistEmailaddresses(dncListId, opts) {
30723
+ opts = opts || {};
30724
+
30725
+ // verify the required parameter 'dncListId' is set
30726
+ if (dncListId === undefined || dncListId === null) {
30727
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';
30728
+ }
30729
+
30730
+ return this.apiClient.callApi(
30731
+ '/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
30732
+ 'DELETE',
30733
+ { 'dncListId': dncListId },
30734
+ { 'expiredOnly': opts['expiredOnly'] },
30735
+ { },
30736
+ { },
30737
+ null,
30738
+ ['PureCloud OAuth'],
30739
+ ['application/json'],
30740
+ ['application/json']
30741
+ );
30742
+ }
30743
+
30744
+ /**
30745
+ * Deletes all or expired phone numbers from a DNC list.
30746
+ * This operation is Only for Internal DNC lists of phone numbers
30747
+ * @param {String} dncListId DncList ID
30748
+ * @param {Object} opts Optional parameters
30749
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
30750
+ */
30751
+ deleteOutboundDnclistPhonenumbers(dncListId, opts) {
30752
+ opts = opts || {};
30753
+
30754
+ // verify the required parameter 'dncListId' is set
30755
+ if (dncListId === undefined || dncListId === null) {
30756
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';
30757
+ }
30758
+
30759
+ return this.apiClient.callApi(
30760
+ '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
30761
+ 'DELETE',
30762
+ { 'dncListId': dncListId },
30763
+ { 'expiredOnly': opts['expiredOnly'] },
30764
+ { },
30765
+ { },
30766
+ null,
30767
+ ['PureCloud OAuth'],
30768
+ ['application/json'],
30769
+ ['application/json']
30770
+ );
30771
+ }
30772
+
30607
30773
  /**
30608
30774
  * Delete an Outbound Messaging Campaign
30609
30775
  *
@@ -32374,6 +32540,66 @@ class OutboundApi {
32374
32540
  );
32375
32541
  }
32376
32542
 
32543
+ /**
32544
+ * Add emails to or Delete emails from a DNC list.
32545
+ * Only Internal DNC lists may be added to or deleted from
32546
+ * @param {String} dncListId DncList ID
32547
+ * @param {Object} body DNC Emails
32548
+ */
32549
+ patchOutboundDnclistEmailaddresses(dncListId, body) {
32550
+ // verify the required parameter 'dncListId' is set
32551
+ if (dncListId === undefined || dncListId === null) {
32552
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';
32553
+ }
32554
+ // verify the required parameter 'body' is set
32555
+ if (body === undefined || body === null) {
32556
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';
32557
+ }
32558
+
32559
+ return this.apiClient.callApi(
32560
+ '/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
32561
+ 'PATCH',
32562
+ { 'dncListId': dncListId },
32563
+ { },
32564
+ { },
32565
+ { },
32566
+ body,
32567
+ ['PureCloud OAuth'],
32568
+ ['application/json'],
32569
+ ['application/json']
32570
+ );
32571
+ }
32572
+
32573
+ /**
32574
+ * Add numbers to or delete numbers from a DNC list.
32575
+ * Only Internal DNC lists may be added to deleted from
32576
+ * @param {String} dncListId DncList ID
32577
+ * @param {Object} body DNC Phone Numbers
32578
+ */
32579
+ patchOutboundDnclistPhonenumbers(dncListId, body) {
32580
+ // verify the required parameter 'dncListId' is set
32581
+ if (dncListId === undefined || dncListId === null) {
32582
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';
32583
+ }
32584
+ // verify the required parameter 'body' is set
32585
+ if (body === undefined || body === null) {
32586
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';
32587
+ }
32588
+
32589
+ return this.apiClient.callApi(
32590
+ '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
32591
+ 'PATCH',
32592
+ { 'dncListId': dncListId },
32593
+ { },
32594
+ { },
32595
+ { },
32596
+ body,
32597
+ ['PureCloud OAuth'],
32598
+ ['application/json'],
32599
+ ['application/json']
32600
+ );
32601
+ }
32602
+
32377
32603
  /**
32378
32604
  * Update the outbound settings for this organization
32379
32605
  *
@@ -33673,7 +33899,7 @@ class PresenceApi {
33673
33899
  /**
33674
33900
  * Presence service.
33675
33901
  * @module purecloud-platform-client-v2/api/PresenceApi
33676
- * @version 154.0.0
33902
+ * @version 155.0.1
33677
33903
  */
33678
33904
 
33679
33905
  /**
@@ -33890,7 +34116,7 @@ class PresenceApi {
33890
34116
 
33891
34117
  /**
33892
34118
  * Get a user's Presence
33893
- * Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources.
34119
+ * Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources. This endpoint does not support registered presence sources.
33894
34120
  * @param {String} userId user Id
33895
34121
  * @param {String} sourceId Presence source ID
33896
34122
  */
@@ -33945,7 +34171,7 @@ class PresenceApi {
33945
34171
 
33946
34172
  /**
33947
34173
  * Patch a user's Presence
33948
- * Patch a users presence for the specified source that is not specifically listed. The presence object can be patched one of three ways. Option 1: Set the primary property to true. This will set the source defined in the path as the users primary presence source. Option 2: Provide the presenceDefinition value. The id is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
34174
+ * Patch a users presence for the specified source that is not specifically listed. This endpoint does not support registered presence sources. The presence object can be patched one of three ways. Option 1: Set the primary property to true. This will set the source defined in the path as the users primary presence source. Option 2: Provide the presenceDefinition value. The id is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
33949
34175
  * @param {String} userId user Id
33950
34176
  * @param {String} sourceId Presence source ID
33951
34177
  * @param {Object} body User presence
@@ -34179,7 +34405,7 @@ class ProcessAutomationApi {
34179
34405
  /**
34180
34406
  * ProcessAutomation service.
34181
34407
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
34182
- * @version 154.0.0
34408
+ * @version 155.0.1
34183
34409
  */
34184
34410
 
34185
34411
  /**
@@ -34417,7 +34643,7 @@ class QualityApi {
34417
34643
  /**
34418
34644
  * Quality service.
34419
34645
  * @module purecloud-platform-client-v2/api/QualityApi
34420
- * @version 154.0.0
34646
+ * @version 155.0.1
34421
34647
  */
34422
34648
 
34423
34649
  /**
@@ -35995,7 +36221,7 @@ class RecordingApi {
35995
36221
  /**
35996
36222
  * Recording service.
35997
36223
  * @module purecloud-platform-client-v2/api/RecordingApi
35998
- * @version 154.0.0
36224
+ * @version 155.0.1
35999
36225
  */
36000
36226
 
36001
36227
  /**
@@ -37682,7 +37908,7 @@ class ResponseManagementApi {
37682
37908
  /**
37683
37909
  * ResponseManagement service.
37684
37910
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
37685
- * @version 154.0.0
37911
+ * @version 155.0.1
37686
37912
  */
37687
37913
 
37688
37914
  /**
@@ -38166,7 +38392,7 @@ class RoutingApi {
38166
38392
  /**
38167
38393
  * Routing service.
38168
38394
  * @module purecloud-platform-client-v2/api/RoutingApi
38169
- * @version 154.0.0
38395
+ * @version 155.0.1
38170
38396
  */
38171
38397
 
38172
38398
  /**
@@ -41581,7 +41807,7 @@ class SCIMApi {
41581
41807
  /**
41582
41808
  * SCIM service.
41583
41809
  * @module purecloud-platform-client-v2/api/SCIMApi
41584
- * @version 154.0.0
41810
+ * @version 155.0.1
41585
41811
  */
41586
41812
 
41587
41813
  /**
@@ -42458,7 +42684,7 @@ class ScriptsApi {
42458
42684
  /**
42459
42685
  * Scripts service.
42460
42686
  * @module purecloud-platform-client-v2/api/ScriptsApi
42461
- * @version 154.0.0
42687
+ * @version 155.0.1
42462
42688
  */
42463
42689
 
42464
42690
  /**
@@ -42877,7 +43103,7 @@ class SearchApi {
42877
43103
  /**
42878
43104
  * Search service.
42879
43105
  * @module purecloud-platform-client-v2/api/SearchApi
42880
- * @version 154.0.0
43106
+ * @version 155.0.1
42881
43107
  */
42882
43108
 
42883
43109
  /**
@@ -43462,7 +43688,7 @@ class SpeechTextAnalyticsApi {
43462
43688
  /**
43463
43689
  * SpeechTextAnalytics service.
43464
43690
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
43465
- * @version 154.0.0
43691
+ * @version 155.0.1
43466
43692
  */
43467
43693
 
43468
43694
  /**
@@ -44316,7 +44542,7 @@ class StationsApi {
44316
44542
  /**
44317
44543
  * Stations service.
44318
44544
  * @module purecloud-platform-client-v2/api/StationsApi
44319
- * @version 154.0.0
44545
+ * @version 155.0.1
44320
44546
  */
44321
44547
 
44322
44548
  /**
@@ -44463,7 +44689,7 @@ class SuggestApi {
44463
44689
  /**
44464
44690
  * Suggest service.
44465
44691
  * @module purecloud-platform-client-v2/api/SuggestApi
44466
- * @version 154.0.0
44692
+ * @version 155.0.1
44467
44693
  */
44468
44694
 
44469
44695
  /**
@@ -44602,7 +44828,7 @@ class TeamsApi {
44602
44828
  /**
44603
44829
  * Teams service.
44604
44830
  * @module purecloud-platform-client-v2/api/TeamsApi
44605
- * @version 154.0.0
44831
+ * @version 155.0.1
44606
44832
  */
44607
44833
 
44608
44834
  /**
@@ -44873,7 +45099,7 @@ class TelephonyApi {
44873
45099
  /**
44874
45100
  * Telephony service.
44875
45101
  * @module purecloud-platform-client-v2/api/TelephonyApi
44876
- * @version 154.0.0
45102
+ * @version 155.0.1
44877
45103
  */
44878
45104
 
44879
45105
  /**
@@ -44888,6 +45114,26 @@ class TelephonyApi {
44888
45114
  }
44889
45115
 
44890
45116
 
45117
+ /**
45118
+ * Retrieve the list of AWS regions media can stream through.
45119
+ *
45120
+ */
45121
+ getTelephonyMediaregions() {
45122
+
45123
+ return this.apiClient.callApi(
45124
+ '/api/v2/telephony/mediaregions',
45125
+ 'GET',
45126
+ { },
45127
+ { },
45128
+ { },
45129
+ { },
45130
+ null,
45131
+ ['PureCloud OAuth'],
45132
+ ['application/json'],
45133
+ ['application/json']
45134
+ );
45135
+ }
45136
+
44891
45137
  /**
44892
45138
  * Fetch SIP metadata
44893
45139
  * Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
@@ -44981,7 +45227,7 @@ class TelephonyProvidersEdgeApi {
44981
45227
  /**
44982
45228
  * TelephonyProvidersEdge service.
44983
45229
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
44984
- * @version 154.0.0
45230
+ * @version 155.0.1
44985
45231
  */
44986
45232
 
44987
45233
  /**
@@ -48614,7 +48860,7 @@ class TextbotsApi {
48614
48860
  /**
48615
48861
  * Textbots service.
48616
48862
  * @module purecloud-platform-client-v2/api/TextbotsApi
48617
- * @version 154.0.0
48863
+ * @version 155.0.1
48618
48864
  */
48619
48865
 
48620
48866
  /**
@@ -48742,7 +48988,7 @@ class TokensApi {
48742
48988
  /**
48743
48989
  * Tokens service.
48744
48990
  * @module purecloud-platform-client-v2/api/TokensApi
48745
- * @version 154.0.0
48991
+ * @version 155.0.1
48746
48992
  */
48747
48993
 
48748
48994
  /**
@@ -48848,7 +49094,7 @@ class UploadsApi {
48848
49094
  /**
48849
49095
  * Uploads service.
48850
49096
  * @module purecloud-platform-client-v2/api/UploadsApi
48851
- * @version 154.0.0
49097
+ * @version 155.0.1
48852
49098
  */
48853
49099
 
48854
49100
  /**
@@ -49024,7 +49270,7 @@ class UsageApi {
49024
49270
  /**
49025
49271
  * Usage service.
49026
49272
  * @module purecloud-platform-client-v2/api/UsageApi
49027
- * @version 154.0.0
49273
+ * @version 155.0.1
49028
49274
  */
49029
49275
 
49030
49276
  /**
@@ -49095,7 +49341,7 @@ class UserRecordingsApi {
49095
49341
  /**
49096
49342
  * UserRecordings service.
49097
49343
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
49098
- * @version 154.0.0
49344
+ * @version 155.0.1
49099
49345
  */
49100
49346
 
49101
49347
  /**
@@ -49280,7 +49526,7 @@ class UsersApi {
49280
49526
  /**
49281
49527
  * Users service.
49282
49528
  * @module purecloud-platform-client-v2/api/UsersApi
49283
- * @version 154.0.0
49529
+ * @version 155.0.1
49284
49530
  */
49285
49531
 
49286
49532
  /**
@@ -51637,7 +51883,7 @@ class UtilitiesApi {
51637
51883
  /**
51638
51884
  * Utilities service.
51639
51885
  * @module purecloud-platform-client-v2/api/UtilitiesApi
51640
- * @version 154.0.0
51886
+ * @version 155.0.1
51641
51887
  */
51642
51888
 
51643
51889
  /**
@@ -51748,7 +51994,7 @@ class VoicemailApi {
51748
51994
  /**
51749
51995
  * Voicemail service.
51750
51996
  * @module purecloud-platform-client-v2/api/VoicemailApi
51751
- * @version 154.0.0
51997
+ * @version 155.0.1
51752
51998
  */
51753
51999
 
51754
52000
  /**
@@ -52415,7 +52661,7 @@ class WebChatApi {
52415
52661
  /**
52416
52662
  * WebChat service.
52417
52663
  * @module purecloud-platform-client-v2/api/WebChatApi
52418
- * @version 154.0.0
52664
+ * @version 155.0.1
52419
52665
  */
52420
52666
 
52421
52667
  /**
@@ -52959,7 +53205,7 @@ class WebDeploymentsApi {
52959
53205
  /**
52960
53206
  * WebDeployments service.
52961
53207
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
52962
- * @version 154.0.0
53208
+ * @version 155.0.1
52963
53209
  */
52964
53210
 
52965
53211
  /**
@@ -53347,7 +53593,7 @@ class WebMessagingApi {
53347
53593
  /**
53348
53594
  * WebMessaging service.
53349
53595
  * @module purecloud-platform-client-v2/api/WebMessagingApi
53350
- * @version 154.0.0
53596
+ * @version 155.0.1
53351
53597
  */
53352
53598
 
53353
53599
  /**
@@ -53393,7 +53639,7 @@ class WidgetsApi {
53393
53639
  /**
53394
53640
  * Widgets service.
53395
53641
  * @module purecloud-platform-client-v2/api/WidgetsApi
53396
- * @version 154.0.0
53642
+ * @version 155.0.1
53397
53643
  */
53398
53644
 
53399
53645
  /**
@@ -53539,7 +53785,7 @@ class WorkforceManagementApi {
53539
53785
  /**
53540
53786
  * WorkforceManagement service.
53541
53787
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
53542
- * @version 154.0.0
53788
+ * @version 155.0.1
53543
53789
  */
53544
53790
 
53545
53791
  /**
@@ -58209,7 +58455,7 @@ class WorkforceManagementApi {
58209
58455
  * </pre>
58210
58456
  * </p>
58211
58457
  * @module purecloud-platform-client-v2/index
58212
- * @version 154.0.0
58458
+ * @version 155.0.1
58213
58459
  */
58214
58460
  class platformClient {
58215
58461
  constructor() {