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
package/dist/web-cjs/bundle.js
CHANGED
|
@@ -2279,7 +2279,7 @@ class Configuration {
|
|
|
2279
2279
|
|
|
2280
2280
|
/**
|
|
2281
2281
|
* @module purecloud-platform-client-v2/ApiClient
|
|
2282
|
-
* @version
|
|
2282
|
+
* @version 152.0.0
|
|
2283
2283
|
*/
|
|
2284
2284
|
class ApiClient {
|
|
2285
2285
|
/**
|
|
@@ -3351,7 +3351,7 @@ class AlertingApi {
|
|
|
3351
3351
|
/**
|
|
3352
3352
|
* Alerting service.
|
|
3353
3353
|
* @module purecloud-platform-client-v2/api/AlertingApi
|
|
3354
|
-
* @version
|
|
3354
|
+
* @version 152.0.0
|
|
3355
3355
|
*/
|
|
3356
3356
|
|
|
3357
3357
|
/**
|
|
@@ -3665,7 +3665,7 @@ class AnalyticsApi {
|
|
|
3665
3665
|
/**
|
|
3666
3666
|
* Analytics service.
|
|
3667
3667
|
* @module purecloud-platform-client-v2/api/AnalyticsApi
|
|
3668
|
-
* @version
|
|
3668
|
+
* @version 152.0.0
|
|
3669
3669
|
*/
|
|
3670
3670
|
|
|
3671
3671
|
/**
|
|
@@ -3764,6 +3764,7 @@ class AnalyticsApi {
|
|
|
3764
3764
|
* @param {String} opts.pageSize Max number of entities to return. Maximum of 250 (default to 50)
|
|
3765
3765
|
* @param {String} opts.actionId Optional action ID to get the reporting turns associated to a particular flow action
|
|
3766
3766
|
* @param {String} opts.sessionId Optional session ID to get the reporting turns for a particular session
|
|
3767
|
+
* @param {String} opts.language Optional language code to get the reporting turns for a particular language
|
|
3767
3768
|
*/
|
|
3768
3769
|
getAnalyticsBotflowReportingturns(botFlowId, opts) {
|
|
3769
3770
|
opts = opts || {};
|
|
@@ -3777,7 +3778,7 @@ class AnalyticsApi {
|
|
|
3777
3778
|
'/api/v2/analytics/botflows/{botFlowId}/reportingturns',
|
|
3778
3779
|
'GET',
|
|
3779
3780
|
{ 'botFlowId': botFlowId },
|
|
3780
|
-
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'] },
|
|
3781
|
+
{ 'after': opts['after'],'pageSize': opts['pageSize'],'actionId': opts['actionId'],'sessionId': opts['sessionId'],'language': opts['language'] },
|
|
3781
3782
|
{ },
|
|
3782
3783
|
{ },
|
|
3783
3784
|
null,
|
|
@@ -4326,6 +4327,31 @@ class AnalyticsApi {
|
|
|
4326
4327
|
);
|
|
4327
4328
|
}
|
|
4328
4329
|
|
|
4330
|
+
/**
|
|
4331
|
+
* Query for action aggregates
|
|
4332
|
+
*
|
|
4333
|
+
* @param {Object} body query
|
|
4334
|
+
*/
|
|
4335
|
+
postAnalyticsActionsAggregatesQuery(body) {
|
|
4336
|
+
// verify the required parameter 'body' is set
|
|
4337
|
+
if (body === undefined || body === null) {
|
|
4338
|
+
throw 'Missing the required parameter "body" when calling postAnalyticsActionsAggregatesQuery';
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
return this.apiClient.callApi(
|
|
4342
|
+
'/api/v2/analytics/actions/aggregates/query',
|
|
4343
|
+
'POST',
|
|
4344
|
+
{ },
|
|
4345
|
+
{ },
|
|
4346
|
+
{ },
|
|
4347
|
+
{ },
|
|
4348
|
+
body,
|
|
4349
|
+
['PureCloud OAuth'],
|
|
4350
|
+
['application/json'],
|
|
4351
|
+
['application/json']
|
|
4352
|
+
);
|
|
4353
|
+
}
|
|
4354
|
+
|
|
4329
4355
|
/**
|
|
4330
4356
|
* Query for bot aggregates
|
|
4331
4357
|
*
|
|
@@ -4892,7 +4918,7 @@ class ArchitectApi {
|
|
|
4892
4918
|
/**
|
|
4893
4919
|
* Architect service.
|
|
4894
4920
|
* @module purecloud-platform-client-v2/api/ArchitectApi
|
|
4895
|
-
* @version
|
|
4921
|
+
* @version 152.0.0
|
|
4896
4922
|
*/
|
|
4897
4923
|
|
|
4898
4924
|
/**
|
|
@@ -6485,6 +6511,7 @@ class ArchitectApi {
|
|
|
6485
6511
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
6486
6512
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
6487
6513
|
* @param {Boolean} opts.showbrief If true returns just the key value of the row (default to true)
|
|
6514
|
+
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
6488
6515
|
*/
|
|
6489
6516
|
getFlowsDatatableRows(datatableId, opts) {
|
|
6490
6517
|
opts = opts || {};
|
|
@@ -6498,7 +6525,7 @@ class ArchitectApi {
|
|
|
6498
6525
|
'/api/v2/flows/datatables/{datatableId}/rows',
|
|
6499
6526
|
'GET',
|
|
6500
6527
|
{ 'datatableId': datatableId },
|
|
6501
|
-
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'] },
|
|
6528
|
+
{ 'pageNumber': opts['pageNumber'],'pageSize': opts['pageSize'],'showbrief': opts['showbrief'],'sortOrder': opts['sortOrder'] },
|
|
6502
6529
|
{ },
|
|
6503
6530
|
{ },
|
|
6504
6531
|
null,
|
|
@@ -6518,7 +6545,7 @@ class ArchitectApi {
|
|
|
6518
6545
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
6519
6546
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
6520
6547
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
6521
|
-
* @param {String} opts.name Name
|
|
6548
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
6522
6549
|
*/
|
|
6523
6550
|
getFlowsDatatables(opts) {
|
|
6524
6551
|
opts = opts || {};
|
|
@@ -6577,7 +6604,7 @@ class ArchitectApi {
|
|
|
6577
6604
|
* @param {Object} opts.sortBy Sort by (default to id)
|
|
6578
6605
|
* @param {String} opts.sortOrder Sort order (default to ascending)
|
|
6579
6606
|
* @param {Array.<String>} opts.divisionId division ID(s)
|
|
6580
|
-
* @param {String} opts.name Name
|
|
6607
|
+
* @param {String} opts.name Filter by Name. The wildcard character * is supported within the filter. Matches are case-insensitive.
|
|
6581
6608
|
*/
|
|
6582
6609
|
getFlowsDatatablesDivisionviews(opts) {
|
|
6583
6610
|
opts = opts || {};
|
|
@@ -7938,7 +7965,7 @@ class AuditApi {
|
|
|
7938
7965
|
/**
|
|
7939
7966
|
* Audit service.
|
|
7940
7967
|
* @module purecloud-platform-client-v2/api/AuditApi
|
|
7941
|
-
* @version
|
|
7968
|
+
* @version 152.0.0
|
|
7942
7969
|
*/
|
|
7943
7970
|
|
|
7944
7971
|
/**
|
|
@@ -8109,7 +8136,7 @@ class AuthorizationApi {
|
|
|
8109
8136
|
/**
|
|
8110
8137
|
* Authorization service.
|
|
8111
8138
|
* @module purecloud-platform-client-v2/api/AuthorizationApi
|
|
8112
|
-
* @version
|
|
8139
|
+
* @version 152.0.0
|
|
8113
8140
|
*/
|
|
8114
8141
|
|
|
8115
8142
|
/**
|
|
@@ -9292,7 +9319,7 @@ class BillingApi {
|
|
|
9292
9319
|
/**
|
|
9293
9320
|
* Billing service.
|
|
9294
9321
|
* @module purecloud-platform-client-v2/api/BillingApi
|
|
9295
|
-
* @version
|
|
9322
|
+
* @version 152.0.0
|
|
9296
9323
|
*/
|
|
9297
9324
|
|
|
9298
9325
|
/**
|
|
@@ -9372,7 +9399,7 @@ class ChatApi {
|
|
|
9372
9399
|
/**
|
|
9373
9400
|
* Chat service.
|
|
9374
9401
|
* @module purecloud-platform-client-v2/api/ChatApi
|
|
9375
|
-
* @version
|
|
9402
|
+
* @version 152.0.0
|
|
9376
9403
|
*/
|
|
9377
9404
|
|
|
9378
9405
|
/**
|
|
@@ -9463,7 +9490,7 @@ class CoachingApi {
|
|
|
9463
9490
|
/**
|
|
9464
9491
|
* Coaching service.
|
|
9465
9492
|
* @module purecloud-platform-client-v2/api/CoachingApi
|
|
9466
|
-
* @version
|
|
9493
|
+
* @version 152.0.0
|
|
9467
9494
|
*/
|
|
9468
9495
|
|
|
9469
9496
|
/**
|
|
@@ -10040,7 +10067,7 @@ class ContentManagementApi {
|
|
|
10040
10067
|
/**
|
|
10041
10068
|
* ContentManagement service.
|
|
10042
10069
|
* @module purecloud-platform-client-v2/api/ContentManagementApi
|
|
10043
|
-
* @version
|
|
10070
|
+
* @version 152.0.0
|
|
10044
10071
|
*/
|
|
10045
10072
|
|
|
10046
10073
|
/**
|
|
@@ -11180,7 +11207,7 @@ class ConversationsApi {
|
|
|
11180
11207
|
/**
|
|
11181
11208
|
* Conversations service.
|
|
11182
11209
|
* @module purecloud-platform-client-v2/api/ConversationsApi
|
|
11183
|
-
* @version
|
|
11210
|
+
* @version 152.0.0
|
|
11184
11211
|
*/
|
|
11185
11212
|
|
|
11186
11213
|
/**
|
|
@@ -12859,8 +12886,9 @@ class ConversationsApi {
|
|
|
12859
12886
|
* @param {Object} opts Optional parameters
|
|
12860
12887
|
* @param {Number} opts.pageSize Page size (default to 25)
|
|
12861
12888
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12862
|
-
* @param {
|
|
12889
|
+
* @param {Array.<String>} opts.expand Expand instructions for the return value.
|
|
12863
12890
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
12891
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
12864
12892
|
*/
|
|
12865
12893
|
getConversationsMessagingIntegrations(opts) {
|
|
12866
12894
|
opts = opts || {};
|
|
@@ -12870,7 +12898,7 @@ class ConversationsApi {
|
|
|
12870
12898
|
'/api/v2/conversations/messaging/integrations',
|
|
12871
12899
|
'GET',
|
|
12872
12900
|
{ },
|
|
12873
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
12901
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi'),'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
12874
12902
|
{ },
|
|
12875
12903
|
{ },
|
|
12876
12904
|
null,
|
|
@@ -12888,6 +12916,7 @@ class ConversationsApi {
|
|
|
12888
12916
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12889
12917
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
12890
12918
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
12919
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
12891
12920
|
*/
|
|
12892
12921
|
getConversationsMessagingIntegrationsFacebook(opts) {
|
|
12893
12922
|
opts = opts || {};
|
|
@@ -12897,7 +12926,7 @@ class ConversationsApi {
|
|
|
12897
12926
|
'/api/v2/conversations/messaging/integrations/facebook',
|
|
12898
12927
|
'GET',
|
|
12899
12928
|
{ },
|
|
12900
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
12929
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
12901
12930
|
{ },
|
|
12902
12931
|
{ },
|
|
12903
12932
|
null,
|
|
@@ -12944,6 +12973,7 @@ class ConversationsApi {
|
|
|
12944
12973
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
12945
12974
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
12946
12975
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
12976
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
12947
12977
|
*/
|
|
12948
12978
|
getConversationsMessagingIntegrationsLine(opts) {
|
|
12949
12979
|
opts = opts || {};
|
|
@@ -12953,7 +12983,7 @@ class ConversationsApi {
|
|
|
12953
12983
|
'/api/v2/conversations/messaging/integrations/line',
|
|
12954
12984
|
'GET',
|
|
12955
12985
|
{ },
|
|
12956
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
12986
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
12957
12987
|
{ },
|
|
12958
12988
|
{ },
|
|
12959
12989
|
null,
|
|
@@ -13000,6 +13030,7 @@ class ConversationsApi {
|
|
|
13000
13030
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13001
13031
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
13002
13032
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
13033
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
13003
13034
|
*/
|
|
13004
13035
|
getConversationsMessagingIntegrationsOpen(opts) {
|
|
13005
13036
|
opts = opts || {};
|
|
@@ -13009,7 +13040,7 @@ class ConversationsApi {
|
|
|
13009
13040
|
'/api/v2/conversations/messaging/integrations/open',
|
|
13010
13041
|
'GET',
|
|
13011
13042
|
{ },
|
|
13012
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
13043
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
13013
13044
|
{ },
|
|
13014
13045
|
{ },
|
|
13015
13046
|
null,
|
|
@@ -13056,6 +13087,7 @@ class ConversationsApi {
|
|
|
13056
13087
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13057
13088
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
13058
13089
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
13090
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
13059
13091
|
*/
|
|
13060
13092
|
getConversationsMessagingIntegrationsTwitter(opts) {
|
|
13061
13093
|
opts = opts || {};
|
|
@@ -13065,7 +13097,7 @@ class ConversationsApi {
|
|
|
13065
13097
|
'/api/v2/conversations/messaging/integrations/twitter',
|
|
13066
13098
|
'GET',
|
|
13067
13099
|
{ },
|
|
13068
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
13100
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
13069
13101
|
{ },
|
|
13070
13102
|
{ },
|
|
13071
13103
|
null,
|
|
@@ -13112,6 +13144,7 @@ class ConversationsApi {
|
|
|
13112
13144
|
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
13113
13145
|
* @param {Object} opts.expand Expand instructions for the return value.
|
|
13114
13146
|
* @param {String} opts.supportedContentId Filter integrations returned based on the supported content ID
|
|
13147
|
+
* @param {String} opts.messagingSettingId Filter integrations returned based on the setting ID
|
|
13115
13148
|
*/
|
|
13116
13149
|
getConversationsMessagingIntegrationsWhatsapp(opts) {
|
|
13117
13150
|
opts = opts || {};
|
|
@@ -13121,7 +13154,7 @@ class ConversationsApi {
|
|
|
13121
13154
|
'/api/v2/conversations/messaging/integrations/whatsapp',
|
|
13122
13155
|
'GET',
|
|
13123
13156
|
{ },
|
|
13124
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'] },
|
|
13157
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'expand': opts['expand'],'supportedContent.id': opts['supportedContentId'],'messagingSetting.id': opts['messagingSettingId'] },
|
|
13125
13158
|
{ },
|
|
13126
13159
|
{ },
|
|
13127
13160
|
null,
|
|
@@ -16397,7 +16430,7 @@ class DataExtensionsApi {
|
|
|
16397
16430
|
/**
|
|
16398
16431
|
* DataExtensions service.
|
|
16399
16432
|
* @module purecloud-platform-client-v2/api/DataExtensionsApi
|
|
16400
|
-
* @version
|
|
16433
|
+
* @version 152.0.0
|
|
16401
16434
|
*/
|
|
16402
16435
|
|
|
16403
16436
|
/**
|
|
@@ -16483,7 +16516,7 @@ class DownloadsApi {
|
|
|
16483
16516
|
/**
|
|
16484
16517
|
* Downloads service.
|
|
16485
16518
|
* @module purecloud-platform-client-v2/api/DownloadsApi
|
|
16486
|
-
* @version
|
|
16519
|
+
* @version 152.0.0
|
|
16487
16520
|
*/
|
|
16488
16521
|
|
|
16489
16522
|
/**
|
|
@@ -16535,7 +16568,7 @@ class EventsApi {
|
|
|
16535
16568
|
/**
|
|
16536
16569
|
* Events service.
|
|
16537
16570
|
* @module purecloud-platform-client-v2/api/EventsApi
|
|
16538
|
-
* @version
|
|
16571
|
+
* @version 152.0.0
|
|
16539
16572
|
*/
|
|
16540
16573
|
|
|
16541
16574
|
/**
|
|
@@ -16631,7 +16664,7 @@ class ExternalContactsApi {
|
|
|
16631
16664
|
/**
|
|
16632
16665
|
* ExternalContacts service.
|
|
16633
16666
|
* @module purecloud-platform-client-v2/api/ExternalContactsApi
|
|
16634
|
-
* @version
|
|
16667
|
+
* @version 152.0.0
|
|
16635
16668
|
*/
|
|
16636
16669
|
|
|
16637
16670
|
/**
|
|
@@ -18589,7 +18622,7 @@ class FaxApi {
|
|
|
18589
18622
|
/**
|
|
18590
18623
|
* Fax service.
|
|
18591
18624
|
* @module purecloud-platform-client-v2/api/FaxApi
|
|
18592
|
-
* @version
|
|
18625
|
+
* @version 152.0.0
|
|
18593
18626
|
*/
|
|
18594
18627
|
|
|
18595
18628
|
/**
|
|
@@ -18760,7 +18793,7 @@ class FlowsApi {
|
|
|
18760
18793
|
/**
|
|
18761
18794
|
* Flows service.
|
|
18762
18795
|
* @module purecloud-platform-client-v2/api/FlowsApi
|
|
18763
|
-
* @version
|
|
18796
|
+
* @version 152.0.0
|
|
18764
18797
|
*/
|
|
18765
18798
|
|
|
18766
18799
|
/**
|
|
@@ -18831,7 +18864,7 @@ class GamificationApi {
|
|
|
18831
18864
|
/**
|
|
18832
18865
|
* Gamification service.
|
|
18833
18866
|
* @module purecloud-platform-client-v2/api/GamificationApi
|
|
18834
|
-
* @version
|
|
18867
|
+
* @version 152.0.0
|
|
18835
18868
|
*/
|
|
18836
18869
|
|
|
18837
18870
|
/**
|
|
@@ -19049,36 +19082,6 @@ class GamificationApi {
|
|
|
19049
19082
|
);
|
|
19050
19083
|
}
|
|
19051
19084
|
|
|
19052
|
-
/**
|
|
19053
|
-
* Gamified metric by id
|
|
19054
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
19055
|
-
* @param {String} metricId metric Id
|
|
19056
|
-
* @param {Object} opts Optional parameters
|
|
19057
|
-
* @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
|
|
19058
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
19059
|
-
*/
|
|
19060
|
-
getGamificationMetric(metricId, opts) {
|
|
19061
|
-
opts = opts || {};
|
|
19062
|
-
|
|
19063
|
-
// verify the required parameter 'metricId' is set
|
|
19064
|
-
if (metricId === undefined || metricId === null) {
|
|
19065
|
-
throw 'Missing the required parameter "metricId" when calling getGamificationMetric';
|
|
19066
|
-
}
|
|
19067
|
-
|
|
19068
|
-
return this.apiClient.callApi(
|
|
19069
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
19070
|
-
'GET',
|
|
19071
|
-
{ 'metricId': metricId },
|
|
19072
|
-
{ 'workday': opts['workday'],'performanceProfileId': opts['performanceProfileId'] },
|
|
19073
|
-
{ },
|
|
19074
|
-
{ },
|
|
19075
|
-
null,
|
|
19076
|
-
['PureCloud OAuth'],
|
|
19077
|
-
['application/json'],
|
|
19078
|
-
['application/json']
|
|
19079
|
-
);
|
|
19080
|
-
}
|
|
19081
|
-
|
|
19082
19085
|
/**
|
|
19083
19086
|
* Metric definition by id
|
|
19084
19087
|
*
|
|
@@ -20383,40 +20386,6 @@ class GamificationApi {
|
|
|
20383
20386
|
);
|
|
20384
20387
|
}
|
|
20385
20388
|
|
|
20386
|
-
/**
|
|
20387
|
-
* Updates a metric
|
|
20388
|
-
* This API is deprecated. Use /api/v2/gamification/profiles/{profileId}/metrics/{metricId} instead.
|
|
20389
|
-
* @param {String} metricId metric Id
|
|
20390
|
-
* @param {Object} body Metric
|
|
20391
|
-
* @param {Object} opts Optional parameters
|
|
20392
|
-
* @param {String} opts.performanceProfileId The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
|
|
20393
|
-
*/
|
|
20394
|
-
putGamificationMetric(metricId, body, opts) {
|
|
20395
|
-
opts = opts || {};
|
|
20396
|
-
|
|
20397
|
-
// verify the required parameter 'metricId' is set
|
|
20398
|
-
if (metricId === undefined || metricId === null) {
|
|
20399
|
-
throw 'Missing the required parameter "metricId" when calling putGamificationMetric';
|
|
20400
|
-
}
|
|
20401
|
-
// verify the required parameter 'body' is set
|
|
20402
|
-
if (body === undefined || body === null) {
|
|
20403
|
-
throw 'Missing the required parameter "body" when calling putGamificationMetric';
|
|
20404
|
-
}
|
|
20405
|
-
|
|
20406
|
-
return this.apiClient.callApi(
|
|
20407
|
-
'/api/v2/gamification/metrics/{metricId}',
|
|
20408
|
-
'PUT',
|
|
20409
|
-
{ 'metricId': metricId },
|
|
20410
|
-
{ 'performanceProfileId': opts['performanceProfileId'] },
|
|
20411
|
-
{ },
|
|
20412
|
-
{ },
|
|
20413
|
-
body,
|
|
20414
|
-
['PureCloud OAuth'],
|
|
20415
|
-
['application/json'],
|
|
20416
|
-
['application/json']
|
|
20417
|
-
);
|
|
20418
|
-
}
|
|
20419
|
-
|
|
20420
20389
|
/**
|
|
20421
20390
|
* Updates a performance profile
|
|
20422
20391
|
*
|
|
@@ -20512,7 +20481,7 @@ class GeneralDataProtectionRegulationApi {
|
|
|
20512
20481
|
/**
|
|
20513
20482
|
* GeneralDataProtectionRegulation service.
|
|
20514
20483
|
* @module purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi
|
|
20515
|
-
* @version
|
|
20484
|
+
* @version 152.0.0
|
|
20516
20485
|
*/
|
|
20517
20486
|
|
|
20518
20487
|
/**
|
|
@@ -20642,7 +20611,7 @@ class GeolocationApi {
|
|
|
20642
20611
|
/**
|
|
20643
20612
|
* Geolocation service.
|
|
20644
20613
|
* @module purecloud-platform-client-v2/api/GeolocationApi
|
|
20645
|
-
* @version
|
|
20614
|
+
* @version 152.0.0
|
|
20646
20615
|
*/
|
|
20647
20616
|
|
|
20648
20617
|
/**
|
|
@@ -20773,7 +20742,7 @@ class GreetingsApi {
|
|
|
20773
20742
|
/**
|
|
20774
20743
|
* Greetings service.
|
|
20775
20744
|
* @module purecloud-platform-client-v2/api/GreetingsApi
|
|
20776
|
-
* @version
|
|
20745
|
+
* @version 152.0.0
|
|
20777
20746
|
*/
|
|
20778
20747
|
|
|
20779
20748
|
/**
|
|
@@ -21228,7 +21197,7 @@ class GroupsApi {
|
|
|
21228
21197
|
/**
|
|
21229
21198
|
* Groups service.
|
|
21230
21199
|
* @module purecloud-platform-client-v2/api/GroupsApi
|
|
21231
|
-
* @version
|
|
21200
|
+
* @version 152.0.0
|
|
21232
21201
|
*/
|
|
21233
21202
|
|
|
21234
21203
|
/**
|
|
@@ -21634,7 +21603,7 @@ class IdentityProviderApi {
|
|
|
21634
21603
|
/**
|
|
21635
21604
|
* IdentityProvider service.
|
|
21636
21605
|
* @module purecloud-platform-client-v2/api/IdentityProviderApi
|
|
21637
|
-
* @version
|
|
21606
|
+
* @version 152.0.0
|
|
21638
21607
|
*/
|
|
21639
21608
|
|
|
21640
21609
|
/**
|
|
@@ -22390,7 +22359,7 @@ class IntegrationsApi {
|
|
|
22390
22359
|
/**
|
|
22391
22360
|
* Integrations service.
|
|
22392
22361
|
* @module purecloud-platform-client-v2/api/IntegrationsApi
|
|
22393
|
-
* @version
|
|
22362
|
+
* @version 152.0.0
|
|
22394
22363
|
*/
|
|
22395
22364
|
|
|
22396
22365
|
/**
|
|
@@ -23990,7 +23959,7 @@ class JourneyApi {
|
|
|
23990
23959
|
/**
|
|
23991
23960
|
* Journey service.
|
|
23992
23961
|
* @module purecloud-platform-client-v2/api/JourneyApi
|
|
23993
|
-
* @version
|
|
23962
|
+
* @version 152.0.0
|
|
23994
23963
|
*/
|
|
23995
23964
|
|
|
23996
23965
|
/**
|
|
@@ -24776,7 +24745,7 @@ class KnowledgeApi {
|
|
|
24776
24745
|
/**
|
|
24777
24746
|
* Knowledge service.
|
|
24778
24747
|
* @module purecloud-platform-client-v2/api/KnowledgeApi
|
|
24779
|
-
* @version
|
|
24748
|
+
* @version 152.0.0
|
|
24780
24749
|
*/
|
|
24781
24750
|
|
|
24782
24751
|
/**
|
|
@@ -25179,8 +25148,8 @@ class KnowledgeApi {
|
|
|
25179
25148
|
* @param {String} sessionId Knowledge guest session ID.
|
|
25180
25149
|
* @param {Object} opts Optional parameters
|
|
25181
25150
|
* @param {Array.<String>} opts.categoryId If specified, retrieves documents associated with category ids, comma separated values expected.
|
|
25182
|
-
* @param {Boolean} opts.includeSubcategories Works along with 'categoryId' query parameter. If specified, retrieves documents associated with category ids and its children categories.
|
|
25183
|
-
* @param {
|
|
25151
|
+
* @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.
|
|
25152
|
+
* @param {Number} opts.pageSize Number of entities to return. Maximum of 200. (default to 10)
|
|
25184
25153
|
*/
|
|
25185
25154
|
getKnowledgeGuestSessionDocuments(sessionId, opts) {
|
|
25186
25155
|
opts = opts || {};
|
|
@@ -27209,7 +27178,7 @@ class LanguageUnderstandingApi {
|
|
|
27209
27178
|
/**
|
|
27210
27179
|
* LanguageUnderstanding service.
|
|
27211
27180
|
* @module purecloud-platform-client-v2/api/LanguageUnderstandingApi
|
|
27212
|
-
* @version
|
|
27181
|
+
* @version 152.0.0
|
|
27213
27182
|
*/
|
|
27214
27183
|
|
|
27215
27184
|
/**
|
|
@@ -28113,7 +28082,7 @@ class LanguagesApi {
|
|
|
28113
28082
|
/**
|
|
28114
28083
|
* Languages service.
|
|
28115
28084
|
* @module purecloud-platform-client-v2/api/LanguagesApi
|
|
28116
|
-
* @version
|
|
28085
|
+
* @version 152.0.0
|
|
28117
28086
|
*/
|
|
28118
28087
|
|
|
28119
28088
|
/**
|
|
@@ -28381,7 +28350,7 @@ class LearningApi {
|
|
|
28381
28350
|
/**
|
|
28382
28351
|
* Learning service.
|
|
28383
28352
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
28384
|
-
* @version
|
|
28353
|
+
* @version 152.0.0
|
|
28385
28354
|
*/
|
|
28386
28355
|
|
|
28387
28356
|
/**
|
|
@@ -29141,7 +29110,7 @@ class LicenseApi {
|
|
|
29141
29110
|
/**
|
|
29142
29111
|
* License service.
|
|
29143
29112
|
* @module purecloud-platform-client-v2/api/LicenseApi
|
|
29144
|
-
* @version
|
|
29113
|
+
* @version 152.0.0
|
|
29145
29114
|
*/
|
|
29146
29115
|
|
|
29147
29116
|
/**
|
|
@@ -29379,7 +29348,7 @@ class LocationsApi {
|
|
|
29379
29348
|
/**
|
|
29380
29349
|
* Locations service.
|
|
29381
29350
|
* @module purecloud-platform-client-v2/api/LocationsApi
|
|
29382
|
-
* @version
|
|
29351
|
+
* @version 152.0.0
|
|
29383
29352
|
*/
|
|
29384
29353
|
|
|
29385
29354
|
/**
|
|
@@ -29615,7 +29584,7 @@ class MessagingApi {
|
|
|
29615
29584
|
/**
|
|
29616
29585
|
* Messaging service.
|
|
29617
29586
|
* @module purecloud-platform-client-v2/api/MessagingApi
|
|
29618
|
-
* @version
|
|
29587
|
+
* @version 152.0.0
|
|
29619
29588
|
*/
|
|
29620
29589
|
|
|
29621
29590
|
/**
|
|
@@ -29766,7 +29735,7 @@ class MobileDevicesApi {
|
|
|
29766
29735
|
/**
|
|
29767
29736
|
* MobileDevices service.
|
|
29768
29737
|
* @module purecloud-platform-client-v2/api/MobileDevicesApi
|
|
29769
|
-
* @version
|
|
29738
|
+
* @version 152.0.0
|
|
29770
29739
|
*/
|
|
29771
29740
|
|
|
29772
29741
|
/**
|
|
@@ -29917,7 +29886,7 @@ class NotificationsApi {
|
|
|
29917
29886
|
/**
|
|
29918
29887
|
* Notifications service.
|
|
29919
29888
|
* @module purecloud-platform-client-v2/api/NotificationsApi
|
|
29920
|
-
* @version
|
|
29889
|
+
* @version 152.0.0
|
|
29921
29890
|
*/
|
|
29922
29891
|
|
|
29923
29892
|
/**
|
|
@@ -30142,7 +30111,7 @@ class OAuthApi {
|
|
|
30142
30111
|
/**
|
|
30143
30112
|
* OAuth service.
|
|
30144
30113
|
* @module purecloud-platform-client-v2/api/OAuthApi
|
|
30145
|
-
* @version
|
|
30114
|
+
* @version 152.0.0
|
|
30146
30115
|
*/
|
|
30147
30116
|
|
|
30148
30117
|
/**
|
|
@@ -30508,7 +30477,7 @@ class ObjectsApi {
|
|
|
30508
30477
|
/**
|
|
30509
30478
|
* Objects service.
|
|
30510
30479
|
* @module purecloud-platform-client-v2/api/ObjectsApi
|
|
30511
|
-
* @version
|
|
30480
|
+
* @version 152.0.0
|
|
30512
30481
|
*/
|
|
30513
30482
|
|
|
30514
30483
|
/**
|
|
@@ -30779,7 +30748,7 @@ class OrganizationApi {
|
|
|
30779
30748
|
/**
|
|
30780
30749
|
* Organization service.
|
|
30781
30750
|
* @module purecloud-platform-client-v2/api/OrganizationApi
|
|
30782
|
-
* @version
|
|
30751
|
+
* @version 152.0.0
|
|
30783
30752
|
*/
|
|
30784
30753
|
|
|
30785
30754
|
/**
|
|
@@ -31182,7 +31151,7 @@ class OrganizationAuthorizationApi {
|
|
|
31182
31151
|
/**
|
|
31183
31152
|
* OrganizationAuthorization service.
|
|
31184
31153
|
* @module purecloud-platform-client-v2/api/OrganizationAuthorizationApi
|
|
31185
|
-
* @version
|
|
31154
|
+
* @version 152.0.0
|
|
31186
31155
|
*/
|
|
31187
31156
|
|
|
31188
31157
|
/**
|
|
@@ -32107,7 +32076,7 @@ class OutboundApi {
|
|
|
32107
32076
|
/**
|
|
32108
32077
|
* Outbound service.
|
|
32109
32078
|
* @module purecloud-platform-client-v2/api/OutboundApi
|
|
32110
|
-
* @version
|
|
32079
|
+
* @version 152.0.0
|
|
32111
32080
|
*/
|
|
32112
32081
|
|
|
32113
32082
|
/**
|
|
@@ -35496,7 +35465,7 @@ class PresenceApi {
|
|
|
35496
35465
|
/**
|
|
35497
35466
|
* Presence service.
|
|
35498
35467
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
35499
|
-
* @version
|
|
35468
|
+
* @version 152.0.0
|
|
35500
35469
|
*/
|
|
35501
35470
|
|
|
35502
35471
|
/**
|
|
@@ -36002,7 +35971,7 @@ class ProcessAutomationApi {
|
|
|
36002
35971
|
/**
|
|
36003
35972
|
* ProcessAutomation service.
|
|
36004
35973
|
* @module purecloud-platform-client-v2/api/ProcessAutomationApi
|
|
36005
|
-
* @version
|
|
35974
|
+
* @version 152.0.0
|
|
36006
35975
|
*/
|
|
36007
35976
|
|
|
36008
35977
|
/**
|
|
@@ -36240,7 +36209,7 @@ class QualityApi {
|
|
|
36240
36209
|
/**
|
|
36241
36210
|
* Quality service.
|
|
36242
36211
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
36243
|
-
* @version
|
|
36212
|
+
* @version 152.0.0
|
|
36244
36213
|
*/
|
|
36245
36214
|
|
|
36246
36215
|
/**
|
|
@@ -37818,7 +37787,7 @@ class RecordingApi {
|
|
|
37818
37787
|
/**
|
|
37819
37788
|
* Recording service.
|
|
37820
37789
|
* @module purecloud-platform-client-v2/api/RecordingApi
|
|
37821
|
-
* @version
|
|
37790
|
+
* @version 152.0.0
|
|
37822
37791
|
*/
|
|
37823
37792
|
|
|
37824
37793
|
/**
|
|
@@ -39505,7 +39474,7 @@ class ResponseManagementApi {
|
|
|
39505
39474
|
/**
|
|
39506
39475
|
* ResponseManagement service.
|
|
39507
39476
|
* @module purecloud-platform-client-v2/api/ResponseManagementApi
|
|
39508
|
-
* @version
|
|
39477
|
+
* @version 152.0.0
|
|
39509
39478
|
*/
|
|
39510
39479
|
|
|
39511
39480
|
/**
|
|
@@ -39989,7 +39958,7 @@ class RoutingApi {
|
|
|
39989
39958
|
/**
|
|
39990
39959
|
* Routing service.
|
|
39991
39960
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
39992
|
-
* @version
|
|
39961
|
+
* @version 152.0.0
|
|
39993
39962
|
*/
|
|
39994
39963
|
|
|
39995
39964
|
/**
|
|
@@ -40298,6 +40267,31 @@ class RoutingApi {
|
|
|
40298
40267
|
);
|
|
40299
40268
|
}
|
|
40300
40269
|
|
|
40270
|
+
/**
|
|
40271
|
+
* Remove skill group definition
|
|
40272
|
+
*
|
|
40273
|
+
* @param {String} skillGroupId Skill Group ID
|
|
40274
|
+
*/
|
|
40275
|
+
deleteRoutingSkillgroup(skillGroupId) {
|
|
40276
|
+
// verify the required parameter 'skillGroupId' is set
|
|
40277
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
40278
|
+
throw 'Missing the required parameter "skillGroupId" when calling deleteRoutingSkillgroup';
|
|
40279
|
+
}
|
|
40280
|
+
|
|
40281
|
+
return this.apiClient.callApi(
|
|
40282
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
40283
|
+
'DELETE',
|
|
40284
|
+
{ 'skillGroupId': skillGroupId },
|
|
40285
|
+
{ },
|
|
40286
|
+
{ },
|
|
40287
|
+
{ },
|
|
40288
|
+
null,
|
|
40289
|
+
['PureCloud OAuth'],
|
|
40290
|
+
['application/json'],
|
|
40291
|
+
['application/json']
|
|
40292
|
+
);
|
|
40293
|
+
}
|
|
40294
|
+
|
|
40301
40295
|
/**
|
|
40302
40296
|
* Delete an Address by Id for SMS
|
|
40303
40297
|
*
|
|
@@ -41483,6 +41477,119 @@ class RoutingApi {
|
|
|
41483
41477
|
);
|
|
41484
41478
|
}
|
|
41485
41479
|
|
|
41480
|
+
/**
|
|
41481
|
+
* Get skill group
|
|
41482
|
+
*
|
|
41483
|
+
* @param {String} skillGroupId Skill Group ID
|
|
41484
|
+
*/
|
|
41485
|
+
getRoutingSkillgroup(skillGroupId) {
|
|
41486
|
+
// verify the required parameter 'skillGroupId' is set
|
|
41487
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
41488
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroup';
|
|
41489
|
+
}
|
|
41490
|
+
|
|
41491
|
+
return this.apiClient.callApi(
|
|
41492
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
41493
|
+
'GET',
|
|
41494
|
+
{ 'skillGroupId': skillGroupId },
|
|
41495
|
+
{ },
|
|
41496
|
+
{ },
|
|
41497
|
+
{ },
|
|
41498
|
+
null,
|
|
41499
|
+
['PureCloud OAuth'],
|
|
41500
|
+
['application/json'],
|
|
41501
|
+
['application/json']
|
|
41502
|
+
);
|
|
41503
|
+
}
|
|
41504
|
+
|
|
41505
|
+
/**
|
|
41506
|
+
* Get skill group members
|
|
41507
|
+
*
|
|
41508
|
+
* @param {String} skillGroupId Skill Group ID
|
|
41509
|
+
* @param {Object} opts Optional parameters
|
|
41510
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41511
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
41512
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
41513
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
41514
|
+
*/
|
|
41515
|
+
getRoutingSkillgroupMembers(skillGroupId, opts) {
|
|
41516
|
+
opts = opts || {};
|
|
41517
|
+
|
|
41518
|
+
// verify the required parameter 'skillGroupId' is set
|
|
41519
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
41520
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembers';
|
|
41521
|
+
}
|
|
41522
|
+
|
|
41523
|
+
return this.apiClient.callApi(
|
|
41524
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members',
|
|
41525
|
+
'GET',
|
|
41526
|
+
{ 'skillGroupId': skillGroupId },
|
|
41527
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'],'expand': opts['expand'] },
|
|
41528
|
+
{ },
|
|
41529
|
+
{ },
|
|
41530
|
+
null,
|
|
41531
|
+
['PureCloud OAuth'],
|
|
41532
|
+
['application/json'],
|
|
41533
|
+
['application/json']
|
|
41534
|
+
);
|
|
41535
|
+
}
|
|
41536
|
+
|
|
41537
|
+
/**
|
|
41538
|
+
* Get list of member divisions for this skill group.
|
|
41539
|
+
*
|
|
41540
|
+
* @param {String} skillGroupId Skill Group ID
|
|
41541
|
+
* @param {Object} opts Optional parameters
|
|
41542
|
+
* @param {Object} opts.expand Expand the name on each user
|
|
41543
|
+
*/
|
|
41544
|
+
getRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
41545
|
+
opts = opts || {};
|
|
41546
|
+
|
|
41547
|
+
// verify the required parameter 'skillGroupId' is set
|
|
41548
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
41549
|
+
throw 'Missing the required parameter "skillGroupId" when calling getRoutingSkillgroupMembersDivisions';
|
|
41550
|
+
}
|
|
41551
|
+
|
|
41552
|
+
return this.apiClient.callApi(
|
|
41553
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
41554
|
+
'GET',
|
|
41555
|
+
{ 'skillGroupId': skillGroupId },
|
|
41556
|
+
{ 'expand': opts['expand'] },
|
|
41557
|
+
{ },
|
|
41558
|
+
{ },
|
|
41559
|
+
null,
|
|
41560
|
+
['PureCloud OAuth'],
|
|
41561
|
+
['application/json'],
|
|
41562
|
+
['application/json']
|
|
41563
|
+
);
|
|
41564
|
+
}
|
|
41565
|
+
|
|
41566
|
+
/**
|
|
41567
|
+
* Get skill group listing
|
|
41568
|
+
*
|
|
41569
|
+
* @param {Object} opts Optional parameters
|
|
41570
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
41571
|
+
* @param {String} opts.name Return only skill group names whose names start with this value (case-insensitive matching)
|
|
41572
|
+
* @param {String} opts.after The cursor that points to the next item
|
|
41573
|
+
* @param {String} opts.before The cursor that points to the previous item
|
|
41574
|
+
*/
|
|
41575
|
+
getRoutingSkillgroups(opts) {
|
|
41576
|
+
opts = opts || {};
|
|
41577
|
+
|
|
41578
|
+
|
|
41579
|
+
return this.apiClient.callApi(
|
|
41580
|
+
'/api/v2/routing/skillgroups',
|
|
41581
|
+
'GET',
|
|
41582
|
+
{ },
|
|
41583
|
+
{ 'pageSize': opts['pageSize'],'name': opts['name'],'after': opts['after'],'before': opts['before'] },
|
|
41584
|
+
{ },
|
|
41585
|
+
{ },
|
|
41586
|
+
null,
|
|
41587
|
+
['PureCloud OAuth'],
|
|
41588
|
+
['application/json'],
|
|
41589
|
+
['application/json']
|
|
41590
|
+
);
|
|
41591
|
+
}
|
|
41592
|
+
|
|
41486
41593
|
/**
|
|
41487
41594
|
* Get the list of routing skills.
|
|
41488
41595
|
*
|
|
@@ -42121,6 +42228,36 @@ class RoutingApi {
|
|
|
42121
42228
|
);
|
|
42122
42229
|
}
|
|
42123
42230
|
|
|
42231
|
+
/**
|
|
42232
|
+
* Update skill group definition
|
|
42233
|
+
*
|
|
42234
|
+
* @param {String} skillGroupId Skill Group ID
|
|
42235
|
+
* @param {Object} body Update skill groups
|
|
42236
|
+
*/
|
|
42237
|
+
patchRoutingSkillgroup(skillGroupId, body) {
|
|
42238
|
+
// verify the required parameter 'skillGroupId' is set
|
|
42239
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
42240
|
+
throw 'Missing the required parameter "skillGroupId" when calling patchRoutingSkillgroup';
|
|
42241
|
+
}
|
|
42242
|
+
// verify the required parameter 'body' is set
|
|
42243
|
+
if (body === undefined || body === null) {
|
|
42244
|
+
throw 'Missing the required parameter "body" when calling patchRoutingSkillgroup';
|
|
42245
|
+
}
|
|
42246
|
+
|
|
42247
|
+
return this.apiClient.callApi(
|
|
42248
|
+
'/api/v2/routing/skillgroups/{skillGroupId}',
|
|
42249
|
+
'PATCH',
|
|
42250
|
+
{ 'skillGroupId': skillGroupId },
|
|
42251
|
+
{ },
|
|
42252
|
+
{ },
|
|
42253
|
+
{ },
|
|
42254
|
+
body,
|
|
42255
|
+
['PureCloud OAuth'],
|
|
42256
|
+
['application/json'],
|
|
42257
|
+
['application/json']
|
|
42258
|
+
);
|
|
42259
|
+
}
|
|
42260
|
+
|
|
42124
42261
|
/**
|
|
42125
42262
|
* Join or unjoin a queue for a user
|
|
42126
42263
|
*
|
|
@@ -42664,6 +42801,60 @@ class RoutingApi {
|
|
|
42664
42801
|
);
|
|
42665
42802
|
}
|
|
42666
42803
|
|
|
42804
|
+
/**
|
|
42805
|
+
* Add or remove member divisions for this skill group.
|
|
42806
|
+
*
|
|
42807
|
+
* @param {String} skillGroupId Skill Group ID
|
|
42808
|
+
* @param {Object} opts Optional parameters
|
|
42809
|
+
* @param {Object} opts.body
|
|
42810
|
+
*/
|
|
42811
|
+
postRoutingSkillgroupMembersDivisions(skillGroupId, opts) {
|
|
42812
|
+
opts = opts || {};
|
|
42813
|
+
|
|
42814
|
+
// verify the required parameter 'skillGroupId' is set
|
|
42815
|
+
if (skillGroupId === undefined || skillGroupId === null) {
|
|
42816
|
+
throw 'Missing the required parameter "skillGroupId" when calling postRoutingSkillgroupMembersDivisions';
|
|
42817
|
+
}
|
|
42818
|
+
|
|
42819
|
+
return this.apiClient.callApi(
|
|
42820
|
+
'/api/v2/routing/skillgroups/{skillGroupId}/members/divisions',
|
|
42821
|
+
'POST',
|
|
42822
|
+
{ 'skillGroupId': skillGroupId },
|
|
42823
|
+
{ },
|
|
42824
|
+
{ },
|
|
42825
|
+
{ },
|
|
42826
|
+
opts['body'],
|
|
42827
|
+
['PureCloud OAuth'],
|
|
42828
|
+
['application/json'],
|
|
42829
|
+
['application/json']
|
|
42830
|
+
);
|
|
42831
|
+
}
|
|
42832
|
+
|
|
42833
|
+
/**
|
|
42834
|
+
* Create a skill group
|
|
42835
|
+
*
|
|
42836
|
+
* @param {Object} body Create skill group
|
|
42837
|
+
*/
|
|
42838
|
+
postRoutingSkillgroups(body) {
|
|
42839
|
+
// verify the required parameter 'body' is set
|
|
42840
|
+
if (body === undefined || body === null) {
|
|
42841
|
+
throw 'Missing the required parameter "body" when calling postRoutingSkillgroups';
|
|
42842
|
+
}
|
|
42843
|
+
|
|
42844
|
+
return this.apiClient.callApi(
|
|
42845
|
+
'/api/v2/routing/skillgroups',
|
|
42846
|
+
'POST',
|
|
42847
|
+
{ },
|
|
42848
|
+
{ },
|
|
42849
|
+
{ },
|
|
42850
|
+
{ },
|
|
42851
|
+
body,
|
|
42852
|
+
['PureCloud OAuth'],
|
|
42853
|
+
['application/json'],
|
|
42854
|
+
['application/json']
|
|
42855
|
+
);
|
|
42856
|
+
}
|
|
42857
|
+
|
|
42667
42858
|
/**
|
|
42668
42859
|
* Create Skill
|
|
42669
42860
|
*
|
|
@@ -43180,7 +43371,7 @@ class SCIMApi {
|
|
|
43180
43371
|
/**
|
|
43181
43372
|
* SCIM service.
|
|
43182
43373
|
* @module purecloud-platform-client-v2/api/SCIMApi
|
|
43183
|
-
* @version
|
|
43374
|
+
* @version 152.0.0
|
|
43184
43375
|
*/
|
|
43185
43376
|
|
|
43186
43377
|
/**
|
|
@@ -44057,7 +44248,7 @@ class ScriptsApi {
|
|
|
44057
44248
|
/**
|
|
44058
44249
|
* Scripts service.
|
|
44059
44250
|
* @module purecloud-platform-client-v2/api/ScriptsApi
|
|
44060
|
-
* @version
|
|
44251
|
+
* @version 152.0.0
|
|
44061
44252
|
*/
|
|
44062
44253
|
|
|
44063
44254
|
/**
|
|
@@ -44476,7 +44667,7 @@ class SearchApi {
|
|
|
44476
44667
|
/**
|
|
44477
44668
|
* Search service.
|
|
44478
44669
|
* @module purecloud-platform-client-v2/api/SearchApi
|
|
44479
|
-
* @version
|
|
44670
|
+
* @version 152.0.0
|
|
44480
44671
|
*/
|
|
44481
44672
|
|
|
44482
44673
|
/**
|
|
@@ -45061,7 +45252,7 @@ class SpeechTextAnalyticsApi {
|
|
|
45061
45252
|
/**
|
|
45062
45253
|
* SpeechTextAnalytics service.
|
|
45063
45254
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
45064
|
-
* @version
|
|
45255
|
+
* @version 152.0.0
|
|
45065
45256
|
*/
|
|
45066
45257
|
|
|
45067
45258
|
/**
|
|
@@ -45915,7 +46106,7 @@ class StationsApi {
|
|
|
45915
46106
|
/**
|
|
45916
46107
|
* Stations service.
|
|
45917
46108
|
* @module purecloud-platform-client-v2/api/StationsApi
|
|
45918
|
-
* @version
|
|
46109
|
+
* @version 152.0.0
|
|
45919
46110
|
*/
|
|
45920
46111
|
|
|
45921
46112
|
/**
|
|
@@ -46062,7 +46253,7 @@ class SuggestApi {
|
|
|
46062
46253
|
/**
|
|
46063
46254
|
* Suggest service.
|
|
46064
46255
|
* @module purecloud-platform-client-v2/api/SuggestApi
|
|
46065
|
-
* @version
|
|
46256
|
+
* @version 152.0.0
|
|
46066
46257
|
*/
|
|
46067
46258
|
|
|
46068
46259
|
/**
|
|
@@ -46201,7 +46392,7 @@ class TeamsApi {
|
|
|
46201
46392
|
/**
|
|
46202
46393
|
* Teams service.
|
|
46203
46394
|
* @module purecloud-platform-client-v2/api/TeamsApi
|
|
46204
|
-
* @version
|
|
46395
|
+
* @version 152.0.0
|
|
46205
46396
|
*/
|
|
46206
46397
|
|
|
46207
46398
|
/**
|
|
@@ -46472,7 +46663,7 @@ class TelephonyApi {
|
|
|
46472
46663
|
/**
|
|
46473
46664
|
* Telephony service.
|
|
46474
46665
|
* @module purecloud-platform-client-v2/api/TelephonyApi
|
|
46475
|
-
* @version
|
|
46666
|
+
* @version 152.0.0
|
|
46476
46667
|
*/
|
|
46477
46668
|
|
|
46478
46669
|
/**
|
|
@@ -46580,7 +46771,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
46580
46771
|
/**
|
|
46581
46772
|
* TelephonyProvidersEdge service.
|
|
46582
46773
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
46583
|
-
* @version
|
|
46774
|
+
* @version 152.0.0
|
|
46584
46775
|
*/
|
|
46585
46776
|
|
|
46586
46777
|
/**
|
|
@@ -50213,7 +50404,7 @@ class TextbotsApi {
|
|
|
50213
50404
|
/**
|
|
50214
50405
|
* Textbots service.
|
|
50215
50406
|
* @module purecloud-platform-client-v2/api/TextbotsApi
|
|
50216
|
-
* @version
|
|
50407
|
+
* @version 152.0.0
|
|
50217
50408
|
*/
|
|
50218
50409
|
|
|
50219
50410
|
/**
|
|
@@ -50341,7 +50532,7 @@ class TokensApi {
|
|
|
50341
50532
|
/**
|
|
50342
50533
|
* Tokens service.
|
|
50343
50534
|
* @module purecloud-platform-client-v2/api/TokensApi
|
|
50344
|
-
* @version
|
|
50535
|
+
* @version 152.0.0
|
|
50345
50536
|
*/
|
|
50346
50537
|
|
|
50347
50538
|
/**
|
|
@@ -50447,7 +50638,7 @@ class UploadsApi {
|
|
|
50447
50638
|
/**
|
|
50448
50639
|
* Uploads service.
|
|
50449
50640
|
* @module purecloud-platform-client-v2/api/UploadsApi
|
|
50450
|
-
* @version
|
|
50641
|
+
* @version 152.0.0
|
|
50451
50642
|
*/
|
|
50452
50643
|
|
|
50453
50644
|
/**
|
|
@@ -50623,7 +50814,7 @@ class UsageApi {
|
|
|
50623
50814
|
/**
|
|
50624
50815
|
* Usage service.
|
|
50625
50816
|
* @module purecloud-platform-client-v2/api/UsageApi
|
|
50626
|
-
* @version
|
|
50817
|
+
* @version 152.0.0
|
|
50627
50818
|
*/
|
|
50628
50819
|
|
|
50629
50820
|
/**
|
|
@@ -50694,7 +50885,7 @@ class UserRecordingsApi {
|
|
|
50694
50885
|
/**
|
|
50695
50886
|
* UserRecordings service.
|
|
50696
50887
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
50697
|
-
* @version
|
|
50888
|
+
* @version 152.0.0
|
|
50698
50889
|
*/
|
|
50699
50890
|
|
|
50700
50891
|
/**
|
|
@@ -50879,7 +51070,7 @@ class UsersApi {
|
|
|
50879
51070
|
/**
|
|
50880
51071
|
* Users service.
|
|
50881
51072
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
50882
|
-
* @version
|
|
51073
|
+
* @version 152.0.0
|
|
50883
51074
|
*/
|
|
50884
51075
|
|
|
50885
51076
|
/**
|
|
@@ -53236,7 +53427,7 @@ class UtilitiesApi {
|
|
|
53236
53427
|
/**
|
|
53237
53428
|
* Utilities service.
|
|
53238
53429
|
* @module purecloud-platform-client-v2/api/UtilitiesApi
|
|
53239
|
-
* @version
|
|
53430
|
+
* @version 152.0.0
|
|
53240
53431
|
*/
|
|
53241
53432
|
|
|
53242
53433
|
/**
|
|
@@ -53347,7 +53538,7 @@ class VoicemailApi {
|
|
|
53347
53538
|
/**
|
|
53348
53539
|
* Voicemail service.
|
|
53349
53540
|
* @module purecloud-platform-client-v2/api/VoicemailApi
|
|
53350
|
-
* @version
|
|
53541
|
+
* @version 152.0.0
|
|
53351
53542
|
*/
|
|
53352
53543
|
|
|
53353
53544
|
/**
|
|
@@ -54014,7 +54205,7 @@ class WebChatApi {
|
|
|
54014
54205
|
/**
|
|
54015
54206
|
* WebChat service.
|
|
54016
54207
|
* @module purecloud-platform-client-v2/api/WebChatApi
|
|
54017
|
-
* @version
|
|
54208
|
+
* @version 152.0.0
|
|
54018
54209
|
*/
|
|
54019
54210
|
|
|
54020
54211
|
/**
|
|
@@ -54558,7 +54749,7 @@ class WebDeploymentsApi {
|
|
|
54558
54749
|
/**
|
|
54559
54750
|
* WebDeployments service.
|
|
54560
54751
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
54561
|
-
* @version
|
|
54752
|
+
* @version 152.0.0
|
|
54562
54753
|
*/
|
|
54563
54754
|
|
|
54564
54755
|
/**
|
|
@@ -54946,7 +55137,7 @@ class WebMessagingApi {
|
|
|
54946
55137
|
/**
|
|
54947
55138
|
* WebMessaging service.
|
|
54948
55139
|
* @module purecloud-platform-client-v2/api/WebMessagingApi
|
|
54949
|
-
* @version
|
|
55140
|
+
* @version 152.0.0
|
|
54950
55141
|
*/
|
|
54951
55142
|
|
|
54952
55143
|
/**
|
|
@@ -54992,7 +55183,7 @@ class WidgetsApi {
|
|
|
54992
55183
|
/**
|
|
54993
55184
|
* Widgets service.
|
|
54994
55185
|
* @module purecloud-platform-client-v2/api/WidgetsApi
|
|
54995
|
-
* @version
|
|
55186
|
+
* @version 152.0.0
|
|
54996
55187
|
*/
|
|
54997
55188
|
|
|
54998
55189
|
/**
|
|
@@ -55138,7 +55329,7 @@ class WorkforceManagementApi {
|
|
|
55138
55329
|
/**
|
|
55139
55330
|
* WorkforceManagement service.
|
|
55140
55331
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
55141
|
-
* @version
|
|
55332
|
+
* @version 152.0.0
|
|
55142
55333
|
*/
|
|
55143
55334
|
|
|
55144
55335
|
/**
|
|
@@ -59484,7 +59675,7 @@ class WorkforceManagementApi {
|
|
|
59484
59675
|
* </pre>
|
|
59485
59676
|
* </p>
|
|
59486
59677
|
* @module purecloud-platform-client-v2/index
|
|
59487
|
-
* @version
|
|
59678
|
+
* @version 152.0.0
|
|
59488
59679
|
*/
|
|
59489
59680
|
class platformClient {
|
|
59490
59681
|
constructor() {
|