purecloud-platform-client-v2 160.1.0 → 161.0.1
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 +117 -96
- package/dist/web-amd/purecloud-platform-client-v2.js +117 -96
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +117 -96
- package/dist/web-cjs/purecloud-platform-client-v2.js +117 -96
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +99 -18
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +1 -1
- 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 -1
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/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 +46 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/QualityApi.js +2 -2
- 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 +3 -2
- 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 -26
- 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
|
@@ -5,7 +5,7 @@ class PresenceApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Presence service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/PresenceApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 161.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -70,6 +70,26 @@ class PresenceApi {
|
|
|
70
70
|
);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
/**
|
|
74
|
+
* Get the presence settings
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
getPresenceSettings() {
|
|
78
|
+
|
|
79
|
+
return this.apiClient.callApi(
|
|
80
|
+
'/api/v2/presence/settings',
|
|
81
|
+
'GET',
|
|
82
|
+
{ },
|
|
83
|
+
{ },
|
|
84
|
+
{ },
|
|
85
|
+
{ },
|
|
86
|
+
null,
|
|
87
|
+
['PureCloud OAuth'],
|
|
88
|
+
['application/json'],
|
|
89
|
+
['application/json']
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
73
93
|
/**
|
|
74
94
|
* Get a Presence Source
|
|
75
95
|
*
|
|
@@ -390,6 +410,31 @@ class PresenceApi {
|
|
|
390
410
|
);
|
|
391
411
|
}
|
|
392
412
|
|
|
413
|
+
/**
|
|
414
|
+
* Update the presence settings
|
|
415
|
+
*
|
|
416
|
+
* @param {Object} body Presence Settings
|
|
417
|
+
*/
|
|
418
|
+
putPresenceSettings(body) {
|
|
419
|
+
// verify the required parameter 'body' is set
|
|
420
|
+
if (body === undefined || body === null) {
|
|
421
|
+
throw 'Missing the required parameter "body" when calling putPresenceSettings';
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
return this.apiClient.callApi(
|
|
425
|
+
'/api/v2/presence/settings',
|
|
426
|
+
'PUT',
|
|
427
|
+
{ },
|
|
428
|
+
{ },
|
|
429
|
+
{ },
|
|
430
|
+
{ },
|
|
431
|
+
body,
|
|
432
|
+
['PureCloud OAuth'],
|
|
433
|
+
['application/json'],
|
|
434
|
+
['application/json']
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
|
|
393
438
|
/**
|
|
394
439
|
* Update a Presence Source
|
|
395
440
|
*
|
|
@@ -5,7 +5,7 @@ class QualityApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Quality service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/QualityApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 161.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -398,7 +398,7 @@ class QualityApi {
|
|
|
398
398
|
* @param {Boolean} opts.agentHasRead agent has the evaluation
|
|
399
399
|
* @param {Boolean} opts.expandAnswerTotalScores get the total scores for evaluations
|
|
400
400
|
* @param {Number} opts.maximum maximum
|
|
401
|
-
* @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'
|
|
401
|
+
* @param {String} opts.sortOrder sort order options for agentUserId or evaluatorUserId query. Valid options are 'a', 'asc', 'ascending', 'd', 'desc', 'descending'. Sorts by assigned date when evaluatorUserId or agentTeamId are supplied, and by released date for agentUserId
|
|
402
402
|
*/
|
|
403
403
|
getQualityEvaluationsQuery(opts) {
|
|
404
404
|
opts = opts || {};
|
|
@@ -5,7 +5,7 @@ class RoutingApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Routing service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/RoutingApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 161.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1944,6 +1944,7 @@ class RoutingApi {
|
|
|
1944
1944
|
* @param {Object} opts.sortBy Sort by (default to name)
|
|
1945
1945
|
* @param {Object} opts.sortOrder Sort order (default to ascending)
|
|
1946
1946
|
* @param {String} opts.name Wrapup code's name ('Sort by' param is ignored unless this field is provided)
|
|
1947
|
+
* @param {Array.<String>} opts.divisionId Filter by division ID(s)
|
|
1947
1948
|
*/
|
|
1948
1949
|
getRoutingWrapupcodes(opts) {
|
|
1949
1950
|
opts = opts || {};
|
|
@@ -1953,7 +1954,7 @@ class RoutingApi {
|
|
|
1953
1954
|
'/api/v2/routing/wrapupcodes',
|
|
1954
1955
|
'GET',
|
|
1955
1956
|
{ },
|
|
1956
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'] },
|
|
1957
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'sortBy': opts['sortBy'],'sortOrder': opts['sortOrder'],'name': opts['name'],'divisionId': this.apiClient.buildCollectionParam(opts['divisionId'], 'multi') },
|
|
1957
1958
|
{ },
|
|
1958
1959
|
{ },
|
|
1959
1960
|
null,
|
|
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TelephonyProvidersEdge service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 161.0.1
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3028,31 +3028,6 @@ class TelephonyProvidersEdgeApi {
|
|
|
3028
3028
|
);
|
|
3029
3029
|
}
|
|
3030
3030
|
|
|
3031
|
-
/**
|
|
3032
|
-
* Triggers the rebalance operation.
|
|
3033
|
-
*
|
|
3034
|
-
* @param {String} siteId Site ID
|
|
3035
|
-
*/
|
|
3036
|
-
postTelephonyProvidersEdgesSiteRebalance(siteId) {
|
|
3037
|
-
// verify the required parameter 'siteId' is set
|
|
3038
|
-
if (siteId === undefined || siteId === null) {
|
|
3039
|
-
throw 'Missing the required parameter "siteId" when calling postTelephonyProvidersEdgesSiteRebalance';
|
|
3040
|
-
}
|
|
3041
|
-
|
|
3042
|
-
return this.apiClient.callApi(
|
|
3043
|
-
'/api/v2/telephony/providers/edges/sites/{siteId}/rebalance',
|
|
3044
|
-
'POST',
|
|
3045
|
-
{ 'siteId': siteId },
|
|
3046
|
-
{ },
|
|
3047
|
-
{ },
|
|
3048
|
-
{ },
|
|
3049
|
-
null,
|
|
3050
|
-
['PureCloud OAuth'],
|
|
3051
|
-
['application/json'],
|
|
3052
|
-
['application/json']
|
|
3053
|
-
);
|
|
3054
|
-
}
|
|
3055
|
-
|
|
3056
3031
|
/**
|
|
3057
3032
|
* Create a Site.
|
|
3058
3033
|
*
|