purecloud-platform-client-v2 226.0.0 → 228.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 (93) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +1911 -237
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1911 -237
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +596 -188
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +596 -188
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +1833 -774
  9. package/package.json +4 -4
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +32 -1
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +391 -26
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +4 -46
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +52 -4
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +61 -35
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +60 -1
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +27 -1
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +86 -1
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +30 -1
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +101 -1
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +53 -1
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -26
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +158 -1
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +105 -1
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +121 -1
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +27 -1
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +12 -12
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +6 -6
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +519 -6
  93. package/src/purecloud-platform-client-v2/index.js +1 -1
@@ -5,7 +5,7 @@ class FlowsApi {
5
5
  /**
6
6
  * Flows service.
7
7
  * @module purecloud-platform-client-v2/api/FlowsApi
8
- * @version 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,32 @@ class FlowsApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete/cancel an async request for flow aggregates
25
+ *
26
+ * @param {String} jobId jobId
27
+ * deleteAnalyticsFlowsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
+ */
29
+ deleteAnalyticsFlowsAggregatesJob(jobId) {
30
+ // verify the required parameter 'jobId' is set
31
+ if (jobId === undefined || jobId === null || jobId === '') {
32
+ throw 'Missing the required parameter "jobId" when calling deleteAnalyticsFlowsAggregatesJob';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/analytics/flows/aggregates/jobs/{jobId}',
37
+ 'DELETE',
38
+ { 'jobId': jobId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
23
49
  /**
24
50
  * Get status for async query for Flow aggregates
25
51
  *
@@ -5,7 +5,7 @@ class GamificationApi {
5
5
  /**
6
6
  * Gamification service.
7
7
  * @module purecloud-platform-client-v2/api/GamificationApi
8
- * @version 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,32 @@ class JourneyApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete/cancel an async request for journey aggregates
25
+ *
26
+ * @param {String} jobId jobId
27
+ * deleteAnalyticsJourneysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
+ */
29
+ deleteAnalyticsJourneysAggregatesJob(jobId) {
30
+ // verify the required parameter 'jobId' is set
31
+ if (jobId === undefined || jobId === null || jobId === '') {
32
+ throw 'Missing the required parameter "jobId" when calling deleteAnalyticsJourneysAggregatesJob';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/analytics/journeys/aggregates/jobs/{jobId}',
37
+ 'DELETE',
38
+ { 'jobId': jobId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
23
49
  /**
24
50
  * Delete single action map.
25
51
  *
@@ -255,6 +281,36 @@ class JourneyApi {
255
281
  );
256
282
  }
257
283
 
284
+ /**
285
+ * Retrieve segment assignments by external contact ID.
286
+ *
287
+ * @param {String} contactId ExternalContact ID
288
+ * @param {Object} opts Optional parameters
289
+ * @param {Boolean} opts.includeMerged Indicates whether to return segment assignments from all external contacts in the merge-set of the given one.
290
+ * @param {Number} opts.limit Number of entities to return. Default of 25, maximum of 500.
291
+ */
292
+ getExternalcontactsContactJourneySegments(contactId, opts) {
293
+ opts = opts || {};
294
+
295
+ // verify the required parameter 'contactId' is set
296
+ if (contactId === undefined || contactId === null || contactId === '') {
297
+ throw 'Missing the required parameter "contactId" when calling getExternalcontactsContactJourneySegments';
298
+ }
299
+
300
+ return this.apiClient.callApi(
301
+ '/api/v2/externalcontacts/contacts/{contactId}/journey/segments',
302
+ 'GET',
303
+ { 'contactId': contactId },
304
+ { 'includeMerged': opts['includeMerged'],'limit': opts['limit'] },
305
+ { },
306
+ { },
307
+ null,
308
+ ['PureCloud OAuth'],
309
+ ['application/json'],
310
+ ['application/json']
311
+ );
312
+ }
313
+
258
314
  /**
259
315
  * Retrieve all sessions for a given external contact.
260
316
  *
@@ -1498,6 +1554,35 @@ class JourneyApi {
1498
1554
  );
1499
1555
  }
1500
1556
 
1557
+ /**
1558
+ * Assign/Unassign up to 10 segments to/from an external contact or, if a segment is already assigned, update the expiry date of the segment assignment. Any unprocessed segment assignments are returned in the body for the client to retry, in the event of a partial success.
1559
+ *
1560
+ * @param {String} contactId ExternalContact ID
1561
+ * @param {Object} opts Optional parameters
1562
+ * @param {Object} opts.body
1563
+ */
1564
+ postExternalcontactsContactJourneySegments(contactId, opts) {
1565
+ opts = opts || {};
1566
+
1567
+ // verify the required parameter 'contactId' is set
1568
+ if (contactId === undefined || contactId === null || contactId === '') {
1569
+ throw 'Missing the required parameter "contactId" when calling postExternalcontactsContactJourneySegments';
1570
+ }
1571
+
1572
+ return this.apiClient.callApi(
1573
+ '/api/v2/externalcontacts/contacts/{contactId}/journey/segments',
1574
+ 'POST',
1575
+ { 'contactId': contactId },
1576
+ { },
1577
+ { },
1578
+ { },
1579
+ opts['body'],
1580
+ ['PureCloud OAuth'],
1581
+ ['application/json'],
1582
+ ['application/json']
1583
+ );
1584
+ }
1585
+
1501
1586
  /**
1502
1587
  * Create an action map.
1503
1588
  *
@@ -5,7 +5,7 @@ class KnowledgeApi {
5
5
  /**
6
6
  * Knowledge service.
7
7
  * @module purecloud-platform-client-v2/api/KnowledgeApi
8
- * @version 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -2748,6 +2748,35 @@ class KnowledgeApi {
2748
2748
  );
2749
2749
  }
2750
2750
 
2751
+ /**
2752
+ * Search for chunks in a knowledge base
2753
+ *
2754
+ * @param {String} knowledgeBaseId Knowledge Base ID
2755
+ * @param {Object} opts Optional parameters
2756
+ * @param {Object} opts.body
2757
+ */
2758
+ postKnowledgeKnowledgebaseChunksSearch(knowledgeBaseId, opts) {
2759
+ opts = opts || {};
2760
+
2761
+ // verify the required parameter 'knowledgeBaseId' is set
2762
+ if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
2763
+ throw 'Missing the required parameter "knowledgeBaseId" when calling postKnowledgeKnowledgebaseChunksSearch';
2764
+ }
2765
+
2766
+ return this.apiClient.callApi(
2767
+ '/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/chunks/search',
2768
+ 'POST',
2769
+ { 'knowledgeBaseId': knowledgeBaseId },
2770
+ { },
2771
+ { },
2772
+ { },
2773
+ opts['body'],
2774
+ ['PureCloud OAuth'],
2775
+ ['application/json'],
2776
+ ['application/json']
2777
+ );
2778
+ }
2779
+
2751
2780
  /**
2752
2781
  * Indicate that the document was copied by the user.
2753
2782
  *
@@ -5,7 +5,7 @@ class LanguageUnderstandingApi {
5
5
  /**
6
6
  * LanguageUnderstanding service.
7
7
  * @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
8
- * @version 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class LicenseApi {
5
5
  /**
6
6
  * License service.
7
7
  * @module purecloud-platform-client-v2/api/LicenseApi
8
- * @version 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -796,6 +796,31 @@ class OutboundApi {
796
796
  );
797
797
  }
798
798
 
799
+ /**
800
+ * Delete a WhatsApp campaign schedule.
801
+ *
802
+ * @param {String} whatsAppCampaignId WhatsApp Campaign ID
803
+ */
804
+ deleteOutboundSchedulesWhatsappcampaign(whatsAppCampaignId) {
805
+ // verify the required parameter 'whatsAppCampaignId' is set
806
+ if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
807
+ throw 'Missing the required parameter "whatsAppCampaignId" when calling deleteOutboundSchedulesWhatsappcampaign';
808
+ }
809
+
810
+ return this.apiClient.callApi(
811
+ '/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
812
+ 'DELETE',
813
+ { 'whatsAppCampaignId': whatsAppCampaignId },
814
+ { },
815
+ { },
816
+ { },
817
+ null,
818
+ ['PureCloud OAuth'],
819
+ ['application/json'],
820
+ ['application/json']
821
+ );
822
+ }
823
+
799
824
  /**
800
825
  * Delete a dialer campaign sequence.
801
826
  *
@@ -2644,6 +2669,51 @@ class OutboundApi {
2644
2669
  );
2645
2670
  }
2646
2671
 
2672
+ /**
2673
+ * Get a WhatsApp campaign schedule.
2674
+ *
2675
+ * @param {String} whatsAppCampaignId WhatsApp Campaign ID
2676
+ */
2677
+ getOutboundSchedulesWhatsappcampaign(whatsAppCampaignId) {
2678
+ // verify the required parameter 'whatsAppCampaignId' is set
2679
+ if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
2680
+ throw 'Missing the required parameter "whatsAppCampaignId" when calling getOutboundSchedulesWhatsappcampaign';
2681
+ }
2682
+
2683
+ return this.apiClient.callApi(
2684
+ '/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
2685
+ 'GET',
2686
+ { 'whatsAppCampaignId': whatsAppCampaignId },
2687
+ { },
2688
+ { },
2689
+ { },
2690
+ null,
2691
+ ['PureCloud OAuth'],
2692
+ ['application/json'],
2693
+ ['application/json']
2694
+ );
2695
+ }
2696
+
2697
+ /**
2698
+ * Query for a list of WhatsApp campaign schedules.
2699
+ *
2700
+ */
2701
+ getOutboundSchedulesWhatsappcampaigns() {
2702
+
2703
+ return this.apiClient.callApi(
2704
+ '/api/v2/outbound/schedules/whatsappcampaigns',
2705
+ 'GET',
2706
+ { },
2707
+ { },
2708
+ { },
2709
+ { },
2710
+ null,
2711
+ ['PureCloud OAuth'],
2712
+ ['application/json'],
2713
+ ['application/json']
2714
+ );
2715
+ }
2716
+
2647
2717
  /**
2648
2718
  * Get a dialer campaign sequence.
2649
2719
  *
@@ -4566,6 +4636,36 @@ class OutboundApi {
4566
4636
  );
4567
4637
  }
4568
4638
 
4639
+ /**
4640
+ * Update a WhatsApp campaign schedule.
4641
+ *
4642
+ * @param {String} whatsAppCampaignId WhatsApp Campaign ID
4643
+ * @param {Object} body WhatsAppCampaignSchedule
4644
+ */
4645
+ putOutboundSchedulesWhatsappcampaign(whatsAppCampaignId, body) {
4646
+ // verify the required parameter 'whatsAppCampaignId' is set
4647
+ if (whatsAppCampaignId === undefined || whatsAppCampaignId === null || whatsAppCampaignId === '') {
4648
+ throw 'Missing the required parameter "whatsAppCampaignId" when calling putOutboundSchedulesWhatsappcampaign';
4649
+ }
4650
+ // verify the required parameter 'body' is set
4651
+ if (body === undefined || body === null) {
4652
+ throw 'Missing the required parameter "body" when calling putOutboundSchedulesWhatsappcampaign';
4653
+ }
4654
+
4655
+ return this.apiClient.callApi(
4656
+ '/api/v2/outbound/schedules/whatsappcampaigns/{whatsAppCampaignId}',
4657
+ 'PUT',
4658
+ { 'whatsAppCampaignId': whatsAppCampaignId },
4659
+ { },
4660
+ { },
4661
+ { },
4662
+ body,
4663
+ ['PureCloud OAuth'],
4664
+ ['application/json'],
4665
+ ['application/json']
4666
+ );
4667
+ }
4668
+
4569
4669
  /**
4570
4670
  * Update a new campaign sequence.
4571
4671
  *
@@ -5,7 +5,7 @@ class PresenceApi {
5
5
  /**
6
6
  * Presence service.
7
7
  * @module purecloud-platform-client-v2/api/PresenceApi
8
- * @version 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -20,6 +20,58 @@ class QualityApi {
20
20
  }
21
21
 
22
22
 
23
+ /**
24
+ * Delete/cancel an async request for evaluation aggregates
25
+ *
26
+ * @param {String} jobId jobId
27
+ * deleteAnalyticsEvaluationsAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
28
+ */
29
+ deleteAnalyticsEvaluationsAggregatesJob(jobId) {
30
+ // verify the required parameter 'jobId' is set
31
+ if (jobId === undefined || jobId === null || jobId === '') {
32
+ throw 'Missing the required parameter "jobId" when calling deleteAnalyticsEvaluationsAggregatesJob';
33
+ }
34
+
35
+ return this.apiClient.callApi(
36
+ '/api/v2/analytics/evaluations/aggregates/jobs/{jobId}',
37
+ 'DELETE',
38
+ { 'jobId': jobId },
39
+ { },
40
+ { },
41
+ { },
42
+ null,
43
+ ['PureCloud OAuth'],
44
+ ['application/json'],
45
+ ['application/json']
46
+ );
47
+ }
48
+
49
+ /**
50
+ * Delete/cancel an async request for survey aggregates
51
+ *
52
+ * @param {String} jobId jobId
53
+ * deleteAnalyticsSurveysAggregatesJob is a preview method and is subject to both breaking and non-breaking changes at any time without notice
54
+ */
55
+ deleteAnalyticsSurveysAggregatesJob(jobId) {
56
+ // verify the required parameter 'jobId' is set
57
+ if (jobId === undefined || jobId === null || jobId === '') {
58
+ throw 'Missing the required parameter "jobId" when calling deleteAnalyticsSurveysAggregatesJob';
59
+ }
60
+
61
+ return this.apiClient.callApi(
62
+ '/api/v2/analytics/surveys/aggregates/jobs/{jobId}',
63
+ 'DELETE',
64
+ { 'jobId': jobId },
65
+ { },
66
+ { },
67
+ { },
68
+ null,
69
+ ['PureCloud OAuth'],
70
+ ['application/json'],
71
+ ['application/json']
72
+ );
73
+ }
74
+
23
75
  /**
24
76
  * Delete a calibration by id.
25
77
  *
@@ -5,7 +5,7 @@ class RecordingApi {
5
5
  /**
6
6
  * Recording service.
7
7
  * @module purecloud-platform-client-v2/api/RecordingApi
8
- * @version 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.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 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 226.0.0
8
+ * @version 228.0.0
9
9
  */
10
10
 
11
11
  /**