purecloud-platform-client-v2 252.1.0 → 253.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 (97) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +908 -340
  3. package/dist/web-amd/purecloud-platform-client-v2.js +908 -340
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +336 -177
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +336 -177
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +632 -102
  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/AIStudioApi.js +6 -6
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
  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 +1 -1
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
  18. package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/BackgroundAssistantApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  45. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/IntentsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/JourneyApi.js +122 -7
  49. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +42 -1
  50. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  54. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  60. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/RoutingApi.js +179 -156
  71. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -47
  83. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  84. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  85. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  86. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  88. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  89. package/src/purecloud-platform-client-v2/api/UsersRulesApi.js +1 -1
  90. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  92. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  93. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  94. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  95. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  96. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +472 -39
  97. package/src/purecloud-platform-client-v2/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "purecloud-platform-client-v2",
3
- "version": "252.1.0",
3
+ "version": "253.0.0",
4
4
  "description": "A JavaScript library to interface with the PureCloud Platform API",
5
5
  "license": "MIT",
6
6
  "main": "dist/node/purecloud-platform-client-v2.js",
@@ -6,7 +6,7 @@ import { default as qs } from 'qs';
6
6
 
7
7
  /**
8
8
  * @module purecloud-platform-client-v2/ApiClient
9
- * @version 252.1.0
9
+ * @version 253.0.0
10
10
  */
11
11
  class ApiClient {
12
12
  /**
@@ -5,7 +5,7 @@ class AIStudioApi {
5
5
  /**
6
6
  * AIStudio service.
7
7
  * @module purecloud-platform-client-v2/api/AIStudioApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -114,12 +114,12 @@ class AIStudioApi {
114
114
  * Get all summary settings.
115
115
  *
116
116
  * @param {Object} opts Optional parameters
117
- * @param {String} opts.language Filter by matching language - case insensitive.
118
- * @param {String} opts.name Filter by partially matching name - case insensitive.
119
- * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
120
- * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
121
117
  * @param {Number} opts.pageNumber Page number. (default to 1)
122
118
  * @param {Number} opts.pageSize Page size. The maximum page size is 100. (default to 25)
119
+ * @param {String} opts.name Filter by partially matching name - case insensitive.
120
+ * @param {Object} opts.sortOrder Sort Order. Default value desc. (default to desc)
121
+ * @param {String} opts.language Filter by matching language - case insensitive.
122
+ * @param {Object} opts.sortBy Sort by. Default value dateModified. (default to dateModified)
123
123
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
124
124
  */
125
125
  getConversationsSummariesSettings(opts) {
@@ -130,7 +130,7 @@ class AIStudioApi {
130
130
  '/api/v2/conversations/summaries/settings',
131
131
  'GET',
132
132
  { },
133
- { 'language': opts['language'],'name': opts['name'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'] },
133
+ { 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'name': opts['name'],'sortOrder': opts['sortOrder'],'language': opts['language'],'sortBy': opts['sortBy'] },
134
134
  { },
135
135
  { },
136
136
  null,
@@ -5,7 +5,7 @@ class AgentAssistantsApi {
5
5
  /**
6
6
  * AgentAssistants service.
7
7
  * @module purecloud-platform-client-v2/api/AgentAssistantsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -361,6 +361,7 @@ class AgentAssistantsApi {
361
361
  * @param {String} opts.language The agent checklist language filter applied to the listing.
362
362
  * @param {Object} opts.sortOrder The sort order for the listing
363
363
  * @param {Object} opts.sortBy The field to sort by for the listing.
364
+ * @param {Array.<String>} opts.agentChecklistIds Agent checklist IDs (repeat param or comma-separated). Do not use with other optional filters.
364
365
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
365
366
  */
366
367
  getAssistantsAgentchecklists(opts) {
@@ -371,7 +372,7 @@ class AgentAssistantsApi {
371
372
  '/api/v2/assistants/agentchecklists',
372
373
  'GET',
373
374
  { },
374
- { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'namePrefix': opts['namePrefix'],'language': opts['language'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'] },
375
+ { 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'namePrefix': opts['namePrefix'],'language': opts['language'],'sortOrder': opts['sortOrder'],'sortBy': opts['sortBy'],'agentChecklistIds': this.apiClient.buildCollectionParam(opts['agentChecklistIds'], 'multi') },
375
376
  { },
376
377
  { },
377
378
  null,
@@ -5,7 +5,7 @@ class AgentCopilotApi {
5
5
  /**
6
6
  * AgentCopilot service.
7
7
  * @module purecloud-platform-client-v2/api/AgentCopilotApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AgentUIApi {
5
5
  /**
6
6
  * AgentUI service.
7
7
  * @module purecloud-platform-client-v2/api/AgentUIApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AlertingApi {
5
5
  /**
6
6
  * Alerting service.
7
7
  * @module purecloud-platform-client-v2/api/AlertingApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AnalyticsApi {
5
5
  /**
6
6
  * Analytics service.
7
7
  * @module purecloud-platform-client-v2/api/AnalyticsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ArchitectApi {
5
5
  /**
6
6
  * Architect service.
7
7
  * @module purecloud-platform-client-v2/api/ArchitectApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -4259,6 +4259,7 @@ class ArchitectApi {
4259
4259
  * Register Architect Job. Returns a URL where a file, such as an Architect flow YAML file, can be PUT which will then initiate the job.
4260
4260
  *
4261
4261
  * @param {Object} opts Optional parameters
4262
+ * @param {Object} opts.body
4262
4263
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
4263
4264
  */
4264
4265
  postFlowsJobs(opts) {
@@ -4272,7 +4273,7 @@ class ArchitectApi {
4272
4273
  { },
4273
4274
  { },
4274
4275
  { },
4275
- null,
4276
+ opts['body'],
4276
4277
  ['PureCloud OAuth'],
4277
4278
  ['application/json'],
4278
4279
  ['application/json'],
@@ -5,7 +5,7 @@ class AssistantCopilotVariationsApi {
5
5
  /**
6
6
  * AssistantCopilotVariations service.
7
7
  * @module purecloud-platform-client-v2/api/AssistantCopilotVariationsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuditApi {
5
5
  /**
6
6
  * Audit service.
7
7
  * @module purecloud-platform-client-v2/api/AuditApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class AuthorizationApi {
5
5
  /**
6
6
  * Authorization service.
7
7
  * @module purecloud-platform-client-v2/api/AuthorizationApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BackgroundAssistantApi {
5
5
  /**
6
6
  * BackgroundAssistant service.
7
7
  * @module purecloud-platform-client-v2/api/BackgroundAssistantApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BillingApi {
5
5
  /**
6
6
  * Billing service.
7
7
  * @module purecloud-platform-client-v2/api/BillingApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class BusinessRulesApi {
5
5
  /**
6
6
  * BusinessRules service.
7
7
  * @module purecloud-platform-client-v2/api/BusinessRulesApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CarrierServicesApi {
5
5
  /**
6
6
  * CarrierServices service.
7
7
  * @module purecloud-platform-client-v2/api/CarrierServicesApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CaseManagementApi {
5
5
  /**
6
6
  * CaseManagement service.
7
7
  * @module purecloud-platform-client-v2/api/CaseManagementApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ChatApi {
5
5
  /**
6
6
  * Chat service.
7
7
  * @module purecloud-platform-client-v2/api/ChatApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class CoachingApi {
5
5
  /**
6
6
  * Coaching service.
7
7
  * @module purecloud-platform-client-v2/api/CoachingApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ContentManagementApi {
5
5
  /**
6
6
  * ContentManagement service.
7
7
  * @module purecloud-platform-client-v2/api/ContentManagementApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ConversationsApi {
5
5
  /**
6
6
  * Conversations service.
7
7
  * @module purecloud-platform-client-v2/api/ConversationsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataExtensionsApi {
5
5
  /**
6
6
  * DataExtensions service.
7
7
  * @module purecloud-platform-client-v2/api/DataExtensionsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DataPrivacyApi {
5
5
  /**
6
6
  * DataPrivacy service.
7
7
  * @module purecloud-platform-client-v2/api/DataPrivacyApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class DownloadsApi {
5
5
  /**
6
6
  * Downloads service.
7
7
  * @module purecloud-platform-client-v2/api/DownloadsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmailsApi {
5
5
  /**
6
6
  * Emails service.
7
7
  * @module purecloud-platform-client-v2/api/EmailsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EmployeeEngagementApi {
5
5
  /**
6
6
  * EmployeeEngagement service.
7
7
  * @module purecloud-platform-client-v2/api/EmployeeEngagementApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class EventsApi {
5
5
  /**
6
6
  * Events service.
7
7
  * @module purecloud-platform-client-v2/api/EventsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ExternalContactsApi {
5
5
  /**
6
6
  * ExternalContacts service.
7
7
  * @module purecloud-platform-client-v2/api/ExternalContactsApi
8
- * @version 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class FaxApi {
5
5
  /**
6
6
  * Fax service.
7
7
  * @module purecloud-platform-client-v2/api/FaxApi
8
- * @version 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class IntentsApi {
5
5
  /**
6
6
  * Intents service.
7
7
  * @module purecloud-platform-client-v2/api/IntentsApi
8
- * @version 252.1.0
8
+ * @version 253.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 252.1.0
8
+ * @version 253.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -578,11 +578,12 @@ class JourneyApi {
578
578
  }
579
579
 
580
580
  /**
581
- * Retrieve a single action target.
582
- *
581
+ * Deprecated. Retrieve a single action target.
582
+ * ACD Chat v2.0 in Genesys Predictive Engagement is deprecated and being removed. See https://community.genesys.com/discussion/deprecation-acd-chat-v20-support-in-genesys-predictive-engagement
583
583
  * @param {String} actionTargetId ID of the action target.
584
584
  * @param {Object} opts Optional parameters
585
585
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
586
+ * @deprecated
586
587
  */
587
588
  getJourneyActiontarget(actionTargetId, opts) {
588
589
  opts = opts || {};
@@ -608,12 +609,13 @@ class JourneyApi {
608
609
  }
609
610
 
610
611
  /**
611
- * Retrieve all action targets.
612
- *
612
+ * Deprecated. Retrieve all action targets.
613
+ * ACD Chat v2.0 in Genesys Predictive Engagement is deprecated and being removed. See https://community.genesys.com/discussion/deprecation-acd-chat-v20-support-in-genesys-predictive-engagement
613
614
  * @param {Object} opts Optional parameters
614
615
  * @param {Number} opts.pageNumber Page number (default to 1)
615
616
  * @param {Number} opts.pageSize Page size (default to 25)
616
617
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
618
+ * @deprecated
617
619
  */
618
620
  getJourneyActiontargets(opts) {
619
621
  opts = opts || {};
@@ -1783,6 +1785,56 @@ class JourneyApi {
1783
1785
  );
1784
1786
  }
1785
1787
 
1788
+ /**
1789
+ * Get external events for journey views
1790
+ *
1791
+ * @param {Object} opts Optional parameters
1792
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1793
+ */
1794
+ getJourneyViewsEventdefinitionsExternal(opts) {
1795
+ opts = opts || {};
1796
+
1797
+
1798
+ return this.apiClient.callApi(
1799
+ '/api/v2/journey/views/eventdefinitions/external',
1800
+ 'GET',
1801
+ { },
1802
+ { },
1803
+ { },
1804
+ { },
1805
+ null,
1806
+ ['PureCloud OAuth'],
1807
+ ['application/json'],
1808
+ ['application/json'],
1809
+ opts['customHeaders']
1810
+ );
1811
+ }
1812
+
1813
+ /**
1814
+ * Get changes in external event definitions
1815
+ *
1816
+ * @param {Object} opts Optional parameters
1817
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1818
+ */
1819
+ getJourneyViewsEventdefinitionsExternalChanges(opts) {
1820
+ opts = opts || {};
1821
+
1822
+
1823
+ return this.apiClient.callApi(
1824
+ '/api/v2/journey/views/eventdefinitions/external/changes',
1825
+ 'GET',
1826
+ { },
1827
+ { },
1828
+ { },
1829
+ { },
1830
+ null,
1831
+ ['PureCloud OAuth'],
1832
+ ['application/json'],
1833
+ ['application/json'],
1834
+ opts['customHeaders']
1835
+ );
1836
+ }
1837
+
1786
1838
  /**
1787
1839
  * Get the jobs for an organization.
1788
1840
  *
@@ -1900,12 +1952,13 @@ class JourneyApi {
1900
1952
  }
1901
1953
 
1902
1954
  /**
1903
- * Update a single action target.
1904
- *
1955
+ * Deprecated. Update a single action target.
1956
+ * ACD Chat v2.0 in Genesys Predictive Engagement is deprecated and being removed. See https://community.genesys.com/discussion/deprecation-acd-chat-v20-support-in-genesys-predictive-engagement
1905
1957
  * @param {String} actionTargetId ID of the action target.
1906
1958
  * @param {Object} opts Optional parameters
1907
1959
  * @param {Object} opts.body
1908
1960
  * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
1961
+ * @deprecated
1909
1962
  */
1910
1963
  patchJourneyActiontarget(actionTargetId, opts) {
1911
1964
  opts = opts || {};
@@ -2864,6 +2917,68 @@ class JourneyApi {
2864
2917
  );
2865
2918
  }
2866
2919
 
2920
+ /**
2921
+ * Update external event for journey views
2922
+ *
2923
+ * @param {String} eventDefinitionId Event Definition ID
2924
+ * @param {Object} opts Optional parameters
2925
+ * @param {Object} opts.body
2926
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2927
+ */
2928
+ putJourneyViewsEventdefinition(eventDefinitionId, opts) {
2929
+ opts = opts || {};
2930
+
2931
+ // verify the required parameter 'eventDefinitionId' is set
2932
+ if (eventDefinitionId === undefined || eventDefinitionId === null || eventDefinitionId === '') {
2933
+ throw 'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinition';
2934
+ }
2935
+
2936
+ return this.apiClient.callApi(
2937
+ '/api/v2/journey/views/eventdefinitions/{eventDefinitionId}',
2938
+ 'PUT',
2939
+ { 'eventDefinitionId': eventDefinitionId },
2940
+ { },
2941
+ { },
2942
+ { },
2943
+ opts['body'],
2944
+ ['PureCloud OAuth'],
2945
+ ['application/json'],
2946
+ ['application/json'],
2947
+ opts['customHeaders']
2948
+ );
2949
+ }
2950
+
2951
+ /**
2952
+ * Activate external event for journey views
2953
+ *
2954
+ * @param {String} eventDefinitionId Event Definition ID
2955
+ * @param {Object} opts Optional parameters
2956
+ * @param {Object} opts.body
2957
+ * @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
2958
+ */
2959
+ putJourneyViewsEventdefinitionActivate(eventDefinitionId, opts) {
2960
+ opts = opts || {};
2961
+
2962
+ // verify the required parameter 'eventDefinitionId' is set
2963
+ if (eventDefinitionId === undefined || eventDefinitionId === null || eventDefinitionId === '') {
2964
+ throw 'Missing the required parameter "eventDefinitionId" when calling putJourneyViewsEventdefinitionActivate';
2965
+ }
2966
+
2967
+ return this.apiClient.callApi(
2968
+ '/api/v2/journey/views/eventdefinitions/{eventDefinitionId}/activate',
2969
+ 'PUT',
2970
+ { 'eventDefinitionId': eventDefinitionId },
2971
+ { },
2972
+ { },
2973
+ { },
2974
+ opts['body'],
2975
+ ['PureCloud OAuth'],
2976
+ ['application/json'],
2977
+ ['application/json'],
2978
+ opts['customHeaders']
2979
+ );
2980
+ }
2981
+
2867
2982
  }
2868
2983
 
2869
2984