purecloud-platform-client-v2 252.1.0 → 254.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 +1979 -556
- package/dist/web-amd/purecloud-platform-client-v2.js +1979 -556
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +686 -393
- package/dist/web-cjs/purecloud-platform-client-v2.js +686 -393
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +1094 -117
- 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 -62
- 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 +435 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CaseManagementApi.js +207 -125
- 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 +2 -6
- 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 -5
- 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 -11
- 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 -9
- 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 +333 -158
- 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 +268 -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 -5
- 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 +481 -43
- 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 254.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -170,6 +170,36 @@ class RoutingApi {
|
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
+
/**
|
|
174
|
+
* Delete an email setting. Removes the email setting and its associated settings
|
|
175
|
+
*
|
|
176
|
+
* @param {String} emailSettingId Email Setting ID
|
|
177
|
+
* @param {Object} opts Optional parameters
|
|
178
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
179
|
+
*/
|
|
180
|
+
deleteRoutingEmailSettingEmailSettingId(emailSettingId, opts) {
|
|
181
|
+
opts = opts || {};
|
|
182
|
+
|
|
183
|
+
// verify the required parameter 'emailSettingId' is set
|
|
184
|
+
if (emailSettingId === undefined || emailSettingId === null || emailSettingId === '') {
|
|
185
|
+
throw 'Missing the required parameter "emailSettingId" when calling deleteRoutingEmailSettingEmailSettingId';
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
return this.apiClient.callApi(
|
|
189
|
+
'/api/v2/routing/email/setting/{emailSettingId}',
|
|
190
|
+
'DELETE',
|
|
191
|
+
{ 'emailSettingId': emailSettingId },
|
|
192
|
+
{ },
|
|
193
|
+
{ },
|
|
194
|
+
{ },
|
|
195
|
+
null,
|
|
196
|
+
['PureCloud OAuth'],
|
|
197
|
+
['application/json'],
|
|
198
|
+
['application/json'],
|
|
199
|
+
opts['customHeaders']
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
173
203
|
/**
|
|
174
204
|
* Delete a routing language
|
|
175
205
|
*
|
|
@@ -453,6 +483,62 @@ class RoutingApi {
|
|
|
453
483
|
);
|
|
454
484
|
}
|
|
455
485
|
|
|
486
|
+
/**
|
|
487
|
+
* Archive a skill expression to remove it from the set of active expressions
|
|
488
|
+
*
|
|
489
|
+
* @param {String} expressionId Expression ID
|
|
490
|
+
* @param {Object} opts Optional parameters
|
|
491
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
492
|
+
*/
|
|
493
|
+
deleteRoutingSkillexpression(expressionId, opts) {
|
|
494
|
+
opts = opts || {};
|
|
495
|
+
|
|
496
|
+
// verify the required parameter 'expressionId' is set
|
|
497
|
+
if (expressionId === undefined || expressionId === null || expressionId === '') {
|
|
498
|
+
throw 'Missing the required parameter "expressionId" when calling deleteRoutingSkillexpression';
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
return this.apiClient.callApi(
|
|
502
|
+
'/api/v2/routing/skillexpressions/{expressionId}',
|
|
503
|
+
'DELETE',
|
|
504
|
+
{ 'expressionId': expressionId },
|
|
505
|
+
{ },
|
|
506
|
+
{ },
|
|
507
|
+
{ },
|
|
508
|
+
null,
|
|
509
|
+
['PureCloud OAuth'],
|
|
510
|
+
['application/json'],
|
|
511
|
+
['application/json'],
|
|
512
|
+
opts['customHeaders']
|
|
513
|
+
);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Archive a set of skill expressions to remove them from the set of active expressions
|
|
518
|
+
*
|
|
519
|
+
* @param {Object} opts Optional parameters
|
|
520
|
+
* @param {Array.<String>} opts.id Expression ID(s) to filter. Repeat for multiple or use comma-separated list.
|
|
521
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
522
|
+
*/
|
|
523
|
+
deleteRoutingSkillexpressions(opts) {
|
|
524
|
+
opts = opts || {};
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
return this.apiClient.callApi(
|
|
528
|
+
'/api/v2/routing/skillexpressions',
|
|
529
|
+
'DELETE',
|
|
530
|
+
{ },
|
|
531
|
+
{ 'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
532
|
+
{ },
|
|
533
|
+
{ },
|
|
534
|
+
null,
|
|
535
|
+
['PureCloud OAuth'],
|
|
536
|
+
['application/json'],
|
|
537
|
+
['application/json'],
|
|
538
|
+
opts['customHeaders']
|
|
539
|
+
);
|
|
540
|
+
}
|
|
541
|
+
|
|
456
542
|
/**
|
|
457
543
|
* Remove skill group definition
|
|
458
544
|
*
|
|
@@ -659,38 +745,6 @@ class RoutingApi {
|
|
|
659
745
|
);
|
|
660
746
|
}
|
|
661
747
|
|
|
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
748
|
/**
|
|
695
749
|
* Delete wrap-up code
|
|
696
750
|
*
|
|
@@ -1303,6 +1357,63 @@ class RoutingApi {
|
|
|
1303
1357
|
);
|
|
1304
1358
|
}
|
|
1305
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* Get a paged list of email routing settings.
|
|
1362
|
+
*
|
|
1363
|
+
* @param {Object} opts Optional parameters
|
|
1364
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1365
|
+
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1366
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1367
|
+
*/
|
|
1368
|
+
getRoutingEmailSetting(opts) {
|
|
1369
|
+
opts = opts || {};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
return this.apiClient.callApi(
|
|
1373
|
+
'/api/v2/routing/email/setting',
|
|
1374
|
+
'GET',
|
|
1375
|
+
{ },
|
|
1376
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'] },
|
|
1377
|
+
{ },
|
|
1378
|
+
{ },
|
|
1379
|
+
null,
|
|
1380
|
+
['PureCloud OAuth'],
|
|
1381
|
+
['application/json'],
|
|
1382
|
+
['application/json'],
|
|
1383
|
+
opts['customHeaders']
|
|
1384
|
+
);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Get email setting. Returns the specified email setting that defines settings for email
|
|
1389
|
+
*
|
|
1390
|
+
* @param {String} emailSettingId Email Setting ID
|
|
1391
|
+
* @param {Object} opts Optional parameters
|
|
1392
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
1393
|
+
*/
|
|
1394
|
+
getRoutingEmailSettingEmailSettingId(emailSettingId, opts) {
|
|
1395
|
+
opts = opts || {};
|
|
1396
|
+
|
|
1397
|
+
// verify the required parameter 'emailSettingId' is set
|
|
1398
|
+
if (emailSettingId === undefined || emailSettingId === null || emailSettingId === '') {
|
|
1399
|
+
throw 'Missing the required parameter "emailSettingId" when calling getRoutingEmailSettingEmailSettingId';
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
return this.apiClient.callApi(
|
|
1403
|
+
'/api/v2/routing/email/setting/{emailSettingId}',
|
|
1404
|
+
'GET',
|
|
1405
|
+
{ 'emailSettingId': emailSettingId },
|
|
1406
|
+
{ },
|
|
1407
|
+
{ },
|
|
1408
|
+
{ },
|
|
1409
|
+
null,
|
|
1410
|
+
['PureCloud OAuth'],
|
|
1411
|
+
['application/json'],
|
|
1412
|
+
['application/json'],
|
|
1413
|
+
opts['customHeaders']
|
|
1414
|
+
);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1306
1417
|
/**
|
|
1307
1418
|
* Get email setup
|
|
1308
1419
|
*
|
|
@@ -2047,7 +2158,7 @@ class RoutingApi {
|
|
|
2047
2158
|
* @param {Object} opts.sortOrder Sort order (default to asc)
|
|
2048
2159
|
* @param {String} opts.name Name
|
|
2049
2160
|
* @param {Array.<String>} opts.id Queue ID(s)
|
|
2050
|
-
* @param {Array.<String>} opts.divisionId Division ID(s)
|
|
2161
|
+
* @param {Array.<String>} opts.divisionId Division ID(s). Including '*' will query for all divisions
|
|
2051
2162
|
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2052
2163
|
*/
|
|
2053
2164
|
getRoutingQueuesDivisionviews(opts) {
|
|
@@ -2231,6 +2342,98 @@ class RoutingApi {
|
|
|
2231
2342
|
);
|
|
2232
2343
|
}
|
|
2233
2344
|
|
|
2345
|
+
/**
|
|
2346
|
+
* Get a skill expression by ID
|
|
2347
|
+
*
|
|
2348
|
+
* @param {String} expressionId Expression ID
|
|
2349
|
+
* @param {Object} opts Optional parameters
|
|
2350
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2351
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2352
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2353
|
+
*/
|
|
2354
|
+
getRoutingSkillexpression(expressionId, opts) {
|
|
2355
|
+
opts = opts || {};
|
|
2356
|
+
|
|
2357
|
+
// verify the required parameter 'expressionId' is set
|
|
2358
|
+
if (expressionId === undefined || expressionId === null || expressionId === '') {
|
|
2359
|
+
throw 'Missing the required parameter "expressionId" when calling getRoutingSkillexpression';
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
return this.apiClient.callApi(
|
|
2363
|
+
'/api/v2/routing/skillexpressions/{expressionId}',
|
|
2364
|
+
'GET',
|
|
2365
|
+
{ 'expressionId': expressionId },
|
|
2366
|
+
{ 'includeArchived': opts['includeArchived'],'format': opts['format'] },
|
|
2367
|
+
{ },
|
|
2368
|
+
{ },
|
|
2369
|
+
null,
|
|
2370
|
+
['PureCloud OAuth'],
|
|
2371
|
+
['application/json'],
|
|
2372
|
+
['application/json'],
|
|
2373
|
+
opts['customHeaders']
|
|
2374
|
+
);
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
/**
|
|
2378
|
+
* Get skill expressions
|
|
2379
|
+
*
|
|
2380
|
+
* @param {Object} opts Optional parameters
|
|
2381
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2382
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2383
|
+
* @param {Array.<String>} opts.id Expression ID(s) to filter. Repeat for multiple or use comma-separated list.
|
|
2384
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2385
|
+
*/
|
|
2386
|
+
getRoutingSkillexpressions(opts) {
|
|
2387
|
+
opts = opts || {};
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
return this.apiClient.callApi(
|
|
2391
|
+
'/api/v2/routing/skillexpressions',
|
|
2392
|
+
'GET',
|
|
2393
|
+
{ },
|
|
2394
|
+
{ 'format': opts['format'],'includeArchived': opts['includeArchived'],'id': this.apiClient.buildCollectionParam(opts['id'], 'multi') },
|
|
2395
|
+
{ },
|
|
2396
|
+
{ },
|
|
2397
|
+
null,
|
|
2398
|
+
['PureCloud OAuth'],
|
|
2399
|
+
['application/json'],
|
|
2400
|
+
['application/json'],
|
|
2401
|
+
opts['customHeaders']
|
|
2402
|
+
);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Get skill expressions associated with a queue
|
|
2407
|
+
*
|
|
2408
|
+
* @param {String} queueId Queue ID
|
|
2409
|
+
* @param {Object} opts Optional parameters
|
|
2410
|
+
* @param {Object} opts.format Response format: raw expression or normalized (default to Raw)
|
|
2411
|
+
* @param {Boolean} opts.includeArchived Include archived (default to false)
|
|
2412
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
2413
|
+
*/
|
|
2414
|
+
getRoutingSkillexpressionsQueueQueueId(queueId, opts) {
|
|
2415
|
+
opts = opts || {};
|
|
2416
|
+
|
|
2417
|
+
// verify the required parameter 'queueId' is set
|
|
2418
|
+
if (queueId === undefined || queueId === null || queueId === '') {
|
|
2419
|
+
throw 'Missing the required parameter "queueId" when calling getRoutingSkillexpressionsQueueQueueId';
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
return this.apiClient.callApi(
|
|
2423
|
+
'/api/v2/routing/skillexpressions/queue/{queueId}',
|
|
2424
|
+
'GET',
|
|
2425
|
+
{ 'queueId': queueId },
|
|
2426
|
+
{ 'format': opts['format'],'includeArchived': opts['includeArchived'] },
|
|
2427
|
+
{ },
|
|
2428
|
+
{ },
|
|
2429
|
+
null,
|
|
2430
|
+
['PureCloud OAuth'],
|
|
2431
|
+
['application/json'],
|
|
2432
|
+
['application/json'],
|
|
2433
|
+
opts['customHeaders']
|
|
2434
|
+
);
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2234
2437
|
/**
|
|
2235
2438
|
* Get skill group
|
|
2236
2439
|
*
|
|
@@ -2356,7 +2559,7 @@ class RoutingApi {
|
|
|
2356
2559
|
}
|
|
2357
2560
|
|
|
2358
2561
|
/**
|
|
2359
|
-
* Get the list of routing skills.
|
|
2562
|
+
* Get the list of routing skills. View permission enforcement only applies to skills assigned to a division.
|
|
2360
2563
|
*
|
|
2361
2564
|
* @param {Object} opts Optional parameters
|
|
2362
2565
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
@@ -2753,98 +2956,6 @@ class RoutingApi {
|
|
|
2753
2956
|
);
|
|
2754
2957
|
}
|
|
2755
2958
|
|
|
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
2959
|
/**
|
|
2849
2960
|
* Get details about this wrap-up code.
|
|
2850
2961
|
*
|
|
@@ -3241,6 +3352,41 @@ class RoutingApi {
|
|
|
3241
3352
|
);
|
|
3242
3353
|
}
|
|
3243
3354
|
|
|
3355
|
+
/**
|
|
3356
|
+
* Update an email setting. Modifies the settings for email setting
|
|
3357
|
+
*
|
|
3358
|
+
* @param {String} emailSettingId Email Setting ID
|
|
3359
|
+
* @param {Object} body EmailSetting
|
|
3360
|
+
* @param {Object} opts Optional parameters
|
|
3361
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3362
|
+
*/
|
|
3363
|
+
patchRoutingEmailSettingEmailSettingId(emailSettingId, body, opts) {
|
|
3364
|
+
opts = opts || {};
|
|
3365
|
+
|
|
3366
|
+
// verify the required parameter 'emailSettingId' is set
|
|
3367
|
+
if (emailSettingId === undefined || emailSettingId === null || emailSettingId === '') {
|
|
3368
|
+
throw 'Missing the required parameter "emailSettingId" when calling patchRoutingEmailSettingEmailSettingId';
|
|
3369
|
+
}
|
|
3370
|
+
// verify the required parameter 'body' is set
|
|
3371
|
+
if (body === undefined || body === null) {
|
|
3372
|
+
throw 'Missing the required parameter "body" when calling patchRoutingEmailSettingEmailSettingId';
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
return this.apiClient.callApi(
|
|
3376
|
+
'/api/v2/routing/email/setting/{emailSettingId}',
|
|
3377
|
+
'PATCH',
|
|
3378
|
+
{ 'emailSettingId': emailSettingId },
|
|
3379
|
+
{ },
|
|
3380
|
+
{ },
|
|
3381
|
+
{ },
|
|
3382
|
+
body,
|
|
3383
|
+
['PureCloud OAuth'],
|
|
3384
|
+
['application/json'],
|
|
3385
|
+
['application/json'],
|
|
3386
|
+
opts['customHeaders']
|
|
3387
|
+
);
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3244
3390
|
/**
|
|
3245
3391
|
* Update single predictor.
|
|
3246
3392
|
*
|
|
@@ -4203,6 +4349,36 @@ class RoutingApi {
|
|
|
4203
4349
|
);
|
|
4204
4350
|
}
|
|
4205
4351
|
|
|
4352
|
+
/**
|
|
4353
|
+
* Create a new email setting. Used to define various settings, that can then be associated with email domains
|
|
4354
|
+
*
|
|
4355
|
+
* @param {Object} body EmailSetting
|
|
4356
|
+
* @param {Object} opts Optional parameters
|
|
4357
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4358
|
+
*/
|
|
4359
|
+
postRoutingEmailSetting(body, opts) {
|
|
4360
|
+
opts = opts || {};
|
|
4361
|
+
|
|
4362
|
+
// verify the required parameter 'body' is set
|
|
4363
|
+
if (body === undefined || body === null) {
|
|
4364
|
+
throw 'Missing the required parameter "body" when calling postRoutingEmailSetting';
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
return this.apiClient.callApi(
|
|
4368
|
+
'/api/v2/routing/email/setting',
|
|
4369
|
+
'POST',
|
|
4370
|
+
{ },
|
|
4371
|
+
{ },
|
|
4372
|
+
{ },
|
|
4373
|
+
{ },
|
|
4374
|
+
body,
|
|
4375
|
+
['PureCloud OAuth'],
|
|
4376
|
+
['application/json'],
|
|
4377
|
+
['application/json'],
|
|
4378
|
+
opts['customHeaders']
|
|
4379
|
+
);
|
|
4380
|
+
}
|
|
4381
|
+
|
|
4206
4382
|
/**
|
|
4207
4383
|
* Create Language
|
|
4208
4384
|
*
|
|
@@ -4428,6 +4604,36 @@ class RoutingApi {
|
|
|
4428
4604
|
);
|
|
4429
4605
|
}
|
|
4430
4606
|
|
|
4607
|
+
/**
|
|
4608
|
+
* Validate and normalize a skill expression
|
|
4609
|
+
*
|
|
4610
|
+
* @param {Object} body Skill expression data to validate
|
|
4611
|
+
* @param {Object} opts Optional parameters
|
|
4612
|
+
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
4613
|
+
*/
|
|
4614
|
+
postRoutingSkillexpressionsValidate(body, opts) {
|
|
4615
|
+
opts = opts || {};
|
|
4616
|
+
|
|
4617
|
+
// verify the required parameter 'body' is set
|
|
4618
|
+
if (body === undefined || body === null) {
|
|
4619
|
+
throw 'Missing the required parameter "body" when calling postRoutingSkillexpressionsValidate';
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4622
|
+
return this.apiClient.callApi(
|
|
4623
|
+
'/api/v2/routing/skillexpressions/validate',
|
|
4624
|
+
'POST',
|
|
4625
|
+
{ },
|
|
4626
|
+
{ },
|
|
4627
|
+
{ },
|
|
4628
|
+
{ },
|
|
4629
|
+
body,
|
|
4630
|
+
['PureCloud OAuth'],
|
|
4631
|
+
['application/json'],
|
|
4632
|
+
['application/json'],
|
|
4633
|
+
opts['customHeaders']
|
|
4634
|
+
);
|
|
4635
|
+
}
|
|
4636
|
+
|
|
4431
4637
|
/**
|
|
4432
4638
|
* Add or remove member divisions for this skill group.
|
|
4433
4639
|
*
|
|
@@ -4670,37 +4876,6 @@ class RoutingApi {
|
|
|
4670
4876
|
);
|
|
4671
4877
|
}
|
|
4672
4878
|
|
|
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
4879
|
/**
|
|
4705
4880
|
* Create a wrap-up code
|
|
4706
4881
|
*
|