purecloud-platform-client-v2 146.0.0 → 148.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 +660 -198
- package/dist/web-amd/purecloud-platform-client-v2.js +660 -198
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +660 -198
- package/dist/web-cjs/purecloud-platform-client-v2.js +661 -199
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +490 -145
- 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 +46 -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/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 -51
- 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 +3 -2
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -78
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +76 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +3 -2
- 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 +135 -1
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +243 -0
- package/src/purecloud-platform-client-v2/api/QualityApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +31 -1
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +1 -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 +3 -2
- package/src/purecloud-platform-client-v2/api/UsersApi.js +31 -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 +30 -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 +7 -1
|
@@ -5,7 +5,7 @@ class UserRecordingsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* UserRecordings service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UserRecordingsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 148.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -80,6 +80,7 @@ class UserRecordingsApi {
|
|
|
80
80
|
* @param {String} recordingId User Recording ID
|
|
81
81
|
* @param {Object} opts Optional parameters
|
|
82
82
|
* @param {Object} opts.formatId The desired media format. (default to WEBM)
|
|
83
|
+
* @param {Boolean} opts.async When set to true, api will return 202 response until the recording is ready for download
|
|
83
84
|
*/
|
|
84
85
|
getUserrecordingMedia(recordingId, opts) {
|
|
85
86
|
opts = opts || {};
|
|
@@ -93,7 +94,7 @@ class UserRecordingsApi {
|
|
|
93
94
|
'/api/v2/userrecordings/{recordingId}/media',
|
|
94
95
|
'GET',
|
|
95
96
|
{ 'recordingId': recordingId },
|
|
96
|
-
{ 'formatId': opts['formatId'] },
|
|
97
|
+
{ 'formatId': opts['formatId'],'async': opts['async'] },
|
|
97
98
|
{ },
|
|
98
99
|
{ },
|
|
99
100
|
null,
|
|
@@ -5,7 +5,7 @@ class UsersApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Users service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/UsersApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 148.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1747,6 +1747,36 @@ class UsersApi {
|
|
|
1747
1747
|
);
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* Create mapping between external identifier and user. Limit 100 per entity.
|
|
1752
|
+
* Authority Name and External key are case sensitive.
|
|
1753
|
+
* @param {String} userId User ID
|
|
1754
|
+
* @param {Object} body
|
|
1755
|
+
*/
|
|
1756
|
+
postUserExternalid(userId, body) {
|
|
1757
|
+
// verify the required parameter 'userId' is set
|
|
1758
|
+
if (userId === undefined || userId === null) {
|
|
1759
|
+
throw 'Missing the required parameter "userId" when calling postUserExternalid';
|
|
1760
|
+
}
|
|
1761
|
+
// verify the required parameter 'body' is set
|
|
1762
|
+
if (body === undefined || body === null) {
|
|
1763
|
+
throw 'Missing the required parameter "body" when calling postUserExternalid';
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
return this.apiClient.callApi(
|
|
1767
|
+
'/api/v2/users/{userId}/externalid',
|
|
1768
|
+
'POST',
|
|
1769
|
+
{ 'userId': userId },
|
|
1770
|
+
{ },
|
|
1771
|
+
{ },
|
|
1772
|
+
{ },
|
|
1773
|
+
body,
|
|
1774
|
+
['PureCloud OAuth'],
|
|
1775
|
+
['application/json'],
|
|
1776
|
+
['application/json']
|
|
1777
|
+
);
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1750
1780
|
/**
|
|
1751
1781
|
* Send an activation email to the user
|
|
1752
1782
|
*
|
|
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WebDeployments service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WebDeploymentsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 148.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -199,6 +199,35 @@ class WebDeploymentsApi {
|
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
+
/**
|
|
203
|
+
* Get active configuration for a given deployment
|
|
204
|
+
*
|
|
205
|
+
* @param {String} deploymentId The deployment ID
|
|
206
|
+
* @param {Object} opts Optional parameters
|
|
207
|
+
* @param {String} opts.type Get active configuration on a deployment
|
|
208
|
+
*/
|
|
209
|
+
getWebdeploymentsDeploymentConfigurations(deploymentId, opts) {
|
|
210
|
+
opts = opts || {};
|
|
211
|
+
|
|
212
|
+
// verify the required parameter 'deploymentId' is set
|
|
213
|
+
if (deploymentId === undefined || deploymentId === null) {
|
|
214
|
+
throw 'Missing the required parameter "deploymentId" when calling getWebdeploymentsDeploymentConfigurations';
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
return this.apiClient.callApi(
|
|
218
|
+
'/api/v2/webdeployments/deployments/{deploymentId}/configurations',
|
|
219
|
+
'GET',
|
|
220
|
+
{ 'deploymentId': deploymentId },
|
|
221
|
+
{ 'type': opts['type'] },
|
|
222
|
+
{ },
|
|
223
|
+
{ },
|
|
224
|
+
null,
|
|
225
|
+
['PureCloud OAuth'],
|
|
226
|
+
['application/json'],
|
|
227
|
+
['application/json']
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
|
|
202
231
|
/**
|
|
203
232
|
* Get deployments
|
|
204
233
|
*
|
|
@@ -38,6 +38,7 @@ import OrganizationApi from './api/OrganizationApi.js';
|
|
|
38
38
|
import OrganizationAuthorizationApi from './api/OrganizationAuthorizationApi.js';
|
|
39
39
|
import OutboundApi from './api/OutboundApi.js';
|
|
40
40
|
import PresenceApi from './api/PresenceApi.js';
|
|
41
|
+
import ProcessAutomationApi from './api/ProcessAutomationApi.js';
|
|
41
42
|
import QualityApi from './api/QualityApi.js';
|
|
42
43
|
import RecordingApi from './api/RecordingApi.js';
|
|
43
44
|
import ResponseManagementApi from './api/ResponseManagementApi.js';
|
|
@@ -96,7 +97,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
96
97
|
* </pre>
|
|
97
98
|
* </p>
|
|
98
99
|
* @module purecloud-platform-client-v2/index
|
|
99
|
-
* @version
|
|
100
|
+
* @version 148.0.0
|
|
100
101
|
*/
|
|
101
102
|
class platformClient {
|
|
102
103
|
constructor() {
|
|
@@ -295,6 +296,11 @@ class platformClient {
|
|
|
295
296
|
* @property {module:purecloud-platform-client-v2/api/PresenceApi}
|
|
296
297
|
*/
|
|
297
298
|
this.PresenceApi = PresenceApi;
|
|
299
|
+
/**
|
|
300
|
+
* The ProcessAutomationApi service constructor.
|
|
301
|
+
* @property {module:purecloud-platform-client-v2/api/ProcessAutomationApi}
|
|
302
|
+
*/
|
|
303
|
+
this.ProcessAutomationApi = ProcessAutomationApi;
|
|
298
304
|
/**
|
|
299
305
|
* The QualityApi service constructor.
|
|
300
306
|
* @property {module:purecloud-platform-client-v2/api/QualityApi}
|