purecloud-platform-client-v2 196.0.0 → 198.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 (87) hide show
  1. package/README.md +2 -2
  2. package/dist/node/purecloud-platform-client-v2.js +972 -148
  3. package/dist/web-amd/purecloud-platform-client-v2.js +972 -148
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +323 -110
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +327 -111
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +791 -121
  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/AgentUIApi.js +136 -0
  12. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +165 -1
  23. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +156 -0
  27. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +9 -5
  29. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/JourneyApi.js +32 -3
  40. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LearningApi.js +3 -2
  44. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OutboundApi.js +32 -36
  56. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/QualityApi.js +32 -1
  59. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/RoutingApi.js +3 -2
  62. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SettingsApi.js +111 -1
  67. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +3 -2
  71. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/UsersApi.js +3 -3
  80. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +222 -27
  87. package/src/purecloud-platform-client-v2/index.js +13 -1
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -210,7 +210,7 @@ class ExternalContactsApi {
210
210
  *
211
211
  * @param {String} contactId ExternalContact ID
212
212
  * @param {Object} opts Optional parameters
213
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
213
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
214
214
  */
215
215
  getExternalcontactsContact(contactId, opts) {
216
216
  opts = opts || {};
@@ -361,7 +361,7 @@ class ExternalContactsApi {
361
361
  *
362
362
  * @param {String} contactId ExternalContact ID
363
363
  * @param {Object} opts Optional parameters
364
- * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources)
364
+ * @param {Array.<String>} opts.expand which fields, if any, to expand (externalOrganization,externalDataSources,identifiers)
365
365
  */
366
366
  getExternalcontactsContactUnresolved(contactId, opts) {
367
367
  opts = opts || {};
@@ -1526,8 +1526,12 @@ class ExternalContactsApi {
1526
1526
  * Fetch a contact using an identifier type and value.
1527
1527
  * Phone number identifier values must be provided with the country code and a leading + symbol. Example: "+1 704 298 4733"
1528
1528
  * @param {Object} identifier
1529
+ * @param {Object} opts Optional parameters
1530
+ * @param {Array.<String>} opts.expand which field, if any, to expand
1529
1531
  */
1530
- postExternalcontactsIdentifierlookup(identifier) {
1532
+ postExternalcontactsIdentifierlookup(identifier, opts) {
1533
+ opts = opts || {};
1534
+
1531
1535
  // verify the required parameter 'identifier' is set
1532
1536
  if (identifier === undefined || identifier === null) {
1533
1537
  throw 'Missing the required parameter "identifier" when calling postExternalcontactsIdentifierlookup';
@@ -1537,7 +1541,7 @@ class ExternalContactsApi {
1537
1541
  '/api/v2/externalcontacts/identifierlookup',
1538
1542
  'POST',
1539
1543
  { },
1540
- { },
1544
+ { 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
1541
1545
  { },
1542
1546
  { },
1543
1547
  identifier,
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeneralDataProtectionRegulationApi {
5
5
  /**
6
6
  * GeneralDataProtectionRegulation service.
7
7
  * @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GeolocationApi {
5
5
  /**
6
6
  * Geolocation service.
7
7
  * @module purecloud-platform-client-v2/api/GeolocationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GreetingsApi {
5
5
  /**
6
6
  * Greetings service.
7
7
  * @module purecloud-platform-client-v2/api/GreetingsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class GroupsApi {
5
5
  /**
6
6
  * Groups service.
7
7
  * @module purecloud-platform-client-v2/api/GroupsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IdentityProviderApi {
5
5
  /**
6
6
  * IdentityProvider service.
7
7
  * @module purecloud-platform-client-v2/api/IdentityProviderApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class InfrastructureAsCodeApi {
5
5
  /**
6
6
  * InfrastructureAsCode service.
7
7
  * @module purecloud-platform-client-v2/api/InfrastructureAsCodeApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntegrationsApi {
5
5
  /**
6
6
  * Integrations service.
7
7
  * @module purecloud-platform-client-v2/api/IntegrationsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class JourneyApi {
5
5
  /**
6
6
  * Journey service.
7
7
  * @module purecloud-platform-client-v2/api/JourneyApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -749,7 +749,7 @@ class JourneyApi {
749
749
  * @param {Object} opts Optional parameters
750
750
  * @param {String} opts.pageSize Number of entities to return. Maximum of 200.
751
751
  * @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
752
- * getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
752
+ * @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
753
753
  */
754
754
  getJourneySessionEvents(sessionId, opts) {
755
755
  opts = opts || {};
@@ -763,7 +763,7 @@ class JourneyApi {
763
763
  '/api/v2/journey/sessions/{sessionId}/events',
764
764
  'GET',
765
765
  { 'sessionId': sessionId },
766
- { 'pageSize': opts['pageSize'],'after': opts['after'] },
766
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'eventType': opts['eventType'] },
767
767
  { },
768
768
  { },
769
769
  null,
@@ -1382,6 +1382,35 @@ class JourneyApi {
1382
1382
  );
1383
1383
  }
1384
1384
 
1385
+ /**
1386
+ * Send a journey web event, used for tracking customer activity on a website.
1387
+ *
1388
+ * @param {String} deploymentId The ID of the deployment sending the web event.
1389
+ * @param {Object} opts Optional parameters
1390
+ * @param {Object} opts.body
1391
+ */
1392
+ postJourneyDeploymentWebevents(deploymentId, opts) {
1393
+ opts = opts || {};
1394
+
1395
+ // verify the required parameter 'deploymentId' is set
1396
+ if (deploymentId === undefined || deploymentId === null) {
1397
+ throw 'Missing the required parameter "deploymentId" when calling postJourneyDeploymentWebevents';
1398
+ }
1399
+
1400
+ return this.apiClient.callApi(
1401
+ '/api/v2/journey/deployments/{deploymentId}/webevents',
1402
+ 'POST',
1403
+ { 'deploymentId': deploymentId },
1404
+ { },
1405
+ { },
1406
+ { },
1407
+ opts['body'],
1408
+ ['PureCloud OAuth'],
1409
+ ['application/json'],
1410
+ ['application/json']
1411
+ );
1412
+ }
1413
+
1385
1414
  /**
1386
1415
  * Query for flow paths.
1387
1416
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LanguagesApi {
5
5
  /**
6
6
  * Languages service.
7
7
  * @module purecloud-platform-client-v2/api/LanguagesApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LearningApi {
5
5
  /**
6
6
  * Learning service.
7
7
  * @module purecloud-platform-client-v2/api/LearningApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -106,6 +106,7 @@ class LearningApi {
106
106
  * @param {String} stepId The ID of Learning Assignment Step
107
107
  * @param {Object} opts Optional parameters
108
108
  * @param {String} opts.shareableContentObjectId The ID of SCO to load
109
+ * @param {Object} opts.defaultShareableContentObject The default SCO to retrieve
109
110
  * @param {Array.<String>} opts.expand Fields to expand in response
110
111
  */
111
112
  getLearningAssignmentStep(assignmentId, stepId, opts) {
@@ -124,7 +125,7 @@ class LearningApi {
124
125
  '/api/v2/learning/assignments/{assignmentId}/steps/{stepId}',
125
126
  'GET',
126
127
  { 'assignmentId': assignmentId,'stepId': stepId },
127
- { 'shareableContentObjectId': opts['shareableContentObjectId'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
128
+ { 'shareableContentObjectId': opts['shareableContentObjectId'],'defaultShareableContentObject': opts['defaultShareableContentObject'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
128
129
  { },
129
130
  { },
130
131
  null,
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LocationsApi {
5
5
  /**
6
6
  * Locations service.
7
7
  * @module purecloud-platform-client-v2/api/LocationsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LogCaptureApi {
5
5
  /**
6
6
  * LogCapture service.
7
7
  * @module purecloud-platform-client-v2/api/LogCaptureApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MessagingApi {
5
5
  /**
6
6
  * Messaging service.
7
7
  * @module purecloud-platform-client-v2/api/MessagingApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class MobileDevicesApi {
5
5
  /**
6
6
  * MobileDevices service.
7
7
  * @module purecloud-platform-client-v2/api/MobileDevicesApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class NotificationsApi {
5
5
  /**
6
6
  * Notifications service.
7
7
  * @module purecloud-platform-client-v2/api/NotificationsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OAuthApi {
5
5
  /**
6
6
  * OAuth service.
7
7
  * @module purecloud-platform-client-v2/api/OAuthApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ObjectsApi {
5
5
  /**
6
6
  * Objects service.
7
7
  * @module purecloud-platform-client-v2/api/ObjectsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OperationalEventsApi {
5
5
  /**
6
6
  * OperationalEvents service.
7
7
  * @module purecloud-platform-client-v2/api/OperationalEventsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationApi {
5
5
  /**
6
6
  * Organization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OrganizationAuthorizationApi {
5
5
  /**
6
6
  * OrganizationAuthorization service.
7
7
  * @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class OutboundApi {
5
5
  /**
6
6
  * Outbound service.
7
7
  * @module purecloud-platform-client-v2/api/OutboundApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -619,7 +619,7 @@ class OutboundApi {
619
619
 
620
620
  /**
621
621
  * Reset messaging campaign progress and recycle the messaging campaign
622
- *
622
+ * Documented permissions are applicable based on campaign type.
623
623
  * @param {String} messagingCampaignId The Messaging Campaign ID
624
624
  */
625
625
  deleteOutboundMessagingcampaignProgress(messagingCampaignId) {
@@ -2621,6 +2621,36 @@ class OutboundApi {
2621
2621
  );
2622
2622
  }
2623
2623
 
2624
+ /**
2625
+ * Update a campaign.
2626
+ *
2627
+ * @param {String} campaignId Campaign ID
2628
+ * @param {Object} body CampaignPatchRequest
2629
+ */
2630
+ patchOutboundCampaign(campaignId, body) {
2631
+ // verify the required parameter 'campaignId' is set
2632
+ if (campaignId === undefined || campaignId === null) {
2633
+ throw 'Missing the required parameter "campaignId" when calling patchOutboundCampaign';
2634
+ }
2635
+ // verify the required parameter 'body' is set
2636
+ if (body === undefined || body === null) {
2637
+ throw 'Missing the required parameter "body" when calling patchOutboundCampaign';
2638
+ }
2639
+
2640
+ return this.apiClient.callApi(
2641
+ '/api/v2/outbound/campaigns/{campaignId}',
2642
+ 'PATCH',
2643
+ { 'campaignId': campaignId },
2644
+ { },
2645
+ { },
2646
+ { },
2647
+ body,
2648
+ ['PureCloud OAuth'],
2649
+ ['application/json'],
2650
+ ['application/json']
2651
+ );
2652
+ }
2653
+
2624
2654
  /**
2625
2655
  * Add entries to or delete entries from a DNC list.
2626
2656
  * Only Internal DNC lists may be deleted from
@@ -2761,40 +2791,6 @@ class OutboundApi {
2761
2791
  );
2762
2792
  }
2763
2793
 
2764
- /**
2765
- * Retrieves audits for dialer. (Deprecated)
2766
- * This endpoint is deprecated as a result of this functionality being moved to the Audit Service. Please use "/api/v2/audits/query" instead.
2767
- * @param {Object} body AuditSearch
2768
- * @param {Object} opts Optional parameters
2769
- * @param {Number} opts.pageSize Page size (default to 25)
2770
- * @param {Number} opts.pageNumber Page number (default to 1)
2771
- * @param {String} opts.sortBy Sort by (default to entity.name)
2772
- * @param {String} opts.sortOrder Sort order (default to ascending)
2773
- * @param {Boolean} opts.facetsOnly Facets only (default to false)
2774
- * @deprecated
2775
- */
2776
- postOutboundAudits(body, opts) {
2777
- opts = opts || {};
2778
-
2779
- // verify the required parameter 'body' is set
2780
- if (body === undefined || body === null) {
2781
- throw 'Missing the required parameter "body" when calling postOutboundAudits';
2782
- }
2783
-
2784
- return this.apiClient.callApi(
2785
- '/api/v2/outbound/audits',
2786
- 'POST',
2787
- { },
2788
- { 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'facetsOnly': opts['facetsOnly'] },
2789
- { },
2790
- { },
2791
- body,
2792
- ['PureCloud OAuth'],
2793
- ['application/json'],
2794
- ['application/json']
2795
- );
2796
- }
2797
-
2798
2794
  /**
2799
2795
  * Create callable time set
2800
2796
  *
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ProcessAutomationApi {
5
5
  /**
6
6
  * ProcessAutomation service.
7
7
  * @module purecloud-platform-client-v2/api/ProcessAutomationApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class QualityApi {
5
5
  /**
6
6
  * Quality service.
7
7
  * @module purecloud-platform-client-v2/api/QualityApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1694,6 +1694,37 @@ class QualityApi {
1694
1694
  );
1695
1695
  }
1696
1696
 
1697
+ /**
1698
+ * Update the Predictive Scoring settings of an evaluation form.
1699
+ *
1700
+ * @param {String} formId Form ID
1701
+ * @param {Object} body Predictive Scoring Settings
1702
+ * putQualityFormsEvaluationPredictivescoringSettings is a preview method and is subject to both breaking and non-breaking changes at any time without notice
1703
+ */
1704
+ putQualityFormsEvaluationPredictivescoringSettings(formId, body) {
1705
+ // verify the required parameter 'formId' is set
1706
+ if (formId === undefined || formId === null) {
1707
+ throw 'Missing the required parameter "formId" when calling putQualityFormsEvaluationPredictivescoringSettings';
1708
+ }
1709
+ // verify the required parameter 'body' is set
1710
+ if (body === undefined || body === null) {
1711
+ throw 'Missing the required parameter "body" when calling putQualityFormsEvaluationPredictivescoringSettings';
1712
+ }
1713
+
1714
+ return this.apiClient.callApi(
1715
+ '/api/v2/quality/forms/evaluations/{formId}/predictivescoring/settings',
1716
+ 'PUT',
1717
+ { 'formId': formId },
1718
+ { },
1719
+ { },
1720
+ { },
1721
+ body,
1722
+ ['PureCloud OAuth'],
1723
+ ['application/json'],
1724
+ ['application/json']
1725
+ );
1726
+ }
1727
+
1697
1728
  /**
1698
1729
  * Update a survey form.
1699
1730
  *
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ResponseManagementApi {
5
5
  /**
6
6
  * ResponseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ResponseManagementApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class RoutingApi {
5
5
  /**
6
6
  * Routing service.
7
7
  * @module purecloud-platform-client-v2/api/RoutingApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -1916,6 +1916,7 @@ class RoutingApi {
1916
1916
  * @param {Object} opts.sortOrder Sort order
1917
1917
  * @param {String} opts.language A language tag (which is sometimes referred to as a locale identifier) to use to localize country field and sort operations (default to en-US)
1918
1918
  * @param {String} opts.integrationId Filter on the Genesys Cloud integration id to which the phone number belongs to
1919
+ * @param {String} opts.supportedContentId Filter based on the supported content ID
1919
1920
  */
1920
1921
  getRoutingSmsPhonenumbers(opts) {
1921
1922
  opts = opts || {};
@@ -1925,7 +1926,7 @@ class RoutingApi {
1925
1926
  '/api/v2/routing/sms/phonenumbers',
1926
1927
  'GET',
1927
1928
  { },
1928
- { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'] },
1929
+ { 'phoneNumber': opts['phoneNumber'],'phoneNumberType': this.apiClient.buildCollectionParam(opts['phoneNumberType'], 'multi'),'phoneNumberStatus': this.apiClient.buildCollectionParam(opts['phoneNumberStatus'], 'multi'),'countryCode': this.apiClient.buildCollectionParam(opts['countryCode'], 'multi'),'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'language': opts['language'],'integration.id': opts['integrationId'],'supportedContent.id': opts['supportedContentId'] },
1929
1930
  { },
1930
1931
  { },
1931
1932
  null,
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScreenRecordingApi {
5
5
  /**
6
6
  * ScreenRecording service.
7
7
  * @module purecloud-platform-client-v2/api/ScreenRecordingApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 196.0.0
8
+ * @version 198.0.0
9
9
  */
10
10
 
11
11
  /**