purecloud-platform-client-v2 183.0.0 → 185.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 +68 -2
- package/dist/node/purecloud-platform-client-v2.js +1395 -92
- package/dist/web-amd/purecloud-platform-client-v2.js +1395 -92
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +411 -107
- package/dist/web-cjs/purecloud-platform-client-v2.js +411 -107
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +823 -54
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +334 -1
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +109 -1
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +8 -9
- package/src/purecloud-platform-client-v2/api/BillingApi.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 +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/EmailsApi.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/LogCaptureApi.js +75 -0
- 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 +7 -8
- 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 +401 -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 +168 -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/SettingsApi.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 +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 +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 +222 -1
- package/src/purecloud-platform-client-v2/index.js +7 -1
|
@@ -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 185.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -773,8 +773,9 @@ class TelephonyProvidersEdgeApi {
|
|
|
773
773
|
}
|
|
774
774
|
|
|
775
775
|
/**
|
|
776
|
-
* Get the list of available languages.
|
|
776
|
+
* Get the list of available languages. For never released keyword spotting feature. Deprecated, do not use.
|
|
777
777
|
*
|
|
778
|
+
* @deprecated
|
|
778
779
|
*/
|
|
779
780
|
getTelephonyProvidersEdgesAvailablelanguages() {
|
|
780
781
|
|
|
@@ -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 185.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -1139,6 +1139,81 @@ class WorkforceManagementApi {
|
|
|
1139
1139
|
);
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
|
+
/**
|
|
1143
|
+
* Get the performance prediction for the associated schedule
|
|
1144
|
+
*
|
|
1145
|
+
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
1146
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
1147
|
+
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
1148
|
+
*/
|
|
1149
|
+
getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions(businessUnitId, weekId, scheduleId) {
|
|
1150
|
+
// verify the required parameter 'businessUnitId' is set
|
|
1151
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1152
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1153
|
+
}
|
|
1154
|
+
// verify the required parameter 'weekId' is set
|
|
1155
|
+
if (weekId === undefined || weekId === null) {
|
|
1156
|
+
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1157
|
+
}
|
|
1158
|
+
// verify the required parameter 'scheduleId' is set
|
|
1159
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
1160
|
+
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
return this.apiClient.callApi(
|
|
1164
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions',
|
|
1165
|
+
'GET',
|
|
1166
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
|
|
1167
|
+
{ },
|
|
1168
|
+
{ },
|
|
1169
|
+
{ },
|
|
1170
|
+
null,
|
|
1171
|
+
['PureCloud OAuth'],
|
|
1172
|
+
['application/json'],
|
|
1173
|
+
['application/json']
|
|
1174
|
+
);
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* Get recalculated performance prediction result
|
|
1179
|
+
*
|
|
1180
|
+
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
1181
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
1182
|
+
* @param {String} scheduleId The ID of the schedule the recalculation belongs to
|
|
1183
|
+
* @param {String} recalculationId The ID of the recalculation request
|
|
1184
|
+
*/
|
|
1185
|
+
getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation(businessUnitId, weekId, scheduleId, recalculationId) {
|
|
1186
|
+
// verify the required parameter 'businessUnitId' is set
|
|
1187
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1188
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1189
|
+
}
|
|
1190
|
+
// verify the required parameter 'weekId' is set
|
|
1191
|
+
if (weekId === undefined || weekId === null) {
|
|
1192
|
+
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1193
|
+
}
|
|
1194
|
+
// verify the required parameter 'scheduleId' is set
|
|
1195
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
1196
|
+
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1197
|
+
}
|
|
1198
|
+
// verify the required parameter 'recalculationId' is set
|
|
1199
|
+
if (recalculationId === undefined || recalculationId === null) {
|
|
1200
|
+
throw 'Missing the required parameter "recalculationId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
return this.apiClient.callApi(
|
|
1204
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/{recalculationId}',
|
|
1205
|
+
'GET',
|
|
1206
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId,'recalculationId': recalculationId },
|
|
1207
|
+
{ },
|
|
1208
|
+
{ },
|
|
1209
|
+
{ },
|
|
1210
|
+
null,
|
|
1211
|
+
['PureCloud OAuth'],
|
|
1212
|
+
['application/json'],
|
|
1213
|
+
['application/json']
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1142
1217
|
/**
|
|
1143
1218
|
* Get the list of week schedules for the specified week
|
|
1144
1219
|
* Use "recent" (without quotes) for the `weekId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any schedule which spans the specified week
|
|
@@ -1362,6 +1437,45 @@ class WorkforceManagementApi {
|
|
|
1362
1437
|
);
|
|
1363
1438
|
}
|
|
1364
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* Get the staffing requirement by planning group for a forecast
|
|
1442
|
+
*
|
|
1443
|
+
* @param {String} businessUnitId The ID of the business unit to which the forecast belongs
|
|
1444
|
+
* @param {String} weekDateId The week start date of the forecast in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
|
|
1445
|
+
* @param {String} forecastId The ID of the forecast
|
|
1446
|
+
* @param {Object} opts Optional parameters
|
|
1447
|
+
* @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
|
|
1448
|
+
*/
|
|
1449
|
+
getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement(businessUnitId, weekDateId, forecastId, opts) {
|
|
1450
|
+
opts = opts || {};
|
|
1451
|
+
|
|
1452
|
+
// verify the required parameter 'businessUnitId' is set
|
|
1453
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1454
|
+
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
1455
|
+
}
|
|
1456
|
+
// verify the required parameter 'weekDateId' is set
|
|
1457
|
+
if (weekDateId === undefined || weekDateId === null) {
|
|
1458
|
+
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
1459
|
+
}
|
|
1460
|
+
// verify the required parameter 'forecastId' is set
|
|
1461
|
+
if (forecastId === undefined || forecastId === null) {
|
|
1462
|
+
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
return this.apiClient.callApi(
|
|
1466
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekDateId}/shorttermforecasts/{forecastId}/staffingrequirement',
|
|
1467
|
+
'GET',
|
|
1468
|
+
{ 'businessUnitId': businessUnitId,'weekDateId': weekDateId,'forecastId': forecastId },
|
|
1469
|
+
{ 'weekNumbers': this.apiClient.buildCollectionParam(opts['weekNumbers'], 'multi') },
|
|
1470
|
+
{ },
|
|
1471
|
+
{ },
|
|
1472
|
+
null,
|
|
1473
|
+
['PureCloud OAuth'],
|
|
1474
|
+
['application/json'],
|
|
1475
|
+
['application/json']
|
|
1476
|
+
);
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1365
1479
|
/**
|
|
1366
1480
|
* Get short term forecasts
|
|
1367
1481
|
* Use "recent" (without quotes) for the `weekDateId` path parameter to fetch all forecasts for +/- 26 weeks from the current date. Response will include any forecast which spans the specified week
|
|
@@ -2713,6 +2827,35 @@ class WorkforceManagementApi {
|
|
|
2713
2827
|
);
|
|
2714
2828
|
}
|
|
2715
2829
|
|
|
2830
|
+
/**
|
|
2831
|
+
* Update agent configurations
|
|
2832
|
+
*
|
|
2833
|
+
* @param {String} managementUnitId The ID of the management unit, or 'mine' for the management unit of the logged-in user.
|
|
2834
|
+
* @param {Object} opts Optional parameters
|
|
2835
|
+
* @param {Object} opts.body body
|
|
2836
|
+
*/
|
|
2837
|
+
patchWorkforcemanagementManagementunitAgents(managementUnitId, opts) {
|
|
2838
|
+
opts = opts || {};
|
|
2839
|
+
|
|
2840
|
+
// verify the required parameter 'managementUnitId' is set
|
|
2841
|
+
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2842
|
+
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
return this.apiClient.callApi(
|
|
2846
|
+
'/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents',
|
|
2847
|
+
'PATCH',
|
|
2848
|
+
{ 'managementUnitId': managementUnitId },
|
|
2849
|
+
{ },
|
|
2850
|
+
{ },
|
|
2851
|
+
{ },
|
|
2852
|
+
opts['body'],
|
|
2853
|
+
['PureCloud OAuth'],
|
|
2854
|
+
['application/json'],
|
|
2855
|
+
['application/json']
|
|
2856
|
+
);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2716
2859
|
/**
|
|
2717
2860
|
* Updates a time off limit object.
|
|
2718
2861
|
* Updates time off limit object properties, but not daily values.
|
|
@@ -3531,6 +3674,84 @@ class WorkforceManagementApi {
|
|
|
3531
3674
|
);
|
|
3532
3675
|
}
|
|
3533
3676
|
|
|
3677
|
+
/**
|
|
3678
|
+
* Request a daily recalculation of the performance prediction for the associated schedule
|
|
3679
|
+
*
|
|
3680
|
+
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
3681
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
3682
|
+
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
3683
|
+
* @param {Object} opts Optional parameters
|
|
3684
|
+
* @param {Object} opts.body body
|
|
3685
|
+
*/
|
|
3686
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, opts) {
|
|
3687
|
+
opts = opts || {};
|
|
3688
|
+
|
|
3689
|
+
// verify the required parameter 'businessUnitId' is set
|
|
3690
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3691
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
3692
|
+
}
|
|
3693
|
+
// verify the required parameter 'weekId' is set
|
|
3694
|
+
if (weekId === undefined || weekId === null) {
|
|
3695
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
3696
|
+
}
|
|
3697
|
+
// verify the required parameter 'scheduleId' is set
|
|
3698
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
3699
|
+
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
3700
|
+
}
|
|
3701
|
+
|
|
3702
|
+
return this.apiClient.callApi(
|
|
3703
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations',
|
|
3704
|
+
'POST',
|
|
3705
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
|
|
3706
|
+
{ },
|
|
3707
|
+
{ },
|
|
3708
|
+
{ },
|
|
3709
|
+
opts['body'],
|
|
3710
|
+
['PureCloud OAuth'],
|
|
3711
|
+
['application/json'],
|
|
3712
|
+
['application/json']
|
|
3713
|
+
);
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
/**
|
|
3717
|
+
* Upload daily activity changes to be able to request a performance prediction recalculation
|
|
3718
|
+
*
|
|
3719
|
+
* @param {String} businessUnitId The ID of the business unit to which the performance prediction belongs
|
|
3720
|
+
* @param {String} weekId First day of schedule week in yyyy-MM-dd format
|
|
3721
|
+
* @param {String} scheduleId The ID of the schedule the performance prediction belongs to
|
|
3722
|
+
* @param {Object} opts Optional parameters
|
|
3723
|
+
* @param {Object} opts.body body
|
|
3724
|
+
*/
|
|
3725
|
+
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, opts) {
|
|
3726
|
+
opts = opts || {};
|
|
3727
|
+
|
|
3728
|
+
// verify the required parameter 'businessUnitId' is set
|
|
3729
|
+
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3730
|
+
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
3731
|
+
}
|
|
3732
|
+
// verify the required parameter 'weekId' is set
|
|
3733
|
+
if (weekId === undefined || weekId === null) {
|
|
3734
|
+
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
3735
|
+
}
|
|
3736
|
+
// verify the required parameter 'scheduleId' is set
|
|
3737
|
+
if (scheduleId === undefined || scheduleId === null) {
|
|
3738
|
+
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
3739
|
+
}
|
|
3740
|
+
|
|
3741
|
+
return this.apiClient.callApi(
|
|
3742
|
+
'/api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/performancepredictions/recalculations/uploadurl',
|
|
3743
|
+
'POST',
|
|
3744
|
+
{ 'businessUnitId': businessUnitId,'weekId': weekId,'scheduleId': scheduleId },
|
|
3745
|
+
{ },
|
|
3746
|
+
{ },
|
|
3747
|
+
{ },
|
|
3748
|
+
opts['body'],
|
|
3749
|
+
['PureCloud OAuth'],
|
|
3750
|
+
['application/json'],
|
|
3751
|
+
['application/json']
|
|
3752
|
+
);
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3534
3755
|
/**
|
|
3535
3756
|
* Start a rescheduling run
|
|
3536
3757
|
*
|
|
@@ -34,6 +34,7 @@ import LanguagesApi from './api/LanguagesApi.js';
|
|
|
34
34
|
import LearningApi from './api/LearningApi.js';
|
|
35
35
|
import LicenseApi from './api/LicenseApi.js';
|
|
36
36
|
import LocationsApi from './api/LocationsApi.js';
|
|
37
|
+
import LogCaptureApi from './api/LogCaptureApi.js';
|
|
37
38
|
import MessagingApi from './api/MessagingApi.js';
|
|
38
39
|
import MobileDevicesApi from './api/MobileDevicesApi.js';
|
|
39
40
|
import NotificationsApi from './api/NotificationsApi.js';
|
|
@@ -105,7 +106,7 @@ import WorkforceManagementApi from './api/WorkforceManagementApi.js';
|
|
|
105
106
|
* </pre>
|
|
106
107
|
* </p>
|
|
107
108
|
* @module purecloud-platform-client-v2/index
|
|
108
|
-
* @version
|
|
109
|
+
* @version 185.0.0
|
|
109
110
|
*/
|
|
110
111
|
class platformClient {
|
|
111
112
|
constructor() {
|
|
@@ -284,6 +285,11 @@ class platformClient {
|
|
|
284
285
|
* @property {module:purecloud-platform-client-v2/api/LocationsApi}
|
|
285
286
|
*/
|
|
286
287
|
this.LocationsApi = LocationsApi;
|
|
288
|
+
/**
|
|
289
|
+
* The LogCaptureApi service constructor.
|
|
290
|
+
* @property {module:purecloud-platform-client-v2/api/LogCaptureApi}
|
|
291
|
+
*/
|
|
292
|
+
this.LogCaptureApi = LogCaptureApi;
|
|
287
293
|
/**
|
|
288
294
|
* The MessagingApi service constructor.
|
|
289
295
|
* @property {module:purecloud-platform-client-v2/api/MessagingApi}
|