purecloud-platform-client-v2 239.0.0 → 241.1.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +866 -115
- package/dist/web-amd/purecloud-platform-client-v2.js +866 -115
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +294 -118
- package/dist/web-cjs/purecloud-platform-client-v2.js +294 -118
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1281 -752
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +47 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +36 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +156 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -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 +135 -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 -14
- 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 +273 -13
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +5 -5
- 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 +1 -1
- 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 +1 -1
- 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 +134 -1
- 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 +3 -2
- 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/UsersRulesApi.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 +1 -1
- 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 +1 -1
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 241.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -195,6 +195,32 @@ class RoutingApi {
|
|
|
195
195
|
);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Delete a custom Key Performance Indicator.
|
|
200
|
+
*
|
|
201
|
+
* @param {String} kpiId Key Performance Indicator ID
|
|
202
|
+
* deleteRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
203
|
+
*/
|
|
204
|
+
deleteRoutingPredictorsKeyperformanceindicator(kpiId) {
|
|
205
|
+
// verify the required parameter 'kpiId' is set
|
|
206
|
+
if (kpiId === undefined || kpiId === null || kpiId === '') {
|
|
207
|
+
throw 'Missing the required parameter "kpiId" when calling deleteRoutingPredictorsKeyperformanceindicator';
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
return this.apiClient.callApi(
|
|
211
|
+
'/api/v2/routing/predictors/keyperformanceindicators/{kpiId}',
|
|
212
|
+
'DELETE',
|
|
213
|
+
{ 'kpiId': kpiId },
|
|
214
|
+
{ },
|
|
215
|
+
{ },
|
|
216
|
+
{ },
|
|
217
|
+
null,
|
|
218
|
+
['PureCloud OAuth'],
|
|
219
|
+
['application/json'],
|
|
220
|
+
['application/json']
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
198
224
|
/**
|
|
199
225
|
* Delete a queue
|
|
200
226
|
*
|
|
@@ -1335,6 +1361,36 @@ class RoutingApi {
|
|
|
1335
1361
|
);
|
|
1336
1362
|
}
|
|
1337
1363
|
|
|
1364
|
+
/**
|
|
1365
|
+
* Retrieve a single Key Performance Indicator.
|
|
1366
|
+
*
|
|
1367
|
+
* @param {String} kpiId Key Performance Indicator ID
|
|
1368
|
+
* @param {Object} opts Optional parameters
|
|
1369
|
+
* @param {Array.<String>} opts.expand Parameter to request additional data to return in KPI payload
|
|
1370
|
+
* getRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1371
|
+
*/
|
|
1372
|
+
getRoutingPredictorsKeyperformanceindicator(kpiId, opts) {
|
|
1373
|
+
opts = opts || {};
|
|
1374
|
+
|
|
1375
|
+
// verify the required parameter 'kpiId' is set
|
|
1376
|
+
if (kpiId === undefined || kpiId === null || kpiId === '') {
|
|
1377
|
+
throw 'Missing the required parameter "kpiId" when calling getRoutingPredictorsKeyperformanceindicator';
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
return this.apiClient.callApi(
|
|
1381
|
+
'/api/v2/routing/predictors/keyperformanceindicators/{kpiId}',
|
|
1382
|
+
'GET',
|
|
1383
|
+
{ 'kpiId': kpiId },
|
|
1384
|
+
{ 'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
1385
|
+
{ },
|
|
1386
|
+
{ },
|
|
1387
|
+
null,
|
|
1388
|
+
['PureCloud OAuth'],
|
|
1389
|
+
['application/json'],
|
|
1390
|
+
['application/json']
|
|
1391
|
+
);
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1338
1394
|
/**
|
|
1339
1395
|
* Get a list of Key Performance Indicators
|
|
1340
1396
|
*
|
|
@@ -1360,6 +1416,27 @@ class RoutingApi {
|
|
|
1360
1416
|
);
|
|
1361
1417
|
}
|
|
1362
1418
|
|
|
1419
|
+
/**
|
|
1420
|
+
* Get a list of Key Performance Indicators Types available.
|
|
1421
|
+
*
|
|
1422
|
+
* getRoutingPredictorsKeyperformanceindicatortypes is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1423
|
+
*/
|
|
1424
|
+
getRoutingPredictorsKeyperformanceindicatortypes() {
|
|
1425
|
+
|
|
1426
|
+
return this.apiClient.callApi(
|
|
1427
|
+
'/api/v2/routing/predictors/keyperformanceindicatortypes',
|
|
1428
|
+
'GET',
|
|
1429
|
+
{ },
|
|
1430
|
+
{ },
|
|
1431
|
+
{ },
|
|
1432
|
+
{ },
|
|
1433
|
+
null,
|
|
1434
|
+
['PureCloud OAuth'],
|
|
1435
|
+
['application/json'],
|
|
1436
|
+
['application/json']
|
|
1437
|
+
);
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1363
1440
|
/**
|
|
1364
1441
|
* Get details about this queue.
|
|
1365
1442
|
*
|
|
@@ -2770,6 +2847,36 @@ class RoutingApi {
|
|
|
2770
2847
|
);
|
|
2771
2848
|
}
|
|
2772
2849
|
|
|
2850
|
+
/**
|
|
2851
|
+
* Update a custom Key Performance Indicator.
|
|
2852
|
+
*
|
|
2853
|
+
* @param {String} kpiId Key Performance Indicator ID
|
|
2854
|
+
* @param {Object} opts Optional parameters
|
|
2855
|
+
* @param {Object} opts.body
|
|
2856
|
+
* patchRoutingPredictorsKeyperformanceindicator is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2857
|
+
*/
|
|
2858
|
+
patchRoutingPredictorsKeyperformanceindicator(kpiId, opts) {
|
|
2859
|
+
opts = opts || {};
|
|
2860
|
+
|
|
2861
|
+
// verify the required parameter 'kpiId' is set
|
|
2862
|
+
if (kpiId === undefined || kpiId === null || kpiId === '') {
|
|
2863
|
+
throw 'Missing the required parameter "kpiId" when calling patchRoutingPredictorsKeyperformanceindicator';
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
return this.apiClient.callApi(
|
|
2867
|
+
'/api/v2/routing/predictors/keyperformanceindicators/{kpiId}',
|
|
2868
|
+
'PATCH',
|
|
2869
|
+
{ 'kpiId': kpiId },
|
|
2870
|
+
{ },
|
|
2871
|
+
{ },
|
|
2872
|
+
{ },
|
|
2873
|
+
opts['body'],
|
|
2874
|
+
['PureCloud OAuth'],
|
|
2875
|
+
['application/json'],
|
|
2876
|
+
['application/json']
|
|
2877
|
+
);
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2773
2880
|
/**
|
|
2774
2881
|
* Update the ring number OR joined status for a queue member.
|
|
2775
2882
|
*
|
|
@@ -3542,6 +3649,32 @@ class RoutingApi {
|
|
|
3542
3649
|
);
|
|
3543
3650
|
}
|
|
3544
3651
|
|
|
3652
|
+
/**
|
|
3653
|
+
* Create a custom Key Performance Indicator.
|
|
3654
|
+
*
|
|
3655
|
+
* @param {Object} body request
|
|
3656
|
+
* postRoutingPredictorsKeyperformanceindicators is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3657
|
+
*/
|
|
3658
|
+
postRoutingPredictorsKeyperformanceindicators(body) {
|
|
3659
|
+
// verify the required parameter 'body' is set
|
|
3660
|
+
if (body === undefined || body === null) {
|
|
3661
|
+
throw 'Missing the required parameter "body" when calling postRoutingPredictorsKeyperformanceindicators';
|
|
3662
|
+
}
|
|
3663
|
+
|
|
3664
|
+
return this.apiClient.callApi(
|
|
3665
|
+
'/api/v2/routing/predictors/keyperformanceindicators',
|
|
3666
|
+
'POST',
|
|
3667
|
+
{ },
|
|
3668
|
+
{ },
|
|
3669
|
+
{ },
|
|
3670
|
+
{ },
|
|
3671
|
+
body,
|
|
3672
|
+
['PureCloud OAuth'],
|
|
3673
|
+
['application/json'],
|
|
3674
|
+
['application/json']
|
|
3675
|
+
);
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3545
3678
|
/**
|
|
3546
3679
|
* Bulk add or delete up to 100 queue members
|
|
3547
3680
|
*
|
|
@@ -5,7 +5,7 @@ class SocialMediaApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SocialMedia service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SocialMediaApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 241.1.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -907,6 +907,7 @@ class SocialMediaApi {
|
|
|
907
907
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
908
908
|
* @param {Array.<String>} opts.divisionIds One or more division IDs. If nothing is provided, the social topics associated withthe list of divisions that the user has access to will be returned.
|
|
909
909
|
* @param {Boolean} opts.includeDeleted Determines whether to include soft-deleted items in the result.
|
|
910
|
+
* @param {String} opts.name Search for topic by name that contains the given search string, search is case insensitive
|
|
910
911
|
*/
|
|
911
912
|
getSocialmediaTopics(opts) {
|
|
912
913
|
opts = opts || {};
|
|
@@ -916,7 +917,7 @@ class SocialMediaApi {
|
|
|
916
917
|
'/api/v2/socialmedia/topics',
|
|
917
918
|
'GET',
|
|
918
919
|
{ },
|
|
919
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi'),'includeDeleted': opts['includeDeleted'] },
|
|
920
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'divisionIds': this.apiClient.buildCollectionParam(opts['divisionIds'], 'multi'),'includeDeleted': opts['includeDeleted'],'name': opts['name'] },
|
|
920
921
|
{ },
|
|
921
922
|
{ },
|
|
922
923
|
null,
|