purecloud-platform-client-v2 151.0.0 → 152.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 +2 -2
- package/dist/node/purecloud-platform-client-v2.js +336 -145
- package/dist/web-amd/purecloud-platform-client-v2.js +336 -145
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +336 -145
- package/dist/web-cjs/purecloud-platform-client-v2.js +336 -145
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +367 -209
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +28 -2
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +5 -4
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +14 -8
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.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 -65
- 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/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -3
- 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/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/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 +223 -1
- 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/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/TeamsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +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
|
@@ -9307,7 +9307,7 @@ class Configuration {
|
|
|
9307
9307
|
|
|
9308
9308
|
/**
|
|
9309
9309
|
* @module purecloud-platform-client-v2/ApiClient
|
|
9310
|
-
* @version
|
|
9310
|
+
* @version 152.0.0
|
|
9311
9311
|
*/
|
|
9312
9312
|
class ApiClient {
|
|
9313
9313
|
/**
|
|
@@ -10379,7 +10379,7 @@ class AlertingApi {
|
|
|
10379
10379
|
/**
|
|
10380
10380
|
* Alerting service.
|
|
10381
10381
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
10382
|
-
* @version
|
|
10382
|
+
* @version 152.0.0
|
|
10383
10383
|
*/
|
|
10384
10384
|
|
|
10385
10385
|
/**
|
|
@@ -10693,7 +10693,7 @@ class AnalyticsApi {
|
|
|
10693
10693
|
/**
|
|
10694
10694
|
* Analytics service.
|
|
10695
10695
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
10696
|
-
* @version
|
|
10696
|
+
* @version 152.0.0
|
|
10697
10697
|
*/
|
|
10698
10698
|
|
|
10699
10699
|
/**
|
|
@@ -10792,6 +10792,7 @@ class AnalyticsApi {
|
|
|
10792
10792
|
* @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
|
|
10793
10793
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
10794
10794
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
10795
|
+
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
10795
10796
|
*/
|
|
10796
10797
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
10797
10798
|
opts = opts || {};
|
|
@@ -10805,7 +10806,7 @@ class AnalyticsApi {
|
|
|
10805
10806
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
10806
10807
|
'GET',
|
|
10807
10808
|
{ 'botFlowId': botFlowId },
|
|
10808
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'] },
|
|
10809
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
10809
10810
|
{ },
|
|
10810
10811
|
{ },
|
|
10811
10812
|
null,
|
|
@@ -11354,6 +11355,31 @@ class AnalyticsApi {
|
|
|
11354
11355
|
);
|
|
11355
11356
|
}
|
|
11356
11357
|
|
|
11358
|
+
/**
|
|
11359
|
+
* Query for action aggregates
|
|
11360
|
+
*
|
|
11361
|
+
* @param {Object} body query
|
|
11362
|
+
*/
|
|
11363
|
+
postAnalyticsActionsAggregatesQuery(body) {
|
|
11364
|
+
// verify the required parameter 'body' is set
|
|
11365
|
+
if (body === undefined || body === null) {
|
|
11366
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';
|
|
11367
|
+
}
|
|
11368
|
+
|
|
11369
|
+
return this.apiClient.callApi(
|
|
11370
|
+
'/api/v2/analytics/actions/aggregates/query',
|
|
11371
|
+
'POST',
|
|
11372
|
+
{ },
|
|
11373
|
+
{ },
|
|
11374
|
+
{ },
|
|
11375
|
+
{ },
|
|
11376
|
+
body,
|
|
11377
|
+
['PureCloud OAuth'],
|
|
11378
|
+
['application/json'],
|
|
11379
|
+
['application/json']
|
|
11380
|
+
);
|
|
11381
|
+
}
|
|
11382
|
+
|
|
11357
11383
|
/**
|
|
11358
11384
|
* Query for bot aggregates
|
|
11359
11385
|
*
|
|
@@ -11920,7 +11946,7 @@ class ArchitectApi {
|
|
|
11920
11946
|
/**
|
|
11921
11947
|
* Architect service.
|
|
11922
11948
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
11923
|
-
* @version
|
|
11949
|
+
* @version 152.0.0
|
|
11924
11950
|
*/
|
|
11925
11951
|
|
|
11926
11952
|
/**
|
|
@@ -13513,6 +13539,7 @@ class ArchitectApi {
|
|
|
13513
13539
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13514
13540
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
13515
13541
|
* @param {Boolean} opts.showbrief If true returns just the key value of the row (default to true)
|
|
13542
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
13516
13543
|
*/
|
|
13517
13544
|
getFlowsDatatableRows(datatableId, opts) {
|
|
13518
13545
|
opts = opts || {};
|
|
@@ -13526,7 +13553,7 @@ class ArchitectApi {
|
|
|
13526
13553
|
'/api/v2/flows/datatables/{datatableId}/rows',
|
|
13527
13554
|
'GET',
|
|
13528
13555
|
{ 'datatableId': datatableId },
|
|
13529
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
|
|
13556
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'],'sortOrder': opts['sortOrder'] },
|
|
13530
13557
|
{ },
|
|
13531
13558
|
{ },
|
|
13532
13559
|
null,
|
|
@@ -13546,7 +13573,7 @@ class ArchitectApi {
|
|
|
13546
13573
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
13547
13574
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
13548
13575
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
13549
|
-
* @param {String} opts.name Name
|
|
13576
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
13550
13577
|
*/
|
|
13551
13578
|
getFlowsDatatables(opts) {
|
|
13552
13579
|
opts = opts || {};
|
|
@@ -13605,7 +13632,7 @@ class ArchitectApi {
|
|
|
13605
13632
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
13606
13633
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
13607
13634
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
13608
|
-
* @param {String} opts.name Name
|
|
13635
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
13609
13636
|
*/
|
|
13610
13637
|
getFlowsDatatablesDivisionviews(opts) {
|
|
13611
13638
|
opts = opts || {};
|
|
@@ -14966,7 +14993,7 @@ class AuditApi {
|
|
|
14966
14993
|
/**
|
|
14967
14994
|
* Audit service.
|
|
14968
14995
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
14969
|
-
* @version
|
|
14996
|
+
* @version 152.0.0
|
|
14970
14997
|
*/
|
|
14971
14998
|
|
|
14972
14999
|
/**
|
|
@@ -15137,7 +15164,7 @@ class AuthorizationApi {
|
|
|
15137
15164
|
/**
|
|
15138
15165
|
* Authorization service.
|
|
15139
15166
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
15140
|
-
* @version
|
|
15167
|
+
* @version 152.0.0
|
|
15141
15168
|
*/
|
|
15142
15169
|
|
|
15143
15170
|
/**
|
|
@@ -16320,7 +16347,7 @@ class BillingApi {
|
|
|
16320
16347
|
/**
|
|
16321
16348
|
* Billing service.
|
|
16322
16349
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
16323
|
-
* @version
|
|
16350
|
+
* @version 152.0.0
|
|
16324
16351
|
*/
|
|
16325
16352
|
|
|
16326
16353
|
/**
|
|
@@ -16400,7 +16427,7 @@ class ChatApi {
|
|
|
16400
16427
|
/**
|
|
16401
16428
|
* Chat service.
|
|
16402
16429
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
16403
|
-
* @version
|
|
16430
|
+
* @version 152.0.0
|
|
16404
16431
|
*/
|
|
16405
16432
|
|
|
16406
16433
|
/**
|
|
@@ -16491,7 +16518,7 @@ class CoachingApi {
|
|
|
16491
16518
|
/**
|
|
16492
16519
|
* Coaching service.
|
|
16493
16520
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
16494
|
-
* @version
|
|
16521
|
+
* @version 152.0.0
|
|
16495
16522
|
*/
|
|
16496
16523
|
|
|
16497
16524
|
/**
|
|
@@ -17068,7 +17095,7 @@ class ContentManagementApi {
|
|
|
17068
17095
|
/**
|
|
17069
17096
|
* ContentManagement service.
|
|
17070
17097
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
17071
|
-
* @version
|
|
17098
|
+
* @version 152.0.0
|
|
17072
17099
|
*/
|
|
17073
17100
|
|
|
17074
17101
|
/**
|
|
@@ -18208,7 +18235,7 @@ class ConversationsApi {
|
|
|
18208
18235
|
/**
|
|
18209
18236
|
* Conversations service.
|
|
18210
18237
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
18211
|
-
* @version
|
|
18238
|
+
* @version 152.0.0
|
|
18212
18239
|
*/
|
|
18213
18240
|
|
|
18214
18241
|
/**
|
|
@@ -19887,8 +19914,9 @@ class ConversationsApi {
|
|
|
19887
19914
|
* @param {Object} opts Optional parameters
|
|
19888
19915
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
19889
19916
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19890
|
-
* @param {
|
|
19917
|
+
* @param {Array.<String>} opts.expand Expand instructions for the return value.
|
|
19891
19918
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
19919
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
19892
19920
|
*/
|
|
19893
19921
|
getConversationsMessagingIntegrations(opts) {
|
|
19894
19922
|
opts = opts || {};
|
|
@@ -19898,7 +19926,7 @@ class ConversationsApi {
|
|
|
19898
19926
|
'/api/v2/conversations/messaging/integrations',
|
|
19899
19927
|
'GET',
|
|
19900
19928
|
{ },
|
|
19901
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
19929
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
19902
19930
|
{ },
|
|
19903
19931
|
{ },
|
|
19904
19932
|
null,
|
|
@@ -19916,6 +19944,7 @@ class ConversationsApi {
|
|
|
19916
19944
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19917
19945
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
19918
19946
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
19947
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
19919
19948
|
*/
|
|
19920
19949
|
getConversationsMessagingIntegrationsFacebook(opts) {
|
|
19921
19950
|
opts = opts || {};
|
|
@@ -19925,7 +19954,7 @@ class ConversationsApi {
|
|
|
19925
19954
|
'/api/v2/conversations/messaging/integrations/facebook',
|
|
19926
19955
|
'GET',
|
|
19927
19956
|
{ },
|
|
19928
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
19957
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
19929
19958
|
{ },
|
|
19930
19959
|
{ },
|
|
19931
19960
|
null,
|
|
@@ -19972,6 +20001,7 @@ class ConversationsApi {
|
|
|
19972
20001
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
19973
20002
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
19974
20003
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
20004
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
19975
20005
|
*/
|
|
19976
20006
|
getConversationsMessagingIntegrationsLine(opts) {
|
|
19977
20007
|
opts = opts || {};
|
|
@@ -19981,7 +20011,7 @@ class ConversationsApi {
|
|
|
19981
20011
|
'/api/v2/conversations/messaging/integrations/line',
|
|
19982
20012
|
'GET',
|
|
19983
20013
|
{ },
|
|
19984
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
20014
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
19985
20015
|
{ },
|
|
19986
20016
|
{ },
|
|
19987
20017
|
null,
|
|
@@ -20028,6 +20058,7 @@ class ConversationsApi {
|
|
|
20028
20058
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20029
20059
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
20030
20060
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
20061
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
20031
20062
|
*/
|
|
20032
20063
|
getConversationsMessagingIntegrationsOpen(opts) {
|
|
20033
20064
|
opts = opts || {};
|
|
@@ -20037,7 +20068,7 @@ class ConversationsApi {
|
|
|
20037
20068
|
'/api/v2/conversations/messaging/integrations/open',
|
|
20038
20069
|
'GET',
|
|
20039
20070
|
{ },
|
|
20040
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
20071
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
20041
20072
|
{ },
|
|
20042
20073
|
{ },
|
|
20043
20074
|
null,
|
|
@@ -20084,6 +20115,7 @@ class ConversationsApi {
|
|
|
20084
20115
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20085
20116
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
20086
20117
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
20118
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
20087
20119
|
*/
|
|
20088
20120
|
getConversationsMessagingIntegrationsTwitter(opts) {
|
|
20089
20121
|
opts = opts || {};
|
|
@@ -20093,7 +20125,7 @@ class ConversationsApi {
|
|
|
20093
20125
|
'/api/v2/conversations/messaging/integrations/twitter',
|
|
20094
20126
|
'GET',
|
|
20095
20127
|
{ },
|
|
20096
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
20128
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
20097
20129
|
{ },
|
|
20098
20130
|
{ },
|
|
20099
20131
|
null,
|
|
@@ -20140,6 +20172,7 @@ class ConversationsApi {
|
|
|
20140
20172
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
20141
20173
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
20142
20174
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
20175
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
20143
20176
|
*/
|
|
20144
20177
|
getConversationsMessagingIntegrationsWhatsapp(opts) {
|
|
20145
20178
|
opts = opts || {};
|
|
@@ -20149,7 +20182,7 @@ class ConversationsApi {
|
|
|
20149
20182
|
'/api/v2/conversations/messaging/integrations/whatsapp',
|
|
20150
20183
|
'GET',
|
|
20151
20184
|
{ },
|
|
20152
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
20185
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
20153
20186
|
{ },
|
|
20154
20187
|
{ },
|
|
20155
20188
|
null,
|
|
@@ -23425,7 +23458,7 @@ class DataExtensionsApi {
|
|
|
23425
23458
|
/**
|
|
23426
23459
|
* DataExtensions service.
|
|
23427
23460
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
23428
|
-
* @version
|
|
23461
|
+
* @version 152.0.0
|
|
23429
23462
|
*/
|
|
23430
23463
|
|
|
23431
23464
|
/**
|
|
@@ -23511,7 +23544,7 @@ class DownloadsApi {
|
|
|
23511
23544
|
/**
|
|
23512
23545
|
* Downloads service.
|
|
23513
23546
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
23514
|
-
* @version
|
|
23547
|
+
* @version 152.0.0
|
|
23515
23548
|
*/
|
|
23516
23549
|
|
|
23517
23550
|
/**
|
|
@@ -23563,7 +23596,7 @@ class EventsApi {
|
|
|
23563
23596
|
/**
|
|
23564
23597
|
* Events service.
|
|
23565
23598
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
23566
|
-
* @version
|
|
23599
|
+
* @version 152.0.0
|
|
23567
23600
|
*/
|
|
23568
23601
|
|
|
23569
23602
|
/**
|
|
@@ -23659,7 +23692,7 @@ class ExternalContactsApi {
|
|
|
23659
23692
|
/**
|
|
23660
23693
|
* ExternalContacts service.
|
|
23661
23694
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
23662
|
-
* @version
|
|
23695
|
+
* @version 152.0.0
|
|
23663
23696
|
*/
|
|
23664
23697
|
|
|
23665
23698
|
/**
|
|
@@ -25617,7 +25650,7 @@ class FaxApi {
|
|
|
25617
25650
|
/**
|
|
25618
25651
|
* Fax service.
|
|
25619
25652
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
25620
|
-
* @version
|
|
25653
|
+
* @version 152.0.0
|
|
25621
25654
|
*/
|
|
25622
25655
|
|
|
25623
25656
|
/**
|
|
@@ -25788,7 +25821,7 @@ class FlowsApi {
|
|
|
25788
25821
|
/**
|
|
25789
25822
|
* Flows service.
|
|
25790
25823
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
25791
|
-
* @version
|
|
25824
|
+
* @version 152.0.0
|
|
25792
25825
|
*/
|
|
25793
25826
|
|
|
25794
25827
|
/**
|
|
@@ -25859,7 +25892,7 @@ class GamificationApi {
|
|
|
25859
25892
|
/**
|
|
25860
25893
|
* Gamification service.
|
|
25861
25894
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
25862
|
-
* @version
|
|
25895
|
+
* @version 152.0.0
|
|
25863
25896
|
*/
|
|
25864
25897
|
|
|
25865
25898
|
/**
|
|
@@ -26077,36 +26110,6 @@ class GamificationApi {
|
|
|
26077
26110
|
);
|
|
26078
26111
|
}
|
|
26079
26112
|
|
|
26080
|
-
/**
|
|
26081
|
-
* Gamified metric by id
|
|
26082
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
26083
|
-
* @param {String} metricId metric Id
|
|
26084
|
-
* @param {Object} opts Optional parameters
|
|
26085
|
-
* @param {String} opts.workday The objective query workday. If not specified, then it retrieves the current objective. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
26086
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
26087
|
-
*/
|
|
26088
|
-
getGamificationMetric(metricId, opts) {
|
|
26089
|
-
opts = opts || {};
|
|
26090
|
-
|
|
26091
|
-
// verify the required parameter 'metricId' is set
|
|
26092
|
-
if (metricId === undefined || metricId === null) {
|
|
26093
|
-
throw 'Missing the required parameter "metricId" when calling getGamificationMetric';
|
|
26094
|
-
}
|
|
26095
|
-
|
|
26096
|
-
return this.apiClient.callApi(
|
|
26097
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
26098
|
-
'GET',
|
|
26099
|
-
{ 'metricId': metricId },
|
|
26100
|
-
{ 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
|
|
26101
|
-
{ },
|
|
26102
|
-
{ },
|
|
26103
|
-
null,
|
|
26104
|
-
['PureCloud OAuth'],
|
|
26105
|
-
['application/json'],
|
|
26106
|
-
['application/json']
|
|
26107
|
-
);
|
|
26108
|
-
}
|
|
26109
|
-
|
|
26110
26113
|
/**
|
|
26111
26114
|
* Metric definition by id
|
|
26112
26115
|
*
|
|
@@ -27411,40 +27414,6 @@ class GamificationApi {
|
|
|
27411
27414
|
);
|
|
27412
27415
|
}
|
|
27413
27416
|
|
|
27414
|
-
/**
|
|
27415
|
-
* Updates a metric
|
|
27416
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
27417
|
-
* @param {String} metricId metric Id
|
|
27418
|
-
* @param {Object} body Metric
|
|
27419
|
-
* @param {Object} opts Optional parameters
|
|
27420
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
27421
|
-
*/
|
|
27422
|
-
putGamificationMetric(metricId, body, opts) {
|
|
27423
|
-
opts = opts || {};
|
|
27424
|
-
|
|
27425
|
-
// verify the required parameter 'metricId' is set
|
|
27426
|
-
if (metricId === undefined || metricId === null) {
|
|
27427
|
-
throw 'Missing the required parameter "metricId" when calling putGamificationMetric';
|
|
27428
|
-
}
|
|
27429
|
-
// verify the required parameter 'body' is set
|
|
27430
|
-
if (body === undefined || body === null) {
|
|
27431
|
-
throw 'Missing the required parameter "body" when calling putGamificationMetric';
|
|
27432
|
-
}
|
|
27433
|
-
|
|
27434
|
-
return this.apiClient.callApi(
|
|
27435
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
27436
|
-
'PUT',
|
|
27437
|
-
{ 'metricId': metricId },
|
|
27438
|
-
{ 'performanceProfileId': opts['performanceProfileId'] },
|
|
27439
|
-
{ },
|
|
27440
|
-
{ },
|
|
27441
|
-
body,
|
|
27442
|
-
['PureCloud OAuth'],
|
|
27443
|
-
['application/json'],
|
|
27444
|
-
['application/json']
|
|
27445
|
-
);
|
|
27446
|
-
}
|
|
27447
|
-
|
|
27448
27417
|
/**
|
|
27449
27418
|
* Updates a performance profile
|
|
27450
27419
|
*
|
|
@@ -27540,7 +27509,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
27540
27509
|
/**
|
|
27541
27510
|
* GeneralDataProtectionRegulation service.
|
|
27542
27511
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
27543
|
-
* @version
|
|
27512
|
+
* @version 152.0.0
|
|
27544
27513
|
*/
|
|
27545
27514
|
|
|
27546
27515
|
/**
|
|
@@ -27670,7 +27639,7 @@ class GeolocationApi {
|
|
|
27670
27639
|
/**
|
|
27671
27640
|
* Geolocation service.
|
|
27672
27641
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
27673
|
-
* @version
|
|
27642
|
+
* @version 152.0.0
|
|
27674
27643
|
*/
|
|
27675
27644
|
|
|
27676
27645
|
/**
|
|
@@ -27801,7 +27770,7 @@ class GreetingsApi {
|
|
|
27801
27770
|
/**
|
|
27802
27771
|
* Greetings service.
|
|
27803
27772
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
27804
|
-
* @version
|
|
27773
|
+
* @version 152.0.0
|
|
27805
27774
|
*/
|
|
27806
27775
|
|
|
27807
27776
|
/**
|
|
@@ -28256,7 +28225,7 @@ class GroupsApi {
|
|
|
28256
28225
|
/**
|
|
28257
28226
|
* Groups service.
|
|
28258
28227
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
28259
|
-
* @version
|
|
28228
|
+
* @version 152.0.0
|
|
28260
28229
|
*/
|
|
28261
28230
|
|
|
28262
28231
|
/**
|
|
@@ -28662,7 +28631,7 @@ class IdentityProviderApi {
|
|
|
28662
28631
|
/**
|
|
28663
28632
|
* IdentityProvider service.
|
|
28664
28633
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
28665
|
-
* @version
|
|
28634
|
+
* @version 152.0.0
|
|
28666
28635
|
*/
|
|
28667
28636
|
|
|
28668
28637
|
/**
|
|
@@ -29418,7 +29387,7 @@ class IntegrationsApi {
|
|
|
29418
29387
|
/**
|
|
29419
29388
|
* Integrations service.
|
|
29420
29389
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
29421
|
-
* @version
|
|
29390
|
+
* @version 152.0.0
|
|
29422
29391
|
*/
|
|
29423
29392
|
|
|
29424
29393
|
/**
|
|
@@ -31018,7 +30987,7 @@ class JourneyApi {
|
|
|
31018
30987
|
/**
|
|
31019
30988
|
* Journey service.
|
|
31020
30989
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
31021
|
-
* @version
|
|
30990
|
+
* @version 152.0.0
|
|
31022
30991
|
*/
|
|
31023
30992
|
|
|
31024
30993
|
/**
|
|
@@ -31804,7 +31773,7 @@ class KnowledgeApi {
|
|
|
31804
31773
|
/**
|
|
31805
31774
|
* Knowledge service.
|
|
31806
31775
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
31807
|
-
* @version
|
|
31776
|
+
* @version 152.0.0
|
|
31808
31777
|
*/
|
|
31809
31778
|
|
|
31810
31779
|
/**
|
|
@@ -32207,8 +32176,8 @@ class KnowledgeApi {
|
|
|
32207
32176
|
* @param {String} sessionId Knowledge guest session ID.
|
|
32208
32177
|
* @param {Object} opts Optional parameters
|
|
32209
32178
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
32210
|
-
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
32211
|
-
* @param {
|
|
32179
|
+
* @param {Boolean} opts.includeSubcategories Deprecated - Do Not Use. Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
32180
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
|
|
32212
32181
|
*/
|
|
32213
32182
|
getKnowledgeGuestSessionDocuments(sessionId, opts) {
|
|
32214
32183
|
opts = opts || {};
|
|
@@ -34237,7 +34206,7 @@ class LanguageUnderstandingApi {
|
|
|
34237
34206
|
/**
|
|
34238
34207
|
* LanguageUnderstanding service.
|
|
34239
34208
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
34240
|
-
* @version
|
|
34209
|
+
* @version 152.0.0
|
|
34241
34210
|
*/
|
|
34242
34211
|
|
|
34243
34212
|
/**
|
|
@@ -35141,7 +35110,7 @@ class LanguagesApi {
|
|
|
35141
35110
|
/**
|
|
35142
35111
|
* Languages service.
|
|
35143
35112
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
35144
|
-
* @version
|
|
35113
|
+
* @version 152.0.0
|
|
35145
35114
|
*/
|
|
35146
35115
|
|
|
35147
35116
|
/**
|
|
@@ -35409,7 +35378,7 @@ class LearningApi {
|
|
|
35409
35378
|
/**
|
|
35410
35379
|
* Learning service.
|
|
35411
35380
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
35412
|
-
* @version
|
|
35381
|
+
* @version 152.0.0
|
|
35413
35382
|
*/
|
|
35414
35383
|
|
|
35415
35384
|
/**
|
|
@@ -36169,7 +36138,7 @@ class LicenseApi {
|
|
|
36169
36138
|
/**
|
|
36170
36139
|
* License service.
|
|
36171
36140
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
36172
|
-
* @version
|
|
36141
|
+
* @version 152.0.0
|
|
36173
36142
|
*/
|
|
36174
36143
|
|
|
36175
36144
|
/**
|
|
@@ -36407,7 +36376,7 @@ class LocationsApi {
|
|
|
36407
36376
|
/**
|
|
36408
36377
|
* Locations service.
|
|
36409
36378
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
36410
|
-
* @version
|
|
36379
|
+
* @version 152.0.0
|
|
36411
36380
|
*/
|
|
36412
36381
|
|
|
36413
36382
|
/**
|
|
@@ -36643,7 +36612,7 @@ class MessagingApi {
|
|
|
36643
36612
|
/**
|
|
36644
36613
|
* Messaging service.
|
|
36645
36614
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
36646
|
-
* @version
|
|
36615
|
+
* @version 152.0.0
|
|
36647
36616
|
*/
|
|
36648
36617
|
|
|
36649
36618
|
/**
|
|
@@ -36794,7 +36763,7 @@ class MobileDevicesApi {
|
|
|
36794
36763
|
/**
|
|
36795
36764
|
* MobileDevices service.
|
|
36796
36765
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
36797
|
-
* @version
|
|
36766
|
+
* @version 152.0.0
|
|
36798
36767
|
*/
|
|
36799
36768
|
|
|
36800
36769
|
/**
|
|
@@ -36945,7 +36914,7 @@ class NotificationsApi {
|
|
|
36945
36914
|
/**
|
|
36946
36915
|
* Notifications service.
|
|
36947
36916
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
36948
|
-
* @version
|
|
36917
|
+
* @version 152.0.0
|
|
36949
36918
|
*/
|
|
36950
36919
|
|
|
36951
36920
|
/**
|
|
@@ -37170,7 +37139,7 @@ class OAuthApi {
|
|
|
37170
37139
|
/**
|
|
37171
37140
|
* OAuth service.
|
|
37172
37141
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
37173
|
-
* @version
|
|
37142
|
+
* @version 152.0.0
|
|
37174
37143
|
*/
|
|
37175
37144
|
|
|
37176
37145
|
/**
|
|
@@ -37536,7 +37505,7 @@ class ObjectsApi {
|
|
|
37536
37505
|
/**
|
|
37537
37506
|
* Objects service.
|
|
37538
37507
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
37539
|
-
* @version
|
|
37508
|
+
* @version 152.0.0
|
|
37540
37509
|
*/
|
|
37541
37510
|
|
|
37542
37511
|
/**
|
|
@@ -37807,7 +37776,7 @@ class OrganizationApi {
|
|
|
37807
37776
|
/**
|
|
37808
37777
|
* Organization service.
|
|
37809
37778
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
37810
|
-
* @version
|
|
37779
|
+
* @version 152.0.0
|
|
37811
37780
|
*/
|
|
37812
37781
|
|
|
37813
37782
|
/**
|
|
@@ -38210,7 +38179,7 @@ class OrganizationAuthorizationApi {
|
|
|
38210
38179
|
/**
|
|
38211
38180
|
* OrganizationAuthorization service.
|
|
38212
38181
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
38213
|
-
* @version
|
|
38182
|
+
* @version 152.0.0
|
|
38214
38183
|
*/
|
|
38215
38184
|
|
|
38216
38185
|
/**
|
|
@@ -39135,7 +39104,7 @@ class OutboundApi {
|
|
|
39135
39104
|
/**
|
|
39136
39105
|
* Outbound service.
|
|
39137
39106
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
39138
|
-
* @version
|
|
39107
|
+
* @version 152.0.0
|
|
39139
39108
|
*/
|
|
39140
39109
|
|
|
39141
39110
|
/**
|
|
@@ -42524,7 +42493,7 @@ class PresenceApi {
|
|
|
42524
42493
|
/**
|
|
42525
42494
|
* Presence service.
|
|
42526
42495
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
42527
|
-
* @version
|
|
42496
|
+
* @version 152.0.0
|
|
42528
42497
|
*/
|
|
42529
42498
|
|
|
42530
42499
|
/**
|
|
@@ -43030,7 +42999,7 @@ class ProcessAutomationApi {
|
|
|
43030
42999
|
/**
|
|
43031
43000
|
* ProcessAutomation service.
|
|
43032
43001
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
43033
|
-
* @version
|
|
43002
|
+
* @version 152.0.0
|
|
43034
43003
|
*/
|
|
43035
43004
|
|
|
43036
43005
|
/**
|
|
@@ -43268,7 +43237,7 @@ class QualityApi {
|
|
|
43268
43237
|
/**
|
|
43269
43238
|
* Quality service.
|
|
43270
43239
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
43271
|
-
* @version
|
|
43240
|
+
* @version 152.0.0
|
|
43272
43241
|
*/
|
|
43273
43242
|
|
|
43274
43243
|
/**
|
|
@@ -44846,7 +44815,7 @@ class RecordingApi {
|
|
|
44846
44815
|
/**
|
|
44847
44816
|
* Recording service.
|
|
44848
44817
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
44849
|
-
* @version
|
|
44818
|
+
* @version 152.0.0
|
|
44850
44819
|
*/
|
|
44851
44820
|
|
|
44852
44821
|
/**
|
|
@@ -46533,7 +46502,7 @@ class ResponseManagementApi {
|
|
|
46533
46502
|
/**
|
|
46534
46503
|
* ResponseManagement service.
|
|
46535
46504
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
46536
|
-
* @version
|
|
46505
|
+
* @version 152.0.0
|
|
46537
46506
|
*/
|
|
46538
46507
|
|
|
46539
46508
|
/**
|
|
@@ -47017,7 +46986,7 @@ class RoutingApi {
|
|
|
47017
46986
|
/**
|
|
47018
46987
|
* Routing service.
|
|
47019
46988
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
47020
|
-
* @version
|
|
46989
|
+
* @version 152.0.0
|
|
47021
46990
|
*/
|
|
47022
46991
|
|
|
47023
46992
|
/**
|
|
@@ -47326,6 +47295,31 @@ class RoutingApi {
|
|
|
47326
47295
|
);
|
|
47327
47296
|
}
|
|
47328
47297
|
|
|
47298
|
+
/**
|
|
47299
|
+
* Remove skill group definition
|
|
47300
|
+
*
|
|
47301
|
+
* @param {String} skillGroupId Skill Group ID
|
|
47302
|
+
*/
|
|
47303
|
+
deleteRoutingSkillgroup(skillGroupId) {
|
|
47304
|
+
// verify the required parameter 'skillGroupId' is set
|
|
47305
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
47306
|
+
throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
|
|
47307
|
+
}
|
|
47308
|
+
|
|
47309
|
+
return this.apiClient.callApi(
|
|
47310
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
47311
|
+
'DELETE',
|
|
47312
|
+
{ 'skillGroupId': skillGroupId },
|
|
47313
|
+
{ },
|
|
47314
|
+
{ },
|
|
47315
|
+
{ },
|
|
47316
|
+
null,
|
|
47317
|
+
['PureCloud OAuth'],
|
|
47318
|
+
['application/json'],
|
|
47319
|
+
['application/json']
|
|
47320
|
+
);
|
|
47321
|
+
}
|
|
47322
|
+
|
|
47329
47323
|
/**
|
|
47330
47324
|
* Delete an Address by Id for SMS
|
|
47331
47325
|
*
|
|
@@ -48511,6 +48505,119 @@ class RoutingApi {
|
|
|
48511
48505
|
);
|
|
48512
48506
|
}
|
|
48513
48507
|
|
|
48508
|
+
/**
|
|
48509
|
+
* Get skill group
|
|
48510
|
+
*
|
|
48511
|
+
* @param {String} skillGroupId Skill Group ID
|
|
48512
|
+
*/
|
|
48513
|
+
getRoutingSkillgroup(skillGroupId) {
|
|
48514
|
+
// verify the required parameter 'skillGroupId' is set
|
|
48515
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
48516
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
|
|
48517
|
+
}
|
|
48518
|
+
|
|
48519
|
+
return this.apiClient.callApi(
|
|
48520
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
48521
|
+
'GET',
|
|
48522
|
+
{ 'skillGroupId': skillGroupId },
|
|
48523
|
+
{ },
|
|
48524
|
+
{ },
|
|
48525
|
+
{ },
|
|
48526
|
+
null,
|
|
48527
|
+
['PureCloud OAuth'],
|
|
48528
|
+
['application/json'],
|
|
48529
|
+
['application/json']
|
|
48530
|
+
);
|
|
48531
|
+
}
|
|
48532
|
+
|
|
48533
|
+
/**
|
|
48534
|
+
* Get skill group members
|
|
48535
|
+
*
|
|
48536
|
+
* @param {String} skillGroupId Skill Group ID
|
|
48537
|
+
* @param {Object} opts Optional parameters
|
|
48538
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
48539
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
48540
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
48541
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
48542
|
+
*/
|
|
48543
|
+
getRoutingSkillgroupMembers(skillGroupId, opts) {
|
|
48544
|
+
opts = opts || {};
|
|
48545
|
+
|
|
48546
|
+
// verify the required parameter 'skillGroupId' is set
|
|
48547
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
48548
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
|
|
48549
|
+
}
|
|
48550
|
+
|
|
48551
|
+
return this.apiClient.callApi(
|
|
48552
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members',
|
|
48553
|
+
'GET',
|
|
48554
|
+
{ 'skillGroupId': skillGroupId },
|
|
48555
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
48556
|
+
{ },
|
|
48557
|
+
{ },
|
|
48558
|
+
null,
|
|
48559
|
+
['PureCloud OAuth'],
|
|
48560
|
+
['application/json'],
|
|
48561
|
+
['application/json']
|
|
48562
|
+
);
|
|
48563
|
+
}
|
|
48564
|
+
|
|
48565
|
+
/**
|
|
48566
|
+
* Get list of member divisions for this skill group.
|
|
48567
|
+
*
|
|
48568
|
+
* @param {String} skillGroupId Skill Group ID
|
|
48569
|
+
* @param {Object} opts Optional parameters
|
|
48570
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
48571
|
+
*/
|
|
48572
|
+
getRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
48573
|
+
opts = opts || {};
|
|
48574
|
+
|
|
48575
|
+
// verify the required parameter 'skillGroupId' is set
|
|
48576
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
48577
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
|
|
48578
|
+
}
|
|
48579
|
+
|
|
48580
|
+
return this.apiClient.callApi(
|
|
48581
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
48582
|
+
'GET',
|
|
48583
|
+
{ 'skillGroupId': skillGroupId },
|
|
48584
|
+
{ 'expand': opts['expand'] },
|
|
48585
|
+
{ },
|
|
48586
|
+
{ },
|
|
48587
|
+
null,
|
|
48588
|
+
['PureCloud OAuth'],
|
|
48589
|
+
['application/json'],
|
|
48590
|
+
['application/json']
|
|
48591
|
+
);
|
|
48592
|
+
}
|
|
48593
|
+
|
|
48594
|
+
/**
|
|
48595
|
+
* Get skill group listing
|
|
48596
|
+
*
|
|
48597
|
+
* @param {Object} opts Optional parameters
|
|
48598
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
48599
|
+
* @param {String} opts.name Return only skill group names whose names start with this value (case-insensitive matching)
|
|
48600
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
48601
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
48602
|
+
*/
|
|
48603
|
+
getRoutingSkillgroups(opts) {
|
|
48604
|
+
opts = opts || {};
|
|
48605
|
+
|
|
48606
|
+
|
|
48607
|
+
return this.apiClient.callApi(
|
|
48608
|
+
'/api/v2/routing/skillgroups',
|
|
48609
|
+
'GET',
|
|
48610
|
+
{ },
|
|
48611
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'] },
|
|
48612
|
+
{ },
|
|
48613
|
+
{ },
|
|
48614
|
+
null,
|
|
48615
|
+
['PureCloud OAuth'],
|
|
48616
|
+
['application/json'],
|
|
48617
|
+
['application/json']
|
|
48618
|
+
);
|
|
48619
|
+
}
|
|
48620
|
+
|
|
48514
48621
|
/**
|
|
48515
48622
|
* Get the list of routing skills.
|
|
48516
48623
|
*
|
|
@@ -49149,6 +49256,36 @@ class RoutingApi {
|
|
|
49149
49256
|
);
|
|
49150
49257
|
}
|
|
49151
49258
|
|
|
49259
|
+
/**
|
|
49260
|
+
* Update skill group definition
|
|
49261
|
+
*
|
|
49262
|
+
* @param {String} skillGroupId Skill Group ID
|
|
49263
|
+
* @param {Object} body Update skill groups
|
|
49264
|
+
*/
|
|
49265
|
+
patchRoutingSkillgroup(skillGroupId, body) {
|
|
49266
|
+
// verify the required parameter 'skillGroupId' is set
|
|
49267
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
49268
|
+
throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
|
|
49269
|
+
}
|
|
49270
|
+
// verify the required parameter 'body' is set
|
|
49271
|
+
if (body === undefined || body === null) {
|
|
49272
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSkillgroup';
|
|
49273
|
+
}
|
|
49274
|
+
|
|
49275
|
+
return this.apiClient.callApi(
|
|
49276
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
49277
|
+
'PATCH',
|
|
49278
|
+
{ 'skillGroupId': skillGroupId },
|
|
49279
|
+
{ },
|
|
49280
|
+
{ },
|
|
49281
|
+
{ },
|
|
49282
|
+
body,
|
|
49283
|
+
['PureCloud OAuth'],
|
|
49284
|
+
['application/json'],
|
|
49285
|
+
['application/json']
|
|
49286
|
+
);
|
|
49287
|
+
}
|
|
49288
|
+
|
|
49152
49289
|
/**
|
|
49153
49290
|
* Join or unjoin a queue for a user
|
|
49154
49291
|
*
|
|
@@ -49692,6 +49829,60 @@ class RoutingApi {
|
|
|
49692
49829
|
);
|
|
49693
49830
|
}
|
|
49694
49831
|
|
|
49832
|
+
/**
|
|
49833
|
+
* Add or remove member divisions for this skill group.
|
|
49834
|
+
*
|
|
49835
|
+
* @param {String} skillGroupId Skill Group ID
|
|
49836
|
+
* @param {Object} opts Optional parameters
|
|
49837
|
+
* @param {Object} opts.body
|
|
49838
|
+
*/
|
|
49839
|
+
postRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
49840
|
+
opts = opts || {};
|
|
49841
|
+
|
|
49842
|
+
// verify the required parameter 'skillGroupId' is set
|
|
49843
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
49844
|
+
throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
|
|
49845
|
+
}
|
|
49846
|
+
|
|
49847
|
+
return this.apiClient.callApi(
|
|
49848
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
49849
|
+
'POST',
|
|
49850
|
+
{ 'skillGroupId': skillGroupId },
|
|
49851
|
+
{ },
|
|
49852
|
+
{ },
|
|
49853
|
+
{ },
|
|
49854
|
+
opts['body'],
|
|
49855
|
+
['PureCloud OAuth'],
|
|
49856
|
+
['application/json'],
|
|
49857
|
+
['application/json']
|
|
49858
|
+
);
|
|
49859
|
+
}
|
|
49860
|
+
|
|
49861
|
+
/**
|
|
49862
|
+
* Create a skill group
|
|
49863
|
+
*
|
|
49864
|
+
* @param {Object} body Create skill group
|
|
49865
|
+
*/
|
|
49866
|
+
postRoutingSkillgroups(body) {
|
|
49867
|
+
// verify the required parameter 'body' is set
|
|
49868
|
+
if (body === undefined || body === null) {
|
|
49869
|
+
throw 'Missing the required parameter "body" when calling postRoutingSkillgroups';
|
|
49870
|
+
}
|
|
49871
|
+
|
|
49872
|
+
return this.apiClient.callApi(
|
|
49873
|
+
'/api/v2/routing/skillgroups',
|
|
49874
|
+
'POST',
|
|
49875
|
+
{ },
|
|
49876
|
+
{ },
|
|
49877
|
+
{ },
|
|
49878
|
+
{ },
|
|
49879
|
+
body,
|
|
49880
|
+
['PureCloud OAuth'],
|
|
49881
|
+
['application/json'],
|
|
49882
|
+
['application/json']
|
|
49883
|
+
);
|
|
49884
|
+
}
|
|
49885
|
+
|
|
49695
49886
|
/**
|
|
49696
49887
|
* Create Skill
|
|
49697
49888
|
*
|
|
@@ -50208,7 +50399,7 @@ class SCIMApi {
|
|
|
50208
50399
|
/**
|
|
50209
50400
|
* SCIM service.
|
|
50210
50401
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
50211
|
-
* @version
|
|
50402
|
+
* @version 152.0.0
|
|
50212
50403
|
*/
|
|
50213
50404
|
|
|
50214
50405
|
/**
|
|
@@ -51085,7 +51276,7 @@ class ScriptsApi {
|
|
|
51085
51276
|
/**
|
|
51086
51277
|
* Scripts service.
|
|
51087
51278
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
51088
|
-
* @version
|
|
51279
|
+
* @version 152.0.0
|
|
51089
51280
|
*/
|
|
51090
51281
|
|
|
51091
51282
|
/**
|
|
@@ -51504,7 +51695,7 @@ class SearchApi {
|
|
|
51504
51695
|
/**
|
|
51505
51696
|
* Search service.
|
|
51506
51697
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
51507
|
-
* @version
|
|
51698
|
+
* @version 152.0.0
|
|
51508
51699
|
*/
|
|
51509
51700
|
|
|
51510
51701
|
/**
|
|
@@ -52089,7 +52280,7 @@ class SpeechTextAnalyticsApi {
|
|
|
52089
52280
|
/**
|
|
52090
52281
|
* SpeechTextAnalytics service.
|
|
52091
52282
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
52092
|
-
* @version
|
|
52283
|
+
* @version 152.0.0
|
|
52093
52284
|
*/
|
|
52094
52285
|
|
|
52095
52286
|
/**
|
|
@@ -52943,7 +53134,7 @@ class StationsApi {
|
|
|
52943
53134
|
/**
|
|
52944
53135
|
* Stations service.
|
|
52945
53136
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
52946
|
-
* @version
|
|
53137
|
+
* @version 152.0.0
|
|
52947
53138
|
*/
|
|
52948
53139
|
|
|
52949
53140
|
/**
|
|
@@ -53090,7 +53281,7 @@ class SuggestApi {
|
|
|
53090
53281
|
/**
|
|
53091
53282
|
* Suggest service.
|
|
53092
53283
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
53093
|
-
* @version
|
|
53284
|
+
* @version 152.0.0
|
|
53094
53285
|
*/
|
|
53095
53286
|
|
|
53096
53287
|
/**
|
|
@@ -53229,7 +53420,7 @@ class TeamsApi {
|
|
|
53229
53420
|
/**
|
|
53230
53421
|
* Teams service.
|
|
53231
53422
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
53232
|
-
* @version
|
|
53423
|
+
* @version 152.0.0
|
|
53233
53424
|
*/
|
|
53234
53425
|
|
|
53235
53426
|
/**
|
|
@@ -53500,7 +53691,7 @@ class TelephonyApi {
|
|
|
53500
53691
|
/**
|
|
53501
53692
|
* Telephony service.
|
|
53502
53693
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
53503
|
-
* @version
|
|
53694
|
+
* @version 152.0.0
|
|
53504
53695
|
*/
|
|
53505
53696
|
|
|
53506
53697
|
/**
|
|
@@ -53608,7 +53799,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
53608
53799
|
/**
|
|
53609
53800
|
* TelephonyProvidersEdge service.
|
|
53610
53801
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
53611
|
-
* @version
|
|
53802
|
+
* @version 152.0.0
|
|
53612
53803
|
*/
|
|
53613
53804
|
|
|
53614
53805
|
/**
|
|
@@ -57241,7 +57432,7 @@ class TextbotsApi {
|
|
|
57241
57432
|
/**
|
|
57242
57433
|
* Textbots service.
|
|
57243
57434
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
57244
|
-
* @version
|
|
57435
|
+
* @version 152.0.0
|
|
57245
57436
|
*/
|
|
57246
57437
|
|
|
57247
57438
|
/**
|
|
@@ -57369,7 +57560,7 @@ class TokensApi {
|
|
|
57369
57560
|
/**
|
|
57370
57561
|
* Tokens service.
|
|
57371
57562
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
57372
|
-
* @version
|
|
57563
|
+
* @version 152.0.0
|
|
57373
57564
|
*/
|
|
57374
57565
|
|
|
57375
57566
|
/**
|
|
@@ -57475,7 +57666,7 @@ class UploadsApi {
|
|
|
57475
57666
|
/**
|
|
57476
57667
|
* Uploads service.
|
|
57477
57668
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
57478
|
-
* @version
|
|
57669
|
+
* @version 152.0.0
|
|
57479
57670
|
*/
|
|
57480
57671
|
|
|
57481
57672
|
/**
|
|
@@ -57651,7 +57842,7 @@ class UsageApi {
|
|
|
57651
57842
|
/**
|
|
57652
57843
|
* Usage service.
|
|
57653
57844
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
57654
|
-
* @version
|
|
57845
|
+
* @version 152.0.0
|
|
57655
57846
|
*/
|
|
57656
57847
|
|
|
57657
57848
|
/**
|
|
@@ -57722,7 +57913,7 @@ class UserRecordingsApi {
|
|
|
57722
57913
|
/**
|
|
57723
57914
|
* UserRecordings service.
|
|
57724
57915
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
57725
|
-
* @version
|
|
57916
|
+
* @version 152.0.0
|
|
57726
57917
|
*/
|
|
57727
57918
|
|
|
57728
57919
|
/**
|
|
@@ -57907,7 +58098,7 @@ class UsersApi {
|
|
|
57907
58098
|
/**
|
|
57908
58099
|
* Users service.
|
|
57909
58100
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
57910
|
-
* @version
|
|
58101
|
+
* @version 152.0.0
|
|
57911
58102
|
*/
|
|
57912
58103
|
|
|
57913
58104
|
/**
|
|
@@ -60264,7 +60455,7 @@ class UtilitiesApi {
|
|
|
60264
60455
|
/**
|
|
60265
60456
|
* Utilities service.
|
|
60266
60457
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
60267
|
-
* @version
|
|
60458
|
+
* @version 152.0.0
|
|
60268
60459
|
*/
|
|
60269
60460
|
|
|
60270
60461
|
/**
|
|
@@ -60375,7 +60566,7 @@ class VoicemailApi {
|
|
|
60375
60566
|
/**
|
|
60376
60567
|
* Voicemail service.
|
|
60377
60568
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
60378
|
-
* @version
|
|
60569
|
+
* @version 152.0.0
|
|
60379
60570
|
*/
|
|
60380
60571
|
|
|
60381
60572
|
/**
|
|
@@ -61042,7 +61233,7 @@ class WebChatApi {
|
|
|
61042
61233
|
/**
|
|
61043
61234
|
* WebChat service.
|
|
61044
61235
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
61045
|
-
* @version
|
|
61236
|
+
* @version 152.0.0
|
|
61046
61237
|
*/
|
|
61047
61238
|
|
|
61048
61239
|
/**
|
|
@@ -61586,7 +61777,7 @@ class WebDeploymentsApi {
|
|
|
61586
61777
|
/**
|
|
61587
61778
|
* WebDeployments service.
|
|
61588
61779
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
61589
|
-
* @version
|
|
61780
|
+
* @version 152.0.0
|
|
61590
61781
|
*/
|
|
61591
61782
|
|
|
61592
61783
|
/**
|
|
@@ -61974,7 +62165,7 @@ class WebMessagingApi {
|
|
|
61974
62165
|
/**
|
|
61975
62166
|
* WebMessaging service.
|
|
61976
62167
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
61977
|
-
* @version
|
|
62168
|
+
* @version 152.0.0
|
|
61978
62169
|
*/
|
|
61979
62170
|
|
|
61980
62171
|
/**
|
|
@@ -62020,7 +62211,7 @@ class WidgetsApi {
|
|
|
62020
62211
|
/**
|
|
62021
62212
|
* Widgets service.
|
|
62022
62213
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
62023
|
-
* @version
|
|
62214
|
+
* @version 152.0.0
|
|
62024
62215
|
*/
|
|
62025
62216
|
|
|
62026
62217
|
/**
|
|
@@ -62166,7 +62357,7 @@ class WorkforceManagementApi {
|
|
|
62166
62357
|
/**
|
|
62167
62358
|
* WorkforceManagement service.
|
|
62168
62359
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
62169
|
-
* @version
|
|
62360
|
+
* @version 152.0.0
|
|
62170
62361
|
*/
|
|
62171
62362
|
|
|
62172
62363
|
/**
|
|
@@ -66512,7 +66703,7 @@ class WorkforceManagementApi {
|
|
|
66512
66703
|
* </pre>
|
|
66513
66704
|
* </p>
|
|
66514
66705
|
* @module purecloud-platform-client-v2/index
|
|
66515
|
-
* @version
|
|
66706
|
+
* @version 152.0.0
|
|
66516
66707
|
*/
|
|
66517
66708
|
class platformClient {
|
|
66518
66709
|
constructor() {
|