purecloud-platform-client-v2 231.0.0 → 232.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.
- package/README.md +22 -3
- package/dist/node/purecloud-platform-client-v2.js +362 -102
- package/dist/web-amd/purecloud-platform-client-v2.js +362 -102
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +169 -103
- package/dist/web-cjs/purecloud-platform-client-v2.js +291 -170
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +753 -261
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +31 -6
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +25 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +173 -4
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +5 -2
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +7 -3
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +6 -4
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +7 -4
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +31 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class IntegrationsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Integrations service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -189,6 +189,9 @@ class IntegrationsApi {
|
|
|
189
189
|
* @param {Array.<String>} opts.expand variable name requested by expand list
|
|
190
190
|
* @param {String} opts.nextPage next page token
|
|
191
191
|
* @param {String} opts.previousPage Previous page token
|
|
192
|
+
* @param {Array.<String>} opts.ids Comma-separated list of integration IDs to filter by (max 100)
|
|
193
|
+
* @param {String} opts.integrationType Filter integrations by integration type ID
|
|
194
|
+
* @param {Object} opts.reportedState Filter integrations by reported state (case-insensitive)
|
|
192
195
|
*/
|
|
193
196
|
getIntegrations(opts) {
|
|
194
197
|
opts = opts || {};
|
|
@@ -198,7 +201,7 @@ class IntegrationsApi {
|
|
|
198
201
|
'/api/v2/integrations',
|
|
199
202
|
'GET',
|
|
200
203
|
{ },
|
|
201
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'] },
|
|
204
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'nextPage': opts['nextPage'],'previousPage': opts['previousPage'],'ids': this.apiClient.buildCollectionParam(opts['ids'], 'multi'),'integrationType': opts['integrationType'],'reportedState': opts['reportedState'] },
|
|
202
205
|
{ },
|
|
203
206
|
{ },
|
|
204
207
|
null,
|
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1003,8 +1003,12 @@ class LearningApi {
|
|
|
1003
1003
|
* This will update a learning module rule with the specified fields.
|
|
1004
1004
|
* @param {String} moduleId The ID of the learning module
|
|
1005
1005
|
* @param {Object} body The learning module rule to be updated
|
|
1006
|
+
* @param {Object} opts Optional parameters
|
|
1007
|
+
* @param {Boolean} opts.assign Whether to assign the module to users or not (default to true)
|
|
1006
1008
|
*/
|
|
1007
|
-
putLearningModuleRule(moduleId, body) {
|
|
1009
|
+
putLearningModuleRule(moduleId, body, opts) {
|
|
1010
|
+
opts = opts || {};
|
|
1011
|
+
|
|
1008
1012
|
// verify the required parameter 'moduleId' is set
|
|
1009
1013
|
if (moduleId === undefined || moduleId === null || moduleId === '') {
|
|
1010
1014
|
throw 'Missing the required parameter "moduleId" when calling putLearningModuleRule';
|
|
@@ -1018,7 +1022,7 @@ class LearningApi {
|
|
|
1018
1022
|
'/api/v2/learning/modules/{moduleId}/rule',
|
|
1019
1023
|
'PUT',
|
|
1020
1024
|
{ 'moduleId': moduleId },
|
|
1021
|
-
{
|
|
1025
|
+
{ 'assign': opts['assign'] },
|
|
1022
1026
|
{ },
|
|
1023
1027
|
{ },
|
|
1024
1028
|
body,
|
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -588,7 +588,7 @@ class QualityApi {
|
|
|
588
588
|
}
|
|
589
589
|
|
|
590
590
|
/**
|
|
591
|
-
* Get an evaluator activity
|
|
591
|
+
* Get an evaluator activity. To ensure optimal performance and prevent timeouts when processing large datasets, startTime and endTime fields are highly recommended for all requests.
|
|
592
592
|
*
|
|
593
593
|
* @param {Object} opts Optional parameters
|
|
594
594
|
* @param {Number} opts.pageSize The total page size requested (default to 25)
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1239,6 +1239,8 @@ class RoutingApi {
|
|
|
1239
1239
|
* @param {String} opts.limit Number of entities to return. Maximum of 200. Deprecated in favour of pageSize
|
|
1240
1240
|
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
1241
1241
|
* @param {Array.<String>} opts.queueId Comma-separated list of queue Ids to filter by.
|
|
1242
|
+
* @param {String} opts.kpiId Standard or custom KPI id used to filter predictors.
|
|
1243
|
+
* @param {Object} opts.state The state used to filter predictors.
|
|
1242
1244
|
*/
|
|
1243
1245
|
getRoutingPredictors(opts) {
|
|
1244
1246
|
opts = opts || {};
|
|
@@ -1248,7 +1250,7 @@ class RoutingApi {
|
|
|
1248
1250
|
'/api/v2/routing/predictors',
|
|
1249
1251
|
'GET',
|
|
1250
1252
|
{ },
|
|
1251
|
-
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi') },
|
|
1253
|
+
{ 'before': opts['before'],'after': opts['after'],'limit': opts['limit'],'pageSize': opts['pageSize'],'queueId': this.apiClient.buildCollectionParam(opts['queueId'], 'multi'),'kpiId': opts['kpiId'],'state': opts['state'] },
|
|
1252
1254
|
{ },
|
|
1253
1255
|
{ },
|
|
1254
1256
|
null,
|
|
@@ -1317,7 +1319,7 @@ class RoutingApi {
|
|
|
1317
1319
|
*
|
|
1318
1320
|
* @param {String} queueId Queue ID
|
|
1319
1321
|
* @param {Object} opts Optional parameters
|
|
1320
|
-
* @param {
|
|
1322
|
+
* @param {Array.<String>} opts.expand Which fields, if any, to expand.
|
|
1321
1323
|
*/
|
|
1322
1324
|
getRoutingQueueAssistant(queueId, opts) {
|
|
1323
1325
|
opts = opts || {};
|
|
@@ -1331,7 +1333,7 @@ class RoutingApi {
|
|
|
1331
1333
|
'/api/v2/routing/queues/{queueId}/assistant',
|
|
1332
1334
|
'GET',
|
|
1333
1335
|
{ 'queueId': queueId },
|
|
1334
|
-
{ 'expand': opts['expand'] },
|
|
1336
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
1335
1337
|
{ },
|
|
1336
1338
|
{ },
|
|
1337
1339
|
null,
|
|
@@ -5,7 +5,7 @@ class WebChatApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebChat service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 232.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -79,7 +79,8 @@ class WebChatApi {
|
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* Remove WebChat deployment settings
|
|
82
|
-
*
|
|
82
|
+
* This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
|
|
83
|
+
* @deprecated
|
|
83
84
|
*/
|
|
84
85
|
deleteWebchatSettings() {
|
|
85
86
|
|
|
@@ -330,7 +331,8 @@ class WebChatApi {
|
|
|
330
331
|
|
|
331
332
|
/**
|
|
332
333
|
* Get WebChat deployment settings
|
|
333
|
-
*
|
|
334
|
+
* This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
|
|
335
|
+
* @deprecated
|
|
334
336
|
*/
|
|
335
337
|
getWebchatSettings() {
|
|
336
338
|
|
|
@@ -536,8 +538,9 @@ class WebChatApi {
|
|
|
536
538
|
|
|
537
539
|
/**
|
|
538
540
|
* Update WebChat deployment settings
|
|
539
|
-
*
|
|
541
|
+
* This endpoint is deprecated. Please see the article https://community.genesys.com/discussion/deprecation-acd-chat-v20-and-resulting-impact-to-apiv2webchatsettings.
|
|
540
542
|
* @param {Object} body webChatSettings
|
|
543
|
+
* @deprecated
|
|
541
544
|
*/
|
|
542
545
|
putWebchatSettings(body) {
|
|
543
546
|
// verify the required parameter 'body' is set
|