purecloud-platform-client-v2 252.0.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 +916 -345
- package/dist/web-amd/purecloud-platform-client-v2.js +916 -345
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +338 -179
- package/dist/web-cjs/purecloud-platform-client-v2.js +338 -179
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +632 -102
- package/package.json +5 -5
- package/src/purecloud-platform-client-v2/ApiClient.js +9 -6
- 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 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
|
*
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 253.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3197,52 +3197,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3197
3197
|
);
|
|
3198
3198
|
}
|
|
3199
3199
|
|
|
3200
|
-
/**
|
|
3201
|
-
* Post media endpoint statistics event.
|
|
3202
|
-
*
|
|
3203
|
-
* @param {String} conversationId Identifier of the conversation
|
|
3204
|
-
* @param {String} communicationId Identifier of the media session
|
|
3205
|
-
* @param {String} mediaResourceId Identifier of the media resource of the endpoint
|
|
3206
|
-
* @param {Object} body MediaStatisticsPostRequest
|
|
3207
|
-
* @param {Object} opts Optional parameters
|
|
3208
|
-
* @param {Object.<string, string>} opts.customHeaders Per-request HTTP headers
|
|
3209
|
-
* postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
3210
|
-
*/
|
|
3211
|
-
postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource(conversationId, communicationId, mediaResourceId, body, opts) {
|
|
3212
|
-
opts = opts || {};
|
|
3213
|
-
|
|
3214
|
-
// verify the required parameter 'conversationId' is set
|
|
3215
|
-
if (conversationId === undefined || conversationId === null || conversationId === '') {
|
|
3216
|
-
throw 'Missing the required parameter "conversationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3217
|
-
}
|
|
3218
|
-
// verify the required parameter 'communicationId' is set
|
|
3219
|
-
if (communicationId === undefined || communicationId === null || communicationId === '') {
|
|
3220
|
-
throw 'Missing the required parameter "communicationId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3221
|
-
}
|
|
3222
|
-
// verify the required parameter 'mediaResourceId' is set
|
|
3223
|
-
if (mediaResourceId === undefined || mediaResourceId === null || mediaResourceId === '') {
|
|
3224
|
-
throw 'Missing the required parameter "mediaResourceId" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3225
|
-
}
|
|
3226
|
-
// verify the required parameter 'body' is set
|
|
3227
|
-
if (body === undefined || body === null) {
|
|
3228
|
-
throw 'Missing the required parameter "body" when calling postTelephonyProvidersEdgesMediastatisticsConversationCommunicationMediaresource';
|
|
3229
|
-
}
|
|
3230
|
-
|
|
3231
|
-
return this.apiClient.callApi(
|
|
3232
|
-
'/api/v2/telephony/providers/edges/mediastatistics/conversations/{conversationId}/communications/{communicationId}/mediaresources/{mediaResourceId}',
|
|
3233
|
-
'POST',
|
|
3234
|
-
{ 'conversationId': conversationId,'communicationId': communicationId,'mediaResourceId': mediaResourceId },
|
|
3235
|
-
{ },
|
|
3236
|
-
{ },
|
|
3237
|
-
{ },
|
|
3238
|
-
body,
|
|
3239
|
-
['PureCloud OAuth'],
|
|
3240
|
-
['application/json'],
|
|
3241
|
-
['application/json'],
|
|
3242
|
-
opts['customHeaders']
|
|
3243
|
-
);
|
|
3244
|
-
}
|
|
3245
|
-
|
|
3246
3200
|
/**
|
|
3247
3201
|
* Reboot a Phone
|
|
3248
3202
|
*
|