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
@@ -9307,7 +9307,7 @@ class Configuration {
9307
9307
 
9308
9308
  /**
9309
9309
  * @module purecloud-platform-client-v2/ApiClient
9310
- * @version 149.1.0
9310
+ * @version 150.0.0
9311
9311
  */
9312
9312
  class ApiClient {
9313
9313
  /**
@@ -10379,7 +10379,7 @@ class AlertingApi {
10379
10379
  /**
10380
10380
  * Alerting service.
10381
10381
  * @module purecloud-platform-client-v2/api/AlertingApi
10382
- * @version 149.1.0
10382
+ * @version 150.0.0
10383
10383
  */
10384
10384
 
10385
10385
  /**
@@ -10693,7 +10693,7 @@ class AnalyticsApi {
10693
10693
  /**
10694
10694
  * Analytics service.
10695
10695
  * @module purecloud-platform-client-v2/api/AnalyticsApi
10696
- * @version 149.1.0
10696
+ * @version 150.0.0
10697
10697
  */
10698
10698
 
10699
10699
  /**
@@ -11920,7 +11920,7 @@ class ArchitectApi {
11920
11920
  /**
11921
11921
  * Architect service.
11922
11922
  * @module purecloud-platform-client-v2/api/ArchitectApi
11923
- * @version 149.1.0
11923
+ * @version 150.0.0
11924
11924
  */
11925
11925
 
11926
11926
  /**
@@ -14966,7 +14966,7 @@ class AuditApi {
14966
14966
  /**
14967
14967
  * Audit service.
14968
14968
  * @module purecloud-platform-client-v2/api/AuditApi
14969
- * @version 149.1.0
14969
+ * @version 150.0.0
14970
14970
  */
14971
14971
 
14972
14972
  /**
@@ -15137,7 +15137,7 @@ class AuthorizationApi {
15137
15137
  /**
15138
15138
  * Authorization service.
15139
15139
  * @module purecloud-platform-client-v2/api/AuthorizationApi
15140
- * @version 149.1.0
15140
+ * @version 150.0.0
15141
15141
  */
15142
15142
 
15143
15143
  /**
@@ -16320,7 +16320,7 @@ class BillingApi {
16320
16320
  /**
16321
16321
  * Billing service.
16322
16322
  * @module purecloud-platform-client-v2/api/BillingApi
16323
- * @version 149.1.0
16323
+ * @version 150.0.0
16324
16324
  */
16325
16325
 
16326
16326
  /**
@@ -16400,7 +16400,7 @@ class ChatApi {
16400
16400
  /**
16401
16401
  * Chat service.
16402
16402
  * @module purecloud-platform-client-v2/api/ChatApi
16403
- * @version 149.1.0
16403
+ * @version 150.0.0
16404
16404
  */
16405
16405
 
16406
16406
  /**
@@ -16491,7 +16491,7 @@ class CoachingApi {
16491
16491
  /**
16492
16492
  * Coaching service.
16493
16493
  * @module purecloud-platform-client-v2/api/CoachingApi
16494
- * @version 149.1.0
16494
+ * @version 150.0.0
16495
16495
  */
16496
16496
 
16497
16497
  /**
@@ -17068,7 +17068,7 @@ class ContentManagementApi {
17068
17068
  /**
17069
17069
  * ContentManagement service.
17070
17070
  * @module purecloud-platform-client-v2/api/ContentManagementApi
17071
- * @version 149.1.0
17071
+ * @version 150.0.0
17072
17072
  */
17073
17073
 
17074
17074
  /**
@@ -18208,7 +18208,7 @@ class ConversationsApi {
18208
18208
  /**
18209
18209
  * Conversations service.
18210
18210
  * @module purecloud-platform-client-v2/api/ConversationsApi
18211
- * @version 149.1.0
18211
+ * @version 150.0.0
18212
18212
  */
18213
18213
 
18214
18214
  /**
@@ -19718,8 +19718,12 @@ class ConversationsApi {
19718
19718
  * Get message
19719
19719
  *
19720
19720
  * @param {String} messageId messageId
19721
+ * @param {Object} opts Optional parameters
19722
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
19721
19723
  */
19722
- getConversationsMessageDetails(messageId) {
19724
+ getConversationsMessageDetails(messageId, opts) {
19725
+ opts = opts || {};
19726
+
19723
19727
  // verify the required parameter 'messageId' is set
19724
19728
  if (messageId === undefined || messageId === null) {
19725
19729
  throw 'Missing the required parameter "messageId" when calling getConversationsMessageDetails';
@@ -19729,7 +19733,7 @@ class ConversationsApi {
19729
19733
  '/api/v2/conversations/messages/{messageId}/details',
19730
19734
  'GET',
19731
19735
  { 'messageId': messageId },
19732
- { },
19736
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
19733
19737
  { },
19734
19738
  { },
19735
19739
  null,
@@ -19744,8 +19748,12 @@ class ConversationsApi {
19744
19748
  *
19745
19749
  * @param {String} conversationId conversationId
19746
19750
  * @param {String} messageId messageId
19751
+ * @param {Object} opts Optional parameters
19752
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
19747
19753
  */
19748
- getConversationsMessageMessage(conversationId, messageId) {
19754
+ getConversationsMessageMessage(conversationId, messageId, opts) {
19755
+ opts = opts || {};
19756
+
19749
19757
  // verify the required parameter 'conversationId' is set
19750
19758
  if (conversationId === undefined || conversationId === null) {
19751
19759
  throw 'Missing the required parameter "conversationId" when calling getConversationsMessageMessage';
@@ -19759,7 +19767,7 @@ class ConversationsApi {
19759
19767
  '/api/v2/conversations/messages/{conversationId}/messages/{messageId}',
19760
19768
  'GET',
19761
19769
  { 'conversationId': conversationId,'messageId': messageId },
19762
- { },
19770
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
19763
19771
  { },
19764
19772
  { },
19765
19773
  null,
@@ -22377,6 +22385,31 @@ class ConversationsApi {
22377
22385
  );
22378
22386
  }
22379
22387
 
22388
+ /**
22389
+ * Create an email conversation, per API
22390
+ *
22391
+ * @param {Object} body Create agentless email request
22392
+ */
22393
+ postConversationsEmailsAgentless(body) {
22394
+ // verify the required parameter 'body' is set
22395
+ if (body === undefined || body === null) {
22396
+ throw 'Missing the required parameter "body" when calling postConversationsEmailsAgentless';
22397
+ }
22398
+
22399
+ return this.apiClient.callApi(
22400
+ '/api/v2/conversations/emails/agentless',
22401
+ 'POST',
22402
+ { },
22403
+ { },
22404
+ { },
22405
+ { },
22406
+ body,
22407
+ ['PureCloud OAuth'],
22408
+ ['application/json'],
22409
+ ['application/json']
22410
+ );
22411
+ }
22412
+
22380
22413
  /**
22381
22414
  * Create Fax Conversation
22382
22415
  *
@@ -22458,8 +22491,12 @@ class ConversationsApi {
22458
22491
  * @param {String} conversationId conversationId
22459
22492
  * @param {String} communicationId communicationId
22460
22493
  * @param {Object} body Message
22494
+ * @param {Object} opts Optional parameters
22495
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
22461
22496
  */
22462
- postConversationsMessageCommunicationMessages(conversationId, communicationId, body) {
22497
+ postConversationsMessageCommunicationMessages(conversationId, communicationId, body, opts) {
22498
+ opts = opts || {};
22499
+
22463
22500
  // verify the required parameter 'conversationId' is set
22464
22501
  if (conversationId === undefined || conversationId === null) {
22465
22502
  throw 'Missing the required parameter "conversationId" when calling postConversationsMessageCommunicationMessages';
@@ -22477,7 +22514,7 @@ class ConversationsApi {
22477
22514
  '/api/v2/conversations/messages/{conversationId}/communications/{communicationId}/messages',
22478
22515
  'POST',
22479
22516
  { 'conversationId': conversationId,'communicationId': communicationId },
22480
- { },
22517
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
22481
22518
  { },
22482
22519
  { },
22483
22520
  body,
@@ -22522,6 +22559,7 @@ class ConversationsApi {
22522
22559
  * 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"]
22523
22560
  * @param {String} conversationId
22524
22561
  * @param {Object} opts Optional parameters
22562
+ * @param {Boolean} opts.useNormalizedMessage If true, response removes deprecated fields (textBody, media, stickers) (default to false)
22525
22563
  * @param {Array.<String>} opts.body messageIds
22526
22564
  */
22527
22565
  postConversationsMessageMessagesBulk(conversationId, opts) {
@@ -22536,7 +22574,7 @@ class ConversationsApi {
22536
22574
  '/api/v2/conversations/messages/{conversationId}/messages/bulk',
22537
22575
  'POST',
22538
22576
  { 'conversationId': conversationId },
22539
- { },
22577
+ { 'useNormalizedMessage': opts['useNormalizedMessage'] },
22540
22578
  { },
22541
22579
  { },
22542
22580
  opts['body'],
@@ -23352,7 +23390,7 @@ class DataExtensionsApi {
23352
23390
  /**
23353
23391
  * DataExtensions service.
23354
23392
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
23355
- * @version 149.1.0
23393
+ * @version 150.0.0
23356
23394
  */
23357
23395
 
23358
23396
  /**
@@ -23434,11 +23472,159 @@ class DataExtensionsApi {
23434
23472
 
23435
23473
  }
23436
23474
 
23475
+ class DownloadsApi {
23476
+ /**
23477
+ * Downloads service.
23478
+ * @module purecloud-platform-client-v2/api/DownloadsApi
23479
+ * @version 150.0.0
23480
+ */
23481
+
23482
+ /**
23483
+ * Constructs a new DownloadsApi.
23484
+ * @alias module:purecloud-platform-client-v2/api/DownloadsApi
23485
+ * @class
23486
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
23487
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
23488
+ */
23489
+ constructor(apiClient) {
23490
+ this.apiClient = apiClient || ApiClient.instance;
23491
+ }
23492
+
23493
+
23494
+ /**
23495
+ * Issues a redirect to a signed secure download URL for specified download
23496
+ * this method will issue a redirect to the url to the content
23497
+ * @param {String} downloadId Download ID
23498
+ * @param {Object} opts Optional parameters
23499
+ * @param {String} opts.contentDisposition
23500
+ * @param {Boolean} opts.issueRedirect (default to true)
23501
+ * @param {Boolean} opts.redirectToAuth (default to true)
23502
+ */
23503
+ getDownload(downloadId, opts) {
23504
+ opts = opts || {};
23505
+
23506
+ // verify the required parameter 'downloadId' is set
23507
+ if (downloadId === undefined || downloadId === null) {
23508
+ throw 'Missing the required parameter "downloadId" when calling getDownload';
23509
+ }
23510
+
23511
+ return this.apiClient.callApi(
23512
+ '/api/v2/downloads/{downloadId}',
23513
+ 'GET',
23514
+ { 'downloadId': downloadId },
23515
+ { 'contentDisposition': opts['contentDisposition'],'issueRedirect': opts['issueRedirect'],'redirectToAuth': opts['redirectToAuth'] },
23516
+ { },
23517
+ { },
23518
+ null,
23519
+ ['PureCloud OAuth'],
23520
+ ['application/json'],
23521
+ ['application/json']
23522
+ );
23523
+ }
23524
+
23525
+ }
23526
+
23527
+ class EventsApi {
23528
+ /**
23529
+ * Events service.
23530
+ * @module purecloud-platform-client-v2/api/EventsApi
23531
+ * @version 150.0.0
23532
+ */
23533
+
23534
+ /**
23535
+ * Constructs a new EventsApi.
23536
+ * @alias module:purecloud-platform-client-v2/api/EventsApi
23537
+ * @class
23538
+ * @param {module:purecloud-platform-client-v2/ApiClient} apiClient Optional API client implementation to use,
23539
+ * default to {@link module:purecloud-platform-client-v2/ApiClient#instance} if unspecified.
23540
+ */
23541
+ constructor(apiClient) {
23542
+ this.apiClient = apiClient || ApiClient.instance;
23543
+ }
23544
+
23545
+
23546
+ /**
23547
+ * Publish Conversation Batch Events
23548
+ *
23549
+ * @param {Object} body batchRequest
23550
+ */
23551
+ postEventsConversations(body) {
23552
+ // verify the required parameter 'body' is set
23553
+ if (body === undefined || body === null) {
23554
+ throw 'Missing the required parameter "body" when calling postEventsConversations';
23555
+ }
23556
+
23557
+ return this.apiClient.callApi(
23558
+ '/api/v2/events/conversations',
23559
+ 'POST',
23560
+ { },
23561
+ { },
23562
+ { },
23563
+ { },
23564
+ body,
23565
+ ['PureCloud OAuth'],
23566
+ ['application/json'],
23567
+ ['application/json']
23568
+ );
23569
+ }
23570
+
23571
+ /**
23572
+ * Publish User Presence Status Batch Events
23573
+ *
23574
+ * @param {Object} body batchRequest
23575
+ */
23576
+ postEventsUsersPresence(body) {
23577
+ // verify the required parameter 'body' is set
23578
+ if (body === undefined || body === null) {
23579
+ throw 'Missing the required parameter "body" when calling postEventsUsersPresence';
23580
+ }
23581
+
23582
+ return this.apiClient.callApi(
23583
+ '/api/v2/events/users/presence',
23584
+ 'POST',
23585
+ { },
23586
+ { },
23587
+ { },
23588
+ { },
23589
+ body,
23590
+ ['PureCloud OAuth'],
23591
+ ['application/json'],
23592
+ ['application/json']
23593
+ );
23594
+ }
23595
+
23596
+ /**
23597
+ * Publish Agent Routing Status Batch Events
23598
+ *
23599
+ * @param {Object} body batchRequest
23600
+ */
23601
+ postEventsUsersRoutingstatus(body) {
23602
+ // verify the required parameter 'body' is set
23603
+ if (body === undefined || body === null) {
23604
+ throw 'Missing the required parameter "body" when calling postEventsUsersRoutingstatus';
23605
+ }
23606
+
23607
+ return this.apiClient.callApi(
23608
+ '/api/v2/events/users/routingstatus',
23609
+ 'POST',
23610
+ { },
23611
+ { },
23612
+ { },
23613
+ { },
23614
+ body,
23615
+ ['PureCloud OAuth'],
23616
+ ['application/json'],
23617
+ ['application/json']
23618
+ );
23619
+ }
23620
+
23621
+ }
23622
+
23437
23623
  class ExternalContactsApi {
23438
23624
  /**
23439
23625
  * ExternalContacts service.
23440
23626
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
23441
- * @version 149.1.0
23627
+ * @version 150.0.0
23442
23628
  */
23443
23629
 
23444
23630
  /**
@@ -23667,6 +23853,31 @@ class ExternalContactsApi {
23667
23853
  );
23668
23854
  }
23669
23855
 
23856
+ /**
23857
+ * List the identifiers for a contact
23858
+ *
23859
+ * @param {String} contactId ExternalContact ID
23860
+ */
23861
+ getExternalcontactsContactIdentifiers(contactId) {
23862
+ // verify the required parameter 'contactId' is set
23863
+ if (contactId === undefined || contactId === null) {
23864
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactIdentifiers';
23865
+ }
23866
+
23867
+ return this.apiClient.callApi(
23868
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
23869
+ 'GET',
23870
+ { 'contactId': contactId },
23871
+ { },
23872
+ { },
23873
+ { },
23874
+ null,
23875
+ ['PureCloud OAuth'],
23876
+ ['application/json'],
23877
+ ['application/json']
23878
+ );
23879
+ }
23880
+
23670
23881
  /**
23671
23882
  * Fetch a note for an external contact
23672
23883
  *
@@ -23733,6 +23944,35 @@ class ExternalContactsApi {
23733
23944
  );
23734
23945
  }
23735
23946
 
23947
+ /**
23948
+ * Fetch an unresolved external contact
23949
+ *
23950
+ * @param {String} contactId ExternalContact ID
23951
+ * @param {Object} opts Optional parameters
23952
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
23953
+ */
23954
+ getExternalcontactsContactUnresolved(contactId, opts) {
23955
+ opts = opts || {};
23956
+
23957
+ // verify the required parameter 'contactId' is set
23958
+ if (contactId === undefined || contactId === null) {
23959
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactUnresolved';
23960
+ }
23961
+
23962
+ return this.apiClient.callApi(
23963
+ '/api/v2/externalcontacts/contacts/{contactId}/unresolved',
23964
+ 'GET',
23965
+ { 'contactId': contactId },
23966
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
23967
+ { },
23968
+ { },
23969
+ null,
23970
+ ['PureCloud OAuth'],
23971
+ ['application/json'],
23972
+ ['application/json']
23973
+ );
23974
+ }
23975
+
23736
23976
  /**
23737
23977
  * Search for external contacts
23738
23978
  *
@@ -24310,6 +24550,36 @@ class ExternalContactsApi {
24310
24550
  );
24311
24551
  }
24312
24552
 
24553
+ /**
24554
+ * Claim or release identifiers for a contact
24555
+ *
24556
+ * @param {String} contactId ExternalContact ID
24557
+ * @param {Object} body ClaimRequest
24558
+ */
24559
+ patchExternalcontactsContactIdentifiers(contactId, body) {
24560
+ // verify the required parameter 'contactId' is set
24561
+ if (contactId === undefined || contactId === null) {
24562
+ throw 'Missing the required parameter "contactId" when calling patchExternalcontactsContactIdentifiers';
24563
+ }
24564
+ // verify the required parameter 'body' is set
24565
+ if (body === undefined || body === null) {
24566
+ throw 'Missing the required parameter "body" when calling patchExternalcontactsContactIdentifiers';
24567
+ }
24568
+
24569
+ return this.apiClient.callApi(
24570
+ '/api/v2/externalcontacts/contacts/{contactId}/identifiers',
24571
+ 'PATCH',
24572
+ { 'contactId': contactId },
24573
+ { },
24574
+ { },
24575
+ { },
24576
+ body,
24577
+ ['PureCloud OAuth'],
24578
+ ['application/json'],
24579
+ ['application/json']
24580
+ );
24581
+ }
24582
+
24313
24583
  /**
24314
24584
  * Bulk fetch contacts
24315
24585
  *
@@ -24385,6 +24655,31 @@ class ExternalContactsApi {
24385
24655
  );
24386
24656
  }
24387
24657
 
24658
+ /**
24659
+ * Bulk fetch unresolved ancestor contacts
24660
+ *
24661
+ * @param {Object} body Contact ids
24662
+ */
24663
+ postExternalcontactsBulkContactsUnresolved(body) {
24664
+ // verify the required parameter 'body' is set
24665
+ if (body === undefined || body === null) {
24666
+ throw 'Missing the required parameter "body" when calling postExternalcontactsBulkContactsUnresolved';
24667
+ }
24668
+
24669
+ return this.apiClient.callApi(
24670
+ '/api/v2/externalcontacts/bulk/contacts/unresolved',
24671
+ 'POST',
24672
+ { },
24673
+ { },
24674
+ { },
24675
+ { },
24676
+ body,
24677
+ ['PureCloud OAuth'],
24678
+ ['application/json'],
24679
+ ['application/json']
24680
+ );
24681
+ }
24682
+
24388
24683
  /**
24389
24684
  * Bulk update contacts
24390
24685
  *
@@ -24740,6 +25035,31 @@ class ExternalContactsApi {
24740
25035
  );
24741
25036
  }
24742
25037
 
25038
+ /**
25039
+ * Promote an observed contact (ephemeral or identified) to a curated contact
25040
+ *
25041
+ * @param {String} contactId ExternalContact ID
25042
+ */
25043
+ postExternalcontactsContactPromotion(contactId) {
25044
+ // verify the required parameter 'contactId' is set
25045
+ if (contactId === undefined || contactId === null) {
25046
+ throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactPromotion';
25047
+ }
25048
+
25049
+ return this.apiClient.callApi(
25050
+ '/api/v2/externalcontacts/contacts/{contactId}/promotion',
25051
+ 'POST',
25052
+ { 'contactId': contactId },
25053
+ { },
25054
+ { },
25055
+ { },
25056
+ null,
25057
+ ['PureCloud OAuth'],
25058
+ ['application/json'],
25059
+ ['application/json']
25060
+ );
25061
+ }
25062
+
24743
25063
  /**
24744
25064
  * Create an external contact
24745
25065
  *
@@ -24790,6 +25110,56 @@ class ExternalContactsApi {
24790
25110
  );
24791
25111
  }
24792
25112
 
25113
+ /**
25114
+ * Fetch a contact using an identifier type and value.
25115
+ * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
25116
+ * @param {Object} identifier
25117
+ */
25118
+ postExternalcontactsIdentifierlookup(identifier) {
25119
+ // verify the required parameter 'identifier' is set
25120
+ if (identifier === undefined || identifier === null) {
25121
+ throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';
25122
+ }
25123
+
25124
+ return this.apiClient.callApi(
25125
+ '/api/v2/externalcontacts/identifierlookup',
25126
+ 'POST',
25127
+ { },
25128
+ { },
25129
+ { },
25130
+ { },
25131
+ identifier,
25132
+ ['PureCloud OAuth'],
25133
+ ['application/json'],
25134
+ ['application/json']
25135
+ );
25136
+ }
25137
+
25138
+ /**
25139
+ * Merge two contacts into a new contact record
25140
+ *
25141
+ * @param {Object} body MergeRequest
25142
+ */
25143
+ postExternalcontactsMergeContacts(body) {
25144
+ // verify the required parameter 'body' is set
25145
+ if (body === undefined || body === null) {
25146
+ throw 'Missing the required parameter "body" when calling postExternalcontactsMergeContacts';
25147
+ }
25148
+
25149
+ return this.apiClient.callApi(
25150
+ '/api/v2/externalcontacts/merge/contacts',
25151
+ 'POST',
25152
+ { },
25153
+ { },
25154
+ { },
25155
+ { },
25156
+ body,
25157
+ ['PureCloud OAuth'],
25158
+ ['application/json'],
25159
+ ['application/json']
25160
+ );
25161
+ }
25162
+
24793
25163
  /**
24794
25164
  * Create a note for an external organization
24795
25165
  *
@@ -25181,7 +25551,7 @@ class FaxApi {
25181
25551
  /**
25182
25552
  * Fax service.
25183
25553
  * @module purecloud-platform-client-v2/api/FaxApi
25184
- * @version 149.1.0
25554
+ * @version 150.0.0
25185
25555
  */
25186
25556
 
25187
25557
  /**
@@ -25352,7 +25722,7 @@ class FlowsApi {
25352
25722
  /**
25353
25723
  * Flows service.
25354
25724
  * @module purecloud-platform-client-v2/api/FlowsApi
25355
- * @version 149.1.0
25725
+ * @version 150.0.0
25356
25726
  */
25357
25727
 
25358
25728
  /**
@@ -25423,7 +25793,7 @@ class GamificationApi {
25423
25793
  /**
25424
25794
  * Gamification service.
25425
25795
  * @module purecloud-platform-client-v2/api/GamificationApi
25426
- * @version 149.1.0
25796
+ * @version 150.0.0
25427
25797
  */
25428
25798
 
25429
25799
  /**
@@ -27104,7 +27474,7 @@ class GeneralDataProtectionRegulationApi {
27104
27474
  /**
27105
27475
  * GeneralDataProtectionRegulation service.
27106
27476
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
27107
- * @version 149.1.0
27477
+ * @version 150.0.0
27108
27478
  */
27109
27479
 
27110
27480
  /**
@@ -27234,7 +27604,7 @@ class GeolocationApi {
27234
27604
  /**
27235
27605
  * Geolocation service.
27236
27606
  * @module purecloud-platform-client-v2/api/GeolocationApi
27237
- * @version 149.1.0
27607
+ * @version 150.0.0
27238
27608
  */
27239
27609
 
27240
27610
  /**
@@ -27365,7 +27735,7 @@ class GreetingsApi {
27365
27735
  /**
27366
27736
  * Greetings service.
27367
27737
  * @module purecloud-platform-client-v2/api/GreetingsApi
27368
- * @version 149.1.0
27738
+ * @version 150.0.0
27369
27739
  */
27370
27740
 
27371
27741
  /**
@@ -27820,7 +28190,7 @@ class GroupsApi {
27820
28190
  /**
27821
28191
  * Groups service.
27822
28192
  * @module purecloud-platform-client-v2/api/GroupsApi
27823
- * @version 149.1.0
28193
+ * @version 150.0.0
27824
28194
  */
27825
28195
 
27826
28196
  /**
@@ -28226,7 +28596,7 @@ class IdentityProviderApi {
28226
28596
  /**
28227
28597
  * IdentityProvider service.
28228
28598
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
28229
- * @version 149.1.0
28599
+ * @version 150.0.0
28230
28600
  */
28231
28601
 
28232
28602
  /**
@@ -28982,7 +29352,7 @@ class IntegrationsApi {
28982
29352
  /**
28983
29353
  * Integrations service.
28984
29354
  * @module purecloud-platform-client-v2/api/IntegrationsApi
28985
- * @version 149.1.0
29355
+ * @version 150.0.0
28986
29356
  */
28987
29357
 
28988
29358
  /**
@@ -30582,7 +30952,7 @@ class JourneyApi {
30582
30952
  /**
30583
30953
  * Journey service.
30584
30954
  * @module purecloud-platform-client-v2/api/JourneyApi
30585
- * @version 149.1.0
30955
+ * @version 150.0.0
30586
30956
  */
30587
30957
 
30588
30958
  /**
@@ -31368,7 +31738,7 @@ class KnowledgeApi {
31368
31738
  /**
31369
31739
  * Knowledge service.
31370
31740
  * @module purecloud-platform-client-v2/api/KnowledgeApi
31371
- * @version 149.1.0
31741
+ * @version 150.0.0
31372
31742
  */
31373
31743
 
31374
31744
  /**
@@ -33801,7 +34171,7 @@ class LanguageUnderstandingApi {
33801
34171
  /**
33802
34172
  * LanguageUnderstanding service.
33803
34173
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
33804
- * @version 149.1.0
34174
+ * @version 150.0.0
33805
34175
  */
33806
34176
 
33807
34177
  /**
@@ -34705,7 +35075,7 @@ class LanguagesApi {
34705
35075
  /**
34706
35076
  * Languages service.
34707
35077
  * @module purecloud-platform-client-v2/api/LanguagesApi
34708
- * @version 149.1.0
35078
+ * @version 150.0.0
34709
35079
  */
34710
35080
 
34711
35081
  /**
@@ -34973,7 +35343,7 @@ class LearningApi {
34973
35343
  /**
34974
35344
  * Learning service.
34975
35345
  * @module purecloud-platform-client-v2/api/LearningApi
34976
- * @version 149.1.0
35346
+ * @version 150.0.0
34977
35347
  */
34978
35348
 
34979
35349
  /**
@@ -35733,7 +36103,7 @@ class LicenseApi {
35733
36103
  /**
35734
36104
  * License service.
35735
36105
  * @module purecloud-platform-client-v2/api/LicenseApi
35736
- * @version 149.1.0
36106
+ * @version 150.0.0
35737
36107
  */
35738
36108
 
35739
36109
  /**
@@ -35971,7 +36341,7 @@ class LocationsApi {
35971
36341
  /**
35972
36342
  * Locations service.
35973
36343
  * @module purecloud-platform-client-v2/api/LocationsApi
35974
- * @version 149.1.0
36344
+ * @version 150.0.0
35975
36345
  */
35976
36346
 
35977
36347
  /**
@@ -36207,7 +36577,7 @@ class MessagingApi {
36207
36577
  /**
36208
36578
  * Messaging service.
36209
36579
  * @module purecloud-platform-client-v2/api/MessagingApi
36210
- * @version 149.1.0
36580
+ * @version 150.0.0
36211
36581
  */
36212
36582
 
36213
36583
  /**
@@ -36358,7 +36728,7 @@ class MobileDevicesApi {
36358
36728
  /**
36359
36729
  * MobileDevices service.
36360
36730
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
36361
- * @version 149.1.0
36731
+ * @version 150.0.0
36362
36732
  */
36363
36733
 
36364
36734
  /**
@@ -36509,7 +36879,7 @@ class NotificationsApi {
36509
36879
  /**
36510
36880
  * Notifications service.
36511
36881
  * @module purecloud-platform-client-v2/api/NotificationsApi
36512
- * @version 149.1.0
36882
+ * @version 150.0.0
36513
36883
  */
36514
36884
 
36515
36885
  /**
@@ -36734,7 +37104,7 @@ class OAuthApi {
36734
37104
  /**
36735
37105
  * OAuth service.
36736
37106
  * @module purecloud-platform-client-v2/api/OAuthApi
36737
- * @version 149.1.0
37107
+ * @version 150.0.0
36738
37108
  */
36739
37109
 
36740
37110
  /**
@@ -37100,7 +37470,7 @@ class ObjectsApi {
37100
37470
  /**
37101
37471
  * Objects service.
37102
37472
  * @module purecloud-platform-client-v2/api/ObjectsApi
37103
- * @version 149.1.0
37473
+ * @version 150.0.0
37104
37474
  */
37105
37475
 
37106
37476
  /**
@@ -37371,7 +37741,7 @@ class OrganizationApi {
37371
37741
  /**
37372
37742
  * Organization service.
37373
37743
  * @module purecloud-platform-client-v2/api/OrganizationApi
37374
- * @version 149.1.0
37744
+ * @version 150.0.0
37375
37745
  */
37376
37746
 
37377
37747
  /**
@@ -37774,7 +38144,7 @@ class OrganizationAuthorizationApi {
37774
38144
  /**
37775
38145
  * OrganizationAuthorization service.
37776
38146
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
37777
- * @version 149.1.0
38147
+ * @version 150.0.0
37778
38148
  */
37779
38149
 
37780
38150
  /**
@@ -38699,7 +39069,7 @@ class OutboundApi {
38699
39069
  /**
38700
39070
  * Outbound service.
38701
39071
  * @module purecloud-platform-client-v2/api/OutboundApi
38702
- * @version 149.1.0
39072
+ * @version 150.0.0
38703
39073
  */
38704
39074
 
38705
39075
  /**
@@ -42088,7 +42458,7 @@ class PresenceApi {
42088
42458
  /**
42089
42459
  * Presence service.
42090
42460
  * @module purecloud-platform-client-v2/api/PresenceApi
42091
- * @version 149.1.0
42461
+ * @version 150.0.0
42092
42462
  */
42093
42463
 
42094
42464
  /**
@@ -42103,6 +42473,31 @@ class PresenceApi {
42103
42473
  }
42104
42474
 
42105
42475
 
42476
+ /**
42477
+ * Delete a Presence Source
42478
+ *
42479
+ * @param {String} sourceId Presence Source ID
42480
+ */
42481
+ deletePresenceSource(sourceId) {
42482
+ // verify the required parameter 'sourceId' is set
42483
+ if (sourceId === undefined || sourceId === null) {
42484
+ throw 'Missing the required parameter "sourceId" when calling deletePresenceSource';
42485
+ }
42486
+
42487
+ return this.apiClient.callApi(
42488
+ '/api/v2/presence/sources/{sourceId}',
42489
+ 'DELETE',
42490
+ { 'sourceId': sourceId },
42491
+ { },
42492
+ { },
42493
+ { },
42494
+ null,
42495
+ ['PureCloud OAuth'],
42496
+ ['application/json'],
42497
+ ['application/json']
42498
+ );
42499
+ }
42500
+
42106
42501
  /**
42107
42502
  * Delete a Presence Definition
42108
42503
  *
@@ -42128,6 +42523,80 @@ class PresenceApi {
42128
42523
  );
42129
42524
  }
42130
42525
 
42526
+ /**
42527
+ * Get a Presence Source
42528
+ *
42529
+ * @param {String} sourceId Presence Source ID
42530
+ */
42531
+ getPresenceSource(sourceId) {
42532
+ // verify the required parameter 'sourceId' is set
42533
+ if (sourceId === undefined || sourceId === null) {
42534
+ throw 'Missing the required parameter "sourceId" when calling getPresenceSource';
42535
+ }
42536
+
42537
+ return this.apiClient.callApi(
42538
+ '/api/v2/presence/sources/{sourceId}',
42539
+ 'GET',
42540
+ { 'sourceId': sourceId },
42541
+ { },
42542
+ { },
42543
+ { },
42544
+ null,
42545
+ ['PureCloud OAuth'],
42546
+ ['application/json'],
42547
+ ['application/json']
42548
+ );
42549
+ }
42550
+
42551
+ /**
42552
+ * Get a list of Presence Sources
42553
+ *
42554
+ * @param {Object} opts Optional parameters
42555
+ * @param {String} opts.deleted Deleted query can be TRUE or FALSE (default to false)
42556
+ */
42557
+ getPresenceSources(opts) {
42558
+ opts = opts || {};
42559
+
42560
+
42561
+ return this.apiClient.callApi(
42562
+ '/api/v2/presence/sources',
42563
+ 'GET',
42564
+ { },
42565
+ { 'deleted': opts['deleted'] },
42566
+ { },
42567
+ { },
42568
+ null,
42569
+ ['PureCloud OAuth'],
42570
+ ['application/json'],
42571
+ ['application/json']
42572
+ );
42573
+ }
42574
+
42575
+ /**
42576
+ * Get a user's Primary Presence Source
42577
+ *
42578
+ * @param {String} userId user ID
42579
+ */
42580
+ getPresenceUserPrimarysource(userId) {
42581
+ // verify the required parameter 'userId' is set
42582
+ if (userId === undefined || userId === null) {
42583
+ throw 'Missing the required parameter "userId" when calling getPresenceUserPrimarysource';
42584
+ }
42585
+
42586
+ return this.apiClient.callApi(
42587
+ '/api/v2/presence/users/{userId}/primarysource',
42588
+ 'GET',
42589
+ { 'userId': userId },
42590
+ { },
42591
+ { },
42592
+ { },
42593
+ null,
42594
+ ['PureCloud OAuth'],
42595
+ ['application/json'],
42596
+ ['application/json']
42597
+ );
42598
+ }
42599
+
42131
42600
  /**
42132
42601
  * Get a Presence Definition
42133
42602
  *
@@ -42324,6 +42793,31 @@ class PresenceApi {
42324
42793
  );
42325
42794
  }
42326
42795
 
42796
+ /**
42797
+ * Create a Presence Source
42798
+ *
42799
+ * @param {Object} body The Presence Source to create
42800
+ */
42801
+ postPresenceSources(body) {
42802
+ // verify the required parameter 'body' is set
42803
+ if (body === undefined || body === null) {
42804
+ throw 'Missing the required parameter "body" when calling postPresenceSources';
42805
+ }
42806
+
42807
+ return this.apiClient.callApi(
42808
+ '/api/v2/presence/sources',
42809
+ 'POST',
42810
+ { },
42811
+ { },
42812
+ { },
42813
+ { },
42814
+ body,
42815
+ ['PureCloud OAuth'],
42816
+ ['application/json'],
42817
+ ['application/json']
42818
+ );
42819
+ }
42820
+
42327
42821
  /**
42328
42822
  * Create a Presence Definition
42329
42823
  *
@@ -42349,6 +42843,66 @@ class PresenceApi {
42349
42843
  );
42350
42844
  }
42351
42845
 
42846
+ /**
42847
+ * Update a Presence Source
42848
+ *
42849
+ * @param {String} sourceId Presence Source ID
42850
+ * @param {Object} body The updated Presence Source
42851
+ */
42852
+ putPresenceSource(sourceId, body) {
42853
+ // verify the required parameter 'sourceId' is set
42854
+ if (sourceId === undefined || sourceId === null) {
42855
+ throw 'Missing the required parameter "sourceId" when calling putPresenceSource';
42856
+ }
42857
+ // verify the required parameter 'body' is set
42858
+ if (body === undefined || body === null) {
42859
+ throw 'Missing the required parameter "body" when calling putPresenceSource';
42860
+ }
42861
+
42862
+ return this.apiClient.callApi(
42863
+ '/api/v2/presence/sources/{sourceId}',
42864
+ 'PUT',
42865
+ { 'sourceId': sourceId },
42866
+ { },
42867
+ { },
42868
+ { },
42869
+ body,
42870
+ ['PureCloud OAuth'],
42871
+ ['application/json'],
42872
+ ['application/json']
42873
+ );
42874
+ }
42875
+
42876
+ /**
42877
+ * Update a user's Primary Presence Source
42878
+ *
42879
+ * @param {String} userId user ID
42880
+ * @param {Object} body Primary Source
42881
+ */
42882
+ putPresenceUserPrimarysource(userId, body) {
42883
+ // verify the required parameter 'userId' is set
42884
+ if (userId === undefined || userId === null) {
42885
+ throw 'Missing the required parameter "userId" when calling putPresenceUserPrimarysource';
42886
+ }
42887
+ // verify the required parameter 'body' is set
42888
+ if (body === undefined || body === null) {
42889
+ throw 'Missing the required parameter "body" when calling putPresenceUserPrimarysource';
42890
+ }
42891
+
42892
+ return this.apiClient.callApi(
42893
+ '/api/v2/presence/users/{userId}/primarysource',
42894
+ 'PUT',
42895
+ { 'userId': userId },
42896
+ { },
42897
+ { },
42898
+ { },
42899
+ body,
42900
+ ['PureCloud OAuth'],
42901
+ ['application/json'],
42902
+ ['application/json']
42903
+ );
42904
+ }
42905
+
42352
42906
  /**
42353
42907
  * Update a Presence Definition
42354
42908
  *
@@ -42410,7 +42964,7 @@ class ProcessAutomationApi {
42410
42964
  /**
42411
42965
  * ProcessAutomation service.
42412
42966
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
42413
- * @version 149.1.0
42967
+ * @version 150.0.0
42414
42968
  */
42415
42969
 
42416
42970
  /**
@@ -42648,7 +43202,7 @@ class QualityApi {
42648
43202
  /**
42649
43203
  * Quality service.
42650
43204
  * @module purecloud-platform-client-v2/api/QualityApi
42651
- * @version 149.1.0
43205
+ * @version 150.0.0
42652
43206
  */
42653
43207
 
42654
43208
  /**
@@ -44226,7 +44780,7 @@ class RecordingApi {
44226
44780
  /**
44227
44781
  * Recording service.
44228
44782
  * @module purecloud-platform-client-v2/api/RecordingApi
44229
- * @version 149.1.0
44783
+ * @version 150.0.0
44230
44784
  */
44231
44785
 
44232
44786
  /**
@@ -45331,7 +45885,7 @@ class RecordingApi {
45331
45885
 
45332
45886
  /**
45333
45887
  * Create a recording bulk job.
45334
- * Each organization can run up to a maximum of two concurrent jobs that are either in pending or processing state.
45888
+ * 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.
45335
45889
  * @param {Object} body query
45336
45890
  */
45337
45891
  postRecordingJobs(body) {
@@ -45913,7 +46467,7 @@ class ResponseManagementApi {
45913
46467
  /**
45914
46468
  * ResponseManagement service.
45915
46469
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
45916
- * @version 149.1.0
46470
+ * @version 150.0.0
45917
46471
  */
45918
46472
 
45919
46473
  /**
@@ -46397,7 +46951,7 @@ class RoutingApi {
46397
46951
  /**
46398
46952
  * Routing service.
46399
46953
  * @module purecloud-platform-client-v2/api/RoutingApi
46400
- * @version 149.1.0
46954
+ * @version 150.0.0
46401
46955
  */
46402
46956
 
46403
46957
  /**
@@ -46492,6 +47046,31 @@ class RoutingApi {
46492
47046
  );
46493
47047
  }
46494
47048
 
47049
+ /**
47050
+ * Delete an outbound domain
47051
+ *
47052
+ * @param {String} domainId domain ID
47053
+ */
47054
+ deleteRoutingEmailOutboundDomain(domainId) {
47055
+ // verify the required parameter 'domainId' is set
47056
+ if (domainId === undefined || domainId === null) {
47057
+ throw 'Missing the required parameter "domainId" when calling deleteRoutingEmailOutboundDomain';
47058
+ }
47059
+
47060
+ return this.apiClient.callApi(
47061
+ '/api/v2/routing/email/outbound/domains/{domainId}',
47062
+ 'DELETE',
47063
+ { 'domainId': domainId },
47064
+ { },
47065
+ { },
47066
+ { },
47067
+ null,
47068
+ ['PureCloud OAuth'],
47069
+ ['application/json'],
47070
+ ['application/json']
47071
+ );
47072
+ }
47073
+
46495
47074
  /**
46496
47075
  * Delete single predictor.
46497
47076
  *
@@ -47093,6 +47672,101 @@ class RoutingApi {
47093
47672
  );
47094
47673
  }
47095
47674
 
47675
+ /**
47676
+ * Get domain
47677
+ *
47678
+ * @param {String} domainId domain ID
47679
+ */
47680
+ getRoutingEmailOutboundDomain(domainId) {
47681
+ // verify the required parameter 'domainId' is set
47682
+ if (domainId === undefined || domainId === null) {
47683
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomain';
47684
+ }
47685
+
47686
+ return this.apiClient.callApi(
47687
+ '/api/v2/routing/email/outbound/domains/{domainId}',
47688
+ 'GET',
47689
+ { 'domainId': domainId },
47690
+ { },
47691
+ { },
47692
+ { },
47693
+ null,
47694
+ ['PureCloud OAuth'],
47695
+ ['application/json'],
47696
+ ['application/json']
47697
+ );
47698
+ }
47699
+
47700
+ /**
47701
+ * Get activation status (cname + dkim) of an outbound domain
47702
+ *
47703
+ * @param {String} domainId domain ID
47704
+ */
47705
+ getRoutingEmailOutboundDomainActivation(domainId) {
47706
+ // verify the required parameter 'domainId' is set
47707
+ if (domainId === undefined || domainId === null) {
47708
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainActivation';
47709
+ }
47710
+
47711
+ return this.apiClient.callApi(
47712
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
47713
+ 'GET',
47714
+ { 'domainId': domainId },
47715
+ { },
47716
+ { },
47717
+ { },
47718
+ null,
47719
+ ['PureCloud OAuth'],
47720
+ ['application/json'],
47721
+ ['application/json']
47722
+ );
47723
+ }
47724
+
47725
+ /**
47726
+ * Search a domain across organizations
47727
+ *
47728
+ * @param {String} domainId domain ID
47729
+ */
47730
+ getRoutingEmailOutboundDomainSearch(domainId) {
47731
+ // verify the required parameter 'domainId' is set
47732
+ if (domainId === undefined || domainId === null) {
47733
+ throw 'Missing the required parameter "domainId" when calling getRoutingEmailOutboundDomainSearch';
47734
+ }
47735
+
47736
+ return this.apiClient.callApi(
47737
+ '/api/v2/routing/email/outbound/domains/{domainId}/search',
47738
+ 'GET',
47739
+ { 'domainId': domainId },
47740
+ { },
47741
+ { },
47742
+ { },
47743
+ null,
47744
+ ['PureCloud OAuth'],
47745
+ ['application/json'],
47746
+ ['application/json']
47747
+ );
47748
+ }
47749
+
47750
+ /**
47751
+ * Get outbound domains
47752
+ *
47753
+ */
47754
+ getRoutingEmailOutboundDomains() {
47755
+
47756
+ return this.apiClient.callApi(
47757
+ '/api/v2/routing/email/outbound/domains',
47758
+ 'GET',
47759
+ { },
47760
+ { },
47761
+ { },
47762
+ { },
47763
+ null,
47764
+ ['PureCloud OAuth'],
47765
+ ['application/json'],
47766
+ ['application/json']
47767
+ );
47768
+ }
47769
+
47096
47770
  /**
47097
47771
  * Get email setup
47098
47772
  *
@@ -48730,6 +49404,56 @@ class RoutingApi {
48730
49404
  );
48731
49405
  }
48732
49406
 
49407
+ /**
49408
+ * Create a domain
49409
+ *
49410
+ * @param {Object} body Domain
49411
+ */
49412
+ postRoutingEmailOutboundDomains(body) {
49413
+ // verify the required parameter 'body' is set
49414
+ if (body === undefined || body === null) {
49415
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomains';
49416
+ }
49417
+
49418
+ return this.apiClient.callApi(
49419
+ '/api/v2/routing/email/outbound/domains',
49420
+ 'POST',
49421
+ { },
49422
+ { },
49423
+ { },
49424
+ { },
49425
+ body,
49426
+ ['PureCloud OAuth'],
49427
+ ['application/json'],
49428
+ ['application/json']
49429
+ );
49430
+ }
49431
+
49432
+ /**
49433
+ * Create a simulated domain
49434
+ *
49435
+ * @param {Object} body Domain
49436
+ */
49437
+ postRoutingEmailOutboundDomainsSimulated(body) {
49438
+ // verify the required parameter 'body' is set
49439
+ if (body === undefined || body === null) {
49440
+ throw 'Missing the required parameter "body" when calling postRoutingEmailOutboundDomainsSimulated';
49441
+ }
49442
+
49443
+ return this.apiClient.callApi(
49444
+ '/api/v2/routing/email/outbound/domains/simulated',
49445
+ 'POST',
49446
+ { },
49447
+ { },
49448
+ { },
49449
+ { },
49450
+ body,
49451
+ ['PureCloud OAuth'],
49452
+ ['application/json'],
49453
+ ['application/json']
49454
+ );
49455
+ }
49456
+
48733
49457
  /**
48734
49458
  * Create Language
48735
49459
  *
@@ -49097,6 +49821,31 @@ class RoutingApi {
49097
49821
  );
49098
49822
  }
49099
49823
 
49824
+ /**
49825
+ * Request an activation status (cname + dkim) update of an outbound domain
49826
+ *
49827
+ * @param {String} domainId domain ID
49828
+ */
49829
+ putRoutingEmailOutboundDomainActivation(domainId) {
49830
+ // verify the required parameter 'domainId' is set
49831
+ if (domainId === undefined || domainId === null) {
49832
+ throw 'Missing the required parameter "domainId" when calling putRoutingEmailOutboundDomainActivation';
49833
+ }
49834
+
49835
+ return this.apiClient.callApi(
49836
+ '/api/v2/routing/email/outbound/domains/{domainId}/activation',
49837
+ 'PUT',
49838
+ { 'domainId': domainId },
49839
+ { },
49840
+ { },
49841
+ { },
49842
+ null,
49843
+ ['PureCloud OAuth'],
49844
+ ['application/json'],
49845
+ ['application/json']
49846
+ );
49847
+ }
49848
+
49100
49849
  /**
49101
49850
  * Update a recipient
49102
49851
  *
@@ -49393,7 +50142,7 @@ class SCIMApi {
49393
50142
  /**
49394
50143
  * SCIM service.
49395
50144
  * @module purecloud-platform-client-v2/api/SCIMApi
49396
- * @version 149.1.0
50145
+ * @version 150.0.0
49397
50146
  */
49398
50147
 
49399
50148
  /**
@@ -50270,7 +51019,7 @@ class ScriptsApi {
50270
51019
  /**
50271
51020
  * Scripts service.
50272
51021
  * @module purecloud-platform-client-v2/api/ScriptsApi
50273
- * @version 149.1.0
51022
+ * @version 150.0.0
50274
51023
  */
50275
51024
 
50276
51025
  /**
@@ -50689,7 +51438,7 @@ class SearchApi {
50689
51438
  /**
50690
51439
  * Search service.
50691
51440
  * @module purecloud-platform-client-v2/api/SearchApi
50692
- * @version 149.1.0
51441
+ * @version 150.0.0
50693
51442
  */
50694
51443
 
50695
51444
  /**
@@ -51249,7 +51998,7 @@ class SpeechTextAnalyticsApi {
51249
51998
  /**
51250
51999
  * SpeechTextAnalytics service.
51251
52000
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
51252
- * @version 149.1.0
52001
+ * @version 150.0.0
51253
52002
  */
51254
52003
 
51255
52004
  /**
@@ -52103,7 +52852,7 @@ class StationsApi {
52103
52852
  /**
52104
52853
  * Stations service.
52105
52854
  * @module purecloud-platform-client-v2/api/StationsApi
52106
- * @version 149.1.0
52855
+ * @version 150.0.0
52107
52856
  */
52108
52857
 
52109
52858
  /**
@@ -52250,7 +52999,7 @@ class SuggestApi {
52250
52999
  /**
52251
53000
  * Suggest service.
52252
53001
  * @module purecloud-platform-client-v2/api/SuggestApi
52253
- * @version 149.1.0
53002
+ * @version 150.0.0
52254
53003
  */
52255
53004
 
52256
53005
  /**
@@ -52389,7 +53138,7 @@ class TeamsApi {
52389
53138
  /**
52390
53139
  * Teams service.
52391
53140
  * @module purecloud-platform-client-v2/api/TeamsApi
52392
- * @version 149.1.0
53141
+ * @version 150.0.0
52393
53142
  */
52394
53143
 
52395
53144
  /**
@@ -52568,7 +53317,7 @@ class TelephonyApi {
52568
53317
  /**
52569
53318
  * Telephony service.
52570
53319
  * @module purecloud-platform-client-v2/api/TelephonyApi
52571
- * @version 149.1.0
53320
+ * @version 150.0.0
52572
53321
  */
52573
53322
 
52574
53323
  /**
@@ -52676,7 +53425,7 @@ class TelephonyProvidersEdgeApi {
52676
53425
  /**
52677
53426
  * TelephonyProvidersEdge service.
52678
53427
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
52679
- * @version 149.1.0
53428
+ * @version 150.0.0
52680
53429
  */
52681
53430
 
52682
53431
  /**
@@ -56309,7 +57058,7 @@ class TextbotsApi {
56309
57058
  /**
56310
57059
  * Textbots service.
56311
57060
  * @module purecloud-platform-client-v2/api/TextbotsApi
56312
- * @version 149.1.0
57061
+ * @version 150.0.0
56313
57062
  */
56314
57063
 
56315
57064
  /**
@@ -56437,7 +57186,7 @@ class TokensApi {
56437
57186
  /**
56438
57187
  * Tokens service.
56439
57188
  * @module purecloud-platform-client-v2/api/TokensApi
56440
- * @version 149.1.0
57189
+ * @version 150.0.0
56441
57190
  */
56442
57191
 
56443
57192
  /**
@@ -56543,7 +57292,7 @@ class UploadsApi {
56543
57292
  /**
56544
57293
  * Uploads service.
56545
57294
  * @module purecloud-platform-client-v2/api/UploadsApi
56546
- * @version 149.1.0
57295
+ * @version 150.0.0
56547
57296
  */
56548
57297
 
56549
57298
  /**
@@ -56719,7 +57468,7 @@ class UsageApi {
56719
57468
  /**
56720
57469
  * Usage service.
56721
57470
  * @module purecloud-platform-client-v2/api/UsageApi
56722
- * @version 149.1.0
57471
+ * @version 150.0.0
56723
57472
  */
56724
57473
 
56725
57474
  /**
@@ -56790,7 +57539,7 @@ class UserRecordingsApi {
56790
57539
  /**
56791
57540
  * UserRecordings service.
56792
57541
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
56793
- * @version 149.1.0
57542
+ * @version 150.0.0
56794
57543
  */
56795
57544
 
56796
57545
  /**
@@ -56975,7 +57724,7 @@ class UsersApi {
56975
57724
  /**
56976
57725
  * Users service.
56977
57726
  * @module purecloud-platform-client-v2/api/UsersApi
56978
- * @version 149.1.0
57727
+ * @version 150.0.0
56979
57728
  */
56980
57729
 
56981
57730
  /**
@@ -59307,7 +60056,7 @@ class UtilitiesApi {
59307
60056
  /**
59308
60057
  * Utilities service.
59309
60058
  * @module purecloud-platform-client-v2/api/UtilitiesApi
59310
- * @version 149.1.0
60059
+ * @version 150.0.0
59311
60060
  */
59312
60061
 
59313
60062
  /**
@@ -59418,7 +60167,7 @@ class VoicemailApi {
59418
60167
  /**
59419
60168
  * Voicemail service.
59420
60169
  * @module purecloud-platform-client-v2/api/VoicemailApi
59421
- * @version 149.1.0
60170
+ * @version 150.0.0
59422
60171
  */
59423
60172
 
59424
60173
  /**
@@ -60085,7 +60834,7 @@ class WebChatApi {
60085
60834
  /**
60086
60835
  * WebChat service.
60087
60836
  * @module purecloud-platform-client-v2/api/WebChatApi
60088
- * @version 149.1.0
60837
+ * @version 150.0.0
60089
60838
  */
60090
60839
 
60091
60840
  /**
@@ -60629,7 +61378,7 @@ class WebDeploymentsApi {
60629
61378
  /**
60630
61379
  * WebDeployments service.
60631
61380
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
60632
- * @version 149.1.0
61381
+ * @version 150.0.0
60633
61382
  */
60634
61383
 
60635
61384
  /**
@@ -61017,7 +61766,7 @@ class WebMessagingApi {
61017
61766
  /**
61018
61767
  * WebMessaging service.
61019
61768
  * @module purecloud-platform-client-v2/api/WebMessagingApi
61020
- * @version 149.1.0
61769
+ * @version 150.0.0
61021
61770
  */
61022
61771
 
61023
61772
  /**
@@ -61063,7 +61812,7 @@ class WidgetsApi {
61063
61812
  /**
61064
61813
  * Widgets service.
61065
61814
  * @module purecloud-platform-client-v2/api/WidgetsApi
61066
- * @version 149.1.0
61815
+ * @version 150.0.0
61067
61816
  */
61068
61817
 
61069
61818
  /**
@@ -61209,7 +61958,7 @@ class WorkforceManagementApi {
61209
61958
  /**
61210
61959
  * WorkforceManagement service.
61211
61960
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
61212
- * @version 149.1.0
61961
+ * @version 150.0.0
61213
61962
  */
61214
61963
 
61215
61964
  /**
@@ -65485,7 +66234,7 @@ class WorkforceManagementApi {
65485
66234
  * </pre>
65486
66235
  * </p>
65487
66236
  * @module purecloud-platform-client-v2/index
65488
- * @version 149.1.0
66237
+ * @version 150.0.0
65489
66238
  */
65490
66239
  class platformClient {
65491
66240
  constructor() {
@@ -65554,6 +66303,16 @@ class platformClient {
65554
66303
  * @property {module:purecloud-platform-client-v2/api/DataExtensionsApi}
65555
66304
  */
65556
66305
  this.DataExtensionsApi = DataExtensionsApi;
66306
+ /**
66307
+ * The DownloadsApi service constructor.
66308
+ * @property {module:purecloud-platform-client-v2/api/DownloadsApi}
66309
+ */
66310
+ this.DownloadsApi = DownloadsApi;
66311
+ /**
66312
+ * The EventsApi service constructor.
66313
+ * @property {module:purecloud-platform-client-v2/api/EventsApi}
66314
+ */
66315
+ this.EventsApi = EventsApi;
65557
66316
  /**
65558
66317
  * The ExternalContactsApi service constructor.
65559
66318
  * @property {module:purecloud-platform-client-v2/api/ExternalContactsApi}