purecloud-platform-client-v2 234.0.0 → 235.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 +3 -3
- package/dist/node/purecloud-platform-client-v2.js +276 -198
- package/dist/web-amd/purecloud-platform-client-v2.js +276 -198
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +180 -127
- package/dist/web-cjs/purecloud-platform-client-v2.js +180 -127
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +671 -561
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +45 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AgentUIApi.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/BusinessRulesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +51 -1
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +2 -8
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.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 +46 -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 +51 -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/LogCaptureApi.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/OperationalEventsApi.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 -107
- 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 +1 -1
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.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/SettingsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.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/TaskManagementApi.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 +3 -2
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class LearningApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* Learning service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/LearningApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 235.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -446,6 +446,31 @@ class LearningApi {
|
|
|
446
446
|
);
|
|
447
447
|
}
|
|
448
448
|
|
|
449
|
+
/**
|
|
450
|
+
* Retrieve the status of the job for the slots where a learning activity can be scheduled.
|
|
451
|
+
*
|
|
452
|
+
* @param {String} jobId The ID of the job
|
|
453
|
+
*/
|
|
454
|
+
getLearningScheduleslotsJob(jobId) {
|
|
455
|
+
// verify the required parameter 'jobId' is set
|
|
456
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
457
|
+
throw 'Missing the required parameter "jobId" when calling getLearningScheduleslotsJob';
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
return this.apiClient.callApi(
|
|
461
|
+
'/api/v2/learning/scheduleslots/jobs/{jobId}',
|
|
462
|
+
'GET',
|
|
463
|
+
{ 'jobId': jobId },
|
|
464
|
+
{ },
|
|
465
|
+
{ },
|
|
466
|
+
{ },
|
|
467
|
+
null,
|
|
468
|
+
['PureCloud OAuth'],
|
|
469
|
+
['application/json'],
|
|
470
|
+
['application/json']
|
|
471
|
+
);
|
|
472
|
+
}
|
|
473
|
+
|
|
449
474
|
/**
|
|
450
475
|
* Get Learning SCORM Result
|
|
451
476
|
*
|
|
@@ -889,6 +914,31 @@ class LearningApi {
|
|
|
889
914
|
);
|
|
890
915
|
}
|
|
891
916
|
|
|
917
|
+
/**
|
|
918
|
+
* Start job to retrieve slots where a learning activity can be scheduled.
|
|
919
|
+
*
|
|
920
|
+
* @param {Object} body The slots search request
|
|
921
|
+
*/
|
|
922
|
+
postLearningScheduleslotsJobs(body) {
|
|
923
|
+
// verify the required parameter 'body' is set
|
|
924
|
+
if (body === undefined || body === null) {
|
|
925
|
+
throw 'Missing the required parameter "body" when calling postLearningScheduleslotsJobs';
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
return this.apiClient.callApi(
|
|
929
|
+
'/api/v2/learning/scheduleslots/jobs',
|
|
930
|
+
'POST',
|
|
931
|
+
{ },
|
|
932
|
+
{ },
|
|
933
|
+
{ },
|
|
934
|
+
{ },
|
|
935
|
+
body,
|
|
936
|
+
['PureCloud OAuth'],
|
|
937
|
+
['application/json'],
|
|
938
|
+
['application/json']
|
|
939
|
+
);
|
|
940
|
+
}
|
|
941
|
+
|
|
892
942
|
/**
|
|
893
943
|
* Get list of possible slots where a learning activity can be scheduled.
|
|
894
944
|
*
|
|
@@ -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 235.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1069,59 +1069,6 @@ class QualityApi {
|
|
|
1069
1069
|
);
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
1072
|
-
/**
|
|
1073
|
-
* Get the most recent published version of an evaluation form across any division.
|
|
1074
|
-
*
|
|
1075
|
-
* @param {String} evaluationFormId Evaluation Form ID
|
|
1076
|
-
* getQualityPublishedformsEvaluationsDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1077
|
-
*/
|
|
1078
|
-
getQualityPublishedformsEvaluationsDivisionview(evaluationFormId) {
|
|
1079
|
-
// verify the required parameter 'evaluationFormId' is set
|
|
1080
|
-
if (evaluationFormId === undefined || evaluationFormId === null || evaluationFormId === '') {
|
|
1081
|
-
throw 'Missing the required parameter "evaluationFormId" when calling getQualityPublishedformsEvaluationsDivisionview';
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
return this.apiClient.callApi(
|
|
1085
|
-
'/api/v2/quality/publishedforms/evaluations/divisionviews/{evaluationFormId}',
|
|
1086
|
-
'GET',
|
|
1087
|
-
{ 'evaluationFormId': evaluationFormId },
|
|
1088
|
-
{ },
|
|
1089
|
-
{ },
|
|
1090
|
-
{ },
|
|
1091
|
-
null,
|
|
1092
|
-
['PureCloud OAuth'],
|
|
1093
|
-
['application/json'],
|
|
1094
|
-
['application/json']
|
|
1095
|
-
);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Get the published evaluation forms across any division.
|
|
1100
|
-
*
|
|
1101
|
-
* @param {Object} opts Optional parameters
|
|
1102
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1103
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1104
|
-
* @param {String} opts.name Name
|
|
1105
|
-
* getQualityPublishedformsEvaluationsDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1106
|
-
*/
|
|
1107
|
-
getQualityPublishedformsEvaluationsDivisionviews(opts) {
|
|
1108
|
-
opts = opts || {};
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
return this.apiClient.callApi(
|
|
1112
|
-
'/api/v2/quality/publishedforms/evaluations/divisionviews',
|
|
1113
|
-
'GET',
|
|
1114
|
-
{ },
|
|
1115
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
|
|
1116
|
-
{ },
|
|
1117
|
-
{ },
|
|
1118
|
-
null,
|
|
1119
|
-
['PureCloud OAuth'],
|
|
1120
|
-
['application/json'],
|
|
1121
|
-
['application/json']
|
|
1122
|
-
);
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
1072
|
/**
|
|
1126
1073
|
* Get the most recent published version of a survey form.
|
|
1127
1074
|
*
|
|
@@ -1174,59 +1121,6 @@ class QualityApi {
|
|
|
1174
1121
|
);
|
|
1175
1122
|
}
|
|
1176
1123
|
|
|
1177
|
-
/**
|
|
1178
|
-
* Get the most recent published version of an enabled survey form across any division.
|
|
1179
|
-
*
|
|
1180
|
-
* @param {String} surveyFormId Survey Form ID
|
|
1181
|
-
* getQualityPublishedformsSurveysDivisionview is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1182
|
-
*/
|
|
1183
|
-
getQualityPublishedformsSurveysDivisionview(surveyFormId) {
|
|
1184
|
-
// verify the required parameter 'surveyFormId' is set
|
|
1185
|
-
if (surveyFormId === undefined || surveyFormId === null || surveyFormId === '') {
|
|
1186
|
-
throw 'Missing the required parameter "surveyFormId" when calling getQualityPublishedformsSurveysDivisionview';
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
return this.apiClient.callApi(
|
|
1190
|
-
'/api/v2/quality/publishedforms/surveys/divisionviews/{surveyFormId}',
|
|
1191
|
-
'GET',
|
|
1192
|
-
{ 'surveyFormId': surveyFormId },
|
|
1193
|
-
{ },
|
|
1194
|
-
{ },
|
|
1195
|
-
{ },
|
|
1196
|
-
null,
|
|
1197
|
-
['PureCloud OAuth'],
|
|
1198
|
-
['application/json'],
|
|
1199
|
-
['application/json']
|
|
1200
|
-
);
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* Get the published and enabled survey forms across any division.
|
|
1205
|
-
*
|
|
1206
|
-
* @param {Object} opts Optional parameters
|
|
1207
|
-
* @param {Number} opts.pageSize Page size (default to 25)
|
|
1208
|
-
* @param {Number} opts.pageNumber Page number (default to 1)
|
|
1209
|
-
* @param {String} opts.name Name
|
|
1210
|
-
* getQualityPublishedformsSurveysDivisionviews is a preview method and is subject to both breaking and non-breaking changes at any time without notice
|
|
1211
|
-
*/
|
|
1212
|
-
getQualityPublishedformsSurveysDivisionviews(opts) {
|
|
1213
|
-
opts = opts || {};
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
return this.apiClient.callApi(
|
|
1217
|
-
'/api/v2/quality/publishedforms/surveys/divisionviews',
|
|
1218
|
-
'GET',
|
|
1219
|
-
{ },
|
|
1220
|
-
{ 'pageSize': opts['pageSize'],'pageNumber': opts['pageNumber'],'name': opts['name'] },
|
|
1221
|
-
{ },
|
|
1222
|
-
{ },
|
|
1223
|
-
null,
|
|
1224
|
-
['PureCloud OAuth'],
|
|
1225
|
-
['application/json'],
|
|
1226
|
-
['application/json']
|
|
1227
|
-
);
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
1124
|
/**
|
|
1231
1125
|
* Get a survey for a conversation
|
|
1232
1126
|
*
|
|
@@ -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 235.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -2405,6 +2405,7 @@ class WorkforceManagementApi {
|
|
|
2405
2405
|
* @param {String} forecastId The ID of the forecast
|
|
2406
2406
|
* @param {Object} opts Optional parameters
|
|
2407
2407
|
* @param {Array.<String>} opts.weekNumbers The week numbers to fetch (for multi-week forecasts) staffing requirements. Returns all week data if the list is not specified
|
|
2408
|
+
* @param {Array.<String>} opts.expand Expand to include minimum staffing values in (staffing requirement response or applied to base staffing requirement values)
|
|
2408
2409
|
*/
|
|
2409
2410
|
getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(businessUnitId, weekDateId, forecastId, opts) {
|
|
2410
2411
|
opts = opts || {};
|
|
@@ -2426,7 +2427,7 @@ class WorkforceManagementApi {
|
|
|
2426
2427
|
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement',
|
|
2427
2428
|
'GET',
|
|
2428
2429
|
{ 'businessUnitId': businessUnitId,'weekDateId': weekDateId,'forecastId': forecastId },
|
|
2429
|
-
{ 'weekNumbers': this.apiClient.buildCollectionParam(opts['weekNumbers'], 'multi') },
|
|
2430
|
+
{ 'weekNumbers': this.apiClient.buildCollectionParam(opts['weekNumbers'], 'multi'),'expand': this.apiClient.buildCollectionParam(opts['expand'], 'multi') },
|
|
2430
2431
|
{ },
|
|
2431
2432
|
{ },
|
|
2432
2433
|
null,
|