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.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +908 -340
- package/dist/web-amd/purecloud-platform-client-v2.js +908 -340
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +336 -177
- package/dist/web-cjs/purecloud-platform-client-v2.js +336 -177
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +632 -102
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +3 -2
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -2
- package/src/purecloud-platform-client-v2/api/AssistantCopilotVariationsApi.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/BackgroundAssistantApi.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/CaseManagementApi.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 +1 -1
- 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/IntentsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +122 -7
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +42 -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 +179 -156
- package/src/purecloud-platform-client-v2/api/SCIMApi.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 -47
- 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 +472 -39
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class KnowledgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Knowledge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 253.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1204,6 +1204,47 @@ class KnowledgeApi {
|
|
|
1204
1204
|
);
|
|
1205
1205
|
}
|
|
1206
1206
|
|
|
1207
|
+
/**
|
|
1208
|
+
* Get a list of feedback records given on documents in a knowledge base
|
|
1209
|
+
*
|
|
1210
|
+
* @param {String} knowledgeBaseId Knowledge base ID.
|
|
1211
|
+
* @param {Object} opts Optional parameters
|
|
1212
|
+
* @param {String} opts.before The cursor that points to the start of the set of entities that has been returned.
|
|
1213
|
+
* @param {String} opts.after The cursor that points to the end of the set of entities that has been returned.
|
|
1214
|
+
* @param {String} opts.pageSize Number of entities to return. Maximum of 200.
|
|
1215
|
+
* @param {Boolean} opts.onlyCommented If true, only feedback records that have comment are returned. If false, feedback records with and without comment are returned. Default: false.
|
|
1216
|
+
* @param {String} opts.documentVersionId Document version ID to filter by. Supported only if onlyCommented=true is set.
|
|
1217
|
+
* @param {String} opts.documentVariationId Document variation ID to filter by. Supported only if onlyCommented=true is set.
|
|
1218
|
+
* @param {Object} opts.appType Application type to filter by. Supported only if onlyCommented=true is set.
|
|
1219
|
+
* @param {Object} opts.queryType Query type to filter by. Supported only if onlyCommented=true is set.
|
|
1220
|
+
* @param {String} opts.userId The ID of the user, who created the feedback, to filter by. Supported only if onlyCommented=true is set.
|
|
1221
|
+
* @param {String} opts.queueId Queue ID to filter by. Supported only if onlyCommented=true is set.
|
|
1222
|
+
* @param {Object} opts.state State to filter by. Supported only if onlyCommented=true is set. Default: Final
|
|
1223
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1224
|
+
*/
|
|
1225
|
+
getKnowledgeKnowledgebaseDocumentsFeedback(knowledgeBaseId, opts) {
|
|
1226
|
+
opts = opts || {};
|
|
1227
|
+
|
|
1228
|
+
// verify the required parameter 'knowledgeBaseId' is set
|
|
1229
|
+
if (knowledgeBaseId === undefined || knowledgeBaseId === null || knowledgeBaseId === '') {
|
|
1230
|
+
throw 'Missing the required parameter "knowledgeBaseId" when calling getKnowledgeKnowledgebaseDocumentsFeedback';
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
return this.apiClient.callApi(
|
|
1234
|
+
'/api/v2/knowledge/knowledgebases/{knowledgeBaseId}/documents/feedback',
|
|
1235
|
+
'GET',
|
|
1236
|
+
{ 'knowledgeBaseId': knowledgeBaseId },
|
|
1237
|
+
{ 'before': opts['before'],'after': opts['after'],'pageSize': opts['pageSize'],'onlyCommented': opts['onlyCommented'],'documentVersionId': opts['documentVersionId'],'documentVariationId': opts['documentVariationId'],'appType': opts['appType'],'queryType': opts['queryType'],'userId': opts['userId'],'queueId': opts['queueId'],'state': opts['state'] },
|
|
1238
|
+
{ },
|
|
1239
|
+
{ },
|
|
1240
|
+
null,
|
|
1241
|
+
['PureCloud OAuth'],
|
|
1242
|
+
['application/json'],
|
|
1243
|
+
['application/json'],
|
|
1244
|
+
opts['customHeaders']
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1207
1248
|
/**
|
|
1208
1249
|
* Get export job report
|
|
1209
1250
|
*
|
|
@@ -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 253.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -453,6 +453,62 @@ class RoutingApi {
|
|
|
453
453
|
);
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
+
/**
|
|
457
|
+
* Archive a skill expression to remove it from the set of active expressions
|
|
458
|
+
*
|
|
459
|
+
* @param {String} expressionId Expression ID
|
|
460
|
+
* @param {Object} opts Optional parameters
|
|
461
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
462
|
+
*/
|
|
463
|
+
deleteRoutingSkillexpression(expressionId, opts) {
|
|
464
|
+
opts = opts || {};
|
|
465
|
+
|
|
466
|
+
// verify the required parameter 'expressionId' is set
|
|
467
|
+
if (expressionId === undefined || expressionId === null || expressionId === '') {
|
|
468
|
+
throw 'Missing the required parameter "expressionId" when calling deleteRoutingSkillexpression';
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
return this.apiClient.callApi(
|
|
472
|
+
'/api/v2/routing/skillexpressions/{expressionId}',
|
|
473
|
+
'DELETE',
|
|
474
|
+
{ 'expressionId': expressionId },
|
|
475
|
+
{ },
|
|
476
|
+
{ },
|
|
477
|
+
{ },
|
|
478
|
+
null,
|
|
479
|
+
['PureCloud OAuth'],
|
|
480
|
+
['application/json'],
|
|
481
|
+
['application/json'],
|
|
482
|
+
opts['customHeaders']
|
|
483
|
+
);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Archive a set of skill expressions to remove them from the set of active expressions
|
|
488
|
+
*
|
|
489
|
+
* @param {Object} opts Optional parameters
|
|
490
|
+
* @param {Array.<String>} opts.id Expression ID(s) to filter. Repeat for multiple or use comma-separated list.
|
|
491
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
492
|
+
*/
|
|
493
|
+
deleteRoutingSkillexpressions(opts) {
|
|
494
|
+
opts = opts || {};
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
return this.apiClient.callApi(
|
|
498
|
+
'/api/v2/routing/skillexpressions',
|
|
499
|
+
'DELETE',
|
|
500
|
+
{ },
|
|
501
|
+
{ 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
502
|
+
{ },
|
|
503
|
+
{ },
|
|
504
|
+
null,
|
|
505
|
+
['PureCloud OAuth'],
|
|
506
|
+
['application/json'],
|
|
507
|
+
['application/json'],
|
|
508
|
+
opts['customHeaders']
|
|
509
|
+
);
|
|
510
|
+
}
|
|
511
|
+
|
|
456
512
|
/**
|
|
457
513
|
* Remove skill group definition
|
|
458
514
|
*
|
|
@@ -659,38 +715,6 @@ class RoutingApi {
|
|
|
659
715
|
);
|
|
660
716
|
}
|
|
661
717
|
|
|
662
|
-
/**
|
|
663
|
-
* Delete an utilization tag
|
|
664
|
-
*
|
|
665
|
-
* @param {String} tagId Utilization Tag ID
|
|
666
|
-
* @param {Object} opts Optional parameters
|
|
667
|
-
* @param {Boolean} opts.forceDelete Remove all tag usages (if found) without warning (default to false)
|
|
668
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
669
|
-
* deleteRoutingUtilizationTag is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
670
|
-
*/
|
|
671
|
-
deleteRoutingUtilizationTag(tagId, opts) {
|
|
672
|
-
opts = opts || {};
|
|
673
|
-
|
|
674
|
-
// verify the required parameter 'tagId' is set
|
|
675
|
-
if (tagId === undefined || tagId === null || tagId === '') {
|
|
676
|
-
throw 'Missing the required parameter "tagId" when calling deleteRoutingUtilizationTag';
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
return this.apiClient.callApi(
|
|
680
|
-
'/api/v2/routing/utilization/tags/{tagId}',
|
|
681
|
-
'DELETE',
|
|
682
|
-
{ 'tagId': tagId },
|
|
683
|
-
{ 'forceDelete': opts['forceDelete'] },
|
|
684
|
-
{ },
|
|
685
|
-
{ },
|
|
686
|
-
null,
|
|
687
|
-
['PureCloud OAuth'],
|
|
688
|
-
['application/json'],
|
|
689
|
-
['application/json'],
|
|
690
|
-
opts['customHeaders']
|
|
691
|
-
);
|
|
692
|
-
}
|
|
693
|
-
|
|
694
718
|
/**
|
|
695
719
|
* Delete wrap-up code
|
|
696
720
|
*
|
|
@@ -2231,6 +2255,98 @@ class RoutingApi {
|
|
|
2231
2255
|
);
|
|
2232
2256
|
}
|
|
2233
2257
|
|
|
2258
|
+
/**
|
|
2259
|
+
* Get a skill expression by ID
|
|
2260
|
+
*
|
|
2261
|
+
* @param {String} expressionId Expression ID
|
|
2262
|
+
* @param {Object} opts Optional parameters
|
|
2263
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2264
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2265
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2266
|
+
*/
|
|
2267
|
+
getRoutingSkillexpression(expressionId, opts) {
|
|
2268
|
+
opts = opts || {};
|
|
2269
|
+
|
|
2270
|
+
// verify the required parameter 'expressionId' is set
|
|
2271
|
+
if (expressionId === undefined || expressionId === null || expressionId === '') {
|
|
2272
|
+
throw 'Missing the required parameter "expressionId" when calling getRoutingSkillexpression';
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
return this.apiClient.callApi(
|
|
2276
|
+
'/api/v2/routing/skillexpressions/{expressionId}',
|
|
2277
|
+
'GET',
|
|
2278
|
+
{ 'expressionId': expressionId },
|
|
2279
|
+
{ 'includeArchived': opts['includeArchived'],'format': opts['format'] },
|
|
2280
|
+
{ },
|
|
2281
|
+
{ },
|
|
2282
|
+
null,
|
|
2283
|
+
['PureCloud OAuth'],
|
|
2284
|
+
['application/json'],
|
|
2285
|
+
['application/json'],
|
|
2286
|
+
opts['customHeaders']
|
|
2287
|
+
);
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* Get skill expressions
|
|
2292
|
+
*
|
|
2293
|
+
* @param {Object} opts Optional parameters
|
|
2294
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2295
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2296
|
+
* @param {Array.<String>} opts.id Expression ID(s) to filter. Repeat for multiple or use comma-separated list.
|
|
2297
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2298
|
+
*/
|
|
2299
|
+
getRoutingSkillexpressions(opts) {
|
|
2300
|
+
opts = opts || {};
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
return this.apiClient.callApi(
|
|
2304
|
+
'/api/v2/routing/skillexpressions',
|
|
2305
|
+
'GET',
|
|
2306
|
+
{ },
|
|
2307
|
+
{ 'format': opts['format'],'includeArchived': opts['includeArchived'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
2308
|
+
{ },
|
|
2309
|
+
{ },
|
|
2310
|
+
null,
|
|
2311
|
+
['PureCloud OAuth'],
|
|
2312
|
+
['application/json'],
|
|
2313
|
+
['application/json'],
|
|
2314
|
+
opts['customHeaders']
|
|
2315
|
+
);
|
|
2316
|
+
}
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* Get skill expressions associated with a queue
|
|
2320
|
+
*
|
|
2321
|
+
* @param {String} queueId Queue ID
|
|
2322
|
+
* @param {Object} opts Optional parameters
|
|
2323
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2324
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2325
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2326
|
+
*/
|
|
2327
|
+
getRoutingSkillexpressionsQueueQueueId(queueId, opts) {
|
|
2328
|
+
opts = opts || {};
|
|
2329
|
+
|
|
2330
|
+
// verify the required parameter 'queueId' is set
|
|
2331
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2332
|
+
throw 'Missing the required parameter "queueId" when calling getRoutingSkillexpressionsQueueQueueId';
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
return this.apiClient.callApi(
|
|
2336
|
+
'/api/v2/routing/skillexpressions/queue/{queueId}',
|
|
2337
|
+
'GET',
|
|
2338
|
+
{ 'queueId': queueId },
|
|
2339
|
+
{ 'format': opts['format'],'includeArchived': opts['includeArchived'] },
|
|
2340
|
+
{ },
|
|
2341
|
+
{ },
|
|
2342
|
+
null,
|
|
2343
|
+
['PureCloud OAuth'],
|
|
2344
|
+
['application/json'],
|
|
2345
|
+
['application/json'],
|
|
2346
|
+
opts['customHeaders']
|
|
2347
|
+
);
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2234
2350
|
/**
|
|
2235
2351
|
* Get skill group
|
|
2236
2352
|
*
|
|
@@ -2753,98 +2869,6 @@ class RoutingApi {
|
|
|
2753
2869
|
);
|
|
2754
2870
|
}
|
|
2755
2871
|
|
|
2756
|
-
/**
|
|
2757
|
-
* Get details about this utilization tag
|
|
2758
|
-
*
|
|
2759
|
-
* @param {String} tagId Utilization Tag ID
|
|
2760
|
-
* @param {Object} opts Optional parameters
|
|
2761
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2762
|
-
* getRoutingUtilizationTag is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2763
|
-
*/
|
|
2764
|
-
getRoutingUtilizationTag(tagId, opts) {
|
|
2765
|
-
opts = opts || {};
|
|
2766
|
-
|
|
2767
|
-
// verify the required parameter 'tagId' is set
|
|
2768
|
-
if (tagId === undefined || tagId === null || tagId === '') {
|
|
2769
|
-
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTag';
|
|
2770
|
-
}
|
|
2771
|
-
|
|
2772
|
-
return this.apiClient.callApi(
|
|
2773
|
-
'/api/v2/routing/utilization/tags/{tagId}',
|
|
2774
|
-
'GET',
|
|
2775
|
-
{ 'tagId': tagId },
|
|
2776
|
-
{ },
|
|
2777
|
-
{ },
|
|
2778
|
-
{ },
|
|
2779
|
-
null,
|
|
2780
|
-
['PureCloud OAuth'],
|
|
2781
|
-
['application/json'],
|
|
2782
|
-
['application/json'],
|
|
2783
|
-
opts['customHeaders']
|
|
2784
|
-
);
|
|
2785
|
-
}
|
|
2786
|
-
|
|
2787
|
-
/**
|
|
2788
|
-
* Get list of agent ids associated with a utilization tag
|
|
2789
|
-
*
|
|
2790
|
-
* @param {String} tagId Utilization Tag ID
|
|
2791
|
-
* @param {Object} opts Optional parameters
|
|
2792
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2793
|
-
* getRoutingUtilizationTagAgents is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2794
|
-
*/
|
|
2795
|
-
getRoutingUtilizationTagAgents(tagId, opts) {
|
|
2796
|
-
opts = opts || {};
|
|
2797
|
-
|
|
2798
|
-
// verify the required parameter 'tagId' is set
|
|
2799
|
-
if (tagId === undefined || tagId === null || tagId === '') {
|
|
2800
|
-
throw 'Missing the required parameter "tagId" when calling getRoutingUtilizationTagAgents';
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
return this.apiClient.callApi(
|
|
2804
|
-
'/api/v2/routing/utilization/tags/{tagId}/agents',
|
|
2805
|
-
'GET',
|
|
2806
|
-
{ 'tagId': tagId },
|
|
2807
|
-
{ },
|
|
2808
|
-
{ },
|
|
2809
|
-
{ },
|
|
2810
|
-
null,
|
|
2811
|
-
['PureCloud OAuth'],
|
|
2812
|
-
['application/json'],
|
|
2813
|
-
['application/json'],
|
|
2814
|
-
opts['customHeaders']
|
|
2815
|
-
);
|
|
2816
|
-
}
|
|
2817
|
-
|
|
2818
|
-
/**
|
|
2819
|
-
* Get list of utilization tags
|
|
2820
|
-
*
|
|
2821
|
-
* @param {Object} opts Optional parameters
|
|
2822
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
2823
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
2824
|
-
* @param {Object} opts.sortOrder Sort order by name (default to ascending)
|
|
2825
|
-
* @param {String} opts.name Utilization tag's name (Wildcard is supported, e.g., 'tag1*')
|
|
2826
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2827
|
-
* getRoutingUtilizationTags is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
2828
|
-
*/
|
|
2829
|
-
getRoutingUtilizationTags(opts) {
|
|
2830
|
-
opts = opts || {};
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
return this.apiClient.callApi(
|
|
2834
|
-
'/api/v2/routing/utilization/tags',
|
|
2835
|
-
'GET',
|
|
2836
|
-
{ },
|
|
2837
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
2838
|
-
{ },
|
|
2839
|
-
{ },
|
|
2840
|
-
null,
|
|
2841
|
-
['PureCloud OAuth'],
|
|
2842
|
-
['application/json'],
|
|
2843
|
-
['application/json'],
|
|
2844
|
-
opts['customHeaders']
|
|
2845
|
-
);
|
|
2846
|
-
}
|
|
2847
|
-
|
|
2848
2872
|
/**
|
|
2849
2873
|
* Get details about this wrap-up code.
|
|
2850
2874
|
*
|
|
@@ -4428,6 +4452,36 @@ class RoutingApi {
|
|
|
4428
4452
|
);
|
|
4429
4453
|
}
|
|
4430
4454
|
|
|
4455
|
+
/**
|
|
4456
|
+
* Validate and normalize a skill expression
|
|
4457
|
+
*
|
|
4458
|
+
* @param {Object} body Skill expression data to validate
|
|
4459
|
+
* @param {Object} opts Optional parameters
|
|
4460
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4461
|
+
*/
|
|
4462
|
+
postRoutingSkillexpressionsValidate(body, opts) {
|
|
4463
|
+
opts = opts || {};
|
|
4464
|
+
|
|
4465
|
+
// verify the required parameter 'body' is set
|
|
4466
|
+
if (body === undefined || body === null) {
|
|
4467
|
+
throw 'Missing the required parameter "body" when calling postRoutingSkillexpressionsValidate';
|
|
4468
|
+
}
|
|
4469
|
+
|
|
4470
|
+
return this.apiClient.callApi(
|
|
4471
|
+
'/api/v2/routing/skillexpressions/validate',
|
|
4472
|
+
'POST',
|
|
4473
|
+
{ },
|
|
4474
|
+
{ },
|
|
4475
|
+
{ },
|
|
4476
|
+
{ },
|
|
4477
|
+
body,
|
|
4478
|
+
['PureCloud OAuth'],
|
|
4479
|
+
['application/json'],
|
|
4480
|
+
['application/json'],
|
|
4481
|
+
opts['customHeaders']
|
|
4482
|
+
);
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4431
4485
|
/**
|
|
4432
4486
|
* Add or remove member divisions for this skill group.
|
|
4433
4487
|
*
|
|
@@ -4670,37 +4724,6 @@ class RoutingApi {
|
|
|
4670
4724
|
);
|
|
4671
4725
|
}
|
|
4672
4726
|
|
|
4673
|
-
/**
|
|
4674
|
-
* Create an utilization tag
|
|
4675
|
-
*
|
|
4676
|
-
* @param {Object} body UtilizationTag
|
|
4677
|
-
* @param {Object} opts Optional parameters
|
|
4678
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4679
|
-
* postRoutingUtilizationTags is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
4680
|
-
*/
|
|
4681
|
-
postRoutingUtilizationTags(body, opts) {
|
|
4682
|
-
opts = opts || {};
|
|
4683
|
-
|
|
4684
|
-
// verify the required parameter 'body' is set
|
|
4685
|
-
if (body === undefined || body === null) {
|
|
4686
|
-
throw 'Missing the required parameter "body" when calling postRoutingUtilizationTags';
|
|
4687
|
-
}
|
|
4688
|
-
|
|
4689
|
-
return this.apiClient.callApi(
|
|
4690
|
-
'/api/v2/routing/utilization/tags',
|
|
4691
|
-
'POST',
|
|
4692
|
-
{ },
|
|
4693
|
-
{ },
|
|
4694
|
-
{ },
|
|
4695
|
-
{ },
|
|
4696
|
-
body,
|
|
4697
|
-
['PureCloud OAuth'],
|
|
4698
|
-
['application/json'],
|
|
4699
|
-
['application/json'],
|
|
4700
|
-
opts['customHeaders']
|
|
4701
|
-
);
|
|
4702
|
-
}
|
|
4703
|
-
|
|
4704
4727
|
/**
|
|
4705
4728
|
* Create a wrap-up code
|
|
4706
4729
|
*
|