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
@@ -399,7 +399,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
399
399
 
400
400
  /**
401
401
  * @module purecloud-platform-client-v2/ApiClient
402
- * @version 149.1.0
402
+ * @version 150.0.0
403
403
  */
404
404
  class ApiClient {
405
405
  /**
@@ -1478,7 +1478,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1478
1478
  /**
1479
1479
  * Alerting service.
1480
1480
  * @module purecloud-platform-client-v2/api/AlertingApi
1481
- * @version 149.1.0
1481
+ * @version 150.0.0
1482
1482
  */
1483
1483
 
1484
1484
  /**
@@ -1792,7 +1792,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
1792
1792
  /**
1793
1793
  * Analytics service.
1794
1794
  * @module purecloud-platform-client-v2/api/AnalyticsApi
1795
- * @version 149.1.0
1795
+ * @version 150.0.0
1796
1796
  */
1797
1797
 
1798
1798
  /**
@@ -3019,7 +3019,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
3019
3019
  /**
3020
3020
  * Architect service.
3021
3021
  * @module purecloud-platform-client-v2/api/ArchitectApi
3022
- * @version 149.1.0
3022
+ * @version 150.0.0
3023
3023
  */
3024
3024
 
3025
3025
  /**
@@ -6065,7 +6065,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6065
6065
  /**
6066
6066
  * Audit service.
6067
6067
  * @module purecloud-platform-client-v2/api/AuditApi
6068
- * @version 149.1.0
6068
+ * @version 150.0.0
6069
6069
  */
6070
6070
 
6071
6071
  /**
@@ -6236,7 +6236,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
6236
6236
  /**
6237
6237
  * Authorization service.
6238
6238
  * @module purecloud-platform-client-v2/api/AuthorizationApi
6239
- * @version 149.1.0
6239
+ * @version 150.0.0
6240
6240
  */
6241
6241
 
6242
6242
  /**
@@ -7419,7 +7419,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7419
7419
  /**
7420
7420
  * Billing service.
7421
7421
  * @module purecloud-platform-client-v2/api/BillingApi
7422
- * @version 149.1.0
7422
+ * @version 150.0.0
7423
7423
  */
7424
7424
 
7425
7425
  /**
@@ -7499,7 +7499,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7499
7499
  /**
7500
7500
  * Chat service.
7501
7501
  * @module purecloud-platform-client-v2/api/ChatApi
7502
- * @version 149.1.0
7502
+ * @version 150.0.0
7503
7503
  */
7504
7504
 
7505
7505
  /**
@@ -7590,7 +7590,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
7590
7590
  /**
7591
7591
  * Coaching service.
7592
7592
  * @module purecloud-platform-client-v2/api/CoachingApi
7593
- * @version 149.1.0
7593
+ * @version 150.0.0
7594
7594
  */
7595
7595
 
7596
7596
  /**
@@ -8167,7 +8167,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
8167
8167
  /**
8168
8168
  * ContentManagement service.
8169
8169
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8170
- * @version 149.1.0
8170
+ * @version 150.0.0
8171
8171
  */
8172
8172
 
8173
8173
  /**
@@ -9307,7 +9307,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
9307
9307
  /**
9308
9308
  * Conversations service.
9309
9309
  * @module purecloud-platform-client-v2/api/ConversationsApi
9310
- * @version 149.1.0
9310
+ * @version 150.0.0
9311
9311
  */
9312
9312
 
9313
9313
  /**
@@ -10817,8 +10817,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10817
10817
  * Get message
10818
10818
  *
10819
10819
  * @param {String} messageId messageId
10820
+ * @param {Object} opts Optional parameters
10821
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10820
10822
  */
10821
- getConversationsMessageDetails(messageId) {
10823
+ getConversationsMessageDetails(messageId, opts) {
10824
+ opts = opts || {};
10825
+
10822
10826
  // verify the required parameter 'messageId' is set
10823
10827
  if (messageId === undefined || messageId === null) {
10824
10828
  throw 'Missing the required parameter "messageId" when calling getConversationsMessageDetails';
@@ -10828,7 +10832,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10828
10832
  '/api/v2/conversations/messages/{messageId}/details',
10829
10833
  'GET',
10830
10834
  { 'messageId': messageId },
10831
- { },
10835
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
10832
10836
  { },
10833
10837
  { },
10834
10838
  null,
@@ -10843,8 +10847,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10843
10847
  *
10844
10848
  * @param {String} conversationId conversationId
10845
10849
  * @param {String} messageId messageId
10850
+ * @param {Object} opts Optional parameters
10851
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
10846
10852
  */
10847
- getConversationsMessageMessage(conversationId, messageId) {
10853
+ getConversationsMessageMessage(conversationId, messageId, opts) {
10854
+ opts = opts || {};
10855
+
10848
10856
  // verify the required parameter 'conversationId' is set
10849
10857
  if (conversationId === undefined || conversationId === null) {
10850
10858
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';
@@ -10858,7 +10866,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
10858
10866
  '/api/v2/conversations/messages/{conversationId}/messages/{messageId}',
10859
10867
  'GET',
10860
10868
  { 'conversationId': conversationId,'messageId': messageId },
10861
- { },
10869
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
10862
10870
  { },
10863
10871
  { },
10864
10872
  null,
@@ -13476,6 +13484,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13476
13484
  );
13477
13485
  }
13478
13486
 
13487
+ /**
13488
+ * Create an email conversation, per API
13489
+ *
13490
+ * @param {Object} body Create agentless email request
13491
+ */
13492
+ postConversationsEmailsAgentless(body) {
13493
+ // verify the required parameter 'body' is set
13494
+ if (body === undefined || body === null) {
13495
+ throw 'Missing the required parameter "body" when calling postConversationsEmailsAgentless';
13496
+ }
13497
+
13498
+ return this.apiClient.callApi(
13499
+ '/api/v2/conversations/emails/agentless',
13500
+ 'POST',
13501
+ { },
13502
+ { },
13503
+ { },
13504
+ { },
13505
+ body,
13506
+ ['PureCloud OAuth'],
13507
+ ['application/json'],
13508
+ ['application/json']
13509
+ );
13510
+ }
13511
+
13479
13512
  /**
13480
13513
  * Create Fax Conversation
13481
13514
  *
@@ -13557,8 +13590,12 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13557
13590
  * @param {String} conversationId conversationId
13558
13591
  * @param {String} communicationId communicationId
13559
13592
  * @param {Object} body Message
13593
+ * @param {Object} opts Optional parameters
13594
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
13560
13595
  */
13561
- postConversationsMessageCommunicationMessages(conversationId, communicationId, body) {
13596
+ postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
13597
+ opts = opts || {};
13598
+
13562
13599
  // verify the required parameter 'conversationId' is set
13563
13600
  if (conversationId === undefined || conversationId === null) {
13564
13601
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';
@@ -13576,7 +13613,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13576
13613
  '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages',
13577
13614
  'POST',
13578
13615
  { 'conversationId': conversationId,'communicationId': communicationId },
13579
- { },
13616
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
13580
13617
  { },
13581
13618
  { },
13582
13619
  body,
@@ -13621,6 +13658,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13621
13658
  * 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"]
13622
13659
  * @param {String} conversationId
13623
13660
  * @param {Object} opts Optional parameters
13661
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
13624
13662
  * @param {Array.<String>} opts.body messageIds
13625
13663
  */
13626
13664
  postConversationsMessageMessagesBulk(conversationId, opts) {
@@ -13635,7 +13673,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
13635
13673
  '/api/v2/conversations/messages/{conversationId}/messages/bulk',
13636
13674
  'POST',
13637
13675
  { 'conversationId': conversationId },
13638
- { },
13676
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
13639
13677
  { },
13640
13678
  { },
13641
13679
  opts['body'],
@@ -14451,7 +14489,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14451
14489
  /**
14452
14490
  * DataExtensions service.
14453
14491
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
14454
- * @version 149.1.0
14492
+ * @version 150.0.0
14455
14493
  */
14456
14494
 
14457
14495
  /**
@@ -14533,11 +14571,159 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14533
14571
 
14534
14572
  }
14535
14573
 
14574
+ class DownloadsApi {
14575
+ /**
14576
+ * Downloads service.
14577
+ * @module purecloud-platform-client-v2/api/DownloadsApi
14578
+ * @version 150.0.0
14579
+ */
14580
+
14581
+ /**
14582
+ * Constructs a new DownloadsApi.
14583
+ * @alias module:purecloud-platform-client-v2/api/DownloadsApi
14584
+ * @class
14585
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14586
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14587
+ */
14588
+ constructor(apiClient) {
14589
+ this.apiClient = apiClient || ApiClient.instance;
14590
+ }
14591
+
14592
+
14593
+ /**
14594
+ * Issues a redirect to a signed secure download URL for specified download
14595
+ * this method will issue a redirect to the url to the content
14596
+ * @param {String} downloadId Download ID
14597
+ * @param {Object} opts Optional parameters
14598
+ * @param {String} opts.contentDisposition
14599
+ * @param {Boolean} opts.issueRedirect (default to true)
14600
+ * @param {Boolean} opts.redirectToAuth (default to true)
14601
+ */
14602
+ getDownload(downloadId, opts) {
14603
+ opts = opts || {};
14604
+
14605
+ // verify the required parameter 'downloadId' is set
14606
+ if (downloadId === undefined || downloadId === null) {
14607
+ throw 'Missing the required parameter "downloadId" when calling getDownload';
14608
+ }
14609
+
14610
+ return this.apiClient.callApi(
14611
+ '/api/v2/downloads/{downloadId}',
14612
+ 'GET',
14613
+ { 'downloadId': downloadId },
14614
+ { 'contentDisposition': opts['contentDisposition'],'issueRedirect': opts['issueRedirect'],'redirectToAuth': opts['redirectToAuth'] },
14615
+ { },
14616
+ { },
14617
+ null,
14618
+ ['PureCloud OAuth'],
14619
+ ['application/json'],
14620
+ ['application/json']
14621
+ );
14622
+ }
14623
+
14624
+ }
14625
+
14626
+ class EventsApi {
14627
+ /**
14628
+ * Events service.
14629
+ * @module purecloud-platform-client-v2/api/EventsApi
14630
+ * @version 150.0.0
14631
+ */
14632
+
14633
+ /**
14634
+ * Constructs a new EventsApi.
14635
+ * @alias module:purecloud-platform-client-v2/api/EventsApi
14636
+ * @class
14637
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
14638
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
14639
+ */
14640
+ constructor(apiClient) {
14641
+ this.apiClient = apiClient || ApiClient.instance;
14642
+ }
14643
+
14644
+
14645
+ /**
14646
+ * Publish Conversation Batch Events
14647
+ *
14648
+ * @param {Object} body batchRequest
14649
+ */
14650
+ postEventsConversations(body) {
14651
+ // verify the required parameter 'body' is set
14652
+ if (body === undefined || body === null) {
14653
+ throw 'Missing the required parameter "body" when calling postEventsConversations';
14654
+ }
14655
+
14656
+ return this.apiClient.callApi(
14657
+ '/api/v2/events/conversations',
14658
+ 'POST',
14659
+ { },
14660
+ { },
14661
+ { },
14662
+ { },
14663
+ body,
14664
+ ['PureCloud OAuth'],
14665
+ ['application/json'],
14666
+ ['application/json']
14667
+ );
14668
+ }
14669
+
14670
+ /**
14671
+ * Publish User Presence Status Batch Events
14672
+ *
14673
+ * @param {Object} body batchRequest
14674
+ */
14675
+ postEventsUsersPresence(body) {
14676
+ // verify the required parameter 'body' is set
14677
+ if (body === undefined || body === null) {
14678
+ throw 'Missing the required parameter "body" when calling postEventsUsersPresence';
14679
+ }
14680
+
14681
+ return this.apiClient.callApi(
14682
+ '/api/v2/events/users/presence',
14683
+ 'POST',
14684
+ { },
14685
+ { },
14686
+ { },
14687
+ { },
14688
+ body,
14689
+ ['PureCloud OAuth'],
14690
+ ['application/json'],
14691
+ ['application/json']
14692
+ );
14693
+ }
14694
+
14695
+ /**
14696
+ * Publish Agent Routing Status Batch Events
14697
+ *
14698
+ * @param {Object} body batchRequest
14699
+ */
14700
+ postEventsUsersRoutingstatus(body) {
14701
+ // verify the required parameter 'body' is set
14702
+ if (body === undefined || body === null) {
14703
+ throw 'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';
14704
+ }
14705
+
14706
+ return this.apiClient.callApi(
14707
+ '/api/v2/events/users/routingstatus',
14708
+ 'POST',
14709
+ { },
14710
+ { },
14711
+ { },
14712
+ { },
14713
+ body,
14714
+ ['PureCloud OAuth'],
14715
+ ['application/json'],
14716
+ ['application/json']
14717
+ );
14718
+ }
14719
+
14720
+ }
14721
+
14536
14722
  class ExternalContactsApi {
14537
14723
  /**
14538
14724
  * ExternalContacts service.
14539
14725
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
14540
- * @version 149.1.0
14726
+ * @version 150.0.0
14541
14727
  */
14542
14728
 
14543
14729
  /**
@@ -14766,6 +14952,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14766
14952
  );
14767
14953
  }
14768
14954
 
14955
+ /**
14956
+ * List the identifiers for a contact
14957
+ *
14958
+ * @param {String} contactId ExternalContact ID
14959
+ */
14960
+ getExternalcontactsContactIdentifiers(contactId) {
14961
+ // verify the required parameter 'contactId' is set
14962
+ if (contactId === undefined || contactId === null) {
14963
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';
14964
+ }
14965
+
14966
+ return this.apiClient.callApi(
14967
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
14968
+ 'GET',
14969
+ { 'contactId': contactId },
14970
+ { },
14971
+ { },
14972
+ { },
14973
+ null,
14974
+ ['PureCloud OAuth'],
14975
+ ['application/json'],
14976
+ ['application/json']
14977
+ );
14978
+ }
14979
+
14769
14980
  /**
14770
14981
  * Fetch a note for an external contact
14771
14982
  *
@@ -14832,6 +15043,35 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
14832
15043
  );
14833
15044
  }
14834
15045
 
15046
+ /**
15047
+ * Fetch an unresolved external contact
15048
+ *
15049
+ * @param {String} contactId ExternalContact ID
15050
+ * @param {Object} opts Optional parameters
15051
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
15052
+ */
15053
+ getExternalcontactsContactUnresolved(contactId, opts) {
15054
+ opts = opts || {};
15055
+
15056
+ // verify the required parameter 'contactId' is set
15057
+ if (contactId === undefined || contactId === null) {
15058
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';
15059
+ }
15060
+
15061
+ return this.apiClient.callApi(
15062
+ '/api/v2/externalcontacts/contacts/{contactId}/unresolved',
15063
+ 'GET',
15064
+ { 'contactId': contactId },
15065
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
15066
+ { },
15067
+ { },
15068
+ null,
15069
+ ['PureCloud OAuth'],
15070
+ ['application/json'],
15071
+ ['application/json']
15072
+ );
15073
+ }
15074
+
14835
15075
  /**
14836
15076
  * Search for external contacts
14837
15077
  *
@@ -15409,6 +15649,36 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15409
15649
  );
15410
15650
  }
15411
15651
 
15652
+ /**
15653
+ * Claim or release identifiers for a contact
15654
+ *
15655
+ * @param {String} contactId ExternalContact ID
15656
+ * @param {Object} body ClaimRequest
15657
+ */
15658
+ patchExternalcontactsContactIdentifiers(contactId, body) {
15659
+ // verify the required parameter 'contactId' is set
15660
+ if (contactId === undefined || contactId === null) {
15661
+ throw 'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';
15662
+ }
15663
+ // verify the required parameter 'body' is set
15664
+ if (body === undefined || body === null) {
15665
+ throw 'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';
15666
+ }
15667
+
15668
+ return this.apiClient.callApi(
15669
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
15670
+ 'PATCH',
15671
+ { 'contactId': contactId },
15672
+ { },
15673
+ { },
15674
+ { },
15675
+ body,
15676
+ ['PureCloud OAuth'],
15677
+ ['application/json'],
15678
+ ['application/json']
15679
+ );
15680
+ }
15681
+
15412
15682
  /**
15413
15683
  * Bulk fetch contacts
15414
15684
  *
@@ -15484,6 +15754,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15484
15754
  );
15485
15755
  }
15486
15756
 
15757
+ /**
15758
+ * Bulk fetch unresolved ancestor contacts
15759
+ *
15760
+ * @param {Object} body Contact ids
15761
+ */
15762
+ postExternalcontactsBulkContactsUnresolved(body) {
15763
+ // verify the required parameter 'body' is set
15764
+ if (body === undefined || body === null) {
15765
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUnresolved';
15766
+ }
15767
+
15768
+ return this.apiClient.callApi(
15769
+ '/api/v2/externalcontacts/bulk/contacts/unresolved',
15770
+ 'POST',
15771
+ { },
15772
+ { },
15773
+ { },
15774
+ { },
15775
+ body,
15776
+ ['PureCloud OAuth'],
15777
+ ['application/json'],
15778
+ ['application/json']
15779
+ );
15780
+ }
15781
+
15487
15782
  /**
15488
15783
  * Bulk update contacts
15489
15784
  *
@@ -15839,6 +16134,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15839
16134
  );
15840
16135
  }
15841
16136
 
16137
+ /**
16138
+ * Promote an observed contact (ephemeral or identified) to a curated contact
16139
+ *
16140
+ * @param {String} contactId ExternalContact ID
16141
+ */
16142
+ postExternalcontactsContactPromotion(contactId) {
16143
+ // verify the required parameter 'contactId' is set
16144
+ if (contactId === undefined || contactId === null) {
16145
+ throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';
16146
+ }
16147
+
16148
+ return this.apiClient.callApi(
16149
+ '/api/v2/externalcontacts/contacts/{contactId}/promotion',
16150
+ 'POST',
16151
+ { 'contactId': contactId },
16152
+ { },
16153
+ { },
16154
+ { },
16155
+ null,
16156
+ ['PureCloud OAuth'],
16157
+ ['application/json'],
16158
+ ['application/json']
16159
+ );
16160
+ }
16161
+
15842
16162
  /**
15843
16163
  * Create an external contact
15844
16164
  *
@@ -15889,6 +16209,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
15889
16209
  );
15890
16210
  }
15891
16211
 
16212
+ /**
16213
+ * Fetch a contact using an identifier type and value.
16214
+ * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
16215
+ * @param {Object} identifier
16216
+ */
16217
+ postExternalcontactsIdentifierlookup(identifier) {
16218
+ // verify the required parameter 'identifier' is set
16219
+ if (identifier === undefined || identifier === null) {
16220
+ throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';
16221
+ }
16222
+
16223
+ return this.apiClient.callApi(
16224
+ '/api/v2/externalcontacts/identifierlookup',
16225
+ 'POST',
16226
+ { },
16227
+ { },
16228
+ { },
16229
+ { },
16230
+ identifier,
16231
+ ['PureCloud OAuth'],
16232
+ ['application/json'],
16233
+ ['application/json']
16234
+ );
16235
+ }
16236
+
16237
+ /**
16238
+ * Merge two contacts into a new contact record
16239
+ *
16240
+ * @param {Object} body MergeRequest
16241
+ */
16242
+ postExternalcontactsMergeContacts(body) {
16243
+ // verify the required parameter 'body' is set
16244
+ if (body === undefined || body === null) {
16245
+ throw 'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';
16246
+ }
16247
+
16248
+ return this.apiClient.callApi(
16249
+ '/api/v2/externalcontacts/merge/contacts',
16250
+ 'POST',
16251
+ { },
16252
+ { },
16253
+ { },
16254
+ { },
16255
+ body,
16256
+ ['PureCloud OAuth'],
16257
+ ['application/json'],
16258
+ ['application/json']
16259
+ );
16260
+ }
16261
+
15892
16262
  /**
15893
16263
  * Create a note for an external organization
15894
16264
  *
@@ -16280,7 +16650,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16280
16650
  /**
16281
16651
  * Fax service.
16282
16652
  * @module purecloud-platform-client-v2/api/FaxApi
16283
- * @version 149.1.0
16653
+ * @version 150.0.0
16284
16654
  */
16285
16655
 
16286
16656
  /**
@@ -16451,7 +16821,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16451
16821
  /**
16452
16822
  * Flows service.
16453
16823
  * @module purecloud-platform-client-v2/api/FlowsApi
16454
- * @version 149.1.0
16824
+ * @version 150.0.0
16455
16825
  */
16456
16826
 
16457
16827
  /**
@@ -16522,7 +16892,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
16522
16892
  /**
16523
16893
  * Gamification service.
16524
16894
  * @module purecloud-platform-client-v2/api/GamificationApi
16525
- * @version 149.1.0
16895
+ * @version 150.0.0
16526
16896
  */
16527
16897
 
16528
16898
  /**
@@ -18203,7 +18573,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18203
18573
  /**
18204
18574
  * GeneralDataProtectionRegulation service.
18205
18575
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
18206
- * @version 149.1.0
18576
+ * @version 150.0.0
18207
18577
  */
18208
18578
 
18209
18579
  /**
@@ -18333,7 +18703,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18333
18703
  /**
18334
18704
  * Geolocation service.
18335
18705
  * @module purecloud-platform-client-v2/api/GeolocationApi
18336
- * @version 149.1.0
18706
+ * @version 150.0.0
18337
18707
  */
18338
18708
 
18339
18709
  /**
@@ -18464,7 +18834,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18464
18834
  /**
18465
18835
  * Greetings service.
18466
18836
  * @module purecloud-platform-client-v2/api/GreetingsApi
18467
- * @version 149.1.0
18837
+ * @version 150.0.0
18468
18838
  */
18469
18839
 
18470
18840
  /**
@@ -18919,7 +19289,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
18919
19289
  /**
18920
19290
  * Groups service.
18921
19291
  * @module purecloud-platform-client-v2/api/GroupsApi
18922
- * @version 149.1.0
19292
+ * @version 150.0.0
18923
19293
  */
18924
19294
 
18925
19295
  /**
@@ -19325,7 +19695,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
19325
19695
  /**
19326
19696
  * IdentityProvider service.
19327
19697
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
19328
- * @version 149.1.0
19698
+ * @version 150.0.0
19329
19699
  */
19330
19700
 
19331
19701
  /**
@@ -20081,7 +20451,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
20081
20451
  /**
20082
20452
  * Integrations service.
20083
20453
  * @module purecloud-platform-client-v2/api/IntegrationsApi
20084
- * @version 149.1.0
20454
+ * @version 150.0.0
20085
20455
  */
20086
20456
 
20087
20457
  /**
@@ -21681,7 +22051,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
21681
22051
  /**
21682
22052
  * Journey service.
21683
22053
  * @module purecloud-platform-client-v2/api/JourneyApi
21684
- * @version 149.1.0
22054
+ * @version 150.0.0
21685
22055
  */
21686
22056
 
21687
22057
  /**
@@ -22467,7 +22837,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
22467
22837
  /**
22468
22838
  * Knowledge service.
22469
22839
  * @module purecloud-platform-client-v2/api/KnowledgeApi
22470
- * @version 149.1.0
22840
+ * @version 150.0.0
22471
22841
  */
22472
22842
 
22473
22843
  /**
@@ -24900,7 +25270,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
24900
25270
  /**
24901
25271
  * LanguageUnderstanding service.
24902
25272
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
24903
- * @version 149.1.0
25273
+ * @version 150.0.0
24904
25274
  */
24905
25275
 
24906
25276
  /**
@@ -25804,7 +26174,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
25804
26174
  /**
25805
26175
  * Languages service.
25806
26176
  * @module purecloud-platform-client-v2/api/LanguagesApi
25807
- * @version 149.1.0
26177
+ * @version 150.0.0
25808
26178
  */
25809
26179
 
25810
26180
  /**
@@ -26072,7 +26442,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26072
26442
  /**
26073
26443
  * Learning service.
26074
26444
  * @module purecloud-platform-client-v2/api/LearningApi
26075
- * @version 149.1.0
26445
+ * @version 150.0.0
26076
26446
  */
26077
26447
 
26078
26448
  /**
@@ -26832,7 +27202,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
26832
27202
  /**
26833
27203
  * License service.
26834
27204
  * @module purecloud-platform-client-v2/api/LicenseApi
26835
- * @version 149.1.0
27205
+ * @version 150.0.0
26836
27206
  */
26837
27207
 
26838
27208
  /**
@@ -27070,7 +27440,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27070
27440
  /**
27071
27441
  * Locations service.
27072
27442
  * @module purecloud-platform-client-v2/api/LocationsApi
27073
- * @version 149.1.0
27443
+ * @version 150.0.0
27074
27444
  */
27075
27445
 
27076
27446
  /**
@@ -27306,7 +27676,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27306
27676
  /**
27307
27677
  * Messaging service.
27308
27678
  * @module purecloud-platform-client-v2/api/MessagingApi
27309
- * @version 149.1.0
27679
+ * @version 150.0.0
27310
27680
  */
27311
27681
 
27312
27682
  /**
@@ -27457,7 +27827,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27457
27827
  /**
27458
27828
  * MobileDevices service.
27459
27829
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
27460
- * @version 149.1.0
27830
+ * @version 150.0.0
27461
27831
  */
27462
27832
 
27463
27833
  /**
@@ -27608,7 +27978,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27608
27978
  /**
27609
27979
  * Notifications service.
27610
27980
  * @module purecloud-platform-client-v2/api/NotificationsApi
27611
- * @version 149.1.0
27981
+ * @version 150.0.0
27612
27982
  */
27613
27983
 
27614
27984
  /**
@@ -27833,7 +28203,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
27833
28203
  /**
27834
28204
  * OAuth service.
27835
28205
  * @module purecloud-platform-client-v2/api/OAuthApi
27836
- * @version 149.1.0
28206
+ * @version 150.0.0
27837
28207
  */
27838
28208
 
27839
28209
  /**
@@ -28199,7 +28569,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28199
28569
  /**
28200
28570
  * Objects service.
28201
28571
  * @module purecloud-platform-client-v2/api/ObjectsApi
28202
- * @version 149.1.0
28572
+ * @version 150.0.0
28203
28573
  */
28204
28574
 
28205
28575
  /**
@@ -28470,7 +28840,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28470
28840
  /**
28471
28841
  * Organization service.
28472
28842
  * @module purecloud-platform-client-v2/api/OrganizationApi
28473
- * @version 149.1.0
28843
+ * @version 150.0.0
28474
28844
  */
28475
28845
 
28476
28846
  /**
@@ -28873,7 +29243,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
28873
29243
  /**
28874
29244
  * OrganizationAuthorization service.
28875
29245
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
28876
- * @version 149.1.0
29246
+ * @version 150.0.0
28877
29247
  */
28878
29248
 
28879
29249
  /**
@@ -29798,7 +30168,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
29798
30168
  /**
29799
30169
  * Outbound service.
29800
30170
  * @module purecloud-platform-client-v2/api/OutboundApi
29801
- * @version 149.1.0
30171
+ * @version 150.0.0
29802
30172
  */
29803
30173
 
29804
30174
  /**
@@ -33187,7 +33557,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33187
33557
  /**
33188
33558
  * Presence service.
33189
33559
  * @module purecloud-platform-client-v2/api/PresenceApi
33190
- * @version 149.1.0
33560
+ * @version 150.0.0
33191
33561
  */
33192
33562
 
33193
33563
  /**
@@ -33202,6 +33572,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33202
33572
  }
33203
33573
 
33204
33574
 
33575
+ /**
33576
+ * Delete a Presence Source
33577
+ *
33578
+ * @param {String} sourceId Presence Source ID
33579
+ */
33580
+ deletePresenceSource(sourceId) {
33581
+ // verify the required parameter 'sourceId' is set
33582
+ if (sourceId === undefined || sourceId === null) {
33583
+ throw 'Missing the required parameter "sourceId" when calling deletePresenceSource';
33584
+ }
33585
+
33586
+ return this.apiClient.callApi(
33587
+ '/api/v2/presence/sources/{sourceId}',
33588
+ 'DELETE',
33589
+ { 'sourceId': sourceId },
33590
+ { },
33591
+ { },
33592
+ { },
33593
+ null,
33594
+ ['PureCloud OAuth'],
33595
+ ['application/json'],
33596
+ ['application/json']
33597
+ );
33598
+ }
33599
+
33205
33600
  /**
33206
33601
  * Delete a Presence Definition
33207
33602
  *
@@ -33227,6 +33622,80 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33227
33622
  );
33228
33623
  }
33229
33624
 
33625
+ /**
33626
+ * Get a Presence Source
33627
+ *
33628
+ * @param {String} sourceId Presence Source ID
33629
+ */
33630
+ getPresenceSource(sourceId) {
33631
+ // verify the required parameter 'sourceId' is set
33632
+ if (sourceId === undefined || sourceId === null) {
33633
+ throw 'Missing the required parameter "sourceId" when calling getPresenceSource';
33634
+ }
33635
+
33636
+ return this.apiClient.callApi(
33637
+ '/api/v2/presence/sources/{sourceId}',
33638
+ 'GET',
33639
+ { 'sourceId': sourceId },
33640
+ { },
33641
+ { },
33642
+ { },
33643
+ null,
33644
+ ['PureCloud OAuth'],
33645
+ ['application/json'],
33646
+ ['application/json']
33647
+ );
33648
+ }
33649
+
33650
+ /**
33651
+ * Get a list of Presence Sources
33652
+ *
33653
+ * @param {Object} opts Optional parameters
33654
+ * @param {String} opts.deleted Deleted query can be TRUE or FALSE (default to false)
33655
+ */
33656
+ getPresenceSources(opts) {
33657
+ opts = opts || {};
33658
+
33659
+
33660
+ return this.apiClient.callApi(
33661
+ '/api/v2/presence/sources',
33662
+ 'GET',
33663
+ { },
33664
+ { 'deleted': opts['deleted'] },
33665
+ { },
33666
+ { },
33667
+ null,
33668
+ ['PureCloud OAuth'],
33669
+ ['application/json'],
33670
+ ['application/json']
33671
+ );
33672
+ }
33673
+
33674
+ /**
33675
+ * Get a user's Primary Presence Source
33676
+ *
33677
+ * @param {String} userId user ID
33678
+ */
33679
+ getPresenceUserPrimarysource(userId) {
33680
+ // verify the required parameter 'userId' is set
33681
+ if (userId === undefined || userId === null) {
33682
+ throw 'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';
33683
+ }
33684
+
33685
+ return this.apiClient.callApi(
33686
+ '/api/v2/presence/users/{userId}/primarysource',
33687
+ 'GET',
33688
+ { 'userId': userId },
33689
+ { },
33690
+ { },
33691
+ { },
33692
+ null,
33693
+ ['PureCloud OAuth'],
33694
+ ['application/json'],
33695
+ ['application/json']
33696
+ );
33697
+ }
33698
+
33230
33699
  /**
33231
33700
  * Get a Presence Definition
33232
33701
  *
@@ -33423,6 +33892,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33423
33892
  );
33424
33893
  }
33425
33894
 
33895
+ /**
33896
+ * Create a Presence Source
33897
+ *
33898
+ * @param {Object} body The Presence Source to create
33899
+ */
33900
+ postPresenceSources(body) {
33901
+ // verify the required parameter 'body' is set
33902
+ if (body === undefined || body === null) {
33903
+ throw 'Missing the required parameter "body" when calling postPresenceSources';
33904
+ }
33905
+
33906
+ return this.apiClient.callApi(
33907
+ '/api/v2/presence/sources',
33908
+ 'POST',
33909
+ { },
33910
+ { },
33911
+ { },
33912
+ { },
33913
+ body,
33914
+ ['PureCloud OAuth'],
33915
+ ['application/json'],
33916
+ ['application/json']
33917
+ );
33918
+ }
33919
+
33426
33920
  /**
33427
33921
  * Create a Presence Definition
33428
33922
  *
@@ -33448,6 +33942,66 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33448
33942
  );
33449
33943
  }
33450
33944
 
33945
+ /**
33946
+ * Update a Presence Source
33947
+ *
33948
+ * @param {String} sourceId Presence Source ID
33949
+ * @param {Object} body The updated Presence Source
33950
+ */
33951
+ putPresenceSource(sourceId, body) {
33952
+ // verify the required parameter 'sourceId' is set
33953
+ if (sourceId === undefined || sourceId === null) {
33954
+ throw 'Missing the required parameter "sourceId" when calling putPresenceSource';
33955
+ }
33956
+ // verify the required parameter 'body' is set
33957
+ if (body === undefined || body === null) {
33958
+ throw 'Missing the required parameter "body" when calling putPresenceSource';
33959
+ }
33960
+
33961
+ return this.apiClient.callApi(
33962
+ '/api/v2/presence/sources/{sourceId}',
33963
+ 'PUT',
33964
+ { 'sourceId': sourceId },
33965
+ { },
33966
+ { },
33967
+ { },
33968
+ body,
33969
+ ['PureCloud OAuth'],
33970
+ ['application/json'],
33971
+ ['application/json']
33972
+ );
33973
+ }
33974
+
33975
+ /**
33976
+ * Update a user's Primary Presence Source
33977
+ *
33978
+ * @param {String} userId user ID
33979
+ * @param {Object} body Primary Source
33980
+ */
33981
+ putPresenceUserPrimarysource(userId, body) {
33982
+ // verify the required parameter 'userId' is set
33983
+ if (userId === undefined || userId === null) {
33984
+ throw 'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';
33985
+ }
33986
+ // verify the required parameter 'body' is set
33987
+ if (body === undefined || body === null) {
33988
+ throw 'Missing the required parameter "body" when calling putPresenceUserPrimarysource';
33989
+ }
33990
+
33991
+ return this.apiClient.callApi(
33992
+ '/api/v2/presence/users/{userId}/primarysource',
33993
+ 'PUT',
33994
+ { 'userId': userId },
33995
+ { },
33996
+ { },
33997
+ { },
33998
+ body,
33999
+ ['PureCloud OAuth'],
34000
+ ['application/json'],
34001
+ ['application/json']
34002
+ );
34003
+ }
34004
+
33451
34005
  /**
33452
34006
  * Update a Presence Definition
33453
34007
  *
@@ -33509,7 +34063,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33509
34063
  /**
33510
34064
  * ProcessAutomation service.
33511
34065
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
33512
- * @version 149.1.0
34066
+ * @version 150.0.0
33513
34067
  */
33514
34068
 
33515
34069
  /**
@@ -33747,7 +34301,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
33747
34301
  /**
33748
34302
  * Quality service.
33749
34303
  * @module purecloud-platform-client-v2/api/QualityApi
33750
- * @version 149.1.0
34304
+ * @version 150.0.0
33751
34305
  */
33752
34306
 
33753
34307
  /**
@@ -35325,7 +35879,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
35325
35879
  /**
35326
35880
  * Recording service.
35327
35881
  * @module purecloud-platform-client-v2/api/RecordingApi
35328
- * @version 149.1.0
35882
+ * @version 150.0.0
35329
35883
  */
35330
35884
 
35331
35885
  /**
@@ -36430,7 +36984,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
36430
36984
 
36431
36985
  /**
36432
36986
  * Create a recording bulk job.
36433
- * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
36987
+ * 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.
36434
36988
  * @param {Object} body query
36435
36989
  */
36436
36990
  postRecordingJobs(body) {
@@ -37012,7 +37566,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37012
37566
  /**
37013
37567
  * ResponseManagement service.
37014
37568
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
37015
- * @version 149.1.0
37569
+ * @version 150.0.0
37016
37570
  */
37017
37571
 
37018
37572
  /**
@@ -37496,7 +38050,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37496
38050
  /**
37497
38051
  * Routing service.
37498
38052
  * @module purecloud-platform-client-v2/api/RoutingApi
37499
- * @version 149.1.0
38053
+ * @version 150.0.0
37500
38054
  */
37501
38055
 
37502
38056
  /**
@@ -37591,6 +38145,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
37591
38145
  );
37592
38146
  }
37593
38147
 
38148
+ /**
38149
+ * Delete an outbound domain
38150
+ *
38151
+ * @param {String} domainId domain ID
38152
+ */
38153
+ deleteRoutingEmailOutboundDomain(domainId) {
38154
+ // verify the required parameter 'domainId' is set
38155
+ if (domainId === undefined || domainId === null) {
38156
+ throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
38157
+ }
38158
+
38159
+ return this.apiClient.callApi(
38160
+ '/api/v2/routing/email/outbound/domains/{domainId}',
38161
+ 'DELETE',
38162
+ { 'domainId': domainId },
38163
+ { },
38164
+ { },
38165
+ { },
38166
+ null,
38167
+ ['PureCloud OAuth'],
38168
+ ['application/json'],
38169
+ ['application/json']
38170
+ );
38171
+ }
38172
+
37594
38173
  /**
37595
38174
  * Delete single predictor.
37596
38175
  *
@@ -38192,6 +38771,101 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
38192
38771
  );
38193
38772
  }
38194
38773
 
38774
+ /**
38775
+ * Get domain
38776
+ *
38777
+ * @param {String} domainId domain ID
38778
+ */
38779
+ getRoutingEmailOutboundDomain(domainId) {
38780
+ // verify the required parameter 'domainId' is set
38781
+ if (domainId === undefined || domainId === null) {
38782
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
38783
+ }
38784
+
38785
+ return this.apiClient.callApi(
38786
+ '/api/v2/routing/email/outbound/domains/{domainId}',
38787
+ 'GET',
38788
+ { 'domainId': domainId },
38789
+ { },
38790
+ { },
38791
+ { },
38792
+ null,
38793
+ ['PureCloud OAuth'],
38794
+ ['application/json'],
38795
+ ['application/json']
38796
+ );
38797
+ }
38798
+
38799
+ /**
38800
+ * Get activation status (cname + dkim) of an outbound domain
38801
+ *
38802
+ * @param {String} domainId domain ID
38803
+ */
38804
+ getRoutingEmailOutboundDomainActivation(domainId) {
38805
+ // verify the required parameter 'domainId' is set
38806
+ if (domainId === undefined || domainId === null) {
38807
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
38808
+ }
38809
+
38810
+ return this.apiClient.callApi(
38811
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
38812
+ 'GET',
38813
+ { 'domainId': domainId },
38814
+ { },
38815
+ { },
38816
+ { },
38817
+ null,
38818
+ ['PureCloud OAuth'],
38819
+ ['application/json'],
38820
+ ['application/json']
38821
+ );
38822
+ }
38823
+
38824
+ /**
38825
+ * Search a domain across organizations
38826
+ *
38827
+ * @param {String} domainId domain ID
38828
+ */
38829
+ getRoutingEmailOutboundDomainSearch(domainId) {
38830
+ // verify the required parameter 'domainId' is set
38831
+ if (domainId === undefined || domainId === null) {
38832
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';
38833
+ }
38834
+
38835
+ return this.apiClient.callApi(
38836
+ '/api/v2/routing/email/outbound/domains/{domainId}/search',
38837
+ 'GET',
38838
+ { 'domainId': domainId },
38839
+ { },
38840
+ { },
38841
+ { },
38842
+ null,
38843
+ ['PureCloud OAuth'],
38844
+ ['application/json'],
38845
+ ['application/json']
38846
+ );
38847
+ }
38848
+
38849
+ /**
38850
+ * Get outbound domains
38851
+ *
38852
+ */
38853
+ getRoutingEmailOutboundDomains() {
38854
+
38855
+ return this.apiClient.callApi(
38856
+ '/api/v2/routing/email/outbound/domains',
38857
+ 'GET',
38858
+ { },
38859
+ { },
38860
+ { },
38861
+ { },
38862
+ null,
38863
+ ['PureCloud OAuth'],
38864
+ ['application/json'],
38865
+ ['application/json']
38866
+ );
38867
+ }
38868
+
38195
38869
  /**
38196
38870
  * Get email setup
38197
38871
  *
@@ -39829,6 +40503,56 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
39829
40503
  );
39830
40504
  }
39831
40505
 
40506
+ /**
40507
+ * Create a domain
40508
+ *
40509
+ * @param {Object} body Domain
40510
+ */
40511
+ postRoutingEmailOutboundDomains(body) {
40512
+ // verify the required parameter 'body' is set
40513
+ if (body === undefined || body === null) {
40514
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';
40515
+ }
40516
+
40517
+ return this.apiClient.callApi(
40518
+ '/api/v2/routing/email/outbound/domains',
40519
+ 'POST',
40520
+ { },
40521
+ { },
40522
+ { },
40523
+ { },
40524
+ body,
40525
+ ['PureCloud OAuth'],
40526
+ ['application/json'],
40527
+ ['application/json']
40528
+ );
40529
+ }
40530
+
40531
+ /**
40532
+ * Create a simulated domain
40533
+ *
40534
+ * @param {Object} body Domain
40535
+ */
40536
+ postRoutingEmailOutboundDomainsSimulated(body) {
40537
+ // verify the required parameter 'body' is set
40538
+ if (body === undefined || body === null) {
40539
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';
40540
+ }
40541
+
40542
+ return this.apiClient.callApi(
40543
+ '/api/v2/routing/email/outbound/domains/simulated',
40544
+ 'POST',
40545
+ { },
40546
+ { },
40547
+ { },
40548
+ { },
40549
+ body,
40550
+ ['PureCloud OAuth'],
40551
+ ['application/json'],
40552
+ ['application/json']
40553
+ );
40554
+ }
40555
+
39832
40556
  /**
39833
40557
  * Create Language
39834
40558
  *
@@ -40196,6 +40920,31 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40196
40920
  );
40197
40921
  }
40198
40922
 
40923
+ /**
40924
+ * Request an activation status (cname + dkim) update of an outbound domain
40925
+ *
40926
+ * @param {String} domainId domain ID
40927
+ */
40928
+ putRoutingEmailOutboundDomainActivation(domainId) {
40929
+ // verify the required parameter 'domainId' is set
40930
+ if (domainId === undefined || domainId === null) {
40931
+ throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
40932
+ }
40933
+
40934
+ return this.apiClient.callApi(
40935
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
40936
+ 'PUT',
40937
+ { 'domainId': domainId },
40938
+ { },
40939
+ { },
40940
+ { },
40941
+ null,
40942
+ ['PureCloud OAuth'],
40943
+ ['application/json'],
40944
+ ['application/json']
40945
+ );
40946
+ }
40947
+
40199
40948
  /**
40200
40949
  * Update a recipient
40201
40950
  *
@@ -40492,7 +41241,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
40492
41241
  /**
40493
41242
  * SCIM service.
40494
41243
  * @module purecloud-platform-client-v2/api/SCIMApi
40495
- * @version 149.1.0
41244
+ * @version 150.0.0
40496
41245
  */
40497
41246
 
40498
41247
  /**
@@ -41369,7 +42118,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41369
42118
  /**
41370
42119
  * Scripts service.
41371
42120
  * @module purecloud-platform-client-v2/api/ScriptsApi
41372
- * @version 149.1.0
42121
+ * @version 150.0.0
41373
42122
  */
41374
42123
 
41375
42124
  /**
@@ -41788,7 +42537,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
41788
42537
  /**
41789
42538
  * Search service.
41790
42539
  * @module purecloud-platform-client-v2/api/SearchApi
41791
- * @version 149.1.0
42540
+ * @version 150.0.0
41792
42541
  */
41793
42542
 
41794
42543
  /**
@@ -42348,7 +43097,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
42348
43097
  /**
42349
43098
  * SpeechTextAnalytics service.
42350
43099
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
42351
- * @version 149.1.0
43100
+ * @version 150.0.0
42352
43101
  */
42353
43102
 
42354
43103
  /**
@@ -43202,7 +43951,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43202
43951
  /**
43203
43952
  * Stations service.
43204
43953
  * @module purecloud-platform-client-v2/api/StationsApi
43205
- * @version 149.1.0
43954
+ * @version 150.0.0
43206
43955
  */
43207
43956
 
43208
43957
  /**
@@ -43349,7 +44098,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43349
44098
  /**
43350
44099
  * Suggest service.
43351
44100
  * @module purecloud-platform-client-v2/api/SuggestApi
43352
- * @version 149.1.0
44101
+ * @version 150.0.0
43353
44102
  */
43354
44103
 
43355
44104
  /**
@@ -43488,7 +44237,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43488
44237
  /**
43489
44238
  * Teams service.
43490
44239
  * @module purecloud-platform-client-v2/api/TeamsApi
43491
- * @version 149.1.0
44240
+ * @version 150.0.0
43492
44241
  */
43493
44242
 
43494
44243
  /**
@@ -43667,7 +44416,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43667
44416
  /**
43668
44417
  * Telephony service.
43669
44418
  * @module purecloud-platform-client-v2/api/TelephonyApi
43670
- * @version 149.1.0
44419
+ * @version 150.0.0
43671
44420
  */
43672
44421
 
43673
44422
  /**
@@ -43775,7 +44524,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
43775
44524
  /**
43776
44525
  * TelephonyProvidersEdge service.
43777
44526
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
43778
- * @version 149.1.0
44527
+ * @version 150.0.0
43779
44528
  */
43780
44529
 
43781
44530
  /**
@@ -47408,7 +48157,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47408
48157
  /**
47409
48158
  * Textbots service.
47410
48159
  * @module purecloud-platform-client-v2/api/TextbotsApi
47411
- * @version 149.1.0
48160
+ * @version 150.0.0
47412
48161
  */
47413
48162
 
47414
48163
  /**
@@ -47536,7 +48285,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47536
48285
  /**
47537
48286
  * Tokens service.
47538
48287
  * @module purecloud-platform-client-v2/api/TokensApi
47539
- * @version 149.1.0
48288
+ * @version 150.0.0
47540
48289
  */
47541
48290
 
47542
48291
  /**
@@ -47642,7 +48391,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47642
48391
  /**
47643
48392
  * Uploads service.
47644
48393
  * @module purecloud-platform-client-v2/api/UploadsApi
47645
- * @version 149.1.0
48394
+ * @version 150.0.0
47646
48395
  */
47647
48396
 
47648
48397
  /**
@@ -47818,7 +48567,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47818
48567
  /**
47819
48568
  * Usage service.
47820
48569
  * @module purecloud-platform-client-v2/api/UsageApi
47821
- * @version 149.1.0
48570
+ * @version 150.0.0
47822
48571
  */
47823
48572
 
47824
48573
  /**
@@ -47889,7 +48638,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
47889
48638
  /**
47890
48639
  * UserRecordings service.
47891
48640
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
47892
- * @version 149.1.0
48641
+ * @version 150.0.0
47893
48642
  */
47894
48643
 
47895
48644
  /**
@@ -48074,7 +48823,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
48074
48823
  /**
48075
48824
  * Users service.
48076
48825
  * @module purecloud-platform-client-v2/api/UsersApi
48077
- * @version 149.1.0
48826
+ * @version 150.0.0
48078
48827
  */
48079
48828
 
48080
48829
  /**
@@ -50406,7 +51155,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50406
51155
  /**
50407
51156
  * Utilities service.
50408
51157
  * @module purecloud-platform-client-v2/api/UtilitiesApi
50409
- * @version 149.1.0
51158
+ * @version 150.0.0
50410
51159
  */
50411
51160
 
50412
51161
  /**
@@ -50517,7 +51266,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
50517
51266
  /**
50518
51267
  * Voicemail service.
50519
51268
  * @module purecloud-platform-client-v2/api/VoicemailApi
50520
- * @version 149.1.0
51269
+ * @version 150.0.0
50521
51270
  */
50522
51271
 
50523
51272
  /**
@@ -51184,7 +51933,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51184
51933
  /**
51185
51934
  * WebChat service.
51186
51935
  * @module purecloud-platform-client-v2/api/WebChatApi
51187
- * @version 149.1.0
51936
+ * @version 150.0.0
51188
51937
  */
51189
51938
 
51190
51939
  /**
@@ -51728,7 +52477,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
51728
52477
  /**
51729
52478
  * WebDeployments service.
51730
52479
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
51731
- * @version 149.1.0
52480
+ * @version 150.0.0
51732
52481
  */
51733
52482
 
51734
52483
  /**
@@ -52116,7 +52865,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52116
52865
  /**
52117
52866
  * WebMessaging service.
52118
52867
  * @module purecloud-platform-client-v2/api/WebMessagingApi
52119
- * @version 149.1.0
52868
+ * @version 150.0.0
52120
52869
  */
52121
52870
 
52122
52871
  /**
@@ -52162,7 +52911,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52162
52911
  /**
52163
52912
  * Widgets service.
52164
52913
  * @module purecloud-platform-client-v2/api/WidgetsApi
52165
- * @version 149.1.0
52914
+ * @version 150.0.0
52166
52915
  */
52167
52916
 
52168
52917
  /**
@@ -52308,7 +53057,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
52308
53057
  /**
52309
53058
  * WorkforceManagement service.
52310
53059
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
52311
- * @version 149.1.0
53060
+ * @version 150.0.0
52312
53061
  */
52313
53062
 
52314
53063
  /**
@@ -56584,7 +57333,7 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56584
57333
  * </pre>
56585
57334
  * </p>
56586
57335
  * @module purecloud-platform-client-v2/index
56587
- * @version 149.1.0
57336
+ * @version 150.0.0
56588
57337
  */
56589
57338
  class platformClient {
56590
57339
  constructor() {
@@ -56653,6 +57402,16 @@ ${this.formatValue('Status', statusCode)}${this.formatValue('Headers', this.form
56653
57402
  * @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
56654
57403
  */
56655
57404
  this.DataExtensionsApi = DataExtensionsApi;
57405
+ /**
57406
+ * The DownloadsApi service constructor.
57407
+ * @property {module:purecloud-platform-client-v2/api/DownloadsApi}
57408
+ */
57409
+ this.DownloadsApi = DownloadsApi;
57410
+ /**
57411
+ * The EventsApi service constructor.
57412
+ * @property {module:purecloud-platform-client-v2/api/EventsApi}
57413
+ */
57414
+ this.EventsApi = EventsApi;
56656
57415
  /**
56657
57416
  * The ExternalContactsApi service constructor.
56658
57417
  * @property {module:purecloud-platform-client-v2/api/ExternalContactsApi}