purecloud-platform-client-v2 158.0.0 → 160.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 +637 -185
- package/dist/web-amd/purecloud-platform-client-v2.js +637 -185
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +637 -185
- package/dist/web-cjs/purecloud-platform-client-v2.js +7146 -481
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +444 -169
- package/package.json +3 -2
- package/src/purecloud-platform-client-v2/ApiClient.js +16 -4
- 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 +27 -2
- 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 +107 -0
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +95 -1
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +2 -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 +55 -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 +13 -5
- 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 +60 -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 +5 -4
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +2 -102
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +38 -3
- 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 +26 -1
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +76 -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 +3 -2
- 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 +32 -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 +26 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* SpeechTextAnalytics service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -224,6 +224,31 @@ class SpeechTextAnalyticsApi {
|
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
/**
|
|
228
|
+
* Get transcription engine settings of a program
|
|
229
|
+
*
|
|
230
|
+
* @param {String} programId The id of the program
|
|
231
|
+
*/
|
|
232
|
+
getSpeechandtextanalyticsProgramTranscriptionengines(programId) {
|
|
233
|
+
// verify the required parameter 'programId' is set
|
|
234
|
+
if (programId === undefined || programId === null) {
|
|
235
|
+
throw 'Missing the required parameter "programId" when calling getSpeechandtextanalyticsProgramTranscriptionengines';
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
return this.apiClient.callApi(
|
|
239
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
240
|
+
'GET',
|
|
241
|
+
{ 'programId': programId },
|
|
242
|
+
{ },
|
|
243
|
+
{ },
|
|
244
|
+
{ },
|
|
245
|
+
null,
|
|
246
|
+
['PureCloud OAuth'],
|
|
247
|
+
['application/json'],
|
|
248
|
+
['application/json']
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
|
|
227
252
|
/**
|
|
228
253
|
* Get the list of Speech and Text Analytics programs
|
|
229
254
|
*
|
|
@@ -325,6 +350,26 @@ class SpeechTextAnalyticsApi {
|
|
|
325
350
|
);
|
|
326
351
|
}
|
|
327
352
|
|
|
353
|
+
/**
|
|
354
|
+
* Get supported dialects for each transcription engine
|
|
355
|
+
*
|
|
356
|
+
*/
|
|
357
|
+
getSpeechandtextanalyticsProgramsTranscriptionenginesDialects() {
|
|
358
|
+
|
|
359
|
+
return this.apiClient.callApi(
|
|
360
|
+
'/api/v2/speechandtextanalytics/programs/transcriptionengines/dialects',
|
|
361
|
+
'GET',
|
|
362
|
+
{ },
|
|
363
|
+
{ },
|
|
364
|
+
{ },
|
|
365
|
+
{ },
|
|
366
|
+
null,
|
|
367
|
+
['PureCloud OAuth'],
|
|
368
|
+
['application/json'],
|
|
369
|
+
['application/json']
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
|
|
328
373
|
/**
|
|
329
374
|
* Get the list of Speech and Text Analytics unpublished programs
|
|
330
375
|
*
|
|
@@ -798,6 +843,36 @@ class SpeechTextAnalyticsApi {
|
|
|
798
843
|
);
|
|
799
844
|
}
|
|
800
845
|
|
|
846
|
+
/**
|
|
847
|
+
* Update transcription engine settings of a program
|
|
848
|
+
*
|
|
849
|
+
* @param {String} programId The id of the program
|
|
850
|
+
* @param {Object} body Program transcription engine setting
|
|
851
|
+
*/
|
|
852
|
+
putSpeechandtextanalyticsProgramTranscriptionengines(programId, body) {
|
|
853
|
+
// verify the required parameter 'programId' is set
|
|
854
|
+
if (programId === undefined || programId === null) {
|
|
855
|
+
throw 'Missing the required parameter "programId" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
856
|
+
}
|
|
857
|
+
// verify the required parameter 'body' is set
|
|
858
|
+
if (body === undefined || body === null) {
|
|
859
|
+
throw 'Missing the required parameter "body" when calling putSpeechandtextanalyticsProgramTranscriptionengines';
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
return this.apiClient.callApi(
|
|
863
|
+
'/api/v2/speechandtextanalytics/programs/{programId}/transcriptionengines',
|
|
864
|
+
'PUT',
|
|
865
|
+
{ 'programId': programId },
|
|
866
|
+
{ },
|
|
867
|
+
{ },
|
|
868
|
+
{ },
|
|
869
|
+
body,
|
|
870
|
+
['PureCloud OAuth'],
|
|
871
|
+
['application/json'],
|
|
872
|
+
['application/json']
|
|
873
|
+
);
|
|
874
|
+
}
|
|
875
|
+
|
|
801
876
|
/**
|
|
802
877
|
* Update Speech And Text Analytics Settings
|
|
803
878
|
*
|
|
@@ -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 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1011,6 +1011,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1011
1011
|
* @param {String} opts.edgeGroupId Filter by edgeGroup.id
|
|
1012
1012
|
* @param {String} opts.sortBy Sort by (default to name)
|
|
1013
1013
|
* @param {Boolean} opts.managed Filter by managed
|
|
1014
|
+
* @param {Boolean} opts.showCloudMedia True to show the cloud media devices in the result. (default to true)
|
|
1014
1015
|
*/
|
|
1015
1016
|
getTelephonyProvidersEdges(opts) {
|
|
1016
1017
|
opts = opts || {};
|
|
@@ -1020,7 +1021,7 @@ class TelephonyProvidersEdgeApi {
|
|
|
1020
1021
|
'/api/v2/telephony/providers/edges',
|
|
1021
1022
|
'GET',
|
|
1022
1023
|
{ },
|
|
1023
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'] },
|
|
1024
|
+
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'],'site.id': opts['siteId'],'edgeGroup.id': opts['edgeGroupId'],'sortBy': opts['sortBy'],'managed': opts['managed'],'showCloudMedia': opts['showCloudMedia'] },
|
|
1024
1025
|
{ },
|
|
1025
1026
|
{ },
|
|
1026
1027
|
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 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -934,6 +934,37 @@ class UsersApi {
|
|
|
934
934
|
);
|
|
935
935
|
}
|
|
936
936
|
|
|
937
|
+
/**
|
|
938
|
+
* Get skill groups for a user
|
|
939
|
+
*
|
|
940
|
+
* @param {String} userId User ID
|
|
941
|
+
* @param {Object} opts Optional parameters
|
|
942
|
+
* @param {Number} opts.pageSize Page size (default to 25)
|
|
943
|
+
* @param {String} opts.after The cursor that points to the next page
|
|
944
|
+
* @param {String} opts.before The cursor that points to the previous page
|
|
945
|
+
*/
|
|
946
|
+
getUserSkillgroups(userId, opts) {
|
|
947
|
+
opts = opts || {};
|
|
948
|
+
|
|
949
|
+
// verify the required parameter 'userId' is set
|
|
950
|
+
if (userId === undefined || userId === null) {
|
|
951
|
+
throw 'Missing the required parameter "userId" when calling getUserSkillgroups';
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
return this.apiClient.callApi(
|
|
955
|
+
'/api/v2/users/{userId}/skillgroups',
|
|
956
|
+
'GET',
|
|
957
|
+
{ 'userId': userId },
|
|
958
|
+
{ 'pageSize': opts['pageSize'],'after': opts['after'],'before': opts['before'] },
|
|
959
|
+
{ },
|
|
960
|
+
{ },
|
|
961
|
+
null,
|
|
962
|
+
['PureCloud OAuth'],
|
|
963
|
+
['application/json'],
|
|
964
|
+
['application/json']
|
|
965
|
+
);
|
|
966
|
+
}
|
|
967
|
+
|
|
937
968
|
/**
|
|
938
969
|
* Get user state information.
|
|
939
970
|
*
|
|
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* WorkforceManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/WorkforceManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 160.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -3040,6 +3040,31 @@ class WorkforceManagementApi {
|
|
|
3040
3040
|
);
|
|
3041
3041
|
}
|
|
3042
3042
|
|
|
3043
|
+
/**
|
|
3044
|
+
* Get agent possible work shifts for requested time frame
|
|
3045
|
+
*
|
|
3046
|
+
* @param {Object} body body
|
|
3047
|
+
*/
|
|
3048
|
+
postWorkforcemanagementAgentsMePossibleworkshifts(body) {
|
|
3049
|
+
// verify the required parameter 'body' is set
|
|
3050
|
+
if (body === undefined || body === null) {
|
|
3051
|
+
throw 'Missing the required parameter "body" when calling postWorkforcemanagementAgentsMePossibleworkshifts';
|
|
3052
|
+
}
|
|
3053
|
+
|
|
3054
|
+
return this.apiClient.callApi(
|
|
3055
|
+
'/api/v2/workforcemanagement/agents/me/possibleworkshifts',
|
|
3056
|
+
'POST',
|
|
3057
|
+
{ },
|
|
3058
|
+
{ },
|
|
3059
|
+
{ },
|
|
3060
|
+
{ },
|
|
3061
|
+
body,
|
|
3062
|
+
['PureCloud OAuth'],
|
|
3063
|
+
['application/json'],
|
|
3064
|
+
['application/json']
|
|
3065
|
+
);
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3043
3068
|
/**
|
|
3044
3069
|
* Get published schedule for the current user
|
|
3045
3070
|
*
|
|
@@ -23,6 +23,7 @@ import GeolocationApi from './api/GeolocationApi.js';
|
|
|
23
23
|
import GreetingsApi from './api/GreetingsApi.js';
|
|
24
24
|
import GroupsApi from './api/GroupsApi.js';
|
|
25
25
|
import IdentityProviderApi from './api/IdentityProviderApi.js';
|
|
26
|
+
import InfrastructureAsCodeApi from './api/InfrastructureAsCodeApi.js';
|
|
26
27
|
import IntegrationsApi from './api/IntegrationsApi.js';
|
|
27
28
|
import JourneyApi from './api/JourneyApi.js';
|
|
28
29
|
import KnowledgeApi from './api/KnowledgeApi.js';
|
|
@@ -99,7 +100,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
99
100
|
* </pre>
|
|
100
101
|
* </p>
|
|
101
102
|
* @module purecloud-platform-client-v2/index
|
|
102
|
-
* @version
|
|
103
|
+
* @version 160.0.0
|
|
103
104
|
*/
|
|
104
105
|
class platformClient {
|
|
105
106
|
constructor() {
|
|
@@ -223,6 +224,11 @@ class platformClient {
|
|
|
223
224
|
* @property {module:purecloud-platform-client-v2/api/IdentityProviderApi}
|
|
224
225
|
*/
|
|
225
226
|
this.IdentityProviderApi = IdentityProviderApi;
|
|
227
|
+
/**
|
|
228
|
+
* The InfrastructureAsCodeApi service constructor.
|
|
229
|
+
* @property {module:purecloud-platform-client-v2/api/InfrastructureAsCodeApi}
|
|
230
|
+
*/
|
|
231
|
+
this.InfrastructureAsCodeApi = InfrastructureAsCodeApi;
|
|
226
232
|
/**
|
|
227
233
|
* The IntegrationsApi service constructor.
|
|
228
234
|
* @property {module:purecloud-platform-client-v2/api/IntegrationsApi}
|