purecloud-platform-client-v2 154.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 +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
@@ -2279,7 +2279,7 @@ class Configuration {
2279
2279
 
2280
2280
  /**
2281
2281
  * @module purecloud-platform-client-v2/ApiClient
2282
- * @version 154.0.0
2282
+ * @version 155.0.0
2283
2283
  */
2284
2284
  class ApiClient {
2285
2285
  /**
@@ -3351,7 +3351,7 @@ class AlertingApi {
3351
3351
  /**
3352
3352
  * Alerting service.
3353
3353
  * @module purecloud-platform-client-v2/api/AlertingApi
3354
- * @version 154.0.0
3354
+ * @version 155.0.0
3355
3355
  */
3356
3356
 
3357
3357
  /**
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
3665
3665
  /**
3666
3666
  * Analytics service.
3667
3667
  * @module purecloud-platform-client-v2/api/AnalyticsApi
3668
- * @version 154.0.0
3668
+ * @version 155.0.0
3669
3669
  */
3670
3670
 
3671
3671
  /**
@@ -4919,7 +4919,7 @@ class ArchitectApi {
4919
4919
  /**
4920
4920
  * Architect service.
4921
4921
  * @module purecloud-platform-client-v2/api/ArchitectApi
4922
- * @version 154.0.0
4922
+ * @version 155.0.0
4923
4923
  */
4924
4924
 
4925
4925
  /**
@@ -7967,7 +7967,7 @@ class AuditApi {
7967
7967
  /**
7968
7968
  * Audit service.
7969
7969
  * @module purecloud-platform-client-v2/api/AuditApi
7970
- * @version 154.0.0
7970
+ * @version 155.0.0
7971
7971
  */
7972
7972
 
7973
7973
  /**
@@ -8138,7 +8138,7 @@ class AuthorizationApi {
8138
8138
  /**
8139
8139
  * Authorization service.
8140
8140
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8141
- * @version 154.0.0
8141
+ * @version 155.0.0
8142
8142
  */
8143
8143
 
8144
8144
  /**
@@ -9366,7 +9366,7 @@ class BillingApi {
9366
9366
  /**
9367
9367
  * Billing service.
9368
9368
  * @module purecloud-platform-client-v2/api/BillingApi
9369
- * @version 154.0.0
9369
+ * @version 155.0.0
9370
9370
  */
9371
9371
 
9372
9372
  /**
@@ -9446,7 +9446,7 @@ class ChatApi {
9446
9446
  /**
9447
9447
  * Chat service.
9448
9448
  * @module purecloud-platform-client-v2/api/ChatApi
9449
- * @version 154.0.0
9449
+ * @version 155.0.0
9450
9450
  */
9451
9451
 
9452
9452
  /**
@@ -9537,7 +9537,7 @@ class CoachingApi {
9537
9537
  /**
9538
9538
  * Coaching service.
9539
9539
  * @module purecloud-platform-client-v2/api/CoachingApi
9540
- * @version 154.0.0
9540
+ * @version 155.0.0
9541
9541
  */
9542
9542
 
9543
9543
  /**
@@ -10114,7 +10114,7 @@ class ContentManagementApi {
10114
10114
  /**
10115
10115
  * ContentManagement service.
10116
10116
  * @module purecloud-platform-client-v2/api/ContentManagementApi
10117
- * @version 154.0.0
10117
+ * @version 155.0.0
10118
10118
  */
10119
10119
 
10120
10120
  /**
@@ -11254,7 +11254,7 @@ class ConversationsApi {
11254
11254
  /**
11255
11255
  * Conversations service.
11256
11256
  * @module purecloud-platform-client-v2/api/ConversationsApi
11257
- * @version 154.0.0
11257
+ * @version 155.0.0
11258
11258
  */
11259
11259
 
11260
11260
  /**
@@ -16477,7 +16477,7 @@ class DataExtensionsApi {
16477
16477
  /**
16478
16478
  * DataExtensions service.
16479
16479
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
16480
- * @version 154.0.0
16480
+ * @version 155.0.0
16481
16481
  */
16482
16482
 
16483
16483
  /**
@@ -16563,7 +16563,7 @@ class DownloadsApi {
16563
16563
  /**
16564
16564
  * Downloads service.
16565
16565
  * @module purecloud-platform-client-v2/api/DownloadsApi
16566
- * @version 154.0.0
16566
+ * @version 155.0.0
16567
16567
  */
16568
16568
 
16569
16569
  /**
@@ -16615,7 +16615,7 @@ class EventsApi {
16615
16615
  /**
16616
16616
  * Events service.
16617
16617
  * @module purecloud-platform-client-v2/api/EventsApi
16618
- * @version 154.0.0
16618
+ * @version 155.0.0
16619
16619
  */
16620
16620
 
16621
16621
  /**
@@ -16711,7 +16711,7 @@ class ExternalContactsApi {
16711
16711
  /**
16712
16712
  * ExternalContacts service.
16713
16713
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
16714
- * @version 154.0.0
16714
+ * @version 155.0.0
16715
16715
  */
16716
16716
 
16717
16717
  /**
@@ -18669,7 +18669,7 @@ class FaxApi {
18669
18669
  /**
18670
18670
  * Fax service.
18671
18671
  * @module purecloud-platform-client-v2/api/FaxApi
18672
- * @version 154.0.0
18672
+ * @version 155.0.0
18673
18673
  */
18674
18674
 
18675
18675
  /**
@@ -18840,7 +18840,7 @@ class FlowsApi {
18840
18840
  /**
18841
18841
  * Flows service.
18842
18842
  * @module purecloud-platform-client-v2/api/FlowsApi
18843
- * @version 154.0.0
18843
+ * @version 155.0.0
18844
18844
  */
18845
18845
 
18846
18846
  /**
@@ -18911,7 +18911,7 @@ class GamificationApi {
18911
18911
  /**
18912
18912
  * Gamification service.
18913
18913
  * @module purecloud-platform-client-v2/api/GamificationApi
18914
- * @version 154.0.0
18914
+ * @version 155.0.0
18915
18915
  */
18916
18916
 
18917
18917
  /**
@@ -20528,7 +20528,7 @@ class GeneralDataProtectionRegulationApi {
20528
20528
  /**
20529
20529
  * GeneralDataProtectionRegulation service.
20530
20530
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
20531
- * @version 154.0.0
20531
+ * @version 155.0.0
20532
20532
  */
20533
20533
 
20534
20534
  /**
@@ -20658,7 +20658,7 @@ class GeolocationApi {
20658
20658
  /**
20659
20659
  * Geolocation service.
20660
20660
  * @module purecloud-platform-client-v2/api/GeolocationApi
20661
- * @version 154.0.0
20661
+ * @version 155.0.0
20662
20662
  */
20663
20663
 
20664
20664
  /**
@@ -20789,7 +20789,7 @@ class GreetingsApi {
20789
20789
  /**
20790
20790
  * Greetings service.
20791
20791
  * @module purecloud-platform-client-v2/api/GreetingsApi
20792
- * @version 154.0.0
20792
+ * @version 155.0.0
20793
20793
  */
20794
20794
 
20795
20795
  /**
@@ -21244,7 +21244,7 @@ class GroupsApi {
21244
21244
  /**
21245
21245
  * Groups service.
21246
21246
  * @module purecloud-platform-client-v2/api/GroupsApi
21247
- * @version 154.0.0
21247
+ * @version 155.0.0
21248
21248
  */
21249
21249
 
21250
21250
  /**
@@ -21650,7 +21650,7 @@ class IdentityProviderApi {
21650
21650
  /**
21651
21651
  * IdentityProvider service.
21652
21652
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
21653
- * @version 154.0.0
21653
+ * @version 155.0.0
21654
21654
  */
21655
21655
 
21656
21656
  /**
@@ -22406,7 +22406,7 @@ class IntegrationsApi {
22406
22406
  /**
22407
22407
  * Integrations service.
22408
22408
  * @module purecloud-platform-client-v2/api/IntegrationsApi
22409
- * @version 154.0.0
22409
+ * @version 155.0.0
22410
22410
  */
22411
22411
 
22412
22412
  /**
@@ -24006,7 +24006,7 @@ class JourneyApi {
24006
24006
  /**
24007
24007
  * Journey service.
24008
24008
  * @module purecloud-platform-client-v2/api/JourneyApi
24009
- * @version 154.0.0
24009
+ * @version 155.0.0
24010
24010
  */
24011
24011
 
24012
24012
  /**
@@ -24792,7 +24792,7 @@ class KnowledgeApi {
24792
24792
  /**
24793
24793
  * Knowledge service.
24794
24794
  * @module purecloud-platform-client-v2/api/KnowledgeApi
24795
- * @version 154.0.0
24795
+ * @version 155.0.0
24796
24796
  */
24797
24797
 
24798
24798
  /**
@@ -27225,7 +27225,7 @@ class LanguageUnderstandingApi {
27225
27225
  /**
27226
27226
  * LanguageUnderstanding service.
27227
27227
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
27228
- * @version 154.0.0
27228
+ * @version 155.0.0
27229
27229
  */
27230
27230
 
27231
27231
  /**
@@ -27415,6 +27415,7 @@ class LanguageUnderstandingApi {
27415
27415
  * @param {String} opts.dateStart Begin of time window as ISO-8601 date.
27416
27416
  * @param {String} opts.dateEnd End of time window as ISO-8601 date.
27417
27417
  * @param {Boolean} opts.includeDeleted Whether to include soft-deleted items in the result.
27418
+ * @param {String} opts.language Whether to filter response based on the language, e.g. en-us, pt-br.
27418
27419
  * @param {Number} opts.pageNumber Page number (default to 1)
27419
27420
  * @param {Number} opts.pageSize Page size (default to 25)
27420
27421
  * @param {Boolean} opts.enableCursorPagination Enable Cursor Pagination (default to false)
@@ -27433,7 +27434,7 @@ class LanguageUnderstandingApi {
27433
27434
  '/api/v2/languageunderstanding/domains/{domainId}/feedback',
27434
27435
  'GET',
27435
27436
  { 'domainId': domainId },
27436
- { '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') },
27437
+ { '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') },
27437
27438
  { },
27438
27439
  { },
27439
27440
  null,
@@ -27627,8 +27628,13 @@ class LanguageUnderstandingApi {
27627
27628
  *
27628
27629
  * @param {String} minerId Miner ID
27629
27630
  * @param {String} draftId Draft ID
27631
+ * @param {Object} opts Optional parameters
27632
+ * @param {String} opts.draftIntentId Parameter to filter a specific intent.
27633
+ * @param {String} opts.draftTopicId Parameter to filter a specific topic.
27630
27634
  */
27631
- getLanguageunderstandingMinerDraft(minerId, draftId) {
27635
+ getLanguageunderstandingMinerDraft(minerId, draftId, opts) {
27636
+ opts = opts || {};
27637
+
27632
27638
  // verify the required parameter 'minerId' is set
27633
27639
  if (minerId === undefined || minerId === null) {
27634
27640
  throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerDraft';
@@ -27642,7 +27648,7 @@ class LanguageUnderstandingApi {
27642
27648
  '/api/v2/languageunderstanding/miners/{minerId}/drafts/{draftId}',
27643
27649
  'GET',
27644
27650
  { 'minerId': minerId,'draftId': draftId },
27645
- { },
27651
+ { 'draftIntentId': opts['draftIntentId'],'draftTopicId': opts['draftTopicId'] },
27646
27652
  { },
27647
27653
  { },
27648
27654
  null,
@@ -27740,17 +27746,115 @@ class LanguageUnderstandingApi {
27740
27746
  );
27741
27747
  }
27742
27748
 
27749
+ /**
27750
+ * Retrieves details of a particular topic.
27751
+ *
27752
+ * @param {String} minerId Miner ID
27753
+ * @param {String} topicId The ID of the topic to be retrieved.
27754
+ * @param {Object} opts Optional parameters
27755
+ * @param {Object} opts.expand Option to fetch phrases
27756
+ */
27757
+ getLanguageunderstandingMinerTopic(minerId, topicId, opts) {
27758
+ opts = opts || {};
27759
+
27760
+ // verify the required parameter 'minerId' is set
27761
+ if (minerId === undefined || minerId === null) {
27762
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopic';
27763
+ }
27764
+ // verify the required parameter 'topicId' is set
27765
+ if (topicId === undefined || topicId === null) {
27766
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopic';
27767
+ }
27768
+
27769
+ return this.apiClient.callApi(
27770
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}',
27771
+ 'GET',
27772
+ { 'minerId': minerId,'topicId': topicId },
27773
+ { 'expand': opts['expand'] },
27774
+ { },
27775
+ { },
27776
+ null,
27777
+ ['PureCloud OAuth'],
27778
+ ['application/json'],
27779
+ ['application/json']
27780
+ );
27781
+ }
27782
+
27783
+ /**
27784
+ * Retrieves utterances related to a phrase in a topic.
27785
+ *
27786
+ * @param {String} minerId Miner ID
27787
+ * @param {String} topicId The ID of the topic to be retrieved.
27788
+ * @param {String} phraseId The ID of the phrase to be retrieved.
27789
+ */
27790
+ getLanguageunderstandingMinerTopicPhrase(minerId, topicId, phraseId) {
27791
+ // verify the required parameter 'minerId' is set
27792
+ if (minerId === undefined || minerId === null) {
27793
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopicPhrase';
27794
+ }
27795
+ // verify the required parameter 'topicId' is set
27796
+ if (topicId === undefined || topicId === null) {
27797
+ throw 'Missing the required parameter "topicId" when calling getLanguageunderstandingMinerTopicPhrase';
27798
+ }
27799
+ // verify the required parameter 'phraseId' is set
27800
+ if (phraseId === undefined || phraseId === null) {
27801
+ throw 'Missing the required parameter "phraseId" when calling getLanguageunderstandingMinerTopicPhrase';
27802
+ }
27803
+
27804
+ return this.apiClient.callApi(
27805
+ '/api/v2/languageunderstanding/miners/{minerId}/topics/{topicId}/phrases/{phraseId}',
27806
+ 'GET',
27807
+ { 'minerId': minerId,'topicId': topicId,'phraseId': phraseId },
27808
+ { },
27809
+ { },
27810
+ { },
27811
+ null,
27812
+ ['PureCloud OAuth'],
27813
+ ['application/json'],
27814
+ ['application/json']
27815
+ );
27816
+ }
27817
+
27818
+ /**
27819
+ * Retrieve a list of mined topics.
27820
+ *
27821
+ * @param {String} minerId Miner ID
27822
+ */
27823
+ getLanguageunderstandingMinerTopics(minerId) {
27824
+ // verify the required parameter 'minerId' is set
27825
+ if (minerId === undefined || minerId === null) {
27826
+ throw 'Missing the required parameter "minerId" when calling getLanguageunderstandingMinerTopics';
27827
+ }
27828
+
27829
+ return this.apiClient.callApi(
27830
+ '/api/v2/languageunderstanding/miners/{minerId}/topics',
27831
+ 'GET',
27832
+ { 'minerId': minerId },
27833
+ { },
27834
+ { },
27835
+ { },
27836
+ null,
27837
+ ['PureCloud OAuth'],
27838
+ ['application/json'],
27839
+ ['application/json']
27840
+ );
27841
+ }
27842
+
27743
27843
  /**
27744
27844
  * Retrieve the list of miners created.
27745
27845
  *
27846
+ * @param {Object} opts Optional parameters
27847
+ * @param {String} opts.minerType Type of miner, either intent or topic
27746
27848
  */
27747
- getLanguageunderstandingMiners() {
27849
+ getLanguageunderstandingMiners(opts) {
27850
+ opts = opts || {};
27851
+
27748
27852
 
27749
27853
  return this.apiClient.callApi(
27750
27854
  '/api/v2/languageunderstanding/miners',
27751
27855
  'GET',
27752
27856
  { },
27753
- { },
27857
+ { 'minerType': opts['minerType'] },
27754
27858
  { },
27755
27859
  { },
27756
27860
  null,
@@ -27954,8 +28058,12 @@ class LanguageUnderstandingApi {
27954
28058
  *
27955
28059
  * @param {String} domainId ID of the NLU domain.
27956
28060
  * @param {Object} body The NLU Domain Version to create.
28061
+ * @param {Object} opts Optional parameters
28062
+ * @param {Boolean} opts.includeUtterances Whether utterances for intent definition should be included when marshalling response.
27957
28063
  */
27958
- postLanguageunderstandingDomainVersions(domainId, body) {
28064
+ postLanguageunderstandingDomainVersions(domainId, body, opts) {
28065
+ opts = opts || {};
28066
+
27959
28067
  // verify the required parameter 'domainId' is set
27960
28068
  if (domainId === undefined || domainId === null) {
27961
28069
  throw 'Missing the required parameter "domainId" when calling postLanguageunderstandingDomainVersions';
@@ -27969,7 +28077,7 @@ class LanguageUnderstandingApi {
27969
28077
  '/api/v2/languageunderstanding/domains/{domainId}/versions',
27970
28078
  'POST',
27971
28079
  { 'domainId': domainId },
27972
- { },
28080
+ { 'includeUtterances': opts['includeUtterances'] },
27973
28081
  { },
27974
28082
  { },
27975
28083
  body,
@@ -28129,7 +28237,7 @@ class LanguagesApi {
28129
28237
  /**
28130
28238
  * Languages service.
28131
28239
  * @module purecloud-platform-client-v2/api/LanguagesApi
28132
- * @version 154.0.0
28240
+ * @version 155.0.0
28133
28241
  */
28134
28242
 
28135
28243
  /**
@@ -28397,7 +28505,7 @@ class LearningApi {
28397
28505
  /**
28398
28506
  * Learning service.
28399
28507
  * @module purecloud-platform-client-v2/api/LearningApi
28400
- * @version 154.0.0
28508
+ * @version 155.0.0
28401
28509
  */
28402
28510
 
28403
28511
  /**
@@ -29158,7 +29266,7 @@ class LicenseApi {
29158
29266
  /**
29159
29267
  * License service.
29160
29268
  * @module purecloud-platform-client-v2/api/LicenseApi
29161
- * @version 154.0.0
29269
+ * @version 155.0.0
29162
29270
  */
29163
29271
 
29164
29272
  /**
@@ -29396,7 +29504,7 @@ class LocationsApi {
29396
29504
  /**
29397
29505
  * Locations service.
29398
29506
  * @module purecloud-platform-client-v2/api/LocationsApi
29399
- * @version 154.0.0
29507
+ * @version 155.0.0
29400
29508
  */
29401
29509
 
29402
29510
  /**
@@ -29632,7 +29740,7 @@ class MessagingApi {
29632
29740
  /**
29633
29741
  * Messaging service.
29634
29742
  * @module purecloud-platform-client-v2/api/MessagingApi
29635
- * @version 154.0.0
29743
+ * @version 155.0.0
29636
29744
  */
29637
29745
 
29638
29746
  /**
@@ -29783,7 +29891,7 @@ class MobileDevicesApi {
29783
29891
  /**
29784
29892
  * MobileDevices service.
29785
29893
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
29786
- * @version 154.0.0
29894
+ * @version 155.0.0
29787
29895
  */
29788
29896
 
29789
29897
  /**
@@ -29934,7 +30042,7 @@ class NotificationsApi {
29934
30042
  /**
29935
30043
  * Notifications service.
29936
30044
  * @module purecloud-platform-client-v2/api/NotificationsApi
29937
- * @version 154.0.0
30045
+ * @version 155.0.0
29938
30046
  */
29939
30047
 
29940
30048
  /**
@@ -30159,7 +30267,7 @@ class OAuthApi {
30159
30267
  /**
30160
30268
  * OAuth service.
30161
30269
  * @module purecloud-platform-client-v2/api/OAuthApi
30162
- * @version 154.0.0
30270
+ * @version 155.0.0
30163
30271
  */
30164
30272
 
30165
30273
  /**
@@ -30525,7 +30633,7 @@ class ObjectsApi {
30525
30633
  /**
30526
30634
  * Objects service.
30527
30635
  * @module purecloud-platform-client-v2/api/ObjectsApi
30528
- * @version 154.0.0
30636
+ * @version 155.0.0
30529
30637
  */
30530
30638
 
30531
30639
  /**
@@ -30796,7 +30904,7 @@ class OrganizationApi {
30796
30904
  /**
30797
30905
  * Organization service.
30798
30906
  * @module purecloud-platform-client-v2/api/OrganizationApi
30799
- * @version 154.0.0
30907
+ * @version 155.0.0
30800
30908
  */
30801
30909
 
30802
30910
  /**
@@ -31199,7 +31307,7 @@ class OrganizationAuthorizationApi {
31199
31307
  /**
31200
31308
  * OrganizationAuthorization service.
31201
31309
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
31202
- * @version 154.0.0
31310
+ * @version 155.0.0
31203
31311
  */
31204
31312
 
31205
31313
  /**
@@ -32124,7 +32232,7 @@ class OutboundApi {
32124
32232
  /**
32125
32233
  * Outbound service.
32126
32234
  * @module purecloud-platform-client-v2/api/OutboundApi
32127
- * @version 154.0.0
32235
+ * @version 155.0.0
32128
32236
  */
32129
32237
 
32130
32238
  /**
@@ -32474,6 +32582,64 @@ class OutboundApi {
32474
32582
  );
32475
32583
  }
32476
32584
 
32585
+ /**
32586
+ * Deletes all or expired email addresses from a DNC list.
32587
+ * This operation is Only for Internal DNC lists of email addresses
32588
+ * @param {String} dncListId DncList ID
32589
+ * @param {Object} opts Optional parameters
32590
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
32591
+ */
32592
+ deleteOutboundDnclistEmailaddresses(dncListId, opts) {
32593
+ opts = opts || {};
32594
+
32595
+ // verify the required parameter 'dncListId' is set
32596
+ if (dncListId === undefined || dncListId === null) {
32597
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistEmailaddresses';
32598
+ }
32599
+
32600
+ return this.apiClient.callApi(
32601
+ '/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
32602
+ 'DELETE',
32603
+ { 'dncListId': dncListId },
32604
+ { 'expiredOnly': opts['expiredOnly'] },
32605
+ { },
32606
+ { },
32607
+ null,
32608
+ ['PureCloud OAuth'],
32609
+ ['application/json'],
32610
+ ['application/json']
32611
+ );
32612
+ }
32613
+
32614
+ /**
32615
+ * Deletes all or expired phone numbers from a DNC list.
32616
+ * This operation is Only for Internal DNC lists of phone numbers
32617
+ * @param {String} dncListId DncList ID
32618
+ * @param {Object} opts Optional parameters
32619
+ * @param {Boolean} opts.expiredOnly Set to true to only remove DNC entries that are expired (default to false)
32620
+ */
32621
+ deleteOutboundDnclistPhonenumbers(dncListId, opts) {
32622
+ opts = opts || {};
32623
+
32624
+ // verify the required parameter 'dncListId' is set
32625
+ if (dncListId === undefined || dncListId === null) {
32626
+ throw 'Missing the required parameter "dncListId" when calling deleteOutboundDnclistPhonenumbers';
32627
+ }
32628
+
32629
+ return this.apiClient.callApi(
32630
+ '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
32631
+ 'DELETE',
32632
+ { 'dncListId': dncListId },
32633
+ { 'expiredOnly': opts['expiredOnly'] },
32634
+ { },
32635
+ { },
32636
+ null,
32637
+ ['PureCloud OAuth'],
32638
+ ['application/json'],
32639
+ ['application/json']
32640
+ );
32641
+ }
32642
+
32477
32643
  /**
32478
32644
  * Delete an Outbound Messaging Campaign
32479
32645
  *
@@ -34244,6 +34410,66 @@ class OutboundApi {
34244
34410
  );
34245
34411
  }
34246
34412
 
34413
+ /**
34414
+ * Add emails to or Delete emails from a DNC list.
34415
+ * Only Internal DNC lists may be added to or deleted from
34416
+ * @param {String} dncListId DncList ID
34417
+ * @param {Object} body DNC Emails
34418
+ */
34419
+ patchOutboundDnclistEmailaddresses(dncListId, body) {
34420
+ // verify the required parameter 'dncListId' is set
34421
+ if (dncListId === undefined || dncListId === null) {
34422
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistEmailaddresses';
34423
+ }
34424
+ // verify the required parameter 'body' is set
34425
+ if (body === undefined || body === null) {
34426
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistEmailaddresses';
34427
+ }
34428
+
34429
+ return this.apiClient.callApi(
34430
+ '/api/v2/outbound/dnclists/{dncListId}/emailaddresses',
34431
+ 'PATCH',
34432
+ { 'dncListId': dncListId },
34433
+ { },
34434
+ { },
34435
+ { },
34436
+ body,
34437
+ ['PureCloud OAuth'],
34438
+ ['application/json'],
34439
+ ['application/json']
34440
+ );
34441
+ }
34442
+
34443
+ /**
34444
+ * Add numbers to or delete numbers from a DNC list.
34445
+ * Only Internal DNC lists may be added to deleted from
34446
+ * @param {String} dncListId DncList ID
34447
+ * @param {Object} body DNC Phone Numbers
34448
+ */
34449
+ patchOutboundDnclistPhonenumbers(dncListId, body) {
34450
+ // verify the required parameter 'dncListId' is set
34451
+ if (dncListId === undefined || dncListId === null) {
34452
+ throw 'Missing the required parameter "dncListId" when calling patchOutboundDnclistPhonenumbers';
34453
+ }
34454
+ // verify the required parameter 'body' is set
34455
+ if (body === undefined || body === null) {
34456
+ throw 'Missing the required parameter "body" when calling patchOutboundDnclistPhonenumbers';
34457
+ }
34458
+
34459
+ return this.apiClient.callApi(
34460
+ '/api/v2/outbound/dnclists/{dncListId}/phonenumbers',
34461
+ 'PATCH',
34462
+ { 'dncListId': dncListId },
34463
+ { },
34464
+ { },
34465
+ { },
34466
+ body,
34467
+ ['PureCloud OAuth'],
34468
+ ['application/json'],
34469
+ ['application/json']
34470
+ );
34471
+ }
34472
+
34247
34473
  /**
34248
34474
  * Update the outbound settings for this organization
34249
34475
  *
@@ -35543,7 +35769,7 @@ class PresenceApi {
35543
35769
  /**
35544
35770
  * Presence service.
35545
35771
  * @module purecloud-platform-client-v2/api/PresenceApi
35546
- * @version 154.0.0
35772
+ * @version 155.0.0
35547
35773
  */
35548
35774
 
35549
35775
  /**
@@ -35760,7 +35986,7 @@ class PresenceApi {
35760
35986
 
35761
35987
  /**
35762
35988
  * Get a user's Presence
35763
- * Get a users presence for the specified source that is not specifically listed. Used to support custom presence sources.
35989
+ * 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.
35764
35990
  * @param {String} userId user Id
35765
35991
  * @param {String} sourceId Presence source ID
35766
35992
  */
@@ -35815,7 +36041,7 @@ class PresenceApi {
35815
36041
 
35816
36042
  /**
35817
36043
  * Patch a user's Presence
35818
- * 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.
36044
+ * 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.
35819
36045
  * @param {String} userId user Id
35820
36046
  * @param {String} sourceId Presence source ID
35821
36047
  * @param {Object} body User presence
@@ -36049,7 +36275,7 @@ class ProcessAutomationApi {
36049
36275
  /**
36050
36276
  * ProcessAutomation service.
36051
36277
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
36052
- * @version 154.0.0
36278
+ * @version 155.0.0
36053
36279
  */
36054
36280
 
36055
36281
  /**
@@ -36287,7 +36513,7 @@ class QualityApi {
36287
36513
  /**
36288
36514
  * Quality service.
36289
36515
  * @module purecloud-platform-client-v2/api/QualityApi
36290
- * @version 154.0.0
36516
+ * @version 155.0.0
36291
36517
  */
36292
36518
 
36293
36519
  /**
@@ -37865,7 +38091,7 @@ class RecordingApi {
37865
38091
  /**
37866
38092
  * Recording service.
37867
38093
  * @module purecloud-platform-client-v2/api/RecordingApi
37868
- * @version 154.0.0
38094
+ * @version 155.0.0
37869
38095
  */
37870
38096
 
37871
38097
  /**
@@ -39552,7 +39778,7 @@ class ResponseManagementApi {
39552
39778
  /**
39553
39779
  * ResponseManagement service.
39554
39780
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
39555
- * @version 154.0.0
39781
+ * @version 155.0.0
39556
39782
  */
39557
39783
 
39558
39784
  /**
@@ -40036,7 +40262,7 @@ class RoutingApi {
40036
40262
  /**
40037
40263
  * Routing service.
40038
40264
  * @module purecloud-platform-client-v2/api/RoutingApi
40039
- * @version 154.0.0
40265
+ * @version 155.0.0
40040
40266
  */
40041
40267
 
40042
40268
  /**
@@ -43451,7 +43677,7 @@ class SCIMApi {
43451
43677
  /**
43452
43678
  * SCIM service.
43453
43679
  * @module purecloud-platform-client-v2/api/SCIMApi
43454
- * @version 154.0.0
43680
+ * @version 155.0.0
43455
43681
  */
43456
43682
 
43457
43683
  /**
@@ -44328,7 +44554,7 @@ class ScriptsApi {
44328
44554
  /**
44329
44555
  * Scripts service.
44330
44556
  * @module purecloud-platform-client-v2/api/ScriptsApi
44331
- * @version 154.0.0
44557
+ * @version 155.0.0
44332
44558
  */
44333
44559
 
44334
44560
  /**
@@ -44747,7 +44973,7 @@ class SearchApi {
44747
44973
  /**
44748
44974
  * Search service.
44749
44975
  * @module purecloud-platform-client-v2/api/SearchApi
44750
- * @version 154.0.0
44976
+ * @version 155.0.0
44751
44977
  */
44752
44978
 
44753
44979
  /**
@@ -45332,7 +45558,7 @@ class SpeechTextAnalyticsApi {
45332
45558
  /**
45333
45559
  * SpeechTextAnalytics service.
45334
45560
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
45335
- * @version 154.0.0
45561
+ * @version 155.0.0
45336
45562
  */
45337
45563
 
45338
45564
  /**
@@ -46186,7 +46412,7 @@ class StationsApi {
46186
46412
  /**
46187
46413
  * Stations service.
46188
46414
  * @module purecloud-platform-client-v2/api/StationsApi
46189
- * @version 154.0.0
46415
+ * @version 155.0.0
46190
46416
  */
46191
46417
 
46192
46418
  /**
@@ -46333,7 +46559,7 @@ class SuggestApi {
46333
46559
  /**
46334
46560
  * Suggest service.
46335
46561
  * @module purecloud-platform-client-v2/api/SuggestApi
46336
- * @version 154.0.0
46562
+ * @version 155.0.0
46337
46563
  */
46338
46564
 
46339
46565
  /**
@@ -46472,7 +46698,7 @@ class TeamsApi {
46472
46698
  /**
46473
46699
  * Teams service.
46474
46700
  * @module purecloud-platform-client-v2/api/TeamsApi
46475
- * @version 154.0.0
46701
+ * @version 155.0.0
46476
46702
  */
46477
46703
 
46478
46704
  /**
@@ -46743,7 +46969,7 @@ class TelephonyApi {
46743
46969
  /**
46744
46970
  * Telephony service.
46745
46971
  * @module purecloud-platform-client-v2/api/TelephonyApi
46746
- * @version 154.0.0
46972
+ * @version 155.0.0
46747
46973
  */
46748
46974
 
46749
46975
  /**
@@ -46758,6 +46984,26 @@ class TelephonyApi {
46758
46984
  }
46759
46985
 
46760
46986
 
46987
+ /**
46988
+ * Retrieve the list of AWS regions media can stream through.
46989
+ *
46990
+ */
46991
+ getTelephonyMediaregions() {
46992
+
46993
+ return this.apiClient.callApi(
46994
+ '/api/v2/telephony/mediaregions',
46995
+ 'GET',
46996
+ { },
46997
+ { },
46998
+ { },
46999
+ { },
47000
+ null,
47001
+ ['PureCloud OAuth'],
47002
+ ['application/json'],
47003
+ ['application/json']
47004
+ );
47005
+ }
47006
+
46761
47007
  /**
46762
47008
  * Fetch SIP metadata
46763
47009
  * 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
@@ -46851,7 +47097,7 @@ class TelephonyProvidersEdgeApi {
46851
47097
  /**
46852
47098
  * TelephonyProvidersEdge service.
46853
47099
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
46854
- * @version 154.0.0
47100
+ * @version 155.0.0
46855
47101
  */
46856
47102
 
46857
47103
  /**
@@ -50484,7 +50730,7 @@ class TextbotsApi {
50484
50730
  /**
50485
50731
  * Textbots service.
50486
50732
  * @module purecloud-platform-client-v2/api/TextbotsApi
50487
- * @version 154.0.0
50733
+ * @version 155.0.0
50488
50734
  */
50489
50735
 
50490
50736
  /**
@@ -50612,7 +50858,7 @@ class TokensApi {
50612
50858
  /**
50613
50859
  * Tokens service.
50614
50860
  * @module purecloud-platform-client-v2/api/TokensApi
50615
- * @version 154.0.0
50861
+ * @version 155.0.0
50616
50862
  */
50617
50863
 
50618
50864
  /**
@@ -50718,7 +50964,7 @@ class UploadsApi {
50718
50964
  /**
50719
50965
  * Uploads service.
50720
50966
  * @module purecloud-platform-client-v2/api/UploadsApi
50721
- * @version 154.0.0
50967
+ * @version 155.0.0
50722
50968
  */
50723
50969
 
50724
50970
  /**
@@ -50894,7 +51140,7 @@ class UsageApi {
50894
51140
  /**
50895
51141
  * Usage service.
50896
51142
  * @module purecloud-platform-client-v2/api/UsageApi
50897
- * @version 154.0.0
51143
+ * @version 155.0.0
50898
51144
  */
50899
51145
 
50900
51146
  /**
@@ -50965,7 +51211,7 @@ class UserRecordingsApi {
50965
51211
  /**
50966
51212
  * UserRecordings service.
50967
51213
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
50968
- * @version 154.0.0
51214
+ * @version 155.0.0
50969
51215
  */
50970
51216
 
50971
51217
  /**
@@ -51150,7 +51396,7 @@ class UsersApi {
51150
51396
  /**
51151
51397
  * Users service.
51152
51398
  * @module purecloud-platform-client-v2/api/UsersApi
51153
- * @version 154.0.0
51399
+ * @version 155.0.0
51154
51400
  */
51155
51401
 
51156
51402
  /**
@@ -53507,7 +53753,7 @@ class UtilitiesApi {
53507
53753
  /**
53508
53754
  * Utilities service.
53509
53755
  * @module purecloud-platform-client-v2/api/UtilitiesApi
53510
- * @version 154.0.0
53756
+ * @version 155.0.0
53511
53757
  */
53512
53758
 
53513
53759
  /**
@@ -53618,7 +53864,7 @@ class VoicemailApi {
53618
53864
  /**
53619
53865
  * Voicemail service.
53620
53866
  * @module purecloud-platform-client-v2/api/VoicemailApi
53621
- * @version 154.0.0
53867
+ * @version 155.0.0
53622
53868
  */
53623
53869
 
53624
53870
  /**
@@ -54285,7 +54531,7 @@ class WebChatApi {
54285
54531
  /**
54286
54532
  * WebChat service.
54287
54533
  * @module purecloud-platform-client-v2/api/WebChatApi
54288
- * @version 154.0.0
54534
+ * @version 155.0.0
54289
54535
  */
54290
54536
 
54291
54537
  /**
@@ -54829,7 +55075,7 @@ class WebDeploymentsApi {
54829
55075
  /**
54830
55076
  * WebDeployments service.
54831
55077
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
54832
- * @version 154.0.0
55078
+ * @version 155.0.0
54833
55079
  */
54834
55080
 
54835
55081
  /**
@@ -55217,7 +55463,7 @@ class WebMessagingApi {
55217
55463
  /**
55218
55464
  * WebMessaging service.
55219
55465
  * @module purecloud-platform-client-v2/api/WebMessagingApi
55220
- * @version 154.0.0
55466
+ * @version 155.0.0
55221
55467
  */
55222
55468
 
55223
55469
  /**
@@ -55263,7 +55509,7 @@ class WidgetsApi {
55263
55509
  /**
55264
55510
  * Widgets service.
55265
55511
  * @module purecloud-platform-client-v2/api/WidgetsApi
55266
- * @version 154.0.0
55512
+ * @version 155.0.0
55267
55513
  */
55268
55514
 
55269
55515
  /**
@@ -55409,7 +55655,7 @@ class WorkforceManagementApi {
55409
55655
  /**
55410
55656
  * WorkforceManagement service.
55411
55657
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
55412
- * @version 154.0.0
55658
+ * @version 155.0.0
55413
55659
  */
55414
55660
 
55415
55661
  /**
@@ -60079,7 +60325,7 @@ class WorkforceManagementApi {
60079
60325
  * </pre>
60080
60326
  * </p>
60081
60327
  * @module purecloud-platform-client-v2/index
60082
- * @version 154.0.0
60328
+ * @version 155.0.0
60083
60329
  */
60084
60330
  class platformClient {
60085
60331
  constructor() {