purecloud-platform-client-v2 149.1.0 → 150.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 +833 -74
  3. package/dist/web-amd/purecloud-platform-client-v2.js +833 -74
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +833 -74
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +833 -74
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +789 -228
  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 +46 -8
  21. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +57 -0
  23. package/src/purecloud-platform-client-v2/api/EventsApi.js +101 -0
  24. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +185 -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 +1 -1
  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 +1 -1
  49. package/src/purecloud-platform-client-v2/api/PresenceApi.js +185 -1
  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 +2 -2
  53. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/RoutingApi.js +196 -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 +1 -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 +13 -1
@@ -402,7 +402,7 @@ class Configuration {
402
402
 
403
403
  /**
404
404
  * @module purecloud-platform-client-v2/ApiClient
405
- * @version 149.1.0
405
+ * @version 150.0.0
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 149.1.0
1484
+ * @version 150.0.0
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 149.1.0
1798
+ * @version 150.0.0
1799
1799
  */
1800
1800
 
1801
1801
  /**
@@ -3022,7 +3022,7 @@ class ArchitectApi {
3022
3022
  /**
3023
3023
  * Architect service.
3024
3024
  * @module purecloud-platform-client-v2/api/ArchitectApi
3025
- * @version 149.1.0
3025
+ * @version 150.0.0
3026
3026
  */
3027
3027
 
3028
3028
  /**
@@ -6068,7 +6068,7 @@ class AuditApi {
6068
6068
  /**
6069
6069
  * Audit service.
6070
6070
  * @module purecloud-platform-client-v2/api/AuditApi
6071
- * @version 149.1.0
6071
+ * @version 150.0.0
6072
6072
  */
6073
6073
 
6074
6074
  /**
@@ -6239,7 +6239,7 @@ class AuthorizationApi {
6239
6239
  /**
6240
6240
  * Authorization service.
6241
6241
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6242
- * @version 149.1.0
6242
+ * @version 150.0.0
6243
6243
  */
6244
6244
 
6245
6245
  /**
@@ -7422,7 +7422,7 @@ class BillingApi {
7422
7422
  /**
7423
7423
  * Billing service.
7424
7424
  * @module purecloud-platform-client-v2/api/BillingApi
7425
- * @version 149.1.0
7425
+ * @version 150.0.0
7426
7426
  */
7427
7427
 
7428
7428
  /**
@@ -7502,7 +7502,7 @@ class ChatApi {
7502
7502
  /**
7503
7503
  * Chat service.
7504
7504
  * @module purecloud-platform-client-v2/api/ChatApi
7505
- * @version 149.1.0
7505
+ * @version 150.0.0
7506
7506
  */
7507
7507
 
7508
7508
  /**
@@ -7593,7 +7593,7 @@ class CoachingApi {
7593
7593
  /**
7594
7594
  * Coaching service.
7595
7595
  * @module purecloud-platform-client-v2/api/CoachingApi
7596
- * @version 149.1.0
7596
+ * @version 150.0.0
7597
7597
  */
7598
7598
 
7599
7599
  /**
@@ -8170,7 +8170,7 @@ class ContentManagementApi {
8170
8170
  /**
8171
8171
  * ContentManagement service.
8172
8172
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8173
- * @version 149.1.0
8173
+ * @version 150.0.0
8174
8174
  */
8175
8175
 
8176
8176
  /**
@@ -9310,7 +9310,7 @@ class ConversationsApi {
9310
9310
  /**
9311
9311
  * Conversations service.
9312
9312
  * @module purecloud-platform-client-v2/api/ConversationsApi
9313
- * @version 149.1.0
9313
+ * @version 150.0.0
9314
9314
  */
9315
9315
 
9316
9316
  /**
@@ -10820,8 +10820,12 @@ class ConversationsApi {
10820
10820
  * Get message
10821
10821
  *
10822
10822
  * @param {String} messageId messageId
10823
+ * @param {Object} opts Optional parameters
10824
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10823
10825
  */
10824
- getConversationsMessageDetails(messageId) {
10826
+ getConversationsMessageDetails(messageId, opts) {
10827
+ opts = opts || {};
10828
+
10825
10829
  // verify the required parameter 'messageId' is set
10826
10830
  if (messageId === undefined || messageId === null) {
10827
10831
  throw 'Missing the required parameter "messageId" when calling getConversationsMessageDetails';
@@ -10831,7 +10835,7 @@ class ConversationsApi {
10831
10835
  '/api/v2/conversations/messages/{messageId}/details',
10832
10836
  'GET',
10833
10837
  { 'messageId': messageId },
10834
- { },
10838
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
10835
10839
  { },
10836
10840
  { },
10837
10841
  null,
@@ -10846,8 +10850,12 @@ class ConversationsApi {
10846
10850
  *
10847
10851
  * @param {String} conversationId conversationId
10848
10852
  * @param {String} messageId messageId
10853
+ * @param {Object} opts Optional parameters
10854
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10849
10855
  */
10850
- getConversationsMessageMessage(conversationId, messageId) {
10856
+ getConversationsMessageMessage(conversationId, messageId, opts) {
10857
+ opts = opts || {};
10858
+
10851
10859
  // verify the required parameter 'conversationId' is set
10852
10860
  if (conversationId === undefined || conversationId === null) {
10853
10861
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';
@@ -10861,7 +10869,7 @@ class ConversationsApi {
10861
10869
  '/api/v2/conversations/messages/{conversationId}/messages/{messageId}',
10862
10870
  'GET',
10863
10871
  { 'conversationId': conversationId,'messageId': messageId },
10864
- { },
10872
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
10865
10873
  { },
10866
10874
  { },
10867
10875
  null,
@@ -13479,6 +13487,31 @@ class ConversationsApi {
13479
13487
  );
13480
13488
  }
13481
13489
 
13490
+ /**
13491
+ * Create an email conversation, per API
13492
+ *
13493
+ * @param {Object} body Create agentless email request
13494
+ */
13495
+ postConversationsEmailsAgentless(body) {
13496
+ // verify the required parameter 'body' is set
13497
+ if (body === undefined || body === null) {
13498
+ throw 'Missing the required parameter "body" when calling postConversationsEmailsAgentless';
13499
+ }
13500
+
13501
+ return this.apiClient.callApi(
13502
+ '/api/v2/conversations/emails/agentless',
13503
+ 'POST',
13504
+ { },
13505
+ { },
13506
+ { },
13507
+ { },
13508
+ body,
13509
+ ['PureCloud OAuth'],
13510
+ ['application/json'],
13511
+ ['application/json']
13512
+ );
13513
+ }
13514
+
13482
13515
  /**
13483
13516
  * Create Fax Conversation
13484
13517
  *
@@ -13560,8 +13593,12 @@ class ConversationsApi {
13560
13593
  * @param {String} conversationId conversationId
13561
13594
  * @param {String} communicationId communicationId
13562
13595
  * @param {Object} body Message
13596
+ * @param {Object} opts Optional parameters
13597
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
13563
13598
  */
13564
- postConversationsMessageCommunicationMessages(conversationId, communicationId, body) {
13599
+ postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
13600
+ opts = opts || {};
13601
+
13565
13602
  // verify the required parameter 'conversationId' is set
13566
13603
  if (conversationId === undefined || conversationId === null) {
13567
13604
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';
@@ -13579,7 +13616,7 @@ class ConversationsApi {
13579
13616
  '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages',
13580
13617
  'POST',
13581
13618
  { 'conversationId': conversationId,'communicationId': communicationId },
13582
- { },
13619
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
13583
13620
  { },
13584
13621
  { },
13585
13622
  body,
@@ -13624,6 +13661,7 @@ class ConversationsApi {
13624
13661
  * The path parameter [conversationId] should contain the conversationId of the conversation being filtered. The body should contain the messageId(s) of messages being requested. For example: ["a3069a33b-bbb1-4703-9d68-061d9e9db96e", "55bc6be3-078c-4a49-a4e6-1e05776ed7e8"]
13625
13662
  * @param {String} conversationId
13626
13663
  * @param {Object} opts Optional parameters
13664
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
13627
13665
  * @param {Array.<String>} opts.body messageIds
13628
13666
  */
13629
13667
  postConversationsMessageMessagesBulk(conversationId, opts) {
@@ -13638,7 +13676,7 @@ class ConversationsApi {
13638
13676
  '/api/v2/conversations/messages/{conversationId}/messages/bulk',
13639
13677
  'POST',
13640
13678
  { 'conversationId': conversationId },
13641
- { },
13679
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
13642
13680
  { },
13643
13681
  { },
13644
13682
  opts['body'],
@@ -14454,7 +14492,7 @@ class DataExtensionsApi {
14454
14492
  /**
14455
14493
  * DataExtensions service.
14456
14494
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14457
- * @version 149.1.0
14495
+ * @version 150.0.0
14458
14496
  */
14459
14497
 
14460
14498
  /**
@@ -14536,11 +14574,159 @@ class DataExtensionsApi {
14536
14574
 
14537
14575
  }
14538
14576
 
14577
+ class DownloadsApi {
14578
+ /**
14579
+ * Downloads service.
14580
+ * @module purecloud-platform-client-v2/api/DownloadsApi
14581
+ * @version 150.0.0
14582
+ */
14583
+
14584
+ /**
14585
+ * Constructs a new DownloadsApi.
14586
+ * @alias module:purecloud-platform-client-v2/api/DownloadsApi
14587
+ * @class
14588
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14589
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14590
+ */
14591
+ constructor(apiClient) {
14592
+ this.apiClient = apiClient || ApiClient.instance;
14593
+ }
14594
+
14595
+
14596
+ /**
14597
+ * Issues a redirect to a signed secure download URL for specified download
14598
+ * this method will issue a redirect to the url to the content
14599
+ * @param {String} downloadId Download ID
14600
+ * @param {Object} opts Optional parameters
14601
+ * @param {String} opts.contentDisposition
14602
+ * @param {Boolean} opts.issueRedirect (default to true)
14603
+ * @param {Boolean} opts.redirectToAuth (default to true)
14604
+ */
14605
+ getDownload(downloadId, opts) {
14606
+ opts = opts || {};
14607
+
14608
+ // verify the required parameter 'downloadId' is set
14609
+ if (downloadId === undefined || downloadId === null) {
14610
+ throw 'Missing the required parameter "downloadId" when calling getDownload';
14611
+ }
14612
+
14613
+ return this.apiClient.callApi(
14614
+ '/api/v2/downloads/{downloadId}',
14615
+ 'GET',
14616
+ { 'downloadId': downloadId },
14617
+ { 'contentDisposition': opts['contentDisposition'],'issueRedirect': opts['issueRedirect'],'redirectToAuth': opts['redirectToAuth'] },
14618
+ { },
14619
+ { },
14620
+ null,
14621
+ ['PureCloud OAuth'],
14622
+ ['application/json'],
14623
+ ['application/json']
14624
+ );
14625
+ }
14626
+
14627
+ }
14628
+
14629
+ class EventsApi {
14630
+ /**
14631
+ * Events service.
14632
+ * @module purecloud-platform-client-v2/api/EventsApi
14633
+ * @version 150.0.0
14634
+ */
14635
+
14636
+ /**
14637
+ * Constructs a new EventsApi.
14638
+ * @alias module:purecloud-platform-client-v2/api/EventsApi
14639
+ * @class
14640
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14641
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14642
+ */
14643
+ constructor(apiClient) {
14644
+ this.apiClient = apiClient || ApiClient.instance;
14645
+ }
14646
+
14647
+
14648
+ /**
14649
+ * Publish Conversation Batch Events
14650
+ *
14651
+ * @param {Object} body batchRequest
14652
+ */
14653
+ postEventsConversations(body) {
14654
+ // verify the required parameter 'body' is set
14655
+ if (body === undefined || body === null) {
14656
+ throw 'Missing the required parameter "body" when calling postEventsConversations';
14657
+ }
14658
+
14659
+ return this.apiClient.callApi(
14660
+ '/api/v2/events/conversations',
14661
+ 'POST',
14662
+ { },
14663
+ { },
14664
+ { },
14665
+ { },
14666
+ body,
14667
+ ['PureCloud OAuth'],
14668
+ ['application/json'],
14669
+ ['application/json']
14670
+ );
14671
+ }
14672
+
14673
+ /**
14674
+ * Publish User Presence Status Batch Events
14675
+ *
14676
+ * @param {Object} body batchRequest
14677
+ */
14678
+ postEventsUsersPresence(body) {
14679
+ // verify the required parameter 'body' is set
14680
+ if (body === undefined || body === null) {
14681
+ throw 'Missing the required parameter "body" when calling postEventsUsersPresence';
14682
+ }
14683
+
14684
+ return this.apiClient.callApi(
14685
+ '/api/v2/events/users/presence',
14686
+ 'POST',
14687
+ { },
14688
+ { },
14689
+ { },
14690
+ { },
14691
+ body,
14692
+ ['PureCloud OAuth'],
14693
+ ['application/json'],
14694
+ ['application/json']
14695
+ );
14696
+ }
14697
+
14698
+ /**
14699
+ * Publish Agent Routing Status Batch Events
14700
+ *
14701
+ * @param {Object} body batchRequest
14702
+ */
14703
+ postEventsUsersRoutingstatus(body) {
14704
+ // verify the required parameter 'body' is set
14705
+ if (body === undefined || body === null) {
14706
+ throw 'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';
14707
+ }
14708
+
14709
+ return this.apiClient.callApi(
14710
+ '/api/v2/events/users/routingstatus',
14711
+ 'POST',
14712
+ { },
14713
+ { },
14714
+ { },
14715
+ { },
14716
+ body,
14717
+ ['PureCloud OAuth'],
14718
+ ['application/json'],
14719
+ ['application/json']
14720
+ );
14721
+ }
14722
+
14723
+ }
14724
+
14539
14725
  class ExternalContactsApi {
14540
14726
  /**
14541
14727
  * ExternalContacts service.
14542
14728
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14543
- * @version 149.1.0
14729
+ * @version 150.0.0
14544
14730
  */
14545
14731
 
14546
14732
  /**
@@ -14769,6 +14955,31 @@ class ExternalContactsApi {
14769
14955
  );
14770
14956
  }
14771
14957
 
14958
+ /**
14959
+ * List the identifiers for a contact
14960
+ *
14961
+ * @param {String} contactId ExternalContact ID
14962
+ */
14963
+ getExternalcontactsContactIdentifiers(contactId) {
14964
+ // verify the required parameter 'contactId' is set
14965
+ if (contactId === undefined || contactId === null) {
14966
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';
14967
+ }
14968
+
14969
+ return this.apiClient.callApi(
14970
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
14971
+ 'GET',
14972
+ { 'contactId': contactId },
14973
+ { },
14974
+ { },
14975
+ { },
14976
+ null,
14977
+ ['PureCloud OAuth'],
14978
+ ['application/json'],
14979
+ ['application/json']
14980
+ );
14981
+ }
14982
+
14772
14983
  /**
14773
14984
  * Fetch a note for an external contact
14774
14985
  *
@@ -14835,6 +15046,35 @@ class ExternalContactsApi {
14835
15046
  );
14836
15047
  }
14837
15048
 
15049
+ /**
15050
+ * Fetch an unresolved external contact
15051
+ *
15052
+ * @param {String} contactId ExternalContact ID
15053
+ * @param {Object} opts Optional parameters
15054
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
15055
+ */
15056
+ getExternalcontactsContactUnresolved(contactId, opts) {
15057
+ opts = opts || {};
15058
+
15059
+ // verify the required parameter 'contactId' is set
15060
+ if (contactId === undefined || contactId === null) {
15061
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';
15062
+ }
15063
+
15064
+ return this.apiClient.callApi(
15065
+ '/api/v2/externalcontacts/contacts/{contactId}/unresolved',
15066
+ 'GET',
15067
+ { 'contactId': contactId },
15068
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
15069
+ { },
15070
+ { },
15071
+ null,
15072
+ ['PureCloud OAuth'],
15073
+ ['application/json'],
15074
+ ['application/json']
15075
+ );
15076
+ }
15077
+
14838
15078
  /**
14839
15079
  * Search for external contacts
14840
15080
  *
@@ -15412,6 +15652,36 @@ class ExternalContactsApi {
15412
15652
  );
15413
15653
  }
15414
15654
 
15655
+ /**
15656
+ * Claim or release identifiers for a contact
15657
+ *
15658
+ * @param {String} contactId ExternalContact ID
15659
+ * @param {Object} body ClaimRequest
15660
+ */
15661
+ patchExternalcontactsContactIdentifiers(contactId, body) {
15662
+ // verify the required parameter 'contactId' is set
15663
+ if (contactId === undefined || contactId === null) {
15664
+ throw 'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';
15665
+ }
15666
+ // verify the required parameter 'body' is set
15667
+ if (body === undefined || body === null) {
15668
+ throw 'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';
15669
+ }
15670
+
15671
+ return this.apiClient.callApi(
15672
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
15673
+ 'PATCH',
15674
+ { 'contactId': contactId },
15675
+ { },
15676
+ { },
15677
+ { },
15678
+ body,
15679
+ ['PureCloud OAuth'],
15680
+ ['application/json'],
15681
+ ['application/json']
15682
+ );
15683
+ }
15684
+
15415
15685
  /**
15416
15686
  * Bulk fetch contacts
15417
15687
  *
@@ -15487,6 +15757,31 @@ class ExternalContactsApi {
15487
15757
  );
15488
15758
  }
15489
15759
 
15760
+ /**
15761
+ * Bulk fetch unresolved ancestor contacts
15762
+ *
15763
+ * @param {Object} body Contact ids
15764
+ */
15765
+ postExternalcontactsBulkContactsUnresolved(body) {
15766
+ // verify the required parameter 'body' is set
15767
+ if (body === undefined || body === null) {
15768
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUnresolved';
15769
+ }
15770
+
15771
+ return this.apiClient.callApi(
15772
+ '/api/v2/externalcontacts/bulk/contacts/unresolved',
15773
+ 'POST',
15774
+ { },
15775
+ { },
15776
+ { },
15777
+ { },
15778
+ body,
15779
+ ['PureCloud OAuth'],
15780
+ ['application/json'],
15781
+ ['application/json']
15782
+ );
15783
+ }
15784
+
15490
15785
  /**
15491
15786
  * Bulk update contacts
15492
15787
  *
@@ -15842,6 +16137,31 @@ class ExternalContactsApi {
15842
16137
  );
15843
16138
  }
15844
16139
 
16140
+ /**
16141
+ * Promote an observed contact (ephemeral or identified) to a curated contact
16142
+ *
16143
+ * @param {String} contactId ExternalContact ID
16144
+ */
16145
+ postExternalcontactsContactPromotion(contactId) {
16146
+ // verify the required parameter 'contactId' is set
16147
+ if (contactId === undefined || contactId === null) {
16148
+ throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';
16149
+ }
16150
+
16151
+ return this.apiClient.callApi(
16152
+ '/api/v2/externalcontacts/contacts/{contactId}/promotion',
16153
+ 'POST',
16154
+ { 'contactId': contactId },
16155
+ { },
16156
+ { },
16157
+ { },
16158
+ null,
16159
+ ['PureCloud OAuth'],
16160
+ ['application/json'],
16161
+ ['application/json']
16162
+ );
16163
+ }
16164
+
15845
16165
  /**
15846
16166
  * Create an external contact
15847
16167
  *
@@ -15892,6 +16212,56 @@ class ExternalContactsApi {
15892
16212
  );
15893
16213
  }
15894
16214
 
16215
+ /**
16216
+ * Fetch a contact using an identifier type and value.
16217
+ * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
16218
+ * @param {Object} identifier
16219
+ */
16220
+ postExternalcontactsIdentifierlookup(identifier) {
16221
+ // verify the required parameter 'identifier' is set
16222
+ if (identifier === undefined || identifier === null) {
16223
+ throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';
16224
+ }
16225
+
16226
+ return this.apiClient.callApi(
16227
+ '/api/v2/externalcontacts/identifierlookup',
16228
+ 'POST',
16229
+ { },
16230
+ { },
16231
+ { },
16232
+ { },
16233
+ identifier,
16234
+ ['PureCloud OAuth'],
16235
+ ['application/json'],
16236
+ ['application/json']
16237
+ );
16238
+ }
16239
+
16240
+ /**
16241
+ * Merge two contacts into a new contact record
16242
+ *
16243
+ * @param {Object} body MergeRequest
16244
+ */
16245
+ postExternalcontactsMergeContacts(body) {
16246
+ // verify the required parameter 'body' is set
16247
+ if (body === undefined || body === null) {
16248
+ throw 'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';
16249
+ }
16250
+
16251
+ return this.apiClient.callApi(
16252
+ '/api/v2/externalcontacts/merge/contacts',
16253
+ 'POST',
16254
+ { },
16255
+ { },
16256
+ { },
16257
+ { },
16258
+ body,
16259
+ ['PureCloud OAuth'],
16260
+ ['application/json'],
16261
+ ['application/json']
16262
+ );
16263
+ }
16264
+
15895
16265
  /**
15896
16266
  * Create a note for an external organization
15897
16267
  *
@@ -16283,7 +16653,7 @@ class FaxApi {
16283
16653
  /**
16284
16654
  * Fax service.
16285
16655
  * @module purecloud-platform-client-v2/api/FaxApi
16286
- * @version 149.1.0
16656
+ * @version 150.0.0
16287
16657
  */
16288
16658
 
16289
16659
  /**
@@ -16454,7 +16824,7 @@ class FlowsApi {
16454
16824
  /**
16455
16825
  * Flows service.
16456
16826
  * @module purecloud-platform-client-v2/api/FlowsApi
16457
- * @version 149.1.0
16827
+ * @version 150.0.0
16458
16828
  */
16459
16829
 
16460
16830
  /**
@@ -16525,7 +16895,7 @@ class GamificationApi {
16525
16895
  /**
16526
16896
  * Gamification service.
16527
16897
  * @module purecloud-platform-client-v2/api/GamificationApi
16528
- * @version 149.1.0
16898
+ * @version 150.0.0
16529
16899
  */
16530
16900
 
16531
16901
  /**
@@ -18206,7 +18576,7 @@ class GeneralDataProtectionRegulationApi {
18206
18576
  /**
18207
18577
  * GeneralDataProtectionRegulation service.
18208
18578
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18209
- * @version 149.1.0
18579
+ * @version 150.0.0
18210
18580
  */
18211
18581
 
18212
18582
  /**
@@ -18336,7 +18706,7 @@ class GeolocationApi {
18336
18706
  /**
18337
18707
  * Geolocation service.
18338
18708
  * @module purecloud-platform-client-v2/api/GeolocationApi
18339
- * @version 149.1.0
18709
+ * @version 150.0.0
18340
18710
  */
18341
18711
 
18342
18712
  /**
@@ -18467,7 +18837,7 @@ class GreetingsApi {
18467
18837
  /**
18468
18838
  * Greetings service.
18469
18839
  * @module purecloud-platform-client-v2/api/GreetingsApi
18470
- * @version 149.1.0
18840
+ * @version 150.0.0
18471
18841
  */
18472
18842
 
18473
18843
  /**
@@ -18922,7 +19292,7 @@ class GroupsApi {
18922
19292
  /**
18923
19293
  * Groups service.
18924
19294
  * @module purecloud-platform-client-v2/api/GroupsApi
18925
- * @version 149.1.0
19295
+ * @version 150.0.0
18926
19296
  */
18927
19297
 
18928
19298
  /**
@@ -19328,7 +19698,7 @@ class IdentityProviderApi {
19328
19698
  /**
19329
19699
  * IdentityProvider service.
19330
19700
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19331
- * @version 149.1.0
19701
+ * @version 150.0.0
19332
19702
  */
19333
19703
 
19334
19704
  /**
@@ -20084,7 +20454,7 @@ class IntegrationsApi {
20084
20454
  /**
20085
20455
  * Integrations service.
20086
20456
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20087
- * @version 149.1.0
20457
+ * @version 150.0.0
20088
20458
  */
20089
20459
 
20090
20460
  /**
@@ -21684,7 +22054,7 @@ class JourneyApi {
21684
22054
  /**
21685
22055
  * Journey service.
21686
22056
  * @module purecloud-platform-client-v2/api/JourneyApi
21687
- * @version 149.1.0
22057
+ * @version 150.0.0
21688
22058
  */
21689
22059
 
21690
22060
  /**
@@ -22470,7 +22840,7 @@ class KnowledgeApi {
22470
22840
  /**
22471
22841
  * Knowledge service.
22472
22842
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22473
- * @version 149.1.0
22843
+ * @version 150.0.0
22474
22844
  */
22475
22845
 
22476
22846
  /**
@@ -24903,7 +25273,7 @@ class LanguageUnderstandingApi {
24903
25273
  /**
24904
25274
  * LanguageUnderstanding service.
24905
25275
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24906
- * @version 149.1.0
25276
+ * @version 150.0.0
24907
25277
  */
24908
25278
 
24909
25279
  /**
@@ -25807,7 +26177,7 @@ class LanguagesApi {
25807
26177
  /**
25808
26178
  * Languages service.
25809
26179
  * @module purecloud-platform-client-v2/api/LanguagesApi
25810
- * @version 149.1.0
26180
+ * @version 150.0.0
25811
26181
  */
25812
26182
 
25813
26183
  /**
@@ -26075,7 +26445,7 @@ class LearningApi {
26075
26445
  /**
26076
26446
  * Learning service.
26077
26447
  * @module purecloud-platform-client-v2/api/LearningApi
26078
- * @version 149.1.0
26448
+ * @version 150.0.0
26079
26449
  */
26080
26450
 
26081
26451
  /**
@@ -26835,7 +27205,7 @@ class LicenseApi {
26835
27205
  /**
26836
27206
  * License service.
26837
27207
  * @module purecloud-platform-client-v2/api/LicenseApi
26838
- * @version 149.1.0
27208
+ * @version 150.0.0
26839
27209
  */
26840
27210
 
26841
27211
  /**
@@ -27073,7 +27443,7 @@ class LocationsApi {
27073
27443
  /**
27074
27444
  * Locations service.
27075
27445
  * @module purecloud-platform-client-v2/api/LocationsApi
27076
- * @version 149.1.0
27446
+ * @version 150.0.0
27077
27447
  */
27078
27448
 
27079
27449
  /**
@@ -27309,7 +27679,7 @@ class MessagingApi {
27309
27679
  /**
27310
27680
  * Messaging service.
27311
27681
  * @module purecloud-platform-client-v2/api/MessagingApi
27312
- * @version 149.1.0
27682
+ * @version 150.0.0
27313
27683
  */
27314
27684
 
27315
27685
  /**
@@ -27460,7 +27830,7 @@ class MobileDevicesApi {
27460
27830
  /**
27461
27831
  * MobileDevices service.
27462
27832
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27463
- * @version 149.1.0
27833
+ * @version 150.0.0
27464
27834
  */
27465
27835
 
27466
27836
  /**
@@ -27611,7 +27981,7 @@ class NotificationsApi {
27611
27981
  /**
27612
27982
  * Notifications service.
27613
27983
  * @module purecloud-platform-client-v2/api/NotificationsApi
27614
- * @version 149.1.0
27984
+ * @version 150.0.0
27615
27985
  */
27616
27986
 
27617
27987
  /**
@@ -27836,7 +28206,7 @@ class OAuthApi {
27836
28206
  /**
27837
28207
  * OAuth service.
27838
28208
  * @module purecloud-platform-client-v2/api/OAuthApi
27839
- * @version 149.1.0
28209
+ * @version 150.0.0
27840
28210
  */
27841
28211
 
27842
28212
  /**
@@ -28202,7 +28572,7 @@ class ObjectsApi {
28202
28572
  /**
28203
28573
  * Objects service.
28204
28574
  * @module purecloud-platform-client-v2/api/ObjectsApi
28205
- * @version 149.1.0
28575
+ * @version 150.0.0
28206
28576
  */
28207
28577
 
28208
28578
  /**
@@ -28473,7 +28843,7 @@ class OrganizationApi {
28473
28843
  /**
28474
28844
  * Organization service.
28475
28845
  * @module purecloud-platform-client-v2/api/OrganizationApi
28476
- * @version 149.1.0
28846
+ * @version 150.0.0
28477
28847
  */
28478
28848
 
28479
28849
  /**
@@ -28876,7 +29246,7 @@ class OrganizationAuthorizationApi {
28876
29246
  /**
28877
29247
  * OrganizationAuthorization service.
28878
29248
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28879
- * @version 149.1.0
29249
+ * @version 150.0.0
28880
29250
  */
28881
29251
 
28882
29252
  /**
@@ -29801,7 +30171,7 @@ class OutboundApi {
29801
30171
  /**
29802
30172
  * Outbound service.
29803
30173
  * @module purecloud-platform-client-v2/api/OutboundApi
29804
- * @version 149.1.0
30174
+ * @version 150.0.0
29805
30175
  */
29806
30176
 
29807
30177
  /**
@@ -33190,7 +33560,7 @@ class PresenceApi {
33190
33560
  /**
33191
33561
  * Presence service.
33192
33562
  * @module purecloud-platform-client-v2/api/PresenceApi
33193
- * @version 149.1.0
33563
+ * @version 150.0.0
33194
33564
  */
33195
33565
 
33196
33566
  /**
@@ -33205,6 +33575,31 @@ class PresenceApi {
33205
33575
  }
33206
33576
 
33207
33577
 
33578
+ /**
33579
+ * Delete a Presence Source
33580
+ *
33581
+ * @param {String} sourceId Presence Source ID
33582
+ */
33583
+ deletePresenceSource(sourceId) {
33584
+ // verify the required parameter 'sourceId' is set
33585
+ if (sourceId === undefined || sourceId === null) {
33586
+ throw 'Missing the required parameter "sourceId" when calling deletePresenceSource';
33587
+ }
33588
+
33589
+ return this.apiClient.callApi(
33590
+ '/api/v2/presence/sources/{sourceId}',
33591
+ 'DELETE',
33592
+ { 'sourceId': sourceId },
33593
+ { },
33594
+ { },
33595
+ { },
33596
+ null,
33597
+ ['PureCloud OAuth'],
33598
+ ['application/json'],
33599
+ ['application/json']
33600
+ );
33601
+ }
33602
+
33208
33603
  /**
33209
33604
  * Delete a Presence Definition
33210
33605
  *
@@ -33230,6 +33625,80 @@ class PresenceApi {
33230
33625
  );
33231
33626
  }
33232
33627
 
33628
+ /**
33629
+ * Get a Presence Source
33630
+ *
33631
+ * @param {String} sourceId Presence Source ID
33632
+ */
33633
+ getPresenceSource(sourceId) {
33634
+ // verify the required parameter 'sourceId' is set
33635
+ if (sourceId === undefined || sourceId === null) {
33636
+ throw 'Missing the required parameter "sourceId" when calling getPresenceSource';
33637
+ }
33638
+
33639
+ return this.apiClient.callApi(
33640
+ '/api/v2/presence/sources/{sourceId}',
33641
+ 'GET',
33642
+ { 'sourceId': sourceId },
33643
+ { },
33644
+ { },
33645
+ { },
33646
+ null,
33647
+ ['PureCloud OAuth'],
33648
+ ['application/json'],
33649
+ ['application/json']
33650
+ );
33651
+ }
33652
+
33653
+ /**
33654
+ * Get a list of Presence Sources
33655
+ *
33656
+ * @param {Object} opts Optional parameters
33657
+ * @param {String} opts.deleted Deleted query can be TRUE or FALSE (default to false)
33658
+ */
33659
+ getPresenceSources(opts) {
33660
+ opts = opts || {};
33661
+
33662
+
33663
+ return this.apiClient.callApi(
33664
+ '/api/v2/presence/sources',
33665
+ 'GET',
33666
+ { },
33667
+ { 'deleted': opts['deleted'] },
33668
+ { },
33669
+ { },
33670
+ null,
33671
+ ['PureCloud OAuth'],
33672
+ ['application/json'],
33673
+ ['application/json']
33674
+ );
33675
+ }
33676
+
33677
+ /**
33678
+ * Get a user's Primary Presence Source
33679
+ *
33680
+ * @param {String} userId user ID
33681
+ */
33682
+ getPresenceUserPrimarysource(userId) {
33683
+ // verify the required parameter 'userId' is set
33684
+ if (userId === undefined || userId === null) {
33685
+ throw 'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';
33686
+ }
33687
+
33688
+ return this.apiClient.callApi(
33689
+ '/api/v2/presence/users/{userId}/primarysource',
33690
+ 'GET',
33691
+ { 'userId': userId },
33692
+ { },
33693
+ { },
33694
+ { },
33695
+ null,
33696
+ ['PureCloud OAuth'],
33697
+ ['application/json'],
33698
+ ['application/json']
33699
+ );
33700
+ }
33701
+
33233
33702
  /**
33234
33703
  * Get a Presence Definition
33235
33704
  *
@@ -33426,6 +33895,31 @@ class PresenceApi {
33426
33895
  );
33427
33896
  }
33428
33897
 
33898
+ /**
33899
+ * Create a Presence Source
33900
+ *
33901
+ * @param {Object} body The Presence Source to create
33902
+ */
33903
+ postPresenceSources(body) {
33904
+ // verify the required parameter 'body' is set
33905
+ if (body === undefined || body === null) {
33906
+ throw 'Missing the required parameter "body" when calling postPresenceSources';
33907
+ }
33908
+
33909
+ return this.apiClient.callApi(
33910
+ '/api/v2/presence/sources',
33911
+ 'POST',
33912
+ { },
33913
+ { },
33914
+ { },
33915
+ { },
33916
+ body,
33917
+ ['PureCloud OAuth'],
33918
+ ['application/json'],
33919
+ ['application/json']
33920
+ );
33921
+ }
33922
+
33429
33923
  /**
33430
33924
  * Create a Presence Definition
33431
33925
  *
@@ -33451,6 +33945,66 @@ class PresenceApi {
33451
33945
  );
33452
33946
  }
33453
33947
 
33948
+ /**
33949
+ * Update a Presence Source
33950
+ *
33951
+ * @param {String} sourceId Presence Source ID
33952
+ * @param {Object} body The updated Presence Source
33953
+ */
33954
+ putPresenceSource(sourceId, body) {
33955
+ // verify the required parameter 'sourceId' is set
33956
+ if (sourceId === undefined || sourceId === null) {
33957
+ throw 'Missing the required parameter "sourceId" when calling putPresenceSource';
33958
+ }
33959
+ // verify the required parameter 'body' is set
33960
+ if (body === undefined || body === null) {
33961
+ throw 'Missing the required parameter "body" when calling putPresenceSource';
33962
+ }
33963
+
33964
+ return this.apiClient.callApi(
33965
+ '/api/v2/presence/sources/{sourceId}',
33966
+ 'PUT',
33967
+ { 'sourceId': sourceId },
33968
+ { },
33969
+ { },
33970
+ { },
33971
+ body,
33972
+ ['PureCloud OAuth'],
33973
+ ['application/json'],
33974
+ ['application/json']
33975
+ );
33976
+ }
33977
+
33978
+ /**
33979
+ * Update a user's Primary Presence Source
33980
+ *
33981
+ * @param {String} userId user ID
33982
+ * @param {Object} body Primary Source
33983
+ */
33984
+ putPresenceUserPrimarysource(userId, body) {
33985
+ // verify the required parameter 'userId' is set
33986
+ if (userId === undefined || userId === null) {
33987
+ throw 'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';
33988
+ }
33989
+ // verify the required parameter 'body' is set
33990
+ if (body === undefined || body === null) {
33991
+ throw 'Missing the required parameter "body" when calling putPresenceUserPrimarysource';
33992
+ }
33993
+
33994
+ return this.apiClient.callApi(
33995
+ '/api/v2/presence/users/{userId}/primarysource',
33996
+ 'PUT',
33997
+ { 'userId': userId },
33998
+ { },
33999
+ { },
34000
+ { },
34001
+ body,
34002
+ ['PureCloud OAuth'],
34003
+ ['application/json'],
34004
+ ['application/json']
34005
+ );
34006
+ }
34007
+
33454
34008
  /**
33455
34009
  * Update a Presence Definition
33456
34010
  *
@@ -33512,7 +34066,7 @@ class ProcessAutomationApi {
33512
34066
  /**
33513
34067
  * ProcessAutomation service.
33514
34068
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
33515
- * @version 149.1.0
34069
+ * @version 150.0.0
33516
34070
  */
33517
34071
 
33518
34072
  /**
@@ -33750,7 +34304,7 @@ class QualityApi {
33750
34304
  /**
33751
34305
  * Quality service.
33752
34306
  * @module purecloud-platform-client-v2/api/QualityApi
33753
- * @version 149.1.0
34307
+ * @version 150.0.0
33754
34308
  */
33755
34309
 
33756
34310
  /**
@@ -35328,7 +35882,7 @@ class RecordingApi {
35328
35882
  /**
35329
35883
  * Recording service.
35330
35884
  * @module purecloud-platform-client-v2/api/RecordingApi
35331
- * @version 149.1.0
35885
+ * @version 150.0.0
35332
35886
  */
35333
35887
 
35334
35888
  /**
@@ -36433,7 +36987,7 @@ class RecordingApi {
36433
36987
 
36434
36988
  /**
36435
36989
  * Create a recording bulk job.
36436
- * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
36990
+ * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state. Furthermore, the recording:recording:viewSensitiveData permission is required to access recordings with PCI DSS and/or PII data. If the requester does not have that permission and includeRecordingsWithSensitiveData is set to true, then their request will be rejected.
36437
36991
  * @param {Object} body query
36438
36992
  */
36439
36993
  postRecordingJobs(body) {
@@ -37015,7 +37569,7 @@ class ResponseManagementApi {
37015
37569
  /**
37016
37570
  * ResponseManagement service.
37017
37571
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
37018
- * @version 149.1.0
37572
+ * @version 150.0.0
37019
37573
  */
37020
37574
 
37021
37575
  /**
@@ -37499,7 +38053,7 @@ class RoutingApi {
37499
38053
  /**
37500
38054
  * Routing service.
37501
38055
  * @module purecloud-platform-client-v2/api/RoutingApi
37502
- * @version 149.1.0
38056
+ * @version 150.0.0
37503
38057
  */
37504
38058
 
37505
38059
  /**
@@ -37594,6 +38148,31 @@ class RoutingApi {
37594
38148
  );
37595
38149
  }
37596
38150
 
38151
+ /**
38152
+ * Delete an outbound domain
38153
+ *
38154
+ * @param {String} domainId domain ID
38155
+ */
38156
+ deleteRoutingEmailOutboundDomain(domainId) {
38157
+ // verify the required parameter 'domainId' is set
38158
+ if (domainId === undefined || domainId === null) {
38159
+ throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
38160
+ }
38161
+
38162
+ return this.apiClient.callApi(
38163
+ '/api/v2/routing/email/outbound/domains/{domainId}',
38164
+ 'DELETE',
38165
+ { 'domainId': domainId },
38166
+ { },
38167
+ { },
38168
+ { },
38169
+ null,
38170
+ ['PureCloud OAuth'],
38171
+ ['application/json'],
38172
+ ['application/json']
38173
+ );
38174
+ }
38175
+
37597
38176
  /**
37598
38177
  * Delete single predictor.
37599
38178
  *
@@ -38195,6 +38774,101 @@ class RoutingApi {
38195
38774
  );
38196
38775
  }
38197
38776
 
38777
+ /**
38778
+ * Get domain
38779
+ *
38780
+ * @param {String} domainId domain ID
38781
+ */
38782
+ getRoutingEmailOutboundDomain(domainId) {
38783
+ // verify the required parameter 'domainId' is set
38784
+ if (domainId === undefined || domainId === null) {
38785
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
38786
+ }
38787
+
38788
+ return this.apiClient.callApi(
38789
+ '/api/v2/routing/email/outbound/domains/{domainId}',
38790
+ 'GET',
38791
+ { 'domainId': domainId },
38792
+ { },
38793
+ { },
38794
+ { },
38795
+ null,
38796
+ ['PureCloud OAuth'],
38797
+ ['application/json'],
38798
+ ['application/json']
38799
+ );
38800
+ }
38801
+
38802
+ /**
38803
+ * Get activation status (cname + dkim) of an outbound domain
38804
+ *
38805
+ * @param {String} domainId domain ID
38806
+ */
38807
+ getRoutingEmailOutboundDomainActivation(domainId) {
38808
+ // verify the required parameter 'domainId' is set
38809
+ if (domainId === undefined || domainId === null) {
38810
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
38811
+ }
38812
+
38813
+ return this.apiClient.callApi(
38814
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
38815
+ 'GET',
38816
+ { 'domainId': domainId },
38817
+ { },
38818
+ { },
38819
+ { },
38820
+ null,
38821
+ ['PureCloud OAuth'],
38822
+ ['application/json'],
38823
+ ['application/json']
38824
+ );
38825
+ }
38826
+
38827
+ /**
38828
+ * Search a domain across organizations
38829
+ *
38830
+ * @param {String} domainId domain ID
38831
+ */
38832
+ getRoutingEmailOutboundDomainSearch(domainId) {
38833
+ // verify the required parameter 'domainId' is set
38834
+ if (domainId === undefined || domainId === null) {
38835
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';
38836
+ }
38837
+
38838
+ return this.apiClient.callApi(
38839
+ '/api/v2/routing/email/outbound/domains/{domainId}/search',
38840
+ 'GET',
38841
+ { 'domainId': domainId },
38842
+ { },
38843
+ { },
38844
+ { },
38845
+ null,
38846
+ ['PureCloud OAuth'],
38847
+ ['application/json'],
38848
+ ['application/json']
38849
+ );
38850
+ }
38851
+
38852
+ /**
38853
+ * Get outbound domains
38854
+ *
38855
+ */
38856
+ getRoutingEmailOutboundDomains() {
38857
+
38858
+ return this.apiClient.callApi(
38859
+ '/api/v2/routing/email/outbound/domains',
38860
+ 'GET',
38861
+ { },
38862
+ { },
38863
+ { },
38864
+ { },
38865
+ null,
38866
+ ['PureCloud OAuth'],
38867
+ ['application/json'],
38868
+ ['application/json']
38869
+ );
38870
+ }
38871
+
38198
38872
  /**
38199
38873
  * Get email setup
38200
38874
  *
@@ -39832,6 +40506,56 @@ class RoutingApi {
39832
40506
  );
39833
40507
  }
39834
40508
 
40509
+ /**
40510
+ * Create a domain
40511
+ *
40512
+ * @param {Object} body Domain
40513
+ */
40514
+ postRoutingEmailOutboundDomains(body) {
40515
+ // verify the required parameter 'body' is set
40516
+ if (body === undefined || body === null) {
40517
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';
40518
+ }
40519
+
40520
+ return this.apiClient.callApi(
40521
+ '/api/v2/routing/email/outbound/domains',
40522
+ 'POST',
40523
+ { },
40524
+ { },
40525
+ { },
40526
+ { },
40527
+ body,
40528
+ ['PureCloud OAuth'],
40529
+ ['application/json'],
40530
+ ['application/json']
40531
+ );
40532
+ }
40533
+
40534
+ /**
40535
+ * Create a simulated domain
40536
+ *
40537
+ * @param {Object} body Domain
40538
+ */
40539
+ postRoutingEmailOutboundDomainsSimulated(body) {
40540
+ // verify the required parameter 'body' is set
40541
+ if (body === undefined || body === null) {
40542
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';
40543
+ }
40544
+
40545
+ return this.apiClient.callApi(
40546
+ '/api/v2/routing/email/outbound/domains/simulated',
40547
+ 'POST',
40548
+ { },
40549
+ { },
40550
+ { },
40551
+ { },
40552
+ body,
40553
+ ['PureCloud OAuth'],
40554
+ ['application/json'],
40555
+ ['application/json']
40556
+ );
40557
+ }
40558
+
39835
40559
  /**
39836
40560
  * Create Language
39837
40561
  *
@@ -40199,6 +40923,31 @@ class RoutingApi {
40199
40923
  );
40200
40924
  }
40201
40925
 
40926
+ /**
40927
+ * Request an activation status (cname + dkim) update of an outbound domain
40928
+ *
40929
+ * @param {String} domainId domain ID
40930
+ */
40931
+ putRoutingEmailOutboundDomainActivation(domainId) {
40932
+ // verify the required parameter 'domainId' is set
40933
+ if (domainId === undefined || domainId === null) {
40934
+ throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
40935
+ }
40936
+
40937
+ return this.apiClient.callApi(
40938
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
40939
+ 'PUT',
40940
+ { 'domainId': domainId },
40941
+ { },
40942
+ { },
40943
+ { },
40944
+ null,
40945
+ ['PureCloud OAuth'],
40946
+ ['application/json'],
40947
+ ['application/json']
40948
+ );
40949
+ }
40950
+
40202
40951
  /**
40203
40952
  * Update a recipient
40204
40953
  *
@@ -40495,7 +41244,7 @@ class SCIMApi {
40495
41244
  /**
40496
41245
  * SCIM service.
40497
41246
  * @module purecloud-platform-client-v2/api/SCIMApi
40498
- * @version 149.1.0
41247
+ * @version 150.0.0
40499
41248
  */
40500
41249
 
40501
41250
  /**
@@ -41372,7 +42121,7 @@ class ScriptsApi {
41372
42121
  /**
41373
42122
  * Scripts service.
41374
42123
  * @module purecloud-platform-client-v2/api/ScriptsApi
41375
- * @version 149.1.0
42124
+ * @version 150.0.0
41376
42125
  */
41377
42126
 
41378
42127
  /**
@@ -41791,7 +42540,7 @@ class SearchApi {
41791
42540
  /**
41792
42541
  * Search service.
41793
42542
  * @module purecloud-platform-client-v2/api/SearchApi
41794
- * @version 149.1.0
42543
+ * @version 150.0.0
41795
42544
  */
41796
42545
 
41797
42546
  /**
@@ -42351,7 +43100,7 @@ class SpeechTextAnalyticsApi {
42351
43100
  /**
42352
43101
  * SpeechTextAnalytics service.
42353
43102
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
42354
- * @version 149.1.0
43103
+ * @version 150.0.0
42355
43104
  */
42356
43105
 
42357
43106
  /**
@@ -43205,7 +43954,7 @@ class StationsApi {
43205
43954
  /**
43206
43955
  * Stations service.
43207
43956
  * @module purecloud-platform-client-v2/api/StationsApi
43208
- * @version 149.1.0
43957
+ * @version 150.0.0
43209
43958
  */
43210
43959
 
43211
43960
  /**
@@ -43352,7 +44101,7 @@ class SuggestApi {
43352
44101
  /**
43353
44102
  * Suggest service.
43354
44103
  * @module purecloud-platform-client-v2/api/SuggestApi
43355
- * @version 149.1.0
44104
+ * @version 150.0.0
43356
44105
  */
43357
44106
 
43358
44107
  /**
@@ -43491,7 +44240,7 @@ class TeamsApi {
43491
44240
  /**
43492
44241
  * Teams service.
43493
44242
  * @module purecloud-platform-client-v2/api/TeamsApi
43494
- * @version 149.1.0
44243
+ * @version 150.0.0
43495
44244
  */
43496
44245
 
43497
44246
  /**
@@ -43670,7 +44419,7 @@ class TelephonyApi {
43670
44419
  /**
43671
44420
  * Telephony service.
43672
44421
  * @module purecloud-platform-client-v2/api/TelephonyApi
43673
- * @version 149.1.0
44422
+ * @version 150.0.0
43674
44423
  */
43675
44424
 
43676
44425
  /**
@@ -43778,7 +44527,7 @@ class TelephonyProvidersEdgeApi {
43778
44527
  /**
43779
44528
  * TelephonyProvidersEdge service.
43780
44529
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
43781
- * @version 149.1.0
44530
+ * @version 150.0.0
43782
44531
  */
43783
44532
 
43784
44533
  /**
@@ -47411,7 +48160,7 @@ class TextbotsApi {
47411
48160
  /**
47412
48161
  * Textbots service.
47413
48162
  * @module purecloud-platform-client-v2/api/TextbotsApi
47414
- * @version 149.1.0
48163
+ * @version 150.0.0
47415
48164
  */
47416
48165
 
47417
48166
  /**
@@ -47539,7 +48288,7 @@ class TokensApi {
47539
48288
  /**
47540
48289
  * Tokens service.
47541
48290
  * @module purecloud-platform-client-v2/api/TokensApi
47542
- * @version 149.1.0
48291
+ * @version 150.0.0
47543
48292
  */
47544
48293
 
47545
48294
  /**
@@ -47645,7 +48394,7 @@ class UploadsApi {
47645
48394
  /**
47646
48395
  * Uploads service.
47647
48396
  * @module purecloud-platform-client-v2/api/UploadsApi
47648
- * @version 149.1.0
48397
+ * @version 150.0.0
47649
48398
  */
47650
48399
 
47651
48400
  /**
@@ -47821,7 +48570,7 @@ class UsageApi {
47821
48570
  /**
47822
48571
  * Usage service.
47823
48572
  * @module purecloud-platform-client-v2/api/UsageApi
47824
- * @version 149.1.0
48573
+ * @version 150.0.0
47825
48574
  */
47826
48575
 
47827
48576
  /**
@@ -47892,7 +48641,7 @@ class UserRecordingsApi {
47892
48641
  /**
47893
48642
  * UserRecordings service.
47894
48643
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
47895
- * @version 149.1.0
48644
+ * @version 150.0.0
47896
48645
  */
47897
48646
 
47898
48647
  /**
@@ -48077,7 +48826,7 @@ class UsersApi {
48077
48826
  /**
48078
48827
  * Users service.
48079
48828
  * @module purecloud-platform-client-v2/api/UsersApi
48080
- * @version 149.1.0
48829
+ * @version 150.0.0
48081
48830
  */
48082
48831
 
48083
48832
  /**
@@ -50409,7 +51158,7 @@ class UtilitiesApi {
50409
51158
  /**
50410
51159
  * Utilities service.
50411
51160
  * @module purecloud-platform-client-v2/api/UtilitiesApi
50412
- * @version 149.1.0
51161
+ * @version 150.0.0
50413
51162
  */
50414
51163
 
50415
51164
  /**
@@ -50520,7 +51269,7 @@ class VoicemailApi {
50520
51269
  /**
50521
51270
  * Voicemail service.
50522
51271
  * @module purecloud-platform-client-v2/api/VoicemailApi
50523
- * @version 149.1.0
51272
+ * @version 150.0.0
50524
51273
  */
50525
51274
 
50526
51275
  /**
@@ -51187,7 +51936,7 @@ class WebChatApi {
51187
51936
  /**
51188
51937
  * WebChat service.
51189
51938
  * @module purecloud-platform-client-v2/api/WebChatApi
51190
- * @version 149.1.0
51939
+ * @version 150.0.0
51191
51940
  */
51192
51941
 
51193
51942
  /**
@@ -51731,7 +52480,7 @@ class WebDeploymentsApi {
51731
52480
  /**
51732
52481
  * WebDeployments service.
51733
52482
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
51734
- * @version 149.1.0
52483
+ * @version 150.0.0
51735
52484
  */
51736
52485
 
51737
52486
  /**
@@ -52119,7 +52868,7 @@ class WebMessagingApi {
52119
52868
  /**
52120
52869
  * WebMessaging service.
52121
52870
  * @module purecloud-platform-client-v2/api/WebMessagingApi
52122
- * @version 149.1.0
52871
+ * @version 150.0.0
52123
52872
  */
52124
52873
 
52125
52874
  /**
@@ -52165,7 +52914,7 @@ class WidgetsApi {
52165
52914
  /**
52166
52915
  * Widgets service.
52167
52916
  * @module purecloud-platform-client-v2/api/WidgetsApi
52168
- * @version 149.1.0
52917
+ * @version 150.0.0
52169
52918
  */
52170
52919
 
52171
52920
  /**
@@ -52311,7 +53060,7 @@ class WorkforceManagementApi {
52311
53060
  /**
52312
53061
  * WorkforceManagement service.
52313
53062
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
52314
- * @version 149.1.0
53063
+ * @version 150.0.0
52315
53064
  */
52316
53065
 
52317
53066
  /**
@@ -56587,7 +57336,7 @@ class WorkforceManagementApi {
56587
57336
  * </pre>
56588
57337
  * </p>
56589
57338
  * @module purecloud-platform-client-v2/index
56590
- * @version 149.1.0
57339
+ * @version 150.0.0
56591
57340
  */
56592
57341
  class platformClient {
56593
57342
  constructor() {
@@ -56656,6 +57405,16 @@ class platformClient {
56656
57405
  * @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
56657
57406
  */
56658
57407
  this.DataExtensionsApi = DataExtensionsApi;
57408
+ /**
57409
+ * The DownloadsApi service constructor.
57410
+ * @property {module:purecloud-platform-client-v2/api/DownloadsApi}
57411
+ */
57412
+ this.DownloadsApi = DownloadsApi;
57413
+ /**
57414
+ * The EventsApi service constructor.
57415
+ * @property {module:purecloud-platform-client-v2/api/EventsApi}
57416
+ */
57417
+ this.EventsApi = EventsApi;
56659
57418
  /**
56660
57419
  * The ExternalContactsApi service constructor.
56661
57420
  * @property {module:purecloud-platform-client-v2/api/ExternalContactsApi}