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.
Files changed (84) hide show
  1. package/README.md +68 -2
  2. package/dist/node/purecloud-platform-client-v2.js +1395 -92
  3. package/dist/web-amd/purecloud-platform-client-v2.js +1395 -92
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +411 -107
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +411 -107
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +823 -54
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +334 -1
  11. package/src/purecloud-platform-client-v2/api/AlertingApi.js +1 -1
  12. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +109 -1
  13. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AuditApi.js +1 -1
  15. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +8 -9
  16. package/src/purecloud-platform-client-v2/api/BillingApi.js +1 -1
  17. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  18. package/src/purecloud-platform-client-v2/api/ChatApi.js +1 -1
  19. package/src/purecloud-platform-client-v2/api/CoachingApi.js +1 -1
  20. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +1 -1
  21. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +1 -1
  22. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +1 -1
  24. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  25. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  26. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +1 -1
  27. package/src/purecloud-platform-client-v2/api/FaxApi.js +1 -1
  28. package/src/purecloud-platform-client-v2/api/FlowsApi.js +1 -1
  29. package/src/purecloud-platform-client-v2/api/GamificationApi.js +1 -1
  30. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +1 -1
  32. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/GroupsApi.js +1 -1
  34. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +1 -1
  35. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +1 -1
  36. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +1 -1
  37. package/src/purecloud-platform-client-v2/api/JourneyApi.js +1 -1
  38. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +1 -1
  39. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +1 -1
  40. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +1 -1
  41. package/src/purecloud-platform-client-v2/api/LearningApi.js +1 -1
  42. package/src/purecloud-platform-client-v2/api/LicenseApi.js +1 -1
  43. package/src/purecloud-platform-client-v2/api/LocationsApi.js +1 -1
  44. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +75 -0
  45. package/src/purecloud-platform-client-v2/api/MessagingApi.js +1 -1
  46. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +1 -1
  47. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +1 -1
  48. package/src/purecloud-platform-client-v2/api/OAuthApi.js +1 -1
  49. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -8
  50. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +1 -1
  51. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +1 -1
  52. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +1 -1
  53. package/src/purecloud-platform-client-v2/api/OutboundApi.js +401 -1
  54. package/src/purecloud-platform-client-v2/api/PresenceApi.js +1 -1
  55. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +1 -1
  56. package/src/purecloud-platform-client-v2/api/QualityApi.js +1 -1
  57. package/src/purecloud-platform-client-v2/api/RecordingApi.js +1 -1
  58. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +1 -1
  59. package/src/purecloud-platform-client-v2/api/RoutingApi.js +168 -1
  60. package/src/purecloud-platform-client-v2/api/SCIMApi.js +1 -1
  61. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +1 -1
  62. package/src/purecloud-platform-client-v2/api/SearchApi.js +1 -1
  63. package/src/purecloud-platform-client-v2/api/SettingsApi.js +1 -1
  64. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +1 -1
  65. package/src/purecloud-platform-client-v2/api/StationsApi.js +1 -1
  66. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  67. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +1 -1
  68. package/src/purecloud-platform-client-v2/api/TeamsApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +1 -1
  70. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +3 -2
  71. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +1 -1
  72. package/src/purecloud-platform-client-v2/api/TokensApi.js +1 -1
  73. package/src/purecloud-platform-client-v2/api/UploadsApi.js +1 -1
  74. package/src/purecloud-platform-client-v2/api/UsageApi.js +1 -1
  75. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/UsersApi.js +1 -1
  77. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  78. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +1 -1
  79. package/src/purecloud-platform-client-v2/api/WebChatApi.js +1 -1
  80. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +1 -1
  81. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  82. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +1 -1
  83. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +222 -1
  84. package/src/purecloud-platform-client-v2/index.js +7 -1
@@ -5,7 +5,7 @@ class SCIMApi {
5
5
  /**
6
6
  * SCIM service.
7
7
  * @module purecloud-platform-client-v2/api/SCIMApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class ScriptsApi {
5
5
  /**
6
6
  * Scripts service.
7
7
  * @module purecloud-platform-client-v2/api/ScriptsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SearchApi {
5
5
  /**
6
6
  * Search service.
7
7
  * @module purecloud-platform-client-v2/api/SearchApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SettingsApi {
5
5
  /**
6
6
  * Settings service.
7
7
  * @module purecloud-platform-client-v2/api/SettingsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SpeechTextAnalyticsApi {
5
5
  /**
6
6
  * SpeechTextAnalytics service.
7
7
  * @module purecloud-platform-client-v2/api/SpeechTextAnalyticsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class StationsApi {
5
5
  /**
6
6
  * Stations service.
7
7
  * @module purecloud-platform-client-v2/api/StationsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class SuggestApi {
5
5
  /**
6
6
  * Suggest service.
7
7
  * @module purecloud-platform-client-v2/api/SuggestApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TaskManagementApi {
5
5
  /**
6
6
  * TaskManagement service.
7
7
  * @module purecloud-platform-client-v2/api/TaskManagementApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TeamsApi {
5
5
  /**
6
6
  * Teams service.
7
7
  * @module purecloud-platform-client-v2/api/TeamsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyApi {
5
5
  /**
6
6
  * Telephony service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TelephonyProvidersEdgeApi {
5
5
  /**
6
6
  * TelephonyProvidersEdge service.
7
7
  * @module purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi
8
- * @version 183.0.0
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 TextbotsApi {
5
5
  /**
6
6
  * Textbots service.
7
7
  * @module purecloud-platform-client-v2/api/TextbotsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class TokensApi {
5
5
  /**
6
6
  * Tokens service.
7
7
  * @module purecloud-platform-client-v2/api/TokensApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UploadsApi {
5
5
  /**
6
6
  * Uploads service.
7
7
  * @module purecloud-platform-client-v2/api/UploadsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsageApi {
5
5
  /**
6
6
  * Usage service.
7
7
  * @module purecloud-platform-client-v2/api/UsageApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UserRecordingsApi {
5
5
  /**
6
6
  * UserRecordings service.
7
7
  * @module purecloud-platform-client-v2/api/UserRecordingsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UsersApi {
5
5
  /**
6
6
  * Users service.
7
7
  * @module purecloud-platform-client-v2/api/UsersApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class UtilitiesApi {
5
5
  /**
6
6
  * Utilities service.
7
7
  * @module purecloud-platform-client-v2/api/UtilitiesApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class VoicemailApi {
5
5
  /**
6
6
  * Voicemail service.
7
7
  * @module purecloud-platform-client-v2/api/VoicemailApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebChatApi {
5
5
  /**
6
6
  * WebChat service.
7
7
  * @module purecloud-platform-client-v2/api/WebChatApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebDeploymentsApi {
5
5
  /**
6
6
  * WebDeployments service.
7
7
  * @module purecloud-platform-client-v2/api/WebDeploymentsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WebMessagingApi {
5
5
  /**
6
6
  * WebMessaging service.
7
7
  * @module purecloud-platform-client-v2/api/WebMessagingApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WidgetsApi {
5
5
  /**
6
6
  * Widgets service.
7
7
  * @module purecloud-platform-client-v2/api/WidgetsApi
8
- * @version 183.0.0
8
+ * @version 185.0.0
9
9
  */
10
10
 
11
11
  /**
@@ -5,7 +5,7 @@ class WorkforceManagementApi {
5
5
  /**
6
6
  * WorkforceManagement service.
7
7
  * @module purecloud-platform-client-v2/api/WorkforceManagementApi
8
- * @version 183.0.0
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 183.0.0
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}