purecloud-platform-client-v2 224.0.0 → 226.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 +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -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 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class WorkforceManagementApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteWorkforcemanagementBusinessunit(businessUnitId) {
|
|
29
29
|
// verify the required parameter 'businessUnitId' is set
|
|
30
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
30
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
31
31
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunit';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -53,11 +53,11 @@ class WorkforceManagementApi {
|
|
|
53
53
|
*/
|
|
54
54
|
deleteWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId) {
|
|
55
55
|
// verify the required parameter 'businessUnitId' is set
|
|
56
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
56
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
57
57
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitActivitycode';
|
|
58
58
|
}
|
|
59
59
|
// verify the required parameter 'activityCodeId' is set
|
|
60
|
-
if (activityCodeId === undefined || activityCodeId === null) {
|
|
60
|
+
if (activityCodeId === undefined || activityCodeId === null || activityCodeId === '') {
|
|
61
61
|
throw 'Missing the required parameter "activityCodeId" when calling deleteWorkforcemanagementBusinessunitActivitycode';
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -83,11 +83,11 @@ class WorkforceManagementApi {
|
|
|
83
83
|
*/
|
|
84
84
|
deleteWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId) {
|
|
85
85
|
// verify the required parameter 'businessUnitId' is set
|
|
86
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
86
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
87
87
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';
|
|
88
88
|
}
|
|
89
89
|
// verify the required parameter 'planningGroupId' is set
|
|
90
|
-
if (planningGroupId === undefined || planningGroupId === null) {
|
|
90
|
+
if (planningGroupId === undefined || planningGroupId === null || planningGroupId === '') {
|
|
91
91
|
throw 'Missing the required parameter "planningGroupId" when calling deleteWorkforcemanagementBusinessunitPlanninggroup';
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -113,11 +113,11 @@ class WorkforceManagementApi {
|
|
|
113
113
|
*/
|
|
114
114
|
deleteWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId) {
|
|
115
115
|
// verify the required parameter 'businessUnitId' is set
|
|
116
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
116
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
117
117
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';
|
|
118
118
|
}
|
|
119
119
|
// verify the required parameter 'runId' is set
|
|
120
|
-
if (runId === undefined || runId === null) {
|
|
120
|
+
if (runId === undefined || runId === null || runId === '') {
|
|
121
121
|
throw 'Missing the required parameter "runId" when calling deleteWorkforcemanagementBusinessunitSchedulingRun';
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -143,11 +143,11 @@ class WorkforceManagementApi {
|
|
|
143
143
|
*/
|
|
144
144
|
deleteWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId) {
|
|
145
145
|
// verify the required parameter 'businessUnitId' is set
|
|
146
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
146
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
147
147
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
148
148
|
}
|
|
149
149
|
// verify the required parameter 'serviceGoalTemplateId' is set
|
|
150
|
-
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
|
|
150
|
+
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null || serviceGoalTemplateId === '') {
|
|
151
151
|
throw 'Missing the required parameter "serviceGoalTemplateId" when calling deleteWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
152
152
|
}
|
|
153
153
|
|
|
@@ -173,11 +173,11 @@ class WorkforceManagementApi {
|
|
|
173
173
|
*/
|
|
174
174
|
deleteWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId) {
|
|
175
175
|
// verify the required parameter 'businessUnitId' is set
|
|
176
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
176
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
177
177
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';
|
|
178
178
|
}
|
|
179
179
|
// verify the required parameter 'staffingGroupId' is set
|
|
180
|
-
if (staffingGroupId === undefined || staffingGroupId === null) {
|
|
180
|
+
if (staffingGroupId === undefined || staffingGroupId === null || staffingGroupId === '') {
|
|
181
181
|
throw 'Missing the required parameter "staffingGroupId" when calling deleteWorkforcemanagementBusinessunitStaffinggroup';
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -203,11 +203,11 @@ class WorkforceManagementApi {
|
|
|
203
203
|
*/
|
|
204
204
|
deleteWorkforcemanagementBusinessunitTimeofflimit(businessUnitId, timeOffLimitId) {
|
|
205
205
|
// verify the required parameter 'businessUnitId' is set
|
|
206
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
206
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
207
207
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';
|
|
208
208
|
}
|
|
209
209
|
// verify the required parameter 'timeOffLimitId' is set
|
|
210
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
210
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
211
211
|
throw 'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementBusinessunitTimeofflimit';
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -233,11 +233,11 @@ class WorkforceManagementApi {
|
|
|
233
233
|
*/
|
|
234
234
|
deleteWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId) {
|
|
235
235
|
// verify the required parameter 'businessUnitId' is set
|
|
236
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
236
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
237
237
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';
|
|
238
238
|
}
|
|
239
239
|
// verify the required parameter 'timeOffPlanId' is set
|
|
240
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
240
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
241
241
|
throw 'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementBusinessunitTimeoffplan';
|
|
242
242
|
}
|
|
243
243
|
|
|
@@ -264,7 +264,7 @@ class WorkforceManagementApi {
|
|
|
264
264
|
*/
|
|
265
265
|
deleteWorkforcemanagementBusinessunitWeekSchedule(businessUnitId, weekId, scheduleId) {
|
|
266
266
|
// verify the required parameter 'businessUnitId' is set
|
|
267
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
267
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
268
268
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';
|
|
269
269
|
}
|
|
270
270
|
// verify the required parameter 'weekId' is set
|
|
@@ -272,7 +272,7 @@ class WorkforceManagementApi {
|
|
|
272
272
|
throw 'Missing the required parameter "weekId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';
|
|
273
273
|
}
|
|
274
274
|
// verify the required parameter 'scheduleId' is set
|
|
275
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
275
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
276
276
|
throw 'Missing the required parameter "scheduleId" when calling deleteWorkforcemanagementBusinessunitWeekSchedule';
|
|
277
277
|
}
|
|
278
278
|
|
|
@@ -299,7 +299,7 @@ class WorkforceManagementApi {
|
|
|
299
299
|
*/
|
|
300
300
|
deleteWorkforcemanagementBusinessunitWeekShorttermforecast(businessUnitId, weekDateId, forecastId) {
|
|
301
301
|
// verify the required parameter 'businessUnitId' is set
|
|
302
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
302
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
303
303
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
304
304
|
}
|
|
305
305
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -307,7 +307,7 @@ class WorkforceManagementApi {
|
|
|
307
307
|
throw 'Missing the required parameter "weekDateId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
308
308
|
}
|
|
309
309
|
// verify the required parameter 'forecastId' is set
|
|
310
|
-
if (forecastId === undefined || forecastId === null) {
|
|
310
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
311
311
|
throw 'Missing the required parameter "forecastId" when calling deleteWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
312
312
|
}
|
|
313
313
|
|
|
@@ -333,11 +333,11 @@ class WorkforceManagementApi {
|
|
|
333
333
|
*/
|
|
334
334
|
deleteWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
|
|
335
335
|
// verify the required parameter 'businessUnitId' is set
|
|
336
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
336
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
337
337
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
|
|
338
338
|
}
|
|
339
339
|
// verify the required parameter 'bidId' is set
|
|
340
|
-
if (bidId === undefined || bidId === null) {
|
|
340
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
341
341
|
throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbid';
|
|
342
342
|
}
|
|
343
343
|
|
|
@@ -364,15 +364,15 @@ class WorkforceManagementApi {
|
|
|
364
364
|
*/
|
|
365
365
|
deleteWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
|
|
366
366
|
// verify the required parameter 'businessUnitId' is set
|
|
367
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
367
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
368
368
|
throw 'Missing the required parameter "businessUnitId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
369
369
|
}
|
|
370
370
|
// verify the required parameter 'bidId' is set
|
|
371
|
-
if (bidId === undefined || bidId === null) {
|
|
371
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
372
372
|
throw 'Missing the required parameter "bidId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
373
373
|
}
|
|
374
374
|
// verify the required parameter 'bidGroupId' is set
|
|
375
|
-
if (bidGroupId === undefined || bidGroupId === null) {
|
|
375
|
+
if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
|
|
376
376
|
throw 'Missing the required parameter "bidGroupId" when calling deleteWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
377
377
|
}
|
|
378
378
|
|
|
@@ -417,7 +417,7 @@ class WorkforceManagementApi {
|
|
|
417
417
|
*/
|
|
418
418
|
deleteWorkforcemanagementManagementunit(managementUnitId) {
|
|
419
419
|
// verify the required parameter 'managementUnitId' is set
|
|
420
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
420
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
421
421
|
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunit';
|
|
422
422
|
}
|
|
423
423
|
|
|
@@ -443,11 +443,11 @@ class WorkforceManagementApi {
|
|
|
443
443
|
*/
|
|
444
444
|
deleteWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
|
|
445
445
|
// verify the required parameter 'managementUnitId' is set
|
|
446
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
446
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
447
447
|
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
|
|
448
448
|
}
|
|
449
449
|
// verify the required parameter 'timeOffLimitId' is set
|
|
450
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
450
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
451
451
|
throw 'Missing the required parameter "timeOffLimitId" when calling deleteWorkforcemanagementManagementunitTimeofflimit';
|
|
452
452
|
}
|
|
453
453
|
|
|
@@ -473,11 +473,11 @@ class WorkforceManagementApi {
|
|
|
473
473
|
*/
|
|
474
474
|
deleteWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
|
|
475
475
|
// verify the required parameter 'managementUnitId' is set
|
|
476
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
476
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
477
477
|
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
|
|
478
478
|
}
|
|
479
479
|
// verify the required parameter 'timeOffPlanId' is set
|
|
480
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
480
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
481
481
|
throw 'Missing the required parameter "timeOffPlanId" when calling deleteWorkforcemanagementManagementunitTimeoffplan';
|
|
482
482
|
}
|
|
483
483
|
|
|
@@ -503,11 +503,11 @@ class WorkforceManagementApi {
|
|
|
503
503
|
*/
|
|
504
504
|
deleteWorkforcemanagementManagementunitWorkplan(managementUnitId, workPlanId) {
|
|
505
505
|
// verify the required parameter 'managementUnitId' is set
|
|
506
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
506
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
507
507
|
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplan';
|
|
508
508
|
}
|
|
509
509
|
// verify the required parameter 'workPlanId' is set
|
|
510
|
-
if (workPlanId === undefined || workPlanId === null) {
|
|
510
|
+
if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
|
|
511
511
|
throw 'Missing the required parameter "workPlanId" when calling deleteWorkforcemanagementManagementunitWorkplan';
|
|
512
512
|
}
|
|
513
513
|
|
|
@@ -533,11 +533,11 @@ class WorkforceManagementApi {
|
|
|
533
533
|
*/
|
|
534
534
|
deleteWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
535
535
|
// verify the required parameter 'managementUnitId' is set
|
|
536
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
536
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
537
537
|
throw 'Missing the required parameter "managementUnitId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
538
538
|
}
|
|
539
539
|
// verify the required parameter 'workPlanRotationId' is set
|
|
540
|
-
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
540
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
|
|
541
541
|
throw 'Missing the required parameter "workPlanRotationId" when calling deleteWorkforcemanagementManagementunitWorkplanrotation';
|
|
542
542
|
}
|
|
543
543
|
|
|
@@ -587,7 +587,7 @@ class WorkforceManagementApi {
|
|
|
587
587
|
*/
|
|
588
588
|
getWorkforcemanagementAdherenceExplanation(explanationId) {
|
|
589
589
|
// verify the required parameter 'explanationId' is set
|
|
590
|
-
if (explanationId === undefined || explanationId === null) {
|
|
590
|
+
if (explanationId === undefined || explanationId === null || explanationId === '') {
|
|
591
591
|
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAdherenceExplanation';
|
|
592
592
|
}
|
|
593
593
|
|
|
@@ -612,7 +612,7 @@ class WorkforceManagementApi {
|
|
|
612
612
|
*/
|
|
613
613
|
getWorkforcemanagementAdherenceExplanationsJob(jobId) {
|
|
614
614
|
// verify the required parameter 'jobId' is set
|
|
615
|
-
if (jobId === undefined || jobId === null) {
|
|
615
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
616
616
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceExplanationsJob';
|
|
617
617
|
}
|
|
618
618
|
|
|
@@ -637,7 +637,7 @@ class WorkforceManagementApi {
|
|
|
637
637
|
*/
|
|
638
638
|
getWorkforcemanagementAdherenceHistoricalBulkJob(jobId) {
|
|
639
639
|
// verify the required parameter 'jobId' is set
|
|
640
|
-
if (jobId === undefined || jobId === null) {
|
|
640
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
641
641
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalBulkJob';
|
|
642
642
|
}
|
|
643
643
|
|
|
@@ -662,7 +662,7 @@ class WorkforceManagementApi {
|
|
|
662
662
|
*/
|
|
663
663
|
getWorkforcemanagementAdherenceHistoricalJob(jobId) {
|
|
664
664
|
// verify the required parameter 'jobId' is set
|
|
665
|
-
if (jobId === undefined || jobId === null) {
|
|
665
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
666
666
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAdherenceHistoricalJob';
|
|
667
667
|
}
|
|
668
668
|
|
|
@@ -688,11 +688,11 @@ class WorkforceManagementApi {
|
|
|
688
688
|
*/
|
|
689
689
|
getWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId) {
|
|
690
690
|
// verify the required parameter 'agentId' is set
|
|
691
|
-
if (agentId === undefined || agentId === null) {
|
|
691
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
692
692
|
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
693
693
|
}
|
|
694
694
|
// verify the required parameter 'explanationId' is set
|
|
695
|
-
if (explanationId === undefined || explanationId === null) {
|
|
695
|
+
if (explanationId === undefined || explanationId === null || explanationId === '') {
|
|
696
696
|
throw 'Missing the required parameter "explanationId" when calling getWorkforcemanagementAgentAdherenceExplanation';
|
|
697
697
|
}
|
|
698
698
|
|
|
@@ -717,7 +717,7 @@ class WorkforceManagementApi {
|
|
|
717
717
|
*/
|
|
718
718
|
getWorkforcemanagementAgentManagementunit(agentId) {
|
|
719
719
|
// verify the required parameter 'agentId' is set
|
|
720
|
-
if (agentId === undefined || agentId === null) {
|
|
720
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
721
721
|
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementAgentManagementunit';
|
|
722
722
|
}
|
|
723
723
|
|
|
@@ -762,7 +762,7 @@ class WorkforceManagementApi {
|
|
|
762
762
|
*/
|
|
763
763
|
getWorkforcemanagementAlternativeshiftsOffersJob(jobId) {
|
|
764
764
|
// verify the required parameter 'jobId' is set
|
|
765
|
-
if (jobId === undefined || jobId === null) {
|
|
765
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
766
766
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersJob';
|
|
767
767
|
}
|
|
768
768
|
|
|
@@ -787,7 +787,7 @@ class WorkforceManagementApi {
|
|
|
787
787
|
*/
|
|
788
788
|
getWorkforcemanagementAlternativeshiftsOffersSearchJob(jobId) {
|
|
789
789
|
// verify the required parameter 'jobId' is set
|
|
790
|
-
if (jobId === undefined || jobId === null) {
|
|
790
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
791
791
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsOffersSearchJob';
|
|
792
792
|
}
|
|
793
793
|
|
|
@@ -832,7 +832,7 @@ class WorkforceManagementApi {
|
|
|
832
832
|
*/
|
|
833
833
|
getWorkforcemanagementAlternativeshiftsTrade(tradeId) {
|
|
834
834
|
// verify the required parameter 'tradeId' is set
|
|
835
|
-
if (tradeId === undefined || tradeId === null) {
|
|
835
|
+
if (tradeId === undefined || tradeId === null || tradeId === '') {
|
|
836
836
|
throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementAlternativeshiftsTrade';
|
|
837
837
|
}
|
|
838
838
|
|
|
@@ -881,7 +881,7 @@ class WorkforceManagementApi {
|
|
|
881
881
|
*/
|
|
882
882
|
getWorkforcemanagementAlternativeshiftsTradesJob(jobId) {
|
|
883
883
|
// verify the required parameter 'jobId' is set
|
|
884
|
-
if (jobId === undefined || jobId === null) {
|
|
884
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
885
885
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesJob';
|
|
886
886
|
}
|
|
887
887
|
|
|
@@ -906,7 +906,7 @@ class WorkforceManagementApi {
|
|
|
906
906
|
*/
|
|
907
907
|
getWorkforcemanagementAlternativeshiftsTradesStateJob(jobId) {
|
|
908
908
|
// verify the required parameter 'jobId' is set
|
|
909
|
-
if (jobId === undefined || jobId === null) {
|
|
909
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
910
910
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementAlternativeshiftsTradesStateJob';
|
|
911
911
|
}
|
|
912
912
|
|
|
@@ -935,7 +935,7 @@ class WorkforceManagementApi {
|
|
|
935
935
|
opts = opts || {};
|
|
936
936
|
|
|
937
937
|
// verify the required parameter 'businessUnitId' is set
|
|
938
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
938
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
939
939
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunit';
|
|
940
940
|
}
|
|
941
941
|
|
|
@@ -961,11 +961,11 @@ class WorkforceManagementApi {
|
|
|
961
961
|
*/
|
|
962
962
|
getWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId) {
|
|
963
963
|
// verify the required parameter 'businessUnitId' is set
|
|
964
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
964
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
965
965
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycode';
|
|
966
966
|
}
|
|
967
967
|
// verify the required parameter 'activityCodeId' is set
|
|
968
|
-
if (activityCodeId === undefined || activityCodeId === null) {
|
|
968
|
+
if (activityCodeId === undefined || activityCodeId === null || activityCodeId === '') {
|
|
969
969
|
throw 'Missing the required parameter "activityCodeId" when calling getWorkforcemanagementBusinessunitActivitycode';
|
|
970
970
|
}
|
|
971
971
|
|
|
@@ -994,7 +994,7 @@ class WorkforceManagementApi {
|
|
|
994
994
|
opts = opts || {};
|
|
995
995
|
|
|
996
996
|
// verify the required parameter 'businessUnitId' is set
|
|
997
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
997
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
998
998
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivitycodes';
|
|
999
999
|
}
|
|
1000
1000
|
|
|
@@ -1020,11 +1020,11 @@ class WorkforceManagementApi {
|
|
|
1020
1020
|
*/
|
|
1021
1021
|
getWorkforcemanagementBusinessunitActivityplan(businessUnitId, activityPlanId) {
|
|
1022
1022
|
// verify the required parameter 'businessUnitId' is set
|
|
1023
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1023
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1024
1024
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplan';
|
|
1025
1025
|
}
|
|
1026
1026
|
// verify the required parameter 'activityPlanId' is set
|
|
1027
|
-
if (activityPlanId === undefined || activityPlanId === null) {
|
|
1027
|
+
if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
|
|
1028
1028
|
throw 'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplan';
|
|
1029
1029
|
}
|
|
1030
1030
|
|
|
@@ -1051,15 +1051,15 @@ class WorkforceManagementApi {
|
|
|
1051
1051
|
*/
|
|
1052
1052
|
getWorkforcemanagementBusinessunitActivityplanRunsJob(businessUnitId, activityPlanId, jobId) {
|
|
1053
1053
|
// verify the required parameter 'businessUnitId' is set
|
|
1054
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1054
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1055
1055
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';
|
|
1056
1056
|
}
|
|
1057
1057
|
// verify the required parameter 'activityPlanId' is set
|
|
1058
|
-
if (activityPlanId === undefined || activityPlanId === null) {
|
|
1058
|
+
if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
|
|
1059
1059
|
throw 'Missing the required parameter "activityPlanId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';
|
|
1060
1060
|
}
|
|
1061
1061
|
// verify the required parameter 'jobId' is set
|
|
1062
|
-
if (jobId === undefined || jobId === null) {
|
|
1062
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1063
1063
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitActivityplanRunsJob';
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
@@ -1088,7 +1088,7 @@ class WorkforceManagementApi {
|
|
|
1088
1088
|
opts = opts || {};
|
|
1089
1089
|
|
|
1090
1090
|
// verify the required parameter 'businessUnitId' is set
|
|
1091
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1091
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1092
1092
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplans';
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
@@ -1113,7 +1113,7 @@ class WorkforceManagementApi {
|
|
|
1113
1113
|
*/
|
|
1114
1114
|
getWorkforcemanagementBusinessunitActivityplansJobs(businessUnitId) {
|
|
1115
1115
|
// verify the required parameter 'businessUnitId' is set
|
|
1116
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1116
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1117
1117
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitActivityplansJobs';
|
|
1118
1118
|
}
|
|
1119
1119
|
|
|
@@ -1138,7 +1138,7 @@ class WorkforceManagementApi {
|
|
|
1138
1138
|
*/
|
|
1139
1139
|
getWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId) {
|
|
1140
1140
|
// verify the required parameter 'businessUnitId' is set
|
|
1141
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1141
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1142
1142
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
1143
1143
|
}
|
|
1144
1144
|
|
|
@@ -1164,11 +1164,11 @@ class WorkforceManagementApi {
|
|
|
1164
1164
|
*/
|
|
1165
1165
|
getWorkforcemanagementBusinessunitAlternativeshiftsTrade(businessUnitId, tradeId) {
|
|
1166
1166
|
// verify the required parameter 'businessUnitId' is set
|
|
1167
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1167
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1168
1168
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
|
|
1169
1169
|
}
|
|
1170
1170
|
// verify the required parameter 'tradeId' is set
|
|
1171
|
-
if (tradeId === undefined || tradeId === null) {
|
|
1171
|
+
if (tradeId === undefined || tradeId === null || tradeId === '') {
|
|
1172
1172
|
throw 'Missing the required parameter "tradeId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTrade';
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
@@ -1194,11 +1194,11 @@ class WorkforceManagementApi {
|
|
|
1194
1194
|
*/
|
|
1195
1195
|
getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob(businessUnitId, jobId) {
|
|
1196
1196
|
// verify the required parameter 'businessUnitId' is set
|
|
1197
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1197
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1198
1198
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
|
|
1199
1199
|
}
|
|
1200
1200
|
// verify the required parameter 'jobId' is set
|
|
1201
|
-
if (jobId === undefined || jobId === null) {
|
|
1201
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
1202
1202
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementBusinessunitAlternativeshiftsTradesSearchJob';
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
@@ -1224,7 +1224,7 @@ class WorkforceManagementApi {
|
|
|
1224
1224
|
*/
|
|
1225
1225
|
getWorkforcemanagementBusinessunitIntradayPlanninggroups(businessUnitId, _date) {
|
|
1226
1226
|
// verify the required parameter 'businessUnitId' is set
|
|
1227
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1227
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1228
1228
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitIntradayPlanninggroups';
|
|
1229
1229
|
}
|
|
1230
1230
|
// verify the required parameter '_date' is set
|
|
@@ -1254,7 +1254,7 @@ class WorkforceManagementApi {
|
|
|
1254
1254
|
*/
|
|
1255
1255
|
getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession(businessUnitId) {
|
|
1256
1256
|
// verify the required parameter 'businessUnitId' is set
|
|
1257
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1257
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1258
1258
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSession';
|
|
1259
1259
|
}
|
|
1260
1260
|
|
|
@@ -1281,11 +1281,11 @@ class WorkforceManagementApi {
|
|
|
1281
1281
|
*/
|
|
1282
1282
|
getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId(businessUnitId, sessionId) {
|
|
1283
1283
|
// verify the required parameter 'businessUnitId' is set
|
|
1284
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1284
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1285
1285
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';
|
|
1286
1286
|
}
|
|
1287
1287
|
// verify the required parameter 'sessionId' is set
|
|
1288
|
-
if (sessionId === undefined || sessionId === null) {
|
|
1288
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
1289
1289
|
throw 'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionId';
|
|
1290
1290
|
}
|
|
1291
1291
|
|
|
@@ -1313,15 +1313,15 @@ class WorkforceManagementApi {
|
|
|
1313
1313
|
*/
|
|
1314
1314
|
getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId(businessUnitId, sessionId, snapshotId) {
|
|
1315
1315
|
// verify the required parameter 'businessUnitId' is set
|
|
1316
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1316
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1317
1317
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';
|
|
1318
1318
|
}
|
|
1319
1319
|
// verify the required parameter 'sessionId' is set
|
|
1320
|
-
if (sessionId === undefined || sessionId === null) {
|
|
1320
|
+
if (sessionId === undefined || sessionId === null || sessionId === '') {
|
|
1321
1321
|
throw 'Missing the required parameter "sessionId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';
|
|
1322
1322
|
}
|
|
1323
1323
|
// verify the required parameter 'snapshotId' is set
|
|
1324
|
-
if (snapshotId === undefined || snapshotId === null) {
|
|
1324
|
+
if (snapshotId === undefined || snapshotId === null || snapshotId === '') {
|
|
1325
1325
|
throw 'Missing the required parameter "snapshotId" when calling getWorkforcemanagementBusinessunitMainforecastContinuousforecastSessionSessionIdSnapshotSnapshotId';
|
|
1326
1326
|
}
|
|
1327
1327
|
|
|
@@ -1351,7 +1351,7 @@ class WorkforceManagementApi {
|
|
|
1351
1351
|
opts = opts || {};
|
|
1352
1352
|
|
|
1353
1353
|
// verify the required parameter 'businessUnitId' is set
|
|
1354
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1354
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1355
1355
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitManagementunits';
|
|
1356
1356
|
}
|
|
1357
1357
|
|
|
@@ -1377,11 +1377,11 @@ class WorkforceManagementApi {
|
|
|
1377
1377
|
*/
|
|
1378
1378
|
getWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId) {
|
|
1379
1379
|
// verify the required parameter 'businessUnitId' is set
|
|
1380
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1380
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1381
1381
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroup';
|
|
1382
1382
|
}
|
|
1383
1383
|
// verify the required parameter 'planningGroupId' is set
|
|
1384
|
-
if (planningGroupId === undefined || planningGroupId === null) {
|
|
1384
|
+
if (planningGroupId === undefined || planningGroupId === null || planningGroupId === '') {
|
|
1385
1385
|
throw 'Missing the required parameter "planningGroupId" when calling getWorkforcemanagementBusinessunitPlanninggroup';
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
@@ -1406,7 +1406,7 @@ class WorkforceManagementApi {
|
|
|
1406
1406
|
*/
|
|
1407
1407
|
getWorkforcemanagementBusinessunitPlanninggroups(businessUnitId) {
|
|
1408
1408
|
// verify the required parameter 'businessUnitId' is set
|
|
1409
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1409
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1410
1410
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitPlanninggroups';
|
|
1411
1411
|
}
|
|
1412
1412
|
|
|
@@ -1432,11 +1432,11 @@ class WorkforceManagementApi {
|
|
|
1432
1432
|
*/
|
|
1433
1433
|
getWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId) {
|
|
1434
1434
|
// verify the required parameter 'businessUnitId' is set
|
|
1435
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1435
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1436
1436
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRun';
|
|
1437
1437
|
}
|
|
1438
1438
|
// verify the required parameter 'runId' is set
|
|
1439
|
-
if (runId === undefined || runId === null) {
|
|
1439
|
+
if (runId === undefined || runId === null || runId === '') {
|
|
1440
1440
|
throw 'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRun';
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
@@ -1464,11 +1464,11 @@ class WorkforceManagementApi {
|
|
|
1464
1464
|
*/
|
|
1465
1465
|
getWorkforcemanagementBusinessunitSchedulingRunResult(businessUnitId, runId, managementUnitIds, expand) {
|
|
1466
1466
|
// verify the required parameter 'businessUnitId' is set
|
|
1467
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1467
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1468
1468
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';
|
|
1469
1469
|
}
|
|
1470
1470
|
// verify the required parameter 'runId' is set
|
|
1471
|
-
if (runId === undefined || runId === null) {
|
|
1471
|
+
if (runId === undefined || runId === null || runId === '') {
|
|
1472
1472
|
throw 'Missing the required parameter "runId" when calling getWorkforcemanagementBusinessunitSchedulingRunResult';
|
|
1473
1473
|
}
|
|
1474
1474
|
// verify the required parameter 'managementUnitIds' is set
|
|
@@ -1501,7 +1501,7 @@ class WorkforceManagementApi {
|
|
|
1501
1501
|
*/
|
|
1502
1502
|
getWorkforcemanagementBusinessunitSchedulingRuns(businessUnitId) {
|
|
1503
1503
|
// verify the required parameter 'businessUnitId' is set
|
|
1504
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1504
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1505
1505
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitSchedulingRuns';
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
@@ -1531,11 +1531,11 @@ class WorkforceManagementApi {
|
|
|
1531
1531
|
opts = opts || {};
|
|
1532
1532
|
|
|
1533
1533
|
// verify the required parameter 'businessUnitId' is set
|
|
1534
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1534
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1535
1535
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
1536
1536
|
}
|
|
1537
1537
|
// verify the required parameter 'serviceGoalTemplateId' is set
|
|
1538
|
-
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
|
|
1538
|
+
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null || serviceGoalTemplateId === '') {
|
|
1539
1539
|
throw 'Missing the required parameter "serviceGoalTemplateId" when calling getWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
1540
1540
|
}
|
|
1541
1541
|
|
|
@@ -1564,7 +1564,7 @@ class WorkforceManagementApi {
|
|
|
1564
1564
|
opts = opts || {};
|
|
1565
1565
|
|
|
1566
1566
|
// verify the required parameter 'businessUnitId' is set
|
|
1567
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1567
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1568
1568
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
@@ -1590,11 +1590,11 @@ class WorkforceManagementApi {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
getWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId) {
|
|
1592
1592
|
// verify the required parameter 'businessUnitId' is set
|
|
1593
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1593
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1594
1594
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroup';
|
|
1595
1595
|
}
|
|
1596
1596
|
// verify the required parameter 'staffingGroupId' is set
|
|
1597
|
-
if (staffingGroupId === undefined || staffingGroupId === null) {
|
|
1597
|
+
if (staffingGroupId === undefined || staffingGroupId === null || staffingGroupId === '') {
|
|
1598
1598
|
throw 'Missing the required parameter "staffingGroupId" when calling getWorkforcemanagementBusinessunitStaffinggroup';
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
@@ -1624,7 +1624,7 @@ class WorkforceManagementApi {
|
|
|
1624
1624
|
opts = opts || {};
|
|
1625
1625
|
|
|
1626
1626
|
// verify the required parameter 'businessUnitId' is set
|
|
1627
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1627
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1628
1628
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitStaffinggroups';
|
|
1629
1629
|
}
|
|
1630
1630
|
|
|
@@ -1650,11 +1650,11 @@ class WorkforceManagementApi {
|
|
|
1650
1650
|
*/
|
|
1651
1651
|
getWorkforcemanagementBusinessunitTimeofflimit(businessUnitId, timeOffLimitId) {
|
|
1652
1652
|
// verify the required parameter 'businessUnitId' is set
|
|
1653
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1653
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1654
1654
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';
|
|
1655
1655
|
}
|
|
1656
1656
|
// verify the required parameter 'timeOffLimitId' is set
|
|
1657
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
1657
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
1658
1658
|
throw 'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementBusinessunitTimeofflimit';
|
|
1659
1659
|
}
|
|
1660
1660
|
|
|
@@ -1683,7 +1683,7 @@ class WorkforceManagementApi {
|
|
|
1683
1683
|
opts = opts || {};
|
|
1684
1684
|
|
|
1685
1685
|
// verify the required parameter 'businessUnitId' is set
|
|
1686
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1686
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1687
1687
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeofflimits';
|
|
1688
1688
|
}
|
|
1689
1689
|
|
|
@@ -1709,11 +1709,11 @@ class WorkforceManagementApi {
|
|
|
1709
1709
|
*/
|
|
1710
1710
|
getWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId) {
|
|
1711
1711
|
// verify the required parameter 'businessUnitId' is set
|
|
1712
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1712
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1713
1713
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplan';
|
|
1714
1714
|
}
|
|
1715
1715
|
// verify the required parameter 'timeOffPlanId' is set
|
|
1716
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
1716
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
1717
1717
|
throw 'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementBusinessunitTimeoffplan';
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
@@ -1743,7 +1743,7 @@ class WorkforceManagementApi {
|
|
|
1743
1743
|
opts = opts || {};
|
|
1744
1744
|
|
|
1745
1745
|
// verify the required parameter 'businessUnitId' is set
|
|
1746
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1746
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1747
1747
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitTimeoffplans';
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
@@ -1774,7 +1774,7 @@ class WorkforceManagementApi {
|
|
|
1774
1774
|
opts = opts || {};
|
|
1775
1775
|
|
|
1776
1776
|
// verify the required parameter 'businessUnitId' is set
|
|
1777
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1777
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1778
1778
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedule';
|
|
1779
1779
|
}
|
|
1780
1780
|
// verify the required parameter 'weekId' is set
|
|
@@ -1782,7 +1782,7 @@ class WorkforceManagementApi {
|
|
|
1782
1782
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedule';
|
|
1783
1783
|
}
|
|
1784
1784
|
// verify the required parameter 'scheduleId' is set
|
|
1785
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1785
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1786
1786
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedule';
|
|
1787
1787
|
}
|
|
1788
1788
|
|
|
@@ -1809,7 +1809,7 @@ class WorkforceManagementApi {
|
|
|
1809
1809
|
*/
|
|
1810
1810
|
getWorkforcemanagementBusinessunitWeekScheduleGenerationresults(businessUnitId, weekId, scheduleId) {
|
|
1811
1811
|
// verify the required parameter 'businessUnitId' is set
|
|
1812
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1812
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1813
1813
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';
|
|
1814
1814
|
}
|
|
1815
1815
|
// verify the required parameter 'weekId' is set
|
|
@@ -1817,7 +1817,7 @@ class WorkforceManagementApi {
|
|
|
1817
1817
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';
|
|
1818
1818
|
}
|
|
1819
1819
|
// verify the required parameter 'scheduleId' is set
|
|
1820
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1820
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1821
1821
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleGenerationresults';
|
|
1822
1822
|
}
|
|
1823
1823
|
|
|
@@ -1848,7 +1848,7 @@ class WorkforceManagementApi {
|
|
|
1848
1848
|
opts = opts || {};
|
|
1849
1849
|
|
|
1850
1850
|
// verify the required parameter 'businessUnitId' is set
|
|
1851
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1851
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1852
1852
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';
|
|
1853
1853
|
}
|
|
1854
1854
|
// verify the required parameter 'weekId' is set
|
|
@@ -1856,7 +1856,7 @@ class WorkforceManagementApi {
|
|
|
1856
1856
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';
|
|
1857
1857
|
}
|
|
1858
1858
|
// verify the required parameter 'scheduleId' is set
|
|
1859
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1859
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1860
1860
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHeadcountforecast';
|
|
1861
1861
|
}
|
|
1862
1862
|
|
|
@@ -1884,7 +1884,7 @@ class WorkforceManagementApi {
|
|
|
1884
1884
|
*/
|
|
1885
1885
|
getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent(businessUnitId, weekId, scheduleId, agentId) {
|
|
1886
1886
|
// verify the required parameter 'businessUnitId' is set
|
|
1887
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1887
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1888
1888
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';
|
|
1889
1889
|
}
|
|
1890
1890
|
// verify the required parameter 'weekId' is set
|
|
@@ -1892,11 +1892,11 @@ class WorkforceManagementApi {
|
|
|
1892
1892
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';
|
|
1893
1893
|
}
|
|
1894
1894
|
// verify the required parameter 'scheduleId' is set
|
|
1895
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1895
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1896
1896
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';
|
|
1897
1897
|
}
|
|
1898
1898
|
// verify the required parameter 'agentId' is set
|
|
1899
|
-
if (agentId === undefined || agentId === null) {
|
|
1899
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
1900
1900
|
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementBusinessunitWeekScheduleHistoryAgent';
|
|
1901
1901
|
}
|
|
1902
1902
|
|
|
@@ -1923,15 +1923,15 @@ class WorkforceManagementApi {
|
|
|
1923
1923
|
*/
|
|
1924
1924
|
getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions(businessUnitId, weekId, scheduleId) {
|
|
1925
1925
|
// verify the required parameter 'businessUnitId' is set
|
|
1926
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1926
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1927
1927
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1928
1928
|
}
|
|
1929
1929
|
// verify the required parameter 'weekId' is set
|
|
1930
|
-
if (weekId === undefined || weekId === null) {
|
|
1930
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
1931
1931
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1932
1932
|
}
|
|
1933
1933
|
// verify the required parameter 'scheduleId' is set
|
|
1934
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1934
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1935
1935
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictions';
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
@@ -1959,19 +1959,19 @@ class WorkforceManagementApi {
|
|
|
1959
1959
|
*/
|
|
1960
1960
|
getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation(businessUnitId, weekId, scheduleId, recalculationId) {
|
|
1961
1961
|
// verify the required parameter 'businessUnitId' is set
|
|
1962
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
1962
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
1963
1963
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1964
1964
|
}
|
|
1965
1965
|
// verify the required parameter 'weekId' is set
|
|
1966
|
-
if (weekId === undefined || weekId === null) {
|
|
1966
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
1967
1967
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1968
1968
|
}
|
|
1969
1969
|
// verify the required parameter 'scheduleId' is set
|
|
1970
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
1970
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
1971
1971
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1972
1972
|
}
|
|
1973
1973
|
// verify the required parameter 'recalculationId' is set
|
|
1974
|
-
if (recalculationId === undefined || recalculationId === null) {
|
|
1974
|
+
if (recalculationId === undefined || recalculationId === null || recalculationId === '') {
|
|
1975
1975
|
throw 'Missing the required parameter "recalculationId" when calling getWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculation';
|
|
1976
1976
|
}
|
|
1977
1977
|
|
|
@@ -2002,11 +2002,11 @@ class WorkforceManagementApi {
|
|
|
2002
2002
|
opts = opts || {};
|
|
2003
2003
|
|
|
2004
2004
|
// verify the required parameter 'businessUnitId' is set
|
|
2005
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2005
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2006
2006
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekSchedules';
|
|
2007
2007
|
}
|
|
2008
2008
|
// verify the required parameter 'weekId' is set
|
|
2009
|
-
if (weekId === undefined || weekId === null) {
|
|
2009
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
2010
2010
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementBusinessunitWeekSchedules';
|
|
2011
2011
|
}
|
|
2012
2012
|
|
|
@@ -2037,7 +2037,7 @@ class WorkforceManagementApi {
|
|
|
2037
2037
|
opts = opts || {};
|
|
2038
2038
|
|
|
2039
2039
|
// verify the required parameter 'businessUnitId' is set
|
|
2040
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2040
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2041
2041
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
2042
2042
|
}
|
|
2043
2043
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2045,7 +2045,7 @@ class WorkforceManagementApi {
|
|
|
2045
2045
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
2046
2046
|
}
|
|
2047
2047
|
// verify the required parameter 'forecastId' is set
|
|
2048
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2048
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2049
2049
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecast';
|
|
2050
2050
|
}
|
|
2051
2051
|
|
|
@@ -2077,7 +2077,7 @@ class WorkforceManagementApi {
|
|
|
2077
2077
|
opts = opts || {};
|
|
2078
2078
|
|
|
2079
2079
|
// verify the required parameter 'businessUnitId' is set
|
|
2080
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2080
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2081
2081
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';
|
|
2082
2082
|
}
|
|
2083
2083
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2085,7 +2085,7 @@ class WorkforceManagementApi {
|
|
|
2085
2085
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';
|
|
2086
2086
|
}
|
|
2087
2087
|
// verify the required parameter 'forecastId' is set
|
|
2088
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2088
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2089
2089
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastData';
|
|
2090
2090
|
}
|
|
2091
2091
|
|
|
@@ -2112,7 +2112,7 @@ class WorkforceManagementApi {
|
|
|
2112
2112
|
*/
|
|
2113
2113
|
getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults(businessUnitId, weekDateId, forecastId) {
|
|
2114
2114
|
// verify the required parameter 'businessUnitId' is set
|
|
2115
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2115
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2116
2116
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';
|
|
2117
2117
|
}
|
|
2118
2118
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2120,7 +2120,7 @@ class WorkforceManagementApi {
|
|
|
2120
2120
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';
|
|
2121
2121
|
}
|
|
2122
2122
|
// verify the required parameter 'forecastId' is set
|
|
2123
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2123
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2124
2124
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastGenerationresults';
|
|
2125
2125
|
}
|
|
2126
2126
|
|
|
@@ -2151,7 +2151,7 @@ class WorkforceManagementApi {
|
|
|
2151
2151
|
opts = opts || {};
|
|
2152
2152
|
|
|
2153
2153
|
// verify the required parameter 'businessUnitId' is set
|
|
2154
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2154
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2155
2155
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';
|
|
2156
2156
|
}
|
|
2157
2157
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2159,7 +2159,7 @@ class WorkforceManagementApi {
|
|
|
2159
2159
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';
|
|
2160
2160
|
}
|
|
2161
2161
|
// verify the required parameter 'forecastId' is set
|
|
2162
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2162
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2163
2163
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastLongtermforecastdata';
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
@@ -2186,7 +2186,7 @@ class WorkforceManagementApi {
|
|
|
2186
2186
|
*/
|
|
2187
2187
|
getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups(businessUnitId, weekDateId, forecastId) {
|
|
2188
2188
|
// verify the required parameter 'businessUnitId' is set
|
|
2189
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2189
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2190
2190
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';
|
|
2191
2191
|
}
|
|
2192
2192
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2194,7 +2194,7 @@ class WorkforceManagementApi {
|
|
|
2194
2194
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';
|
|
2195
2195
|
}
|
|
2196
2196
|
// verify the required parameter 'forecastId' is set
|
|
2197
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2197
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2198
2198
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastPlanninggroups';
|
|
2199
2199
|
}
|
|
2200
2200
|
|
|
@@ -2225,7 +2225,7 @@ class WorkforceManagementApi {
|
|
|
2225
2225
|
opts = opts || {};
|
|
2226
2226
|
|
|
2227
2227
|
// verify the required parameter 'businessUnitId' is set
|
|
2228
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2228
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2229
2229
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
2230
2230
|
}
|
|
2231
2231
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -2233,7 +2233,7 @@ class WorkforceManagementApi {
|
|
|
2233
2233
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
2234
2234
|
}
|
|
2235
2235
|
// verify the required parameter 'forecastId' is set
|
|
2236
|
-
if (forecastId === undefined || forecastId === null) {
|
|
2236
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
2237
2237
|
throw 'Missing the required parameter "forecastId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecastStaffingrequirement';
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
@@ -2259,11 +2259,11 @@ class WorkforceManagementApi {
|
|
|
2259
2259
|
*/
|
|
2260
2260
|
getWorkforcemanagementBusinessunitWeekShorttermforecasts(businessUnitId, weekDateId) {
|
|
2261
2261
|
// verify the required parameter 'businessUnitId' is set
|
|
2262
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2262
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2263
2263
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';
|
|
2264
2264
|
}
|
|
2265
2265
|
// verify the required parameter 'weekDateId' is set
|
|
2266
|
-
if (weekDateId === undefined || weekDateId === null) {
|
|
2266
|
+
if (weekDateId === undefined || weekDateId === null || weekDateId === '') {
|
|
2267
2267
|
throw 'Missing the required parameter "weekDateId" when calling getWorkforcemanagementBusinessunitWeekShorttermforecasts';
|
|
2268
2268
|
}
|
|
2269
2269
|
|
|
@@ -2289,11 +2289,11 @@ class WorkforceManagementApi {
|
|
|
2289
2289
|
*/
|
|
2290
2290
|
getWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId) {
|
|
2291
2291
|
// verify the required parameter 'businessUnitId' is set
|
|
2292
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2292
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2293
2293
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
|
|
2294
2294
|
}
|
|
2295
2295
|
// verify the required parameter 'bidId' is set
|
|
2296
|
-
if (bidId === undefined || bidId === null) {
|
|
2296
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
2297
2297
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbid';
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
@@ -2320,15 +2320,15 @@ class WorkforceManagementApi {
|
|
|
2320
2320
|
*/
|
|
2321
2321
|
getWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId) {
|
|
2322
2322
|
// verify the required parameter 'businessUnitId' is set
|
|
2323
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2323
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2324
2324
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
2325
2325
|
}
|
|
2326
2326
|
// verify the required parameter 'bidId' is set
|
|
2327
|
-
if (bidId === undefined || bidId === null) {
|
|
2327
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
2328
2328
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
2329
2329
|
}
|
|
2330
2330
|
// verify the required parameter 'bidGroupId' is set
|
|
2331
|
-
if (bidGroupId === undefined || bidGroupId === null) {
|
|
2331
|
+
if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
|
|
2332
2332
|
throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
2333
2333
|
}
|
|
2334
2334
|
|
|
@@ -2355,15 +2355,15 @@ class WorkforceManagementApi {
|
|
|
2355
2355
|
*/
|
|
2356
2356
|
getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId) {
|
|
2357
2357
|
// verify the required parameter 'businessUnitId' is set
|
|
2358
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2358
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2359
2359
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
2360
2360
|
}
|
|
2361
2361
|
// verify the required parameter 'bidId' is set
|
|
2362
|
-
if (bidId === undefined || bidId === null) {
|
|
2362
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
2363
2363
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
2364
2364
|
}
|
|
2365
2365
|
// verify the required parameter 'bidGroupId' is set
|
|
2366
|
-
if (bidGroupId === undefined || bidGroupId === null) {
|
|
2366
|
+
if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
|
|
2367
2367
|
throw 'Missing the required parameter "bidGroupId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
2368
2368
|
}
|
|
2369
2369
|
|
|
@@ -2389,11 +2389,11 @@ class WorkforceManagementApi {
|
|
|
2389
2389
|
*/
|
|
2390
2390
|
getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary(businessUnitId, bidId) {
|
|
2391
2391
|
// verify the required parameter 'businessUnitId' is set
|
|
2392
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2392
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2393
2393
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
|
|
2394
2394
|
}
|
|
2395
2395
|
// verify the required parameter 'bidId' is set
|
|
2396
|
-
if (bidId === undefined || bidId === null) {
|
|
2396
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
2397
2397
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementBusinessunitWorkplanbidGroupsSummary';
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
@@ -2418,7 +2418,7 @@ class WorkforceManagementApi {
|
|
|
2418
2418
|
*/
|
|
2419
2419
|
getWorkforcemanagementBusinessunitWorkplanbids(businessUnitId) {
|
|
2420
2420
|
// verify the required parameter 'businessUnitId' is set
|
|
2421
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
2421
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
2422
2422
|
throw 'Missing the required parameter "businessUnitId" when calling getWorkforcemanagementBusinessunitWorkplanbids';
|
|
2423
2423
|
}
|
|
2424
2424
|
|
|
@@ -2537,7 +2537,7 @@ class WorkforceManagementApi {
|
|
|
2537
2537
|
*/
|
|
2538
2538
|
getWorkforcemanagementHistoricaldataBulkRemoveJob(jobId) {
|
|
2539
2539
|
// verify the required parameter 'jobId' is set
|
|
2540
|
-
if (jobId === undefined || jobId === null) {
|
|
2540
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2541
2541
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataBulkRemoveJob';
|
|
2542
2542
|
}
|
|
2543
2543
|
|
|
@@ -2575,27 +2575,6 @@ class WorkforceManagementApi {
|
|
|
2575
2575
|
);
|
|
2576
2576
|
}
|
|
2577
2577
|
|
|
2578
|
-
/**
|
|
2579
|
-
* Retrieves delete job status for historical data imports of the organization.
|
|
2580
|
-
* Deprecated: Please use GET /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
2581
|
-
* @deprecated
|
|
2582
|
-
*/
|
|
2583
|
-
getWorkforcemanagementHistoricaldataDeletejob() {
|
|
2584
|
-
|
|
2585
|
-
return this.apiClient.callApi(
|
|
2586
|
-
'/api/v2/workforcemanagement/historicaldata/deletejob',
|
|
2587
|
-
'GET',
|
|
2588
|
-
{ },
|
|
2589
|
-
{ },
|
|
2590
|
-
{ },
|
|
2591
|
-
{ },
|
|
2592
|
-
null,
|
|
2593
|
-
['PureCloud OAuth'],
|
|
2594
|
-
['application/json'],
|
|
2595
|
-
['application/json']
|
|
2596
|
-
);
|
|
2597
|
-
}
|
|
2598
|
-
|
|
2599
2578
|
/**
|
|
2600
2579
|
* Retrieves status of the historical data imports of the organization
|
|
2601
2580
|
*
|
|
@@ -2623,7 +2602,7 @@ class WorkforceManagementApi {
|
|
|
2623
2602
|
*/
|
|
2624
2603
|
getWorkforcemanagementHistoricaldataImportstatusJobId(jobId) {
|
|
2625
2604
|
// verify the required parameter 'jobId' is set
|
|
2626
|
-
if (jobId === undefined || jobId === null) {
|
|
2605
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2627
2606
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataImportstatusJobId';
|
|
2628
2607
|
}
|
|
2629
2608
|
|
|
@@ -2668,7 +2647,7 @@ class WorkforceManagementApi {
|
|
|
2668
2647
|
*/
|
|
2669
2648
|
getWorkforcemanagementIntegrationsHrisTimeofftypesJob(jobId) {
|
|
2670
2649
|
// verify the required parameter 'jobId' is set
|
|
2671
|
-
if (jobId === undefined || jobId === null) {
|
|
2650
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
2672
2651
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementIntegrationsHrisTimeofftypesJob';
|
|
2673
2652
|
}
|
|
2674
2653
|
|
|
@@ -2697,7 +2676,7 @@ class WorkforceManagementApi {
|
|
|
2697
2676
|
opts = opts || {};
|
|
2698
2677
|
|
|
2699
2678
|
// verify the required parameter 'managementUnitId' is set
|
|
2700
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2679
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2701
2680
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunit';
|
|
2702
2681
|
}
|
|
2703
2682
|
|
|
@@ -2723,7 +2702,7 @@ class WorkforceManagementApi {
|
|
|
2723
2702
|
*/
|
|
2724
2703
|
getWorkforcemanagementManagementunitActivitycodes(managementUnitId) {
|
|
2725
2704
|
// verify the required parameter 'managementUnitId' is set
|
|
2726
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2705
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2727
2706
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitActivitycodes';
|
|
2728
2707
|
}
|
|
2729
2708
|
|
|
@@ -2752,7 +2731,7 @@ class WorkforceManagementApi {
|
|
|
2752
2731
|
opts = opts || {};
|
|
2753
2732
|
|
|
2754
2733
|
// verify the required parameter 'managementUnitId' is set
|
|
2755
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2734
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2756
2735
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAdherence';
|
|
2757
2736
|
}
|
|
2758
2737
|
|
|
@@ -2783,11 +2762,11 @@ class WorkforceManagementApi {
|
|
|
2783
2762
|
opts = opts || {};
|
|
2784
2763
|
|
|
2785
2764
|
// verify the required parameter 'managementUnitId' is set
|
|
2786
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2765
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2787
2766
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgent';
|
|
2788
2767
|
}
|
|
2789
2768
|
// verify the required parameter 'agentId' is set
|
|
2790
|
-
if (agentId === undefined || agentId === null) {
|
|
2769
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
2791
2770
|
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgent';
|
|
2792
2771
|
}
|
|
2793
2772
|
|
|
@@ -2813,11 +2792,11 @@ class WorkforceManagementApi {
|
|
|
2813
2792
|
*/
|
|
2814
2793
|
getWorkforcemanagementManagementunitAgentShifttrades(managementUnitId, agentId) {
|
|
2815
2794
|
// verify the required parameter 'managementUnitId' is set
|
|
2816
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2795
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2817
2796
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgentShifttrades';
|
|
2818
2797
|
}
|
|
2819
2798
|
// verify the required parameter 'agentId' is set
|
|
2820
|
-
if (agentId === undefined || agentId === null) {
|
|
2799
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
2821
2800
|
throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgentShifttrades';
|
|
2822
2801
|
}
|
|
2823
2802
|
|
|
@@ -2842,7 +2821,7 @@ class WorkforceManagementApi {
|
|
|
2842
2821
|
*/
|
|
2843
2822
|
getWorkforcemanagementManagementunitShifttradesMatched(managementUnitId) {
|
|
2844
2823
|
// verify the required parameter 'managementUnitId' is set
|
|
2845
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2824
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2846
2825
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesMatched';
|
|
2847
2826
|
}
|
|
2848
2827
|
|
|
@@ -2867,7 +2846,7 @@ class WorkforceManagementApi {
|
|
|
2867
2846
|
*/
|
|
2868
2847
|
getWorkforcemanagementManagementunitShifttradesUsers(managementUnitId) {
|
|
2869
2848
|
// verify the required parameter 'managementUnitId' is set
|
|
2870
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2849
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2871
2850
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesUsers';
|
|
2872
2851
|
}
|
|
2873
2852
|
|
|
@@ -2893,11 +2872,11 @@ class WorkforceManagementApi {
|
|
|
2893
2872
|
*/
|
|
2894
2873
|
getWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
|
|
2895
2874
|
// verify the required parameter 'managementUnitId' is set
|
|
2896
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2875
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2897
2876
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
|
|
2898
2877
|
}
|
|
2899
2878
|
// verify the required parameter 'timeOffLimitId' is set
|
|
2900
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
2879
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
2901
2880
|
throw 'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
|
|
2902
2881
|
}
|
|
2903
2882
|
|
|
@@ -2922,7 +2901,7 @@ class WorkforceManagementApi {
|
|
|
2922
2901
|
*/
|
|
2923
2902
|
getWorkforcemanagementManagementunitTimeofflimits(managementUnitId) {
|
|
2924
2903
|
// verify the required parameter 'managementUnitId' is set
|
|
2925
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2904
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2926
2905
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';
|
|
2927
2906
|
}
|
|
2928
2907
|
|
|
@@ -2948,11 +2927,11 @@ class WorkforceManagementApi {
|
|
|
2948
2927
|
*/
|
|
2949
2928
|
getWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
|
|
2950
2929
|
// verify the required parameter 'managementUnitId' is set
|
|
2951
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2930
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2952
2931
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';
|
|
2953
2932
|
}
|
|
2954
2933
|
// verify the required parameter 'timeOffPlanId' is set
|
|
2955
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
2934
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
2956
2935
|
throw 'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';
|
|
2957
2936
|
}
|
|
2958
2937
|
|
|
@@ -2977,7 +2956,7 @@ class WorkforceManagementApi {
|
|
|
2977
2956
|
*/
|
|
2978
2957
|
getWorkforcemanagementManagementunitTimeoffplans(managementUnitId) {
|
|
2979
2958
|
// verify the required parameter 'managementUnitId' is set
|
|
2980
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2959
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
2981
2960
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';
|
|
2982
2961
|
}
|
|
2983
2962
|
|
|
@@ -3004,15 +2983,15 @@ class WorkforceManagementApi {
|
|
|
3004
2983
|
*/
|
|
3005
2984
|
getWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId) {
|
|
3006
2985
|
// verify the required parameter 'managementUnitId' is set
|
|
3007
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
2986
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3008
2987
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
3009
2988
|
}
|
|
3010
2989
|
// verify the required parameter 'userId' is set
|
|
3011
|
-
if (userId === undefined || userId === null) {
|
|
2990
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3012
2991
|
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
3013
2992
|
}
|
|
3014
2993
|
// verify the required parameter 'timeOffRequestId' is set
|
|
3015
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
2994
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
3016
2995
|
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
3017
2996
|
}
|
|
3018
2997
|
|
|
@@ -3039,15 +3018,15 @@ class WorkforceManagementApi {
|
|
|
3039
3018
|
*/
|
|
3040
3019
|
getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(managementUnitId, userId, timeOffRequestId) {
|
|
3041
3020
|
// verify the required parameter 'managementUnitId' is set
|
|
3042
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3021
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3043
3022
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
3044
3023
|
}
|
|
3045
3024
|
// verify the required parameter 'userId' is set
|
|
3046
|
-
if (userId === undefined || userId === null) {
|
|
3025
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3047
3026
|
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
3048
3027
|
}
|
|
3049
3028
|
// verify the required parameter 'timeOffRequestId' is set
|
|
3050
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
3029
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
3051
3030
|
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
|
|
3052
3031
|
}
|
|
3053
3032
|
|
|
@@ -3073,11 +3052,11 @@ class WorkforceManagementApi {
|
|
|
3073
3052
|
*/
|
|
3074
3053
|
getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId, userId) {
|
|
3075
3054
|
// verify the required parameter 'managementUnitId' is set
|
|
3076
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3055
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3077
3056
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';
|
|
3078
3057
|
}
|
|
3079
3058
|
// verify the required parameter 'userId' is set
|
|
3080
|
-
if (userId === undefined || userId === null) {
|
|
3059
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3081
3060
|
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';
|
|
3082
3061
|
}
|
|
3083
3062
|
|
|
@@ -3102,7 +3081,7 @@ class WorkforceManagementApi {
|
|
|
3102
3081
|
*/
|
|
3103
3082
|
getWorkforcemanagementManagementunitUsers(managementUnitId) {
|
|
3104
3083
|
// verify the required parameter 'managementUnitId' is set
|
|
3105
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3084
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3106
3085
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUsers';
|
|
3107
3086
|
}
|
|
3108
3087
|
|
|
@@ -3135,15 +3114,15 @@ class WorkforceManagementApi {
|
|
|
3135
3114
|
opts = opts || {};
|
|
3136
3115
|
|
|
3137
3116
|
// verify the required parameter 'managementUnitId' is set
|
|
3138
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3117
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3139
3118
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedule';
|
|
3140
3119
|
}
|
|
3141
3120
|
// verify the required parameter 'weekId' is set
|
|
3142
|
-
if (weekId === undefined || weekId === null) {
|
|
3121
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
3143
3122
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedule';
|
|
3144
3123
|
}
|
|
3145
3124
|
// verify the required parameter 'scheduleId' is set
|
|
3146
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
3125
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
3147
3126
|
throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementManagementunitWeekSchedule';
|
|
3148
3127
|
}
|
|
3149
3128
|
|
|
@@ -3176,11 +3155,11 @@ class WorkforceManagementApi {
|
|
|
3176
3155
|
opts = opts || {};
|
|
3177
3156
|
|
|
3178
3157
|
// verify the required parameter 'managementUnitId' is set
|
|
3179
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3158
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3180
3159
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedules';
|
|
3181
3160
|
}
|
|
3182
3161
|
// verify the required parameter 'weekId' is set
|
|
3183
|
-
if (weekId === undefined || weekId === null) {
|
|
3162
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
3184
3163
|
throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedules';
|
|
3185
3164
|
}
|
|
3186
3165
|
|
|
@@ -3212,7 +3191,7 @@ class WorkforceManagementApi {
|
|
|
3212
3191
|
opts = opts || {};
|
|
3213
3192
|
|
|
3214
3193
|
// verify the required parameter 'managementUnitId' is set
|
|
3215
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3194
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3216
3195
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekShifttrades';
|
|
3217
3196
|
}
|
|
3218
3197
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -3246,11 +3225,11 @@ class WorkforceManagementApi {
|
|
|
3246
3225
|
opts = opts || {};
|
|
3247
3226
|
|
|
3248
3227
|
// verify the required parameter 'managementUnitId' is set
|
|
3249
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3228
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3250
3229
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplan';
|
|
3251
3230
|
}
|
|
3252
3231
|
// verify the required parameter 'workPlanId' is set
|
|
3253
|
-
if (workPlanId === undefined || workPlanId === null) {
|
|
3232
|
+
if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
|
|
3254
3233
|
throw 'Missing the required parameter "workPlanId" when calling getWorkforcemanagementManagementunitWorkplan';
|
|
3255
3234
|
}
|
|
3256
3235
|
|
|
@@ -3276,11 +3255,11 @@ class WorkforceManagementApi {
|
|
|
3276
3255
|
*/
|
|
3277
3256
|
getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
|
|
3278
3257
|
// verify the required parameter 'managementUnitId' is set
|
|
3279
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3258
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3280
3259
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
3281
3260
|
}
|
|
3282
3261
|
// verify the required parameter 'workPlanRotationId' is set
|
|
3283
|
-
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
3262
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
|
|
3284
3263
|
throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
|
|
3285
3264
|
}
|
|
3286
3265
|
|
|
@@ -3309,7 +3288,7 @@ class WorkforceManagementApi {
|
|
|
3309
3288
|
opts = opts || {};
|
|
3310
3289
|
|
|
3311
3290
|
// verify the required parameter 'managementUnitId' is set
|
|
3312
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3291
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3313
3292
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
|
|
3314
3293
|
}
|
|
3315
3294
|
|
|
@@ -3339,7 +3318,7 @@ class WorkforceManagementApi {
|
|
|
3339
3318
|
opts = opts || {};
|
|
3340
3319
|
|
|
3341
3320
|
// verify the required parameter 'managementUnitId' is set
|
|
3342
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
3321
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
3343
3322
|
throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplans';
|
|
3344
3323
|
}
|
|
3345
3324
|
|
|
@@ -3436,7 +3415,7 @@ class WorkforceManagementApi {
|
|
|
3436
3415
|
*/
|
|
3437
3416
|
getWorkforcemanagementSchedulingjob(jobId) {
|
|
3438
3417
|
// verify the required parameter 'jobId' is set
|
|
3439
|
-
if (jobId === undefined || jobId === null) {
|
|
3418
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
3440
3419
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementSchedulingjob';
|
|
3441
3420
|
}
|
|
3442
3421
|
|
|
@@ -3481,7 +3460,7 @@ class WorkforceManagementApi {
|
|
|
3481
3460
|
*/
|
|
3482
3461
|
getWorkforcemanagementShrinkageJob(jobId) {
|
|
3483
3462
|
// verify the required parameter 'jobId' is set
|
|
3484
|
-
if (jobId === undefined || jobId === null) {
|
|
3463
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
3485
3464
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';
|
|
3486
3465
|
}
|
|
3487
3466
|
|
|
@@ -3506,7 +3485,7 @@ class WorkforceManagementApi {
|
|
|
3506
3485
|
*/
|
|
3507
3486
|
getWorkforcemanagementTimeoffbalanceJob(jobId) {
|
|
3508
3487
|
// verify the required parameter 'jobId' is set
|
|
3509
|
-
if (jobId === undefined || jobId === null) {
|
|
3488
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
3510
3489
|
throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementTimeoffbalanceJob';
|
|
3511
3490
|
}
|
|
3512
3491
|
|
|
@@ -3531,7 +3510,7 @@ class WorkforceManagementApi {
|
|
|
3531
3510
|
*/
|
|
3532
3511
|
getWorkforcemanagementTimeoffrequest(timeOffRequestId) {
|
|
3533
3512
|
// verify the required parameter 'timeOffRequestId' is set
|
|
3534
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
3513
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
3535
3514
|
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequest';
|
|
3536
3515
|
}
|
|
3537
3516
|
|
|
@@ -3556,7 +3535,7 @@ class WorkforceManagementApi {
|
|
|
3556
3535
|
*/
|
|
3557
3536
|
getWorkforcemanagementTimeoffrequestWaitlistpositions(timeOffRequestId) {
|
|
3558
3537
|
// verify the required parameter 'timeOffRequestId' is set
|
|
3559
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
3538
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
3560
3539
|
throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';
|
|
3561
3540
|
}
|
|
3562
3541
|
|
|
@@ -3601,7 +3580,7 @@ class WorkforceManagementApi {
|
|
|
3601
3580
|
*/
|
|
3602
3581
|
getWorkforcemanagementUserWorkplanbidranks(userId) {
|
|
3603
3582
|
// verify the required parameter 'userId' is set
|
|
3604
|
-
if (userId === undefined || userId === null) {
|
|
3583
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
3605
3584
|
throw 'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';
|
|
3606
3585
|
}
|
|
3607
3586
|
|
|
@@ -3626,7 +3605,7 @@ class WorkforceManagementApi {
|
|
|
3626
3605
|
*/
|
|
3627
3606
|
getWorkforcemanagementWorkplanbidPreferences(bidId) {
|
|
3628
3607
|
// verify the required parameter 'bidId' is set
|
|
3629
|
-
if (bidId === undefined || bidId === null) {
|
|
3608
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
3630
3609
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';
|
|
3631
3610
|
}
|
|
3632
3611
|
|
|
@@ -3651,7 +3630,7 @@ class WorkforceManagementApi {
|
|
|
3651
3630
|
*/
|
|
3652
3631
|
getWorkforcemanagementWorkplanbidWorkplans(bidId) {
|
|
3653
3632
|
// verify the required parameter 'bidId' is set
|
|
3654
|
-
if (bidId === undefined || bidId === null) {
|
|
3633
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
3655
3634
|
throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';
|
|
3656
3635
|
}
|
|
3657
3636
|
|
|
@@ -3698,11 +3677,11 @@ class WorkforceManagementApi {
|
|
|
3698
3677
|
*/
|
|
3699
3678
|
patchWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId, body) {
|
|
3700
3679
|
// verify the required parameter 'agentId' is set
|
|
3701
|
-
if (agentId === undefined || agentId === null) {
|
|
3680
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
3702
3681
|
throw 'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
3703
3682
|
}
|
|
3704
3683
|
// verify the required parameter 'explanationId' is set
|
|
3705
|
-
if (explanationId === undefined || explanationId === null) {
|
|
3684
|
+
if (explanationId === undefined || explanationId === null || explanationId === '') {
|
|
3706
3685
|
throw 'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
|
|
3707
3686
|
}
|
|
3708
3687
|
// verify the required parameter 'body' is set
|
|
@@ -3732,7 +3711,7 @@ class WorkforceManagementApi {
|
|
|
3732
3711
|
*/
|
|
3733
3712
|
patchWorkforcemanagementAlternativeshiftsTrade(tradeId, body) {
|
|
3734
3713
|
// verify the required parameter 'tradeId' is set
|
|
3735
|
-
if (tradeId === undefined || tradeId === null) {
|
|
3714
|
+
if (tradeId === undefined || tradeId === null || tradeId === '') {
|
|
3736
3715
|
throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
|
|
3737
3716
|
}
|
|
3738
3717
|
// verify the required parameter 'body' is set
|
|
@@ -3787,7 +3766,7 @@ class WorkforceManagementApi {
|
|
|
3787
3766
|
*/
|
|
3788
3767
|
patchWorkforcemanagementBusinessunit(businessUnitId, body) {
|
|
3789
3768
|
// verify the required parameter 'businessUnitId' is set
|
|
3790
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3769
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3791
3770
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';
|
|
3792
3771
|
}
|
|
3793
3772
|
// verify the required parameter 'body' is set
|
|
@@ -3818,11 +3797,11 @@ class WorkforceManagementApi {
|
|
|
3818
3797
|
*/
|
|
3819
3798
|
patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, body) {
|
|
3820
3799
|
// verify the required parameter 'businessUnitId' is set
|
|
3821
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3800
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3822
3801
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
3823
3802
|
}
|
|
3824
3803
|
// verify the required parameter 'activityCodeId' is set
|
|
3825
|
-
if (activityCodeId === undefined || activityCodeId === null) {
|
|
3804
|
+
if (activityCodeId === undefined || activityCodeId === null || activityCodeId === '') {
|
|
3826
3805
|
throw 'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';
|
|
3827
3806
|
}
|
|
3828
3807
|
// verify the required parameter 'body' is set
|
|
@@ -3853,11 +3832,11 @@ class WorkforceManagementApi {
|
|
|
3853
3832
|
*/
|
|
3854
3833
|
patchWorkforcemanagementBusinessunitActivityplan(businessUnitId, activityPlanId, body) {
|
|
3855
3834
|
// verify the required parameter 'businessUnitId' is set
|
|
3856
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3835
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3857
3836
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';
|
|
3858
3837
|
}
|
|
3859
3838
|
// verify the required parameter 'activityPlanId' is set
|
|
3860
|
-
if (activityPlanId === undefined || activityPlanId === null) {
|
|
3839
|
+
if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
|
|
3861
3840
|
throw 'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';
|
|
3862
3841
|
}
|
|
3863
3842
|
// verify the required parameter 'body' is set
|
|
@@ -3887,7 +3866,7 @@ class WorkforceManagementApi {
|
|
|
3887
3866
|
*/
|
|
3888
3867
|
patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, body) {
|
|
3889
3868
|
// verify the required parameter 'businessUnitId' is set
|
|
3890
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3869
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3891
3870
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
|
|
3892
3871
|
}
|
|
3893
3872
|
// verify the required parameter 'body' is set
|
|
@@ -3918,11 +3897,11 @@ class WorkforceManagementApi {
|
|
|
3918
3897
|
*/
|
|
3919
3898
|
patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, body) {
|
|
3920
3899
|
// verify the required parameter 'businessUnitId' is set
|
|
3921
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3900
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3922
3901
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
3923
3902
|
}
|
|
3924
3903
|
// verify the required parameter 'planningGroupId' is set
|
|
3925
|
-
if (planningGroupId === undefined || planningGroupId === null) {
|
|
3904
|
+
if (planningGroupId === undefined || planningGroupId === null || planningGroupId === '') {
|
|
3926
3905
|
throw 'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
|
|
3927
3906
|
}
|
|
3928
3907
|
// verify the required parameter 'body' is set
|
|
@@ -3953,11 +3932,11 @@ class WorkforceManagementApi {
|
|
|
3953
3932
|
*/
|
|
3954
3933
|
patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, body) {
|
|
3955
3934
|
// verify the required parameter 'businessUnitId' is set
|
|
3956
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3935
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3957
3936
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
3958
3937
|
}
|
|
3959
3938
|
// verify the required parameter 'runId' is set
|
|
3960
|
-
if (runId === undefined || runId === null) {
|
|
3939
|
+
if (runId === undefined || runId === null || runId === '') {
|
|
3961
3940
|
throw 'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
|
|
3962
3941
|
}
|
|
3963
3942
|
// verify the required parameter 'body' is set
|
|
@@ -3988,11 +3967,11 @@ class WorkforceManagementApi {
|
|
|
3988
3967
|
*/
|
|
3989
3968
|
patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, body) {
|
|
3990
3969
|
// verify the required parameter 'businessUnitId' is set
|
|
3991
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
3970
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
3992
3971
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
3993
3972
|
}
|
|
3994
3973
|
// verify the required parameter 'serviceGoalTemplateId' is set
|
|
3995
|
-
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
|
|
3974
|
+
if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null || serviceGoalTemplateId === '') {
|
|
3996
3975
|
throw 'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
|
|
3997
3976
|
}
|
|
3998
3977
|
// verify the required parameter 'body' is set
|
|
@@ -4023,11 +4002,11 @@ class WorkforceManagementApi {
|
|
|
4023
4002
|
*/
|
|
4024
4003
|
patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, body) {
|
|
4025
4004
|
// verify the required parameter 'businessUnitId' is set
|
|
4026
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
4005
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
4027
4006
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
4028
4007
|
}
|
|
4029
4008
|
// verify the required parameter 'staffingGroupId' is set
|
|
4030
|
-
if (staffingGroupId === undefined || staffingGroupId === null) {
|
|
4009
|
+
if (staffingGroupId === undefined || staffingGroupId === null || staffingGroupId === '') {
|
|
4031
4010
|
throw 'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
|
|
4032
4011
|
}
|
|
4033
4012
|
// verify the required parameter 'body' is set
|
|
@@ -4058,11 +4037,11 @@ class WorkforceManagementApi {
|
|
|
4058
4037
|
*/
|
|
4059
4038
|
patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, body) {
|
|
4060
4039
|
// verify the required parameter 'businessUnitId' is set
|
|
4061
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
4040
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
4062
4041
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
4063
4042
|
}
|
|
4064
4043
|
// verify the required parameter 'timeOffPlanId' is set
|
|
4065
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
4044
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
4066
4045
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
|
|
4067
4046
|
}
|
|
4068
4047
|
// verify the required parameter 'body' is set
|
|
@@ -4093,11 +4072,11 @@ class WorkforceManagementApi {
|
|
|
4093
4072
|
*/
|
|
4094
4073
|
patchWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId, body) {
|
|
4095
4074
|
// verify the required parameter 'businessUnitId' is set
|
|
4096
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
4075
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
4097
4076
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
|
|
4098
4077
|
}
|
|
4099
4078
|
// verify the required parameter 'bidId' is set
|
|
4100
|
-
if (bidId === undefined || bidId === null) {
|
|
4079
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
4101
4080
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
|
|
4102
4081
|
}
|
|
4103
4082
|
// verify the required parameter 'body' is set
|
|
@@ -4129,15 +4108,15 @@ class WorkforceManagementApi {
|
|
|
4129
4108
|
*/
|
|
4130
4109
|
patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, body) {
|
|
4131
4110
|
// verify the required parameter 'businessUnitId' is set
|
|
4132
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
4111
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
4133
4112
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
4134
4113
|
}
|
|
4135
4114
|
// verify the required parameter 'bidId' is set
|
|
4136
|
-
if (bidId === undefined || bidId === null) {
|
|
4115
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
4137
4116
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
4138
4117
|
}
|
|
4139
4118
|
// verify the required parameter 'bidGroupId' is set
|
|
4140
|
-
if (bidGroupId === undefined || bidGroupId === null) {
|
|
4119
|
+
if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
|
|
4141
4120
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
|
|
4142
4121
|
}
|
|
4143
4122
|
// verify the required parameter 'body' is set
|
|
@@ -4169,15 +4148,15 @@ class WorkforceManagementApi {
|
|
|
4169
4148
|
*/
|
|
4170
4149
|
patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, body) {
|
|
4171
4150
|
// verify the required parameter 'businessUnitId' is set
|
|
4172
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
4151
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
4173
4152
|
throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
4174
4153
|
}
|
|
4175
4154
|
// verify the required parameter 'bidId' is set
|
|
4176
|
-
if (bidId === undefined || bidId === null) {
|
|
4155
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
4177
4156
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
4178
4157
|
}
|
|
4179
4158
|
// verify the required parameter 'bidGroupId' is set
|
|
4180
|
-
if (bidGroupId === undefined || bidGroupId === null) {
|
|
4159
|
+
if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
|
|
4181
4160
|
throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
|
|
4182
4161
|
}
|
|
4183
4162
|
// verify the required parameter 'body' is set
|
|
@@ -4207,7 +4186,7 @@ class WorkforceManagementApi {
|
|
|
4207
4186
|
*/
|
|
4208
4187
|
patchWorkforcemanagementManagementunit(managementUnitId, body) {
|
|
4209
4188
|
// verify the required parameter 'managementUnitId' is set
|
|
4210
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4189
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4211
4190
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';
|
|
4212
4191
|
}
|
|
4213
4192
|
// verify the required parameter 'body' is set
|
|
@@ -4237,7 +4216,7 @@ class WorkforceManagementApi {
|
|
|
4237
4216
|
*/
|
|
4238
4217
|
patchWorkforcemanagementManagementunitAgents(managementUnitId, body) {
|
|
4239
4218
|
// verify the required parameter 'managementUnitId' is set
|
|
4240
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4219
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4241
4220
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
|
|
4242
4221
|
}
|
|
4243
4222
|
// verify the required parameter 'body' is set
|
|
@@ -4267,7 +4246,7 @@ class WorkforceManagementApi {
|
|
|
4267
4246
|
*/
|
|
4268
4247
|
patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, body) {
|
|
4269
4248
|
// verify the required parameter 'managementUnitId' is set
|
|
4270
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4249
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4271
4250
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
|
|
4272
4251
|
}
|
|
4273
4252
|
// verify the required parameter 'body' is set
|
|
@@ -4298,11 +4277,11 @@ class WorkforceManagementApi {
|
|
|
4298
4277
|
*/
|
|
4299
4278
|
patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, body) {
|
|
4300
4279
|
// verify the required parameter 'managementUnitId' is set
|
|
4301
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4280
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4302
4281
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
4303
4282
|
}
|
|
4304
4283
|
// verify the required parameter 'timeOffLimitId' is set
|
|
4305
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
4284
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
4306
4285
|
throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
|
|
4307
4286
|
}
|
|
4308
4287
|
// verify the required parameter 'body' is set
|
|
@@ -4333,11 +4312,11 @@ class WorkforceManagementApi {
|
|
|
4333
4312
|
*/
|
|
4334
4313
|
patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, body) {
|
|
4335
4314
|
// verify the required parameter 'managementUnitId' is set
|
|
4336
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4315
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4337
4316
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
4338
4317
|
}
|
|
4339
4318
|
// verify the required parameter 'timeOffPlanId' is set
|
|
4340
|
-
if (timeOffPlanId === undefined || timeOffPlanId === null) {
|
|
4319
|
+
if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
|
|
4341
4320
|
throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
|
|
4342
4321
|
}
|
|
4343
4322
|
// verify the required parameter 'body' is set
|
|
@@ -4369,15 +4348,15 @@ class WorkforceManagementApi {
|
|
|
4369
4348
|
*/
|
|
4370
4349
|
patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, body) {
|
|
4371
4350
|
// verify the required parameter 'managementUnitId' is set
|
|
4372
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4351
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4373
4352
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
4374
4353
|
}
|
|
4375
4354
|
// verify the required parameter 'timeOffRequestId' is set
|
|
4376
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
4355
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
4377
4356
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
4378
4357
|
}
|
|
4379
4358
|
// verify the required parameter 'userId' is set
|
|
4380
|
-
if (userId === undefined || userId === null) {
|
|
4359
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4381
4360
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
|
|
4382
4361
|
}
|
|
4383
4362
|
// verify the required parameter 'body' is set
|
|
@@ -4409,15 +4388,15 @@ class WorkforceManagementApi {
|
|
|
4409
4388
|
*/
|
|
4410
4389
|
patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, body) {
|
|
4411
4390
|
// verify the required parameter 'managementUnitId' is set
|
|
4412
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4391
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4413
4392
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
4414
4393
|
}
|
|
4415
4394
|
// verify the required parameter 'userId' is set
|
|
4416
|
-
if (userId === undefined || userId === null) {
|
|
4395
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4417
4396
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
4418
4397
|
}
|
|
4419
4398
|
// verify the required parameter 'timeOffRequestId' is set
|
|
4420
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
4399
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
4421
4400
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
|
|
4422
4401
|
}
|
|
4423
4402
|
// verify the required parameter 'body' is set
|
|
@@ -4449,7 +4428,7 @@ class WorkforceManagementApi {
|
|
|
4449
4428
|
*/
|
|
4450
4429
|
patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId, weekDateId, tradeId, body) {
|
|
4451
4430
|
// verify the required parameter 'managementUnitId' is set
|
|
4452
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4431
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4453
4432
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
|
|
4454
4433
|
}
|
|
4455
4434
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -4457,7 +4436,7 @@ class WorkforceManagementApi {
|
|
|
4457
4436
|
throw 'Missing the required parameter "weekDateId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
|
|
4458
4437
|
}
|
|
4459
4438
|
// verify the required parameter 'tradeId' is set
|
|
4460
|
-
if (tradeId === undefined || tradeId === null) {
|
|
4439
|
+
if (tradeId === undefined || tradeId === null || tradeId === '') {
|
|
4461
4440
|
throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
|
|
4462
4441
|
}
|
|
4463
4442
|
// verify the required parameter 'body' is set
|
|
@@ -4492,11 +4471,11 @@ class WorkforceManagementApi {
|
|
|
4492
4471
|
opts = opts || {};
|
|
4493
4472
|
|
|
4494
4473
|
// verify the required parameter 'managementUnitId' is set
|
|
4495
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4474
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4496
4475
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
4497
4476
|
}
|
|
4498
4477
|
// verify the required parameter 'workPlanId' is set
|
|
4499
|
-
if (workPlanId === undefined || workPlanId === null) {
|
|
4478
|
+
if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
|
|
4500
4479
|
throw 'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';
|
|
4501
4480
|
}
|
|
4502
4481
|
// verify the required parameter 'body' is set
|
|
@@ -4527,11 +4506,11 @@ class WorkforceManagementApi {
|
|
|
4527
4506
|
*/
|
|
4528
4507
|
patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, body) {
|
|
4529
4508
|
// verify the required parameter 'managementUnitId' is set
|
|
4530
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
4509
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
4531
4510
|
throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
4532
4511
|
}
|
|
4533
4512
|
// verify the required parameter 'workPlanRotationId' is set
|
|
4534
|
-
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
4513
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
|
|
4535
4514
|
throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
|
|
4536
4515
|
}
|
|
4537
4516
|
// verify the required parameter 'body' is set
|
|
@@ -4561,7 +4540,7 @@ class WorkforceManagementApi {
|
|
|
4561
4540
|
*/
|
|
4562
4541
|
patchWorkforcemanagementTimeoffrequest(timeOffRequestId, body) {
|
|
4563
4542
|
// verify the required parameter 'timeOffRequestId' is set
|
|
4564
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
4543
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
4565
4544
|
throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';
|
|
4566
4545
|
}
|
|
4567
4546
|
// verify the required parameter 'body' is set
|
|
@@ -4591,7 +4570,7 @@ class WorkforceManagementApi {
|
|
|
4591
4570
|
*/
|
|
4592
4571
|
patchWorkforcemanagementUserWorkplanbidranks(userId, body) {
|
|
4593
4572
|
// verify the required parameter 'userId' is set
|
|
4594
|
-
if (userId === undefined || userId === null) {
|
|
4573
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
4595
4574
|
throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
|
|
4596
4575
|
}
|
|
4597
4576
|
// verify the required parameter 'body' is set
|
|
@@ -4646,7 +4625,7 @@ class WorkforceManagementApi {
|
|
|
4646
4625
|
*/
|
|
4647
4626
|
patchWorkforcemanagementWorkplanbidPreferences(bidId, body) {
|
|
4648
4627
|
// verify the required parameter 'bidId' is set
|
|
4649
|
-
if (bidId === undefined || bidId === null) {
|
|
4628
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
4650
4629
|
throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
|
|
4651
4630
|
}
|
|
4652
4631
|
// verify the required parameter 'body' is set
|
|
@@ -4781,7 +4760,7 @@ class WorkforceManagementApi {
|
|
|
4781
4760
|
*/
|
|
4782
4761
|
postWorkforcemanagementAgentAdherenceExplanations(agentId, body) {
|
|
4783
4762
|
// verify the required parameter 'agentId' is set
|
|
4784
|
-
if (agentId === undefined || agentId === null) {
|
|
4763
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
4785
4764
|
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';
|
|
4786
4765
|
}
|
|
4787
4766
|
// verify the required parameter 'body' is set
|
|
@@ -4816,7 +4795,7 @@ class WorkforceManagementApi {
|
|
|
4816
4795
|
opts = opts || {};
|
|
4817
4796
|
|
|
4818
4797
|
// verify the required parameter 'agentId' is set
|
|
4819
|
-
if (agentId === undefined || agentId === null) {
|
|
4798
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
4820
4799
|
throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
|
|
4821
4800
|
}
|
|
4822
4801
|
// verify the required parameter 'body' is set
|
|
@@ -5021,7 +5000,7 @@ class WorkforceManagementApi {
|
|
|
5021
5000
|
*/
|
|
5022
5001
|
postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, body) {
|
|
5023
5002
|
// verify the required parameter 'businessUnitId' is set
|
|
5024
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5003
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5025
5004
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';
|
|
5026
5005
|
}
|
|
5027
5006
|
// verify the required parameter 'body' is set
|
|
@@ -5051,11 +5030,11 @@ class WorkforceManagementApi {
|
|
|
5051
5030
|
*/
|
|
5052
5031
|
postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId, activityPlanId) {
|
|
5053
5032
|
// verify the required parameter 'businessUnitId' is set
|
|
5054
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5033
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5055
5034
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';
|
|
5056
5035
|
}
|
|
5057
5036
|
// verify the required parameter 'activityPlanId' is set
|
|
5058
|
-
if (activityPlanId === undefined || activityPlanId === null) {
|
|
5037
|
+
if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
|
|
5059
5038
|
throw 'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';
|
|
5060
5039
|
}
|
|
5061
5040
|
|
|
@@ -5081,7 +5060,7 @@ class WorkforceManagementApi {
|
|
|
5081
5060
|
*/
|
|
5082
5061
|
postWorkforcemanagementBusinessunitActivityplans(businessUnitId, body) {
|
|
5083
5062
|
// verify the required parameter 'businessUnitId' is set
|
|
5084
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5063
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5085
5064
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';
|
|
5086
5065
|
}
|
|
5087
5066
|
// verify the required parameter 'body' is set
|
|
@@ -5116,7 +5095,7 @@ class WorkforceManagementApi {
|
|
|
5116
5095
|
opts = opts || {};
|
|
5117
5096
|
|
|
5118
5097
|
// verify the required parameter 'businessUnitId' is set
|
|
5119
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5098
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5120
5099
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
|
|
5121
5100
|
}
|
|
5122
5101
|
// verify the required parameter 'body' is set
|
|
@@ -5151,7 +5130,7 @@ class WorkforceManagementApi {
|
|
|
5151
5130
|
opts = opts || {};
|
|
5152
5131
|
|
|
5153
5132
|
// verify the required parameter 'businessUnitId' is set
|
|
5154
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5133
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5155
5134
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
|
|
5156
5135
|
}
|
|
5157
5136
|
// verify the required parameter 'body' is set
|
|
@@ -5185,7 +5164,7 @@ class WorkforceManagementApi {
|
|
|
5185
5164
|
opts = opts || {};
|
|
5186
5165
|
|
|
5187
5166
|
// verify the required parameter 'businessUnitId' is set
|
|
5188
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5167
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5189
5168
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
|
|
5190
5169
|
}
|
|
5191
5170
|
// verify the required parameter 'body' is set
|
|
@@ -5219,7 +5198,7 @@ class WorkforceManagementApi {
|
|
|
5219
5198
|
opts = opts || {};
|
|
5220
5199
|
|
|
5221
5200
|
// verify the required parameter 'businessUnitId' is set
|
|
5222
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5201
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5223
5202
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';
|
|
5224
5203
|
}
|
|
5225
5204
|
// verify the required parameter 'body' is set
|
|
@@ -5249,7 +5228,7 @@ class WorkforceManagementApi {
|
|
|
5249
5228
|
*/
|
|
5250
5229
|
postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, body) {
|
|
5251
5230
|
// verify the required parameter 'businessUnitId' is set
|
|
5252
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5231
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5253
5232
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';
|
|
5254
5233
|
}
|
|
5255
5234
|
// verify the required parameter 'body' is set
|
|
@@ -5279,7 +5258,7 @@ class WorkforceManagementApi {
|
|
|
5279
5258
|
*/
|
|
5280
5259
|
postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, body) {
|
|
5281
5260
|
// verify the required parameter 'businessUnitId' is set
|
|
5282
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5261
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5283
5262
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
|
|
5284
5263
|
}
|
|
5285
5264
|
// verify the required parameter 'body' is set
|
|
@@ -5309,7 +5288,7 @@ class WorkforceManagementApi {
|
|
|
5309
5288
|
*/
|
|
5310
5289
|
postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, body) {
|
|
5311
5290
|
// verify the required parameter 'businessUnitId' is set
|
|
5312
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5291
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5313
5292
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';
|
|
5314
5293
|
}
|
|
5315
5294
|
// verify the required parameter 'body' is set
|
|
@@ -5343,7 +5322,7 @@ class WorkforceManagementApi {
|
|
|
5343
5322
|
opts = opts || {};
|
|
5344
5323
|
|
|
5345
5324
|
// verify the required parameter 'businessUnitId' is set
|
|
5346
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5325
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5347
5326
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
|
|
5348
5327
|
}
|
|
5349
5328
|
// verify the required parameter 'body' is set
|
|
@@ -5373,7 +5352,7 @@ class WorkforceManagementApi {
|
|
|
5373
5352
|
*/
|
|
5374
5353
|
postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, body) {
|
|
5375
5354
|
// verify the required parameter 'businessUnitId' is set
|
|
5376
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5355
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5377
5356
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';
|
|
5378
5357
|
}
|
|
5379
5358
|
// verify the required parameter 'body' is set
|
|
@@ -5403,7 +5382,7 @@ class WorkforceManagementApi {
|
|
|
5403
5382
|
*/
|
|
5404
5383
|
postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, body) {
|
|
5405
5384
|
// verify the required parameter 'businessUnitId' is set
|
|
5406
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5385
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5407
5386
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
|
|
5408
5387
|
}
|
|
5409
5388
|
// verify the required parameter 'body' is set
|
|
@@ -5433,7 +5412,7 @@ class WorkforceManagementApi {
|
|
|
5433
5412
|
*/
|
|
5434
5413
|
postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, body) {
|
|
5435
5414
|
// verify the required parameter 'businessUnitId' is set
|
|
5436
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5415
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5437
5416
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';
|
|
5438
5417
|
}
|
|
5439
5418
|
// verify the required parameter 'body' is set
|
|
@@ -5470,7 +5449,7 @@ class WorkforceManagementApi {
|
|
|
5470
5449
|
opts = opts || {};
|
|
5471
5450
|
|
|
5472
5451
|
// verify the required parameter 'businessUnitId' is set
|
|
5473
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5452
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5474
5453
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
|
|
5475
5454
|
}
|
|
5476
5455
|
// verify the required parameter 'weekId' is set
|
|
@@ -5478,7 +5457,7 @@ class WorkforceManagementApi {
|
|
|
5478
5457
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
|
|
5479
5458
|
}
|
|
5480
5459
|
// verify the required parameter 'scheduleId' is set
|
|
5481
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5460
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5482
5461
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
|
|
5483
5462
|
}
|
|
5484
5463
|
// verify the required parameter 'body' is set
|
|
@@ -5510,7 +5489,7 @@ class WorkforceManagementApi {
|
|
|
5510
5489
|
*/
|
|
5511
5490
|
postWorkforcemanagementBusinessunitWeekScheduleCopy(businessUnitId, weekId, scheduleId, body) {
|
|
5512
5491
|
// verify the required parameter 'businessUnitId' is set
|
|
5513
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5492
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5514
5493
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
|
|
5515
5494
|
}
|
|
5516
5495
|
// verify the required parameter 'weekId' is set
|
|
@@ -5518,7 +5497,7 @@ class WorkforceManagementApi {
|
|
|
5518
5497
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
|
|
5519
5498
|
}
|
|
5520
5499
|
// verify the required parameter 'scheduleId' is set
|
|
5521
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5500
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5522
5501
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
|
|
5523
5502
|
}
|
|
5524
5503
|
// verify the required parameter 'body' is set
|
|
@@ -5550,15 +5529,15 @@ class WorkforceManagementApi {
|
|
|
5550
5529
|
*/
|
|
5551
5530
|
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, body) {
|
|
5552
5531
|
// verify the required parameter 'businessUnitId' is set
|
|
5553
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5532
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5554
5533
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
5555
5534
|
}
|
|
5556
5535
|
// verify the required parameter 'weekId' is set
|
|
5557
|
-
if (weekId === undefined || weekId === null) {
|
|
5536
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
5558
5537
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
5559
5538
|
}
|
|
5560
5539
|
// verify the required parameter 'scheduleId' is set
|
|
5561
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5540
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5562
5541
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
|
|
5563
5542
|
}
|
|
5564
5543
|
// verify the required parameter 'body' is set
|
|
@@ -5590,15 +5569,15 @@ class WorkforceManagementApi {
|
|
|
5590
5569
|
*/
|
|
5591
5570
|
postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, body) {
|
|
5592
5571
|
// verify the required parameter 'businessUnitId' is set
|
|
5593
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5572
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5594
5573
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
5595
5574
|
}
|
|
5596
5575
|
// verify the required parameter 'weekId' is set
|
|
5597
|
-
if (weekId === undefined || weekId === null) {
|
|
5576
|
+
if (weekId === undefined || weekId === null || weekId === '') {
|
|
5598
5577
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
5599
5578
|
}
|
|
5600
5579
|
// verify the required parameter 'scheduleId' is set
|
|
5601
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5580
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5602
5581
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
|
|
5603
5582
|
}
|
|
5604
5583
|
// verify the required parameter 'body' is set
|
|
@@ -5630,7 +5609,7 @@ class WorkforceManagementApi {
|
|
|
5630
5609
|
*/
|
|
5631
5610
|
postWorkforcemanagementBusinessunitWeekScheduleReschedule(businessUnitId, weekId, scheduleId, body) {
|
|
5632
5611
|
// verify the required parameter 'businessUnitId' is set
|
|
5633
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5612
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5634
5613
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
|
|
5635
5614
|
}
|
|
5636
5615
|
// verify the required parameter 'weekId' is set
|
|
@@ -5638,7 +5617,7 @@ class WorkforceManagementApi {
|
|
|
5638
5617
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
|
|
5639
5618
|
}
|
|
5640
5619
|
// verify the required parameter 'scheduleId' is set
|
|
5641
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5620
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5642
5621
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
|
|
5643
5622
|
}
|
|
5644
5623
|
// verify the required parameter 'body' is set
|
|
@@ -5670,7 +5649,7 @@ class WorkforceManagementApi {
|
|
|
5670
5649
|
*/
|
|
5671
5650
|
postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
|
|
5672
5651
|
// verify the required parameter 'businessUnitId' is set
|
|
5673
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5652
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5674
5653
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
5675
5654
|
}
|
|
5676
5655
|
// verify the required parameter 'weekId' is set
|
|
@@ -5678,7 +5657,7 @@ class WorkforceManagementApi {
|
|
|
5678
5657
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
5679
5658
|
}
|
|
5680
5659
|
// verify the required parameter 'scheduleId' is set
|
|
5681
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5660
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5682
5661
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
|
|
5683
5662
|
}
|
|
5684
5663
|
// verify the required parameter 'body' is set
|
|
@@ -5710,7 +5689,7 @@ class WorkforceManagementApi {
|
|
|
5710
5689
|
*/
|
|
5711
5690
|
postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
|
|
5712
5691
|
// verify the required parameter 'businessUnitId' is set
|
|
5713
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5692
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5714
5693
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
5715
5694
|
}
|
|
5716
5695
|
// verify the required parameter 'weekId' is set
|
|
@@ -5718,7 +5697,7 @@ class WorkforceManagementApi {
|
|
|
5718
5697
|
throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
5719
5698
|
}
|
|
5720
5699
|
// verify the required parameter 'scheduleId' is set
|
|
5721
|
-
if (scheduleId === undefined || scheduleId === null) {
|
|
5700
|
+
if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
|
|
5722
5701
|
throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
|
|
5723
5702
|
}
|
|
5724
5703
|
// verify the required parameter 'body' is set
|
|
@@ -5749,7 +5728,7 @@ class WorkforceManagementApi {
|
|
|
5749
5728
|
*/
|
|
5750
5729
|
postWorkforcemanagementBusinessunitWeekSchedules(businessUnitId, weekId, body) {
|
|
5751
5730
|
// verify the required parameter 'businessUnitId' is set
|
|
5752
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5731
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5753
5732
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedules';
|
|
5754
5733
|
}
|
|
5755
5734
|
// verify the required parameter 'weekId' is set
|
|
@@ -5784,7 +5763,7 @@ class WorkforceManagementApi {
|
|
|
5784
5763
|
*/
|
|
5785
5764
|
postWorkforcemanagementBusinessunitWeekSchedulesGenerate(businessUnitId, weekId, body) {
|
|
5786
5765
|
// verify the required parameter 'businessUnitId' is set
|
|
5787
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5766
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5788
5767
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';
|
|
5789
5768
|
}
|
|
5790
5769
|
// verify the required parameter 'weekId' is set
|
|
@@ -5819,7 +5798,7 @@ class WorkforceManagementApi {
|
|
|
5819
5798
|
*/
|
|
5820
5799
|
postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
|
|
5821
5800
|
// verify the required parameter 'businessUnitId' is set
|
|
5822
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5801
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5823
5802
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
|
|
5824
5803
|
}
|
|
5825
5804
|
// verify the required parameter 'weekId' is set
|
|
@@ -5854,7 +5833,7 @@ class WorkforceManagementApi {
|
|
|
5854
5833
|
*/
|
|
5855
5834
|
postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
|
|
5856
5835
|
// verify the required parameter 'businessUnitId' is set
|
|
5857
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5836
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5858
5837
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
|
|
5859
5838
|
}
|
|
5860
5839
|
// verify the required parameter 'weekId' is set
|
|
@@ -5894,7 +5873,7 @@ class WorkforceManagementApi {
|
|
|
5894
5873
|
opts = opts || {};
|
|
5895
5874
|
|
|
5896
5875
|
// verify the required parameter 'businessUnitId' is set
|
|
5897
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5876
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5898
5877
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
|
|
5899
5878
|
}
|
|
5900
5879
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -5902,7 +5881,7 @@ class WorkforceManagementApi {
|
|
|
5902
5881
|
throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
|
|
5903
5882
|
}
|
|
5904
5883
|
// verify the required parameter 'forecastId' is set
|
|
5905
|
-
if (forecastId === undefined || forecastId === null) {
|
|
5884
|
+
if (forecastId === undefined || forecastId === null || forecastId === '') {
|
|
5906
5885
|
throw 'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
|
|
5907
5886
|
}
|
|
5908
5887
|
// verify the required parameter 'body' is set
|
|
@@ -5937,7 +5916,7 @@ class WorkforceManagementApi {
|
|
|
5937
5916
|
opts = opts || {};
|
|
5938
5917
|
|
|
5939
5918
|
// verify the required parameter 'businessUnitId' is set
|
|
5940
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5919
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5941
5920
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';
|
|
5942
5921
|
}
|
|
5943
5922
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -5972,7 +5951,7 @@ class WorkforceManagementApi {
|
|
|
5972
5951
|
*/
|
|
5973
5952
|
postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
|
|
5974
5953
|
// verify the required parameter 'businessUnitId' is set
|
|
5975
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5954
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
5976
5955
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
|
|
5977
5956
|
}
|
|
5978
5957
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6007,7 +5986,7 @@ class WorkforceManagementApi {
|
|
|
6007
5986
|
*/
|
|
6008
5987
|
postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
|
|
6009
5988
|
// verify the required parameter 'businessUnitId' is set
|
|
6010
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
5989
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
6011
5990
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
|
|
6012
5991
|
}
|
|
6013
5992
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6042,11 +6021,11 @@ class WorkforceManagementApi {
|
|
|
6042
6021
|
*/
|
|
6043
6022
|
postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, body) {
|
|
6044
6023
|
// verify the required parameter 'businessUnitId' is set
|
|
6045
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
6024
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
6046
6025
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
6047
6026
|
}
|
|
6048
6027
|
// verify the required parameter 'bidId' is set
|
|
6049
|
-
if (bidId === undefined || bidId === null) {
|
|
6028
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
6050
6029
|
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
|
|
6051
6030
|
}
|
|
6052
6031
|
// verify the required parameter 'body' is set
|
|
@@ -6077,11 +6056,11 @@ class WorkforceManagementApi {
|
|
|
6077
6056
|
*/
|
|
6078
6057
|
postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, body) {
|
|
6079
6058
|
// verify the required parameter 'businessUnitId' is set
|
|
6080
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
6059
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
6081
6060
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
6082
6061
|
}
|
|
6083
6062
|
// verify the required parameter 'bidId' is set
|
|
6084
|
-
if (bidId === undefined || bidId === null) {
|
|
6063
|
+
if (bidId === undefined || bidId === null || bidId === '') {
|
|
6085
6064
|
throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
|
|
6086
6065
|
}
|
|
6087
6066
|
// verify the required parameter 'body' is set
|
|
@@ -6111,7 +6090,7 @@ class WorkforceManagementApi {
|
|
|
6111
6090
|
*/
|
|
6112
6091
|
postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, body) {
|
|
6113
6092
|
// verify the required parameter 'businessUnitId' is set
|
|
6114
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
6093
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
6115
6094
|
throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
|
|
6116
6095
|
}
|
|
6117
6096
|
// verify the required parameter 'body' is set
|
|
@@ -6207,27 +6186,6 @@ class WorkforceManagementApi {
|
|
|
6207
6186
|
);
|
|
6208
6187
|
}
|
|
6209
6188
|
|
|
6210
|
-
/**
|
|
6211
|
-
* Delete the entries of the historical data imports in the organization.
|
|
6212
|
-
* Deprecated: Please use POST /workforcemanagement/historicaldata/bulk/remove/jobs instead.
|
|
6213
|
-
* @deprecated
|
|
6214
|
-
*/
|
|
6215
|
-
postWorkforcemanagementHistoricaldataDeletejob() {
|
|
6216
|
-
|
|
6217
|
-
return this.apiClient.callApi(
|
|
6218
|
-
'/api/v2/workforcemanagement/historicaldata/deletejob',
|
|
6219
|
-
'POST',
|
|
6220
|
-
{ },
|
|
6221
|
-
{ },
|
|
6222
|
-
{ },
|
|
6223
|
-
{ },
|
|
6224
|
-
null,
|
|
6225
|
-
['PureCloud OAuth'],
|
|
6226
|
-
['application/json'],
|
|
6227
|
-
['application/json']
|
|
6228
|
-
);
|
|
6229
|
-
}
|
|
6230
|
-
|
|
6231
6189
|
/**
|
|
6232
6190
|
* Trigger validation process for historical import
|
|
6233
6191
|
*
|
|
@@ -6260,7 +6218,7 @@ class WorkforceManagementApi {
|
|
|
6260
6218
|
*/
|
|
6261
6219
|
postWorkforcemanagementIntegrationsHriTimeofftypesJobs(hrisIntegrationId) {
|
|
6262
6220
|
// verify the required parameter 'hrisIntegrationId' is set
|
|
6263
|
-
if (hrisIntegrationId === undefined || hrisIntegrationId === null) {
|
|
6221
|
+
if (hrisIntegrationId === undefined || hrisIntegrationId === null || hrisIntegrationId === '') {
|
|
6264
6222
|
throw 'Missing the required parameter "hrisIntegrationId" when calling postWorkforcemanagementIntegrationsHriTimeofftypesJobs';
|
|
6265
6223
|
}
|
|
6266
6224
|
|
|
@@ -6290,7 +6248,7 @@ class WorkforceManagementApi {
|
|
|
6290
6248
|
opts = opts || {};
|
|
6291
6249
|
|
|
6292
6250
|
// verify the required parameter 'managementUnitId' is set
|
|
6293
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6251
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6294
6252
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
|
|
6295
6253
|
}
|
|
6296
6254
|
// verify the required parameter 'body' is set
|
|
@@ -6325,7 +6283,7 @@ class WorkforceManagementApi {
|
|
|
6325
6283
|
opts = opts || {};
|
|
6326
6284
|
|
|
6327
6285
|
// verify the required parameter 'managementUnitId' is set
|
|
6328
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6286
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6329
6287
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
|
|
6330
6288
|
}
|
|
6331
6289
|
// verify the required parameter 'body' is set
|
|
@@ -6355,7 +6313,7 @@ class WorkforceManagementApi {
|
|
|
6355
6313
|
*/
|
|
6356
6314
|
postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, body) {
|
|
6357
6315
|
// verify the required parameter 'managementUnitId' is set
|
|
6358
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6316
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6359
6317
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
|
|
6360
6318
|
}
|
|
6361
6319
|
// verify the required parameter 'body' is set
|
|
@@ -6385,7 +6343,7 @@ class WorkforceManagementApi {
|
|
|
6385
6343
|
*/
|
|
6386
6344
|
postWorkforcemanagementManagementunitMove(managementUnitId, body) {
|
|
6387
6345
|
// verify the required parameter 'managementUnitId' is set
|
|
6388
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6346
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6389
6347
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';
|
|
6390
6348
|
}
|
|
6391
6349
|
// verify the required parameter 'body' is set
|
|
@@ -6416,7 +6374,7 @@ class WorkforceManagementApi {
|
|
|
6416
6374
|
*/
|
|
6417
6375
|
postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, body) {
|
|
6418
6376
|
// verify the required parameter 'managementUnitId' is set
|
|
6419
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6377
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6420
6378
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';
|
|
6421
6379
|
}
|
|
6422
6380
|
// verify the required parameter 'body' is set
|
|
@@ -6446,7 +6404,7 @@ class WorkforceManagementApi {
|
|
|
6446
6404
|
*/
|
|
6447
6405
|
postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, body) {
|
|
6448
6406
|
// verify the required parameter 'managementUnitId' is set
|
|
6449
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6407
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6450
6408
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
|
|
6451
6409
|
}
|
|
6452
6410
|
// verify the required parameter 'body' is set
|
|
@@ -6476,7 +6434,7 @@ class WorkforceManagementApi {
|
|
|
6476
6434
|
*/
|
|
6477
6435
|
postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, body) {
|
|
6478
6436
|
// verify the required parameter 'managementUnitId' is set
|
|
6479
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6437
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6480
6438
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
|
|
6481
6439
|
}
|
|
6482
6440
|
// verify the required parameter 'body' is set
|
|
@@ -6506,7 +6464,7 @@ class WorkforceManagementApi {
|
|
|
6506
6464
|
*/
|
|
6507
6465
|
postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, body) {
|
|
6508
6466
|
// verify the required parameter 'managementUnitId' is set
|
|
6509
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6467
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6510
6468
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
|
|
6511
6469
|
}
|
|
6512
6470
|
// verify the required parameter 'body' is set
|
|
@@ -6536,7 +6494,7 @@ class WorkforceManagementApi {
|
|
|
6536
6494
|
*/
|
|
6537
6495
|
postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, body) {
|
|
6538
6496
|
// verify the required parameter 'managementUnitId' is set
|
|
6539
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6497
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6540
6498
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
|
|
6541
6499
|
}
|
|
6542
6500
|
// verify the required parameter 'body' is set
|
|
@@ -6566,7 +6524,7 @@ class WorkforceManagementApi {
|
|
|
6566
6524
|
*/
|
|
6567
6525
|
postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, body) {
|
|
6568
6526
|
// verify the required parameter 'managementUnitId' is set
|
|
6569
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6527
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6570
6528
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';
|
|
6571
6529
|
}
|
|
6572
6530
|
// verify the required parameter 'body' is set
|
|
@@ -6596,7 +6554,7 @@ class WorkforceManagementApi {
|
|
|
6596
6554
|
*/
|
|
6597
6555
|
postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, body) {
|
|
6598
6556
|
// verify the required parameter 'managementUnitId' is set
|
|
6599
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6557
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6600
6558
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
|
|
6601
6559
|
}
|
|
6602
6560
|
// verify the required parameter 'body' is set
|
|
@@ -6630,7 +6588,7 @@ class WorkforceManagementApi {
|
|
|
6630
6588
|
opts = opts || {};
|
|
6631
6589
|
|
|
6632
6590
|
// verify the required parameter 'managementUnitId' is set
|
|
6633
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6591
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6634
6592
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
|
|
6635
6593
|
}
|
|
6636
6594
|
// verify the required parameter 'body' is set
|
|
@@ -6660,7 +6618,7 @@ class WorkforceManagementApi {
|
|
|
6660
6618
|
*/
|
|
6661
6619
|
postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, body) {
|
|
6662
6620
|
// verify the required parameter 'managementUnitId' is set
|
|
6663
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6621
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6664
6622
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
|
|
6665
6623
|
}
|
|
6666
6624
|
// verify the required parameter 'body' is set
|
|
@@ -6691,11 +6649,11 @@ class WorkforceManagementApi {
|
|
|
6691
6649
|
*/
|
|
6692
6650
|
postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
|
|
6693
6651
|
// verify the required parameter 'managementUnitId' is set
|
|
6694
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6652
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6695
6653
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
6696
6654
|
}
|
|
6697
6655
|
// verify the required parameter 'userId' is set
|
|
6698
|
-
if (userId === undefined || userId === null) {
|
|
6656
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6699
6657
|
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
|
|
6700
6658
|
}
|
|
6701
6659
|
// verify the required parameter 'body' is set
|
|
@@ -6726,15 +6684,15 @@ class WorkforceManagementApi {
|
|
|
6726
6684
|
*/
|
|
6727
6685
|
postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
|
|
6728
6686
|
// verify the required parameter 'managementUnitId' is set
|
|
6729
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6687
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6730
6688
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
6731
6689
|
}
|
|
6732
6690
|
// verify the required parameter 'userId' is set
|
|
6733
|
-
if (userId === undefined || userId === null) {
|
|
6691
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6734
6692
|
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
6735
6693
|
}
|
|
6736
6694
|
// verify the required parameter 'timeOffRequestId' is set
|
|
6737
|
-
if (timeOffRequestId === undefined || timeOffRequestId === null) {
|
|
6695
|
+
if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
|
|
6738
6696
|
throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
|
|
6739
6697
|
}
|
|
6740
6698
|
|
|
@@ -6761,11 +6719,11 @@ class WorkforceManagementApi {
|
|
|
6761
6719
|
*/
|
|
6762
6720
|
postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, body) {
|
|
6763
6721
|
// verify the required parameter 'managementUnitId' is set
|
|
6764
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6722
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6765
6723
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
6766
6724
|
}
|
|
6767
6725
|
// verify the required parameter 'userId' is set
|
|
6768
|
-
if (userId === undefined || userId === null) {
|
|
6726
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
6769
6727
|
throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
|
|
6770
6728
|
}
|
|
6771
6729
|
// verify the required parameter 'body' is set
|
|
@@ -6797,7 +6755,7 @@ class WorkforceManagementApi {
|
|
|
6797
6755
|
*/
|
|
6798
6756
|
postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId, weekDateId, tradeId, body) {
|
|
6799
6757
|
// verify the required parameter 'managementUnitId' is set
|
|
6800
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6758
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6801
6759
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
|
|
6802
6760
|
}
|
|
6803
6761
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6805,7 +6763,7 @@ class WorkforceManagementApi {
|
|
|
6805
6763
|
throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
|
|
6806
6764
|
}
|
|
6807
6765
|
// verify the required parameter 'tradeId' is set
|
|
6808
|
-
if (tradeId === undefined || tradeId === null) {
|
|
6766
|
+
if (tradeId === undefined || tradeId === null || tradeId === '') {
|
|
6809
6767
|
throw 'Missing the required parameter "tradeId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
|
|
6810
6768
|
}
|
|
6811
6769
|
// verify the required parameter 'body' is set
|
|
@@ -6836,7 +6794,7 @@ class WorkforceManagementApi {
|
|
|
6836
6794
|
*/
|
|
6837
6795
|
postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, body) {
|
|
6838
6796
|
// verify the required parameter 'managementUnitId' is set
|
|
6839
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6797
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6840
6798
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';
|
|
6841
6799
|
}
|
|
6842
6800
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6875,7 +6833,7 @@ class WorkforceManagementApi {
|
|
|
6875
6833
|
opts = opts || {};
|
|
6876
6834
|
|
|
6877
6835
|
// verify the required parameter 'managementUnitId' is set
|
|
6878
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6836
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6879
6837
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
|
|
6880
6838
|
}
|
|
6881
6839
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6914,7 +6872,7 @@ class WorkforceManagementApi {
|
|
|
6914
6872
|
opts = opts || {};
|
|
6915
6873
|
|
|
6916
6874
|
// verify the required parameter 'managementUnitId' is set
|
|
6917
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6875
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6918
6876
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';
|
|
6919
6877
|
}
|
|
6920
6878
|
// verify the required parameter 'weekDateId' is set
|
|
@@ -6949,11 +6907,11 @@ class WorkforceManagementApi {
|
|
|
6949
6907
|
*/
|
|
6950
6908
|
postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, body) {
|
|
6951
6909
|
// verify the required parameter 'managementUnitId' is set
|
|
6952
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6910
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6953
6911
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
6954
6912
|
}
|
|
6955
6913
|
// verify the required parameter 'workPlanId' is set
|
|
6956
|
-
if (workPlanId === undefined || workPlanId === null) {
|
|
6914
|
+
if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
|
|
6957
6915
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
|
|
6958
6916
|
}
|
|
6959
6917
|
// verify the required parameter 'body' is set
|
|
@@ -6988,11 +6946,11 @@ class WorkforceManagementApi {
|
|
|
6988
6946
|
opts = opts || {};
|
|
6989
6947
|
|
|
6990
6948
|
// verify the required parameter 'managementUnitId' is set
|
|
6991
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6949
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
6992
6950
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
6993
6951
|
}
|
|
6994
6952
|
// verify the required parameter 'workPlanId' is set
|
|
6995
|
-
if (workPlanId === undefined || workPlanId === null) {
|
|
6953
|
+
if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
|
|
6996
6954
|
throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
|
|
6997
6955
|
}
|
|
6998
6956
|
// verify the required parameter 'body' is set
|
|
@@ -7023,11 +6981,11 @@ class WorkforceManagementApi {
|
|
|
7023
6981
|
*/
|
|
7024
6982
|
postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, body) {
|
|
7025
6983
|
// verify the required parameter 'managementUnitId' is set
|
|
7026
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
6984
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
7027
6985
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
7028
6986
|
}
|
|
7029
6987
|
// verify the required parameter 'workPlanRotationId' is set
|
|
7030
|
-
if (workPlanRotationId === undefined || workPlanRotationId === null) {
|
|
6988
|
+
if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
|
|
7031
6989
|
throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
|
|
7032
6990
|
}
|
|
7033
6991
|
// verify the required parameter 'body' is set
|
|
@@ -7057,7 +7015,7 @@ class WorkforceManagementApi {
|
|
|
7057
7015
|
*/
|
|
7058
7016
|
postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, body) {
|
|
7059
7017
|
// verify the required parameter 'managementUnitId' is set
|
|
7060
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
7018
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
7061
7019
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
|
|
7062
7020
|
}
|
|
7063
7021
|
// verify the required parameter 'body' is set
|
|
@@ -7091,7 +7049,7 @@ class WorkforceManagementApi {
|
|
|
7091
7049
|
opts = opts || {};
|
|
7092
7050
|
|
|
7093
7051
|
// verify the required parameter 'managementUnitId' is set
|
|
7094
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
7052
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
7095
7053
|
throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';
|
|
7096
7054
|
}
|
|
7097
7055
|
// verify the required parameter 'body' is set
|
|
@@ -7196,7 +7154,7 @@ class WorkforceManagementApi {
|
|
|
7196
7154
|
*/
|
|
7197
7155
|
postWorkforcemanagementTeamAdherenceHistorical(teamId, body) {
|
|
7198
7156
|
// verify the required parameter 'teamId' is set
|
|
7199
|
-
if (teamId === undefined || teamId === null) {
|
|
7157
|
+
if (teamId === undefined || teamId === null || teamId === '') {
|
|
7200
7158
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
|
|
7201
7159
|
}
|
|
7202
7160
|
// verify the required parameter 'body' is set
|
|
@@ -7226,7 +7184,7 @@ class WorkforceManagementApi {
|
|
|
7226
7184
|
*/
|
|
7227
7185
|
postWorkforcemanagementTeamShrinkageJobs(teamId, body) {
|
|
7228
7186
|
// verify the required parameter 'teamId' is set
|
|
7229
|
-
if (teamId === undefined || teamId === null) {
|
|
7187
|
+
if (teamId === undefined || teamId === null || teamId === '') {
|
|
7230
7188
|
throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
|
|
7231
7189
|
}
|
|
7232
7190
|
// verify the required parameter 'body' is set
|
|
@@ -7381,7 +7339,7 @@ class WorkforceManagementApi {
|
|
|
7381
7339
|
*/
|
|
7382
7340
|
putWorkforcemanagementAgentIntegrationsHris(agentId, body) {
|
|
7383
7341
|
// verify the required parameter 'agentId' is set
|
|
7384
|
-
if (agentId === undefined || agentId === null) {
|
|
7342
|
+
if (agentId === undefined || agentId === null || agentId === '') {
|
|
7385
7343
|
throw 'Missing the required parameter "agentId" when calling putWorkforcemanagementAgentIntegrationsHris';
|
|
7386
7344
|
}
|
|
7387
7345
|
// verify the required parameter 'body' is set
|
|
@@ -7412,11 +7370,11 @@ class WorkforceManagementApi {
|
|
|
7412
7370
|
*/
|
|
7413
7371
|
putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, body) {
|
|
7414
7372
|
// verify the required parameter 'businessUnitId' is set
|
|
7415
|
-
if (businessUnitId === undefined || businessUnitId === null) {
|
|
7373
|
+
if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
|
|
7416
7374
|
throw 'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
7417
7375
|
}
|
|
7418
7376
|
// verify the required parameter 'timeOffLimitId' is set
|
|
7419
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
7377
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
7420
7378
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
|
|
7421
7379
|
}
|
|
7422
7380
|
// verify the required parameter 'body' is set
|
|
@@ -7447,11 +7405,11 @@ class WorkforceManagementApi {
|
|
|
7447
7405
|
*/
|
|
7448
7406
|
putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, body) {
|
|
7449
7407
|
// verify the required parameter 'managementUnitId' is set
|
|
7450
|
-
if (managementUnitId === undefined || managementUnitId === null) {
|
|
7408
|
+
if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
|
|
7451
7409
|
throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
7452
7410
|
}
|
|
7453
7411
|
// verify the required parameter 'timeOffLimitId' is set
|
|
7454
|
-
if (timeOffLimitId === undefined || timeOffLimitId === null) {
|
|
7412
|
+
if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
|
|
7455
7413
|
throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
|
|
7456
7414
|
}
|
|
7457
7415
|
// verify the required parameter 'body' is set
|