purecloud-platform-client-v2 196.0.0 → 197.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 +649 -116
  3. package/dist/web-amd/purecloud-platform-client-v2.js +649 -116
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +234 -98
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +235 -98
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +271 -92
  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 +129 -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 +8 -4
  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 +3 -2
  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 +31 -35
  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 +1 -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 +1 -1
  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 +1 -1
  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 +1 -1
  87. package/src/purecloud-platform-client-v2/index.js +13 -1
@@ -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 197.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 197.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 197.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 197.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 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -749,6 +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
+ * @param {Object} opts.eventType A comma separated list of journey event types to include in the results.
752
753
  * getJourneySessionEvents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
753
754
  */
754
755
  getJourneySessionEvents(sessionId, opts) {
@@ -763,7 +764,7 @@ class JourneyApi {
763
764
  '/api/v2/journey/sessions/{sessionId}/events',
764
765
  'GET',
765
766
  { 'sessionId': sessionId },
766
- { 'pageSize': opts['pageSize'],'after': opts['after'] },
767
+ { 'pageSize': opts['pageSize'],'after': opts['after'],'eventType': opts['eventType'] },
767
768
  { },
768
769
  { },
769
770
  null,
@@ -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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.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 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 197.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 197.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 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -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 197.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 197.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 197.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 197.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 197.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 197.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 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,31 @@ class SettingsApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete agent auto answer settings
25
+ *
26
+ * @param {String} agentId The agent to apply the auto answer settings to
27
+ */
28
+ deleteUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
29
+ // verify the required parameter 'agentId' is set
30
+ if (agentId === undefined || agentId === null) {
31
+ throw 'Missing the required parameter "agentId" when calling deleteUsersAgentuiAgentsAutoanswerAgentIdSettings';
32
+ }
33
+
34
+ return this.apiClient.callApi(
35
+ '/api/v2/users/agentui/agents/autoanswer/{agentId}/settings',
36
+ 'DELETE',
37
+ { 'agentId': agentId },
38
+ { },
39
+ { },
40
+ { },
41
+ null,
42
+ ['PureCloud OAuth'],
43
+ ['application/json'],
44
+ ['application/json']
45
+ );
46
+ }
47
+
23
48
  /**
24
49
  * Get email Contact Center settings
25
50
  *
@@ -61,6 +86,31 @@ class SettingsApi {
61
86
  );
62
87
  }
63
88
 
89
+ /**
90
+ * Get agent auto answer settings
91
+ *
92
+ * @param {String} agentId The agent to apply the auto answer settings to
93
+ */
94
+ getUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId) {
95
+ // verify the required parameter 'agentId' is set
96
+ if (agentId === undefined || agentId === null) {
97
+ throw 'Missing the required parameter "agentId" when calling getUsersAgentuiAgentsAutoanswerAgentIdSettings';
98
+ }
99
+
100
+ return this.apiClient.callApi(
101
+ '/api/v2/users/agentui/agents/autoanswer/{agentId}/settings',
102
+ 'GET',
103
+ { 'agentId': agentId },
104
+ { },
105
+ { },
106
+ { },
107
+ null,
108
+ ['PureCloud OAuth'],
109
+ ['application/json'],
110
+ ['application/json']
111
+ );
112
+ }
113
+
64
114
  /**
65
115
  * Patch email Contact Center settings
66
116
  *
@@ -111,6 +161,66 @@ class SettingsApi {
111
161
  );
112
162
  }
113
163
 
164
+ /**
165
+ * Update agent auto answer settings
166
+ *
167
+ * @param {String} agentId The agent to apply the auto answer settings to
168
+ * @param {Object} body AutoAnswerSettings
169
+ */
170
+ patchUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
171
+ // verify the required parameter 'agentId' is set
172
+ if (agentId === undefined || agentId === null) {
173
+ throw 'Missing the required parameter "agentId" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';
174
+ }
175
+ // verify the required parameter 'body' is set
176
+ if (body === undefined || body === null) {
177
+ throw 'Missing the required parameter "body" when calling patchUsersAgentuiAgentsAutoanswerAgentIdSettings';
178
+ }
179
+
180
+ return this.apiClient.callApi(
181
+ '/api/v2/users/agentui/agents/autoanswer/{agentId}/settings',
182
+ 'PATCH',
183
+ { 'agentId': agentId },
184
+ { },
185
+ { },
186
+ { },
187
+ body,
188
+ ['PureCloud OAuth'],
189
+ ['application/json'],
190
+ ['application/json']
191
+ );
192
+ }
193
+
194
+ /**
195
+ * Set agent auto answer settings
196
+ *
197
+ * @param {String} agentId The agent to apply the auto answer settings to
198
+ * @param {Object} body AutoAnswerSettings
199
+ */
200
+ putUsersAgentuiAgentsAutoanswerAgentIdSettings(agentId, body) {
201
+ // verify the required parameter 'agentId' is set
202
+ if (agentId === undefined || agentId === null) {
203
+ throw 'Missing the required parameter "agentId" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';
204
+ }
205
+ // verify the required parameter 'body' is set
206
+ if (body === undefined || body === null) {
207
+ throw 'Missing the required parameter "body" when calling putUsersAgentuiAgentsAutoanswerAgentIdSettings';
208
+ }
209
+
210
+ return this.apiClient.callApi(
211
+ '/api/v2/users/agentui/agents/autoanswer/{agentId}/settings',
212
+ 'PUT',
213
+ { 'agentId': agentId },
214
+ { },
215
+ { },
216
+ { },
217
+ body,
218
+ ['PureCloud OAuth'],
219
+ ['application/json'],
220
+ ['application/json']
221
+ );
222
+ }
223
+
114
224
  }
115
225
 
116
226
 
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 196.0.0
8
+ * @version 197.0.0
9
9
  */
10
10
 
11
11
  /**