purecloud-platform-client-v2 224.0.0 → 225.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/README.md +3 -3
  2. package/dist/node/purecloud-platform-client-v2.js +2705 -2649
  3. package/dist/web-amd/purecloud-platform-client-v2.js +2705 -2649
  4. package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
  5. package/dist/web-cjs/bundle.js +2636 -2630
  6. package/dist/web-cjs/purecloud-platform-client-v2.js +2636 -2630
  7. package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
  8. package/index.d.ts +95 -0
  9. package/package.json +1 -1
  10. package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
  11. package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
  12. package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
  13. package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
  14. package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
  15. package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
  16. package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
  17. package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
  18. package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
  19. package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
  20. package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
  21. package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
  22. package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
  23. package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
  24. package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
  25. package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
  26. package/src/purecloud-platform-client-v2/api/ConversationsApi.js +342 -342
  27. package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
  28. package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
  29. package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
  30. package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
  31. package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
  32. package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
  33. package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
  34. package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
  35. package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
  36. package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
  37. package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
  38. package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
  39. package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
  40. package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
  41. package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
  42. package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
  43. package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +80 -80
  44. package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
  45. package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
  46. package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
  47. package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
  48. package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
  49. package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
  50. package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
  51. package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
  52. package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
  53. package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
  54. package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
  55. package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
  56. package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
  57. package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
  58. package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
  59. package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
  60. package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
  61. package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
  62. package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
  63. package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
  64. package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
  65. package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
  66. package/src/purecloud-platform-client-v2/api/RoutingApi.js +119 -119
  67. package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
  68. package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
  69. package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
  70. package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
  71. package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
  72. package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
  73. package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
  74. package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
  75. package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
  76. package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
  77. package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
  78. package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
  79. package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
  80. package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
  81. package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
  82. package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
  83. package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
  84. package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
  85. package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
  86. package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
  87. package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
  88. package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
  89. package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
  90. package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
  91. package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
  92. package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -317
  93. package/src/purecloud-platform-client-v2/configuration.js +80 -23
  94. 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 224.0.0
8
+ * @version 225.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
 
@@ -2623,7 +2623,7 @@ class WorkforceManagementApi {
2623
2623
  */
2624
2624
  getWorkforcemanagementHistoricaldataImportstatusJobId(jobId) {
2625
2625
  // verify the required parameter 'jobId' is set
2626
- if (jobId === undefined || jobId === null) {
2626
+ if (jobId === undefined || jobId === null || jobId === '') {
2627
2627
  throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementHistoricaldataImportstatusJobId';
2628
2628
  }
2629
2629
 
@@ -2668,7 +2668,7 @@ class WorkforceManagementApi {
2668
2668
  */
2669
2669
  getWorkforcemanagementIntegrationsHrisTimeofftypesJob(jobId) {
2670
2670
  // verify the required parameter 'jobId' is set
2671
- if (jobId === undefined || jobId === null) {
2671
+ if (jobId === undefined || jobId === null || jobId === '') {
2672
2672
  throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementIntegrationsHrisTimeofftypesJob';
2673
2673
  }
2674
2674
 
@@ -2697,7 +2697,7 @@ class WorkforceManagementApi {
2697
2697
  opts = opts || {};
2698
2698
 
2699
2699
  // verify the required parameter 'managementUnitId' is set
2700
- if (managementUnitId === undefined || managementUnitId === null) {
2700
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2701
2701
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunit';
2702
2702
  }
2703
2703
 
@@ -2723,7 +2723,7 @@ class WorkforceManagementApi {
2723
2723
  */
2724
2724
  getWorkforcemanagementManagementunitActivitycodes(managementUnitId) {
2725
2725
  // verify the required parameter 'managementUnitId' is set
2726
- if (managementUnitId === undefined || managementUnitId === null) {
2726
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2727
2727
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitActivitycodes';
2728
2728
  }
2729
2729
 
@@ -2752,7 +2752,7 @@ class WorkforceManagementApi {
2752
2752
  opts = opts || {};
2753
2753
 
2754
2754
  // verify the required parameter 'managementUnitId' is set
2755
- if (managementUnitId === undefined || managementUnitId === null) {
2755
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2756
2756
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAdherence';
2757
2757
  }
2758
2758
 
@@ -2783,11 +2783,11 @@ class WorkforceManagementApi {
2783
2783
  opts = opts || {};
2784
2784
 
2785
2785
  // verify the required parameter 'managementUnitId' is set
2786
- if (managementUnitId === undefined || managementUnitId === null) {
2786
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2787
2787
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgent';
2788
2788
  }
2789
2789
  // verify the required parameter 'agentId' is set
2790
- if (agentId === undefined || agentId === null) {
2790
+ if (agentId === undefined || agentId === null || agentId === '') {
2791
2791
  throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgent';
2792
2792
  }
2793
2793
 
@@ -2813,11 +2813,11 @@ class WorkforceManagementApi {
2813
2813
  */
2814
2814
  getWorkforcemanagementManagementunitAgentShifttrades(managementUnitId, agentId) {
2815
2815
  // verify the required parameter 'managementUnitId' is set
2816
- if (managementUnitId === undefined || managementUnitId === null) {
2816
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2817
2817
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitAgentShifttrades';
2818
2818
  }
2819
2819
  // verify the required parameter 'agentId' is set
2820
- if (agentId === undefined || agentId === null) {
2820
+ if (agentId === undefined || agentId === null || agentId === '') {
2821
2821
  throw 'Missing the required parameter "agentId" when calling getWorkforcemanagementManagementunitAgentShifttrades';
2822
2822
  }
2823
2823
 
@@ -2842,7 +2842,7 @@ class WorkforceManagementApi {
2842
2842
  */
2843
2843
  getWorkforcemanagementManagementunitShifttradesMatched(managementUnitId) {
2844
2844
  // verify the required parameter 'managementUnitId' is set
2845
- if (managementUnitId === undefined || managementUnitId === null) {
2845
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2846
2846
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesMatched';
2847
2847
  }
2848
2848
 
@@ -2867,7 +2867,7 @@ class WorkforceManagementApi {
2867
2867
  */
2868
2868
  getWorkforcemanagementManagementunitShifttradesUsers(managementUnitId) {
2869
2869
  // verify the required parameter 'managementUnitId' is set
2870
- if (managementUnitId === undefined || managementUnitId === null) {
2870
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2871
2871
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitShifttradesUsers';
2872
2872
  }
2873
2873
 
@@ -2893,11 +2893,11 @@ class WorkforceManagementApi {
2893
2893
  */
2894
2894
  getWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId) {
2895
2895
  // verify the required parameter 'managementUnitId' is set
2896
- if (managementUnitId === undefined || managementUnitId === null) {
2896
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2897
2897
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
2898
2898
  }
2899
2899
  // verify the required parameter 'timeOffLimitId' is set
2900
- if (timeOffLimitId === undefined || timeOffLimitId === null) {
2900
+ if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
2901
2901
  throw 'Missing the required parameter "timeOffLimitId" when calling getWorkforcemanagementManagementunitTimeofflimit';
2902
2902
  }
2903
2903
 
@@ -2922,7 +2922,7 @@ class WorkforceManagementApi {
2922
2922
  */
2923
2923
  getWorkforcemanagementManagementunitTimeofflimits(managementUnitId) {
2924
2924
  // verify the required parameter 'managementUnitId' is set
2925
- if (managementUnitId === undefined || managementUnitId === null) {
2925
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2926
2926
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeofflimits';
2927
2927
  }
2928
2928
 
@@ -2948,11 +2948,11 @@ class WorkforceManagementApi {
2948
2948
  */
2949
2949
  getWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId) {
2950
2950
  // verify the required parameter 'managementUnitId' is set
2951
- if (managementUnitId === undefined || managementUnitId === null) {
2951
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2952
2952
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplan';
2953
2953
  }
2954
2954
  // verify the required parameter 'timeOffPlanId' is set
2955
- if (timeOffPlanId === undefined || timeOffPlanId === null) {
2955
+ if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
2956
2956
  throw 'Missing the required parameter "timeOffPlanId" when calling getWorkforcemanagementManagementunitTimeoffplan';
2957
2957
  }
2958
2958
 
@@ -2977,7 +2977,7 @@ class WorkforceManagementApi {
2977
2977
  */
2978
2978
  getWorkforcemanagementManagementunitTimeoffplans(managementUnitId) {
2979
2979
  // verify the required parameter 'managementUnitId' is set
2980
- if (managementUnitId === undefined || managementUnitId === null) {
2980
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
2981
2981
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitTimeoffplans';
2982
2982
  }
2983
2983
 
@@ -3004,15 +3004,15 @@ class WorkforceManagementApi {
3004
3004
  */
3005
3005
  getWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId) {
3006
3006
  // verify the required parameter 'managementUnitId' is set
3007
- if (managementUnitId === undefined || managementUnitId === null) {
3007
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3008
3008
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
3009
3009
  }
3010
3010
  // verify the required parameter 'userId' is set
3011
- if (userId === undefined || userId === null) {
3011
+ if (userId === undefined || userId === null || userId === '') {
3012
3012
  throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
3013
3013
  }
3014
3014
  // verify the required parameter 'timeOffRequestId' is set
3015
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
3015
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
3016
3016
  throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequest';
3017
3017
  }
3018
3018
 
@@ -3039,15 +3039,15 @@ class WorkforceManagementApi {
3039
3039
  */
3040
3040
  getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits(managementUnitId, userId, timeOffRequestId) {
3041
3041
  // verify the required parameter 'managementUnitId' is set
3042
- if (managementUnitId === undefined || managementUnitId === null) {
3042
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3043
3043
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
3044
3044
  }
3045
3045
  // verify the required parameter 'userId' is set
3046
- if (userId === undefined || userId === null) {
3046
+ if (userId === undefined || userId === null || userId === '') {
3047
3047
  throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
3048
3048
  }
3049
3049
  // verify the required parameter 'timeOffRequestId' is set
3050
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
3050
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
3051
3051
  throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementManagementunitUserTimeoffrequestTimeofflimits';
3052
3052
  }
3053
3053
 
@@ -3073,11 +3073,11 @@ class WorkforceManagementApi {
3073
3073
  */
3074
3074
  getWorkforcemanagementManagementunitUserTimeoffrequests(managementUnitId, userId) {
3075
3075
  // verify the required parameter 'managementUnitId' is set
3076
- if (managementUnitId === undefined || managementUnitId === null) {
3076
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3077
3077
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';
3078
3078
  }
3079
3079
  // verify the required parameter 'userId' is set
3080
- if (userId === undefined || userId === null) {
3080
+ if (userId === undefined || userId === null || userId === '') {
3081
3081
  throw 'Missing the required parameter "userId" when calling getWorkforcemanagementManagementunitUserTimeoffrequests';
3082
3082
  }
3083
3083
 
@@ -3102,7 +3102,7 @@ class WorkforceManagementApi {
3102
3102
  */
3103
3103
  getWorkforcemanagementManagementunitUsers(managementUnitId) {
3104
3104
  // verify the required parameter 'managementUnitId' is set
3105
- if (managementUnitId === undefined || managementUnitId === null) {
3105
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3106
3106
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitUsers';
3107
3107
  }
3108
3108
 
@@ -3135,15 +3135,15 @@ class WorkforceManagementApi {
3135
3135
  opts = opts || {};
3136
3136
 
3137
3137
  // verify the required parameter 'managementUnitId' is set
3138
- if (managementUnitId === undefined || managementUnitId === null) {
3138
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3139
3139
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedule';
3140
3140
  }
3141
3141
  // verify the required parameter 'weekId' is set
3142
- if (weekId === undefined || weekId === null) {
3142
+ if (weekId === undefined || weekId === null || weekId === '') {
3143
3143
  throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedule';
3144
3144
  }
3145
3145
  // verify the required parameter 'scheduleId' is set
3146
- if (scheduleId === undefined || scheduleId === null) {
3146
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
3147
3147
  throw 'Missing the required parameter "scheduleId" when calling getWorkforcemanagementManagementunitWeekSchedule';
3148
3148
  }
3149
3149
 
@@ -3176,11 +3176,11 @@ class WorkforceManagementApi {
3176
3176
  opts = opts || {};
3177
3177
 
3178
3178
  // verify the required parameter 'managementUnitId' is set
3179
- if (managementUnitId === undefined || managementUnitId === null) {
3179
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3180
3180
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekSchedules';
3181
3181
  }
3182
3182
  // verify the required parameter 'weekId' is set
3183
- if (weekId === undefined || weekId === null) {
3183
+ if (weekId === undefined || weekId === null || weekId === '') {
3184
3184
  throw 'Missing the required parameter "weekId" when calling getWorkforcemanagementManagementunitWeekSchedules';
3185
3185
  }
3186
3186
 
@@ -3212,7 +3212,7 @@ class WorkforceManagementApi {
3212
3212
  opts = opts || {};
3213
3213
 
3214
3214
  // verify the required parameter 'managementUnitId' is set
3215
- if (managementUnitId === undefined || managementUnitId === null) {
3215
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3216
3216
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWeekShifttrades';
3217
3217
  }
3218
3218
  // verify the required parameter 'weekDateId' is set
@@ -3246,11 +3246,11 @@ class WorkforceManagementApi {
3246
3246
  opts = opts || {};
3247
3247
 
3248
3248
  // verify the required parameter 'managementUnitId' is set
3249
- if (managementUnitId === undefined || managementUnitId === null) {
3249
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3250
3250
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplan';
3251
3251
  }
3252
3252
  // verify the required parameter 'workPlanId' is set
3253
- if (workPlanId === undefined || workPlanId === null) {
3253
+ if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
3254
3254
  throw 'Missing the required parameter "workPlanId" when calling getWorkforcemanagementManagementunitWorkplan';
3255
3255
  }
3256
3256
 
@@ -3276,11 +3276,11 @@ class WorkforceManagementApi {
3276
3276
  */
3277
3277
  getWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId) {
3278
3278
  // verify the required parameter 'managementUnitId' is set
3279
- if (managementUnitId === undefined || managementUnitId === null) {
3279
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3280
3280
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
3281
3281
  }
3282
3282
  // verify the required parameter 'workPlanRotationId' is set
3283
- if (workPlanRotationId === undefined || workPlanRotationId === null) {
3283
+ if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
3284
3284
  throw 'Missing the required parameter "workPlanRotationId" when calling getWorkforcemanagementManagementunitWorkplanrotation';
3285
3285
  }
3286
3286
 
@@ -3309,7 +3309,7 @@ class WorkforceManagementApi {
3309
3309
  opts = opts || {};
3310
3310
 
3311
3311
  // verify the required parameter 'managementUnitId' is set
3312
- if (managementUnitId === undefined || managementUnitId === null) {
3312
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3313
3313
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplanrotations';
3314
3314
  }
3315
3315
 
@@ -3339,7 +3339,7 @@ class WorkforceManagementApi {
3339
3339
  opts = opts || {};
3340
3340
 
3341
3341
  // verify the required parameter 'managementUnitId' is set
3342
- if (managementUnitId === undefined || managementUnitId === null) {
3342
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
3343
3343
  throw 'Missing the required parameter "managementUnitId" when calling getWorkforcemanagementManagementunitWorkplans';
3344
3344
  }
3345
3345
 
@@ -3436,7 +3436,7 @@ class WorkforceManagementApi {
3436
3436
  */
3437
3437
  getWorkforcemanagementSchedulingjob(jobId) {
3438
3438
  // verify the required parameter 'jobId' is set
3439
- if (jobId === undefined || jobId === null) {
3439
+ if (jobId === undefined || jobId === null || jobId === '') {
3440
3440
  throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementSchedulingjob';
3441
3441
  }
3442
3442
 
@@ -3481,7 +3481,7 @@ class WorkforceManagementApi {
3481
3481
  */
3482
3482
  getWorkforcemanagementShrinkageJob(jobId) {
3483
3483
  // verify the required parameter 'jobId' is set
3484
- if (jobId === undefined || jobId === null) {
3484
+ if (jobId === undefined || jobId === null || jobId === '') {
3485
3485
  throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementShrinkageJob';
3486
3486
  }
3487
3487
 
@@ -3506,7 +3506,7 @@ class WorkforceManagementApi {
3506
3506
  */
3507
3507
  getWorkforcemanagementTimeoffbalanceJob(jobId) {
3508
3508
  // verify the required parameter 'jobId' is set
3509
- if (jobId === undefined || jobId === null) {
3509
+ if (jobId === undefined || jobId === null || jobId === '') {
3510
3510
  throw 'Missing the required parameter "jobId" when calling getWorkforcemanagementTimeoffbalanceJob';
3511
3511
  }
3512
3512
 
@@ -3531,7 +3531,7 @@ class WorkforceManagementApi {
3531
3531
  */
3532
3532
  getWorkforcemanagementTimeoffrequest(timeOffRequestId) {
3533
3533
  // verify the required parameter 'timeOffRequestId' is set
3534
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
3534
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
3535
3535
  throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequest';
3536
3536
  }
3537
3537
 
@@ -3556,7 +3556,7 @@ class WorkforceManagementApi {
3556
3556
  */
3557
3557
  getWorkforcemanagementTimeoffrequestWaitlistpositions(timeOffRequestId) {
3558
3558
  // verify the required parameter 'timeOffRequestId' is set
3559
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
3559
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
3560
3560
  throw 'Missing the required parameter "timeOffRequestId" when calling getWorkforcemanagementTimeoffrequestWaitlistpositions';
3561
3561
  }
3562
3562
 
@@ -3601,7 +3601,7 @@ class WorkforceManagementApi {
3601
3601
  */
3602
3602
  getWorkforcemanagementUserWorkplanbidranks(userId) {
3603
3603
  // verify the required parameter 'userId' is set
3604
- if (userId === undefined || userId === null) {
3604
+ if (userId === undefined || userId === null || userId === '') {
3605
3605
  throw 'Missing the required parameter "userId" when calling getWorkforcemanagementUserWorkplanbidranks';
3606
3606
  }
3607
3607
 
@@ -3626,7 +3626,7 @@ class WorkforceManagementApi {
3626
3626
  */
3627
3627
  getWorkforcemanagementWorkplanbidPreferences(bidId) {
3628
3628
  // verify the required parameter 'bidId' is set
3629
- if (bidId === undefined || bidId === null) {
3629
+ if (bidId === undefined || bidId === null || bidId === '') {
3630
3630
  throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidPreferences';
3631
3631
  }
3632
3632
 
@@ -3651,7 +3651,7 @@ class WorkforceManagementApi {
3651
3651
  */
3652
3652
  getWorkforcemanagementWorkplanbidWorkplans(bidId) {
3653
3653
  // verify the required parameter 'bidId' is set
3654
- if (bidId === undefined || bidId === null) {
3654
+ if (bidId === undefined || bidId === null || bidId === '') {
3655
3655
  throw 'Missing the required parameter "bidId" when calling getWorkforcemanagementWorkplanbidWorkplans';
3656
3656
  }
3657
3657
 
@@ -3698,11 +3698,11 @@ class WorkforceManagementApi {
3698
3698
  */
3699
3699
  patchWorkforcemanagementAgentAdherenceExplanation(agentId, explanationId, body) {
3700
3700
  // verify the required parameter 'agentId' is set
3701
- if (agentId === undefined || agentId === null) {
3701
+ if (agentId === undefined || agentId === null || agentId === '') {
3702
3702
  throw 'Missing the required parameter "agentId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
3703
3703
  }
3704
3704
  // verify the required parameter 'explanationId' is set
3705
- if (explanationId === undefined || explanationId === null) {
3705
+ if (explanationId === undefined || explanationId === null || explanationId === '') {
3706
3706
  throw 'Missing the required parameter "explanationId" when calling patchWorkforcemanagementAgentAdherenceExplanation';
3707
3707
  }
3708
3708
  // verify the required parameter 'body' is set
@@ -3732,7 +3732,7 @@ class WorkforceManagementApi {
3732
3732
  */
3733
3733
  patchWorkforcemanagementAlternativeshiftsTrade(tradeId, body) {
3734
3734
  // verify the required parameter 'tradeId' is set
3735
- if (tradeId === undefined || tradeId === null) {
3735
+ if (tradeId === undefined || tradeId === null || tradeId === '') {
3736
3736
  throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementAlternativeshiftsTrade';
3737
3737
  }
3738
3738
  // verify the required parameter 'body' is set
@@ -3787,7 +3787,7 @@ class WorkforceManagementApi {
3787
3787
  */
3788
3788
  patchWorkforcemanagementBusinessunit(businessUnitId, body) {
3789
3789
  // verify the required parameter 'businessUnitId' is set
3790
- if (businessUnitId === undefined || businessUnitId === null) {
3790
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3791
3791
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunit';
3792
3792
  }
3793
3793
  // verify the required parameter 'body' is set
@@ -3818,11 +3818,11 @@ class WorkforceManagementApi {
3818
3818
  */
3819
3819
  patchWorkforcemanagementBusinessunitActivitycode(businessUnitId, activityCodeId, body) {
3820
3820
  // verify the required parameter 'businessUnitId' is set
3821
- if (businessUnitId === undefined || businessUnitId === null) {
3821
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3822
3822
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivitycode';
3823
3823
  }
3824
3824
  // verify the required parameter 'activityCodeId' is set
3825
- if (activityCodeId === undefined || activityCodeId === null) {
3825
+ if (activityCodeId === undefined || activityCodeId === null || activityCodeId === '') {
3826
3826
  throw 'Missing the required parameter "activityCodeId" when calling patchWorkforcemanagementBusinessunitActivitycode';
3827
3827
  }
3828
3828
  // verify the required parameter 'body' is set
@@ -3853,11 +3853,11 @@ class WorkforceManagementApi {
3853
3853
  */
3854
3854
  patchWorkforcemanagementBusinessunitActivityplan(businessUnitId, activityPlanId, body) {
3855
3855
  // verify the required parameter 'businessUnitId' is set
3856
- if (businessUnitId === undefined || businessUnitId === null) {
3856
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3857
3857
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitActivityplan';
3858
3858
  }
3859
3859
  // verify the required parameter 'activityPlanId' is set
3860
- if (activityPlanId === undefined || activityPlanId === null) {
3860
+ if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
3861
3861
  throw 'Missing the required parameter "activityPlanId" when calling patchWorkforcemanagementBusinessunitActivityplan';
3862
3862
  }
3863
3863
  // verify the required parameter 'body' is set
@@ -3887,7 +3887,7 @@ class WorkforceManagementApi {
3887
3887
  */
3888
3888
  patchWorkforcemanagementBusinessunitAlternativeshiftsSettings(businessUnitId, body) {
3889
3889
  // verify the required parameter 'businessUnitId' is set
3890
- if (businessUnitId === undefined || businessUnitId === null) {
3890
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3891
3891
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitAlternativeshiftsSettings';
3892
3892
  }
3893
3893
  // verify the required parameter 'body' is set
@@ -3918,11 +3918,11 @@ class WorkforceManagementApi {
3918
3918
  */
3919
3919
  patchWorkforcemanagementBusinessunitPlanninggroup(businessUnitId, planningGroupId, body) {
3920
3920
  // verify the required parameter 'businessUnitId' is set
3921
- if (businessUnitId === undefined || businessUnitId === null) {
3921
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3922
3922
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
3923
3923
  }
3924
3924
  // verify the required parameter 'planningGroupId' is set
3925
- if (planningGroupId === undefined || planningGroupId === null) {
3925
+ if (planningGroupId === undefined || planningGroupId === null || planningGroupId === '') {
3926
3926
  throw 'Missing the required parameter "planningGroupId" when calling patchWorkforcemanagementBusinessunitPlanninggroup';
3927
3927
  }
3928
3928
  // verify the required parameter 'body' is set
@@ -3953,11 +3953,11 @@ class WorkforceManagementApi {
3953
3953
  */
3954
3954
  patchWorkforcemanagementBusinessunitSchedulingRun(businessUnitId, runId, body) {
3955
3955
  // verify the required parameter 'businessUnitId' is set
3956
- if (businessUnitId === undefined || businessUnitId === null) {
3956
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3957
3957
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
3958
3958
  }
3959
3959
  // verify the required parameter 'runId' is set
3960
- if (runId === undefined || runId === null) {
3960
+ if (runId === undefined || runId === null || runId === '') {
3961
3961
  throw 'Missing the required parameter "runId" when calling patchWorkforcemanagementBusinessunitSchedulingRun';
3962
3962
  }
3963
3963
  // verify the required parameter 'body' is set
@@ -3988,11 +3988,11 @@ class WorkforceManagementApi {
3988
3988
  */
3989
3989
  patchWorkforcemanagementBusinessunitServicegoaltemplate(businessUnitId, serviceGoalTemplateId, body) {
3990
3990
  // verify the required parameter 'businessUnitId' is set
3991
- if (businessUnitId === undefined || businessUnitId === null) {
3991
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
3992
3992
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
3993
3993
  }
3994
3994
  // verify the required parameter 'serviceGoalTemplateId' is set
3995
- if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null) {
3995
+ if (serviceGoalTemplateId === undefined || serviceGoalTemplateId === null || serviceGoalTemplateId === '') {
3996
3996
  throw 'Missing the required parameter "serviceGoalTemplateId" when calling patchWorkforcemanagementBusinessunitServicegoaltemplate';
3997
3997
  }
3998
3998
  // verify the required parameter 'body' is set
@@ -4023,11 +4023,11 @@ class WorkforceManagementApi {
4023
4023
  */
4024
4024
  patchWorkforcemanagementBusinessunitStaffinggroup(businessUnitId, staffingGroupId, body) {
4025
4025
  // verify the required parameter 'businessUnitId' is set
4026
- if (businessUnitId === undefined || businessUnitId === null) {
4026
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
4027
4027
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
4028
4028
  }
4029
4029
  // verify the required parameter 'staffingGroupId' is set
4030
- if (staffingGroupId === undefined || staffingGroupId === null) {
4030
+ if (staffingGroupId === undefined || staffingGroupId === null || staffingGroupId === '') {
4031
4031
  throw 'Missing the required parameter "staffingGroupId" when calling patchWorkforcemanagementBusinessunitStaffinggroup';
4032
4032
  }
4033
4033
  // verify the required parameter 'body' is set
@@ -4058,11 +4058,11 @@ class WorkforceManagementApi {
4058
4058
  */
4059
4059
  patchWorkforcemanagementBusinessunitTimeoffplan(businessUnitId, timeOffPlanId, body) {
4060
4060
  // verify the required parameter 'businessUnitId' is set
4061
- if (businessUnitId === undefined || businessUnitId === null) {
4061
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
4062
4062
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
4063
4063
  }
4064
4064
  // verify the required parameter 'timeOffPlanId' is set
4065
- if (timeOffPlanId === undefined || timeOffPlanId === null) {
4065
+ if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
4066
4066
  throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementBusinessunitTimeoffplan';
4067
4067
  }
4068
4068
  // verify the required parameter 'body' is set
@@ -4093,11 +4093,11 @@ class WorkforceManagementApi {
4093
4093
  */
4094
4094
  patchWorkforcemanagementBusinessunitWorkplanbid(businessUnitId, bidId, body) {
4095
4095
  // verify the required parameter 'businessUnitId' is set
4096
- if (businessUnitId === undefined || businessUnitId === null) {
4096
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
4097
4097
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
4098
4098
  }
4099
4099
  // verify the required parameter 'bidId' is set
4100
- if (bidId === undefined || bidId === null) {
4100
+ if (bidId === undefined || bidId === null || bidId === '') {
4101
4101
  throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbid';
4102
4102
  }
4103
4103
  // verify the required parameter 'body' is set
@@ -4129,15 +4129,15 @@ class WorkforceManagementApi {
4129
4129
  */
4130
4130
  patchWorkforcemanagementBusinessunitWorkplanbidGroup(businessUnitId, bidId, bidGroupId, body) {
4131
4131
  // verify the required parameter 'businessUnitId' is set
4132
- if (businessUnitId === undefined || businessUnitId === null) {
4132
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
4133
4133
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
4134
4134
  }
4135
4135
  // verify the required parameter 'bidId' is set
4136
- if (bidId === undefined || bidId === null) {
4136
+ if (bidId === undefined || bidId === null || bidId === '') {
4137
4137
  throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
4138
4138
  }
4139
4139
  // verify the required parameter 'bidGroupId' is set
4140
- if (bidGroupId === undefined || bidGroupId === null) {
4140
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
4141
4141
  throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroup';
4142
4142
  }
4143
4143
  // verify the required parameter 'body' is set
@@ -4169,15 +4169,15 @@ class WorkforceManagementApi {
4169
4169
  */
4170
4170
  patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences(businessUnitId, bidId, bidGroupId, body) {
4171
4171
  // verify the required parameter 'businessUnitId' is set
4172
- if (businessUnitId === undefined || businessUnitId === null) {
4172
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
4173
4173
  throw 'Missing the required parameter "businessUnitId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
4174
4174
  }
4175
4175
  // verify the required parameter 'bidId' is set
4176
- if (bidId === undefined || bidId === null) {
4176
+ if (bidId === undefined || bidId === null || bidId === '') {
4177
4177
  throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
4178
4178
  }
4179
4179
  // verify the required parameter 'bidGroupId' is set
4180
- if (bidGroupId === undefined || bidGroupId === null) {
4180
+ if (bidGroupId === undefined || bidGroupId === null || bidGroupId === '') {
4181
4181
  throw 'Missing the required parameter "bidGroupId" when calling patchWorkforcemanagementBusinessunitWorkplanbidGroupPreferences';
4182
4182
  }
4183
4183
  // verify the required parameter 'body' is set
@@ -4207,7 +4207,7 @@ class WorkforceManagementApi {
4207
4207
  */
4208
4208
  patchWorkforcemanagementManagementunit(managementUnitId, body) {
4209
4209
  // verify the required parameter 'managementUnitId' is set
4210
- if (managementUnitId === undefined || managementUnitId === null) {
4210
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4211
4211
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunit';
4212
4212
  }
4213
4213
  // verify the required parameter 'body' is set
@@ -4237,7 +4237,7 @@ class WorkforceManagementApi {
4237
4237
  */
4238
4238
  patchWorkforcemanagementManagementunitAgents(managementUnitId, body) {
4239
4239
  // verify the required parameter 'managementUnitId' is set
4240
- if (managementUnitId === undefined || managementUnitId === null) {
4240
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4241
4241
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgents';
4242
4242
  }
4243
4243
  // verify the required parameter 'body' is set
@@ -4267,7 +4267,7 @@ class WorkforceManagementApi {
4267
4267
  */
4268
4268
  patchWorkforcemanagementManagementunitAgentsWorkplansBulk(managementUnitId, body) {
4269
4269
  // verify the required parameter 'managementUnitId' is set
4270
- if (managementUnitId === undefined || managementUnitId === null) {
4270
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4271
4271
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitAgentsWorkplansBulk';
4272
4272
  }
4273
4273
  // verify the required parameter 'body' is set
@@ -4298,11 +4298,11 @@ class WorkforceManagementApi {
4298
4298
  */
4299
4299
  patchWorkforcemanagementManagementunitTimeofflimit(managementUnitId, timeOffLimitId, body) {
4300
4300
  // verify the required parameter 'managementUnitId' is set
4301
- if (managementUnitId === undefined || managementUnitId === null) {
4301
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4302
4302
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
4303
4303
  }
4304
4304
  // verify the required parameter 'timeOffLimitId' is set
4305
- if (timeOffLimitId === undefined || timeOffLimitId === null) {
4305
+ if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
4306
4306
  throw 'Missing the required parameter "timeOffLimitId" when calling patchWorkforcemanagementManagementunitTimeofflimit';
4307
4307
  }
4308
4308
  // verify the required parameter 'body' is set
@@ -4333,11 +4333,11 @@ class WorkforceManagementApi {
4333
4333
  */
4334
4334
  patchWorkforcemanagementManagementunitTimeoffplan(managementUnitId, timeOffPlanId, body) {
4335
4335
  // verify the required parameter 'managementUnitId' is set
4336
- if (managementUnitId === undefined || managementUnitId === null) {
4336
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4337
4337
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
4338
4338
  }
4339
4339
  // verify the required parameter 'timeOffPlanId' is set
4340
- if (timeOffPlanId === undefined || timeOffPlanId === null) {
4340
+ if (timeOffPlanId === undefined || timeOffPlanId === null || timeOffPlanId === '') {
4341
4341
  throw 'Missing the required parameter "timeOffPlanId" when calling patchWorkforcemanagementManagementunitTimeoffplan';
4342
4342
  }
4343
4343
  // verify the required parameter 'body' is set
@@ -4369,15 +4369,15 @@ class WorkforceManagementApi {
4369
4369
  */
4370
4370
  patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus(managementUnitId, timeOffRequestId, userId, body) {
4371
4371
  // verify the required parameter 'managementUnitId' is set
4372
- if (managementUnitId === undefined || managementUnitId === null) {
4372
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4373
4373
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
4374
4374
  }
4375
4375
  // verify the required parameter 'timeOffRequestId' is set
4376
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
4376
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
4377
4377
  throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
4378
4378
  }
4379
4379
  // verify the required parameter 'userId' is set
4380
- if (userId === undefined || userId === null) {
4380
+ if (userId === undefined || userId === null || userId === '') {
4381
4381
  throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitTimeoffrequestUserIntegrationstatus';
4382
4382
  }
4383
4383
  // verify the required parameter 'body' is set
@@ -4409,15 +4409,15 @@ class WorkforceManagementApi {
4409
4409
  */
4410
4410
  patchWorkforcemanagementManagementunitUserTimeoffrequest(managementUnitId, userId, timeOffRequestId, body) {
4411
4411
  // verify the required parameter 'managementUnitId' is set
4412
- if (managementUnitId === undefined || managementUnitId === null) {
4412
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4413
4413
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
4414
4414
  }
4415
4415
  // verify the required parameter 'userId' is set
4416
- if (userId === undefined || userId === null) {
4416
+ if (userId === undefined || userId === null || userId === '') {
4417
4417
  throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
4418
4418
  }
4419
4419
  // verify the required parameter 'timeOffRequestId' is set
4420
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
4420
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
4421
4421
  throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementManagementunitUserTimeoffrequest';
4422
4422
  }
4423
4423
  // verify the required parameter 'body' is set
@@ -4449,7 +4449,7 @@ class WorkforceManagementApi {
4449
4449
  */
4450
4450
  patchWorkforcemanagementManagementunitWeekShifttrade(managementUnitId, weekDateId, tradeId, body) {
4451
4451
  // verify the required parameter 'managementUnitId' is set
4452
- if (managementUnitId === undefined || managementUnitId === null) {
4452
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4453
4453
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
4454
4454
  }
4455
4455
  // verify the required parameter 'weekDateId' is set
@@ -4457,7 +4457,7 @@ class WorkforceManagementApi {
4457
4457
  throw 'Missing the required parameter "weekDateId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
4458
4458
  }
4459
4459
  // verify the required parameter 'tradeId' is set
4460
- if (tradeId === undefined || tradeId === null) {
4460
+ if (tradeId === undefined || tradeId === null || tradeId === '') {
4461
4461
  throw 'Missing the required parameter "tradeId" when calling patchWorkforcemanagementManagementunitWeekShifttrade';
4462
4462
  }
4463
4463
  // verify the required parameter 'body' is set
@@ -4492,11 +4492,11 @@ class WorkforceManagementApi {
4492
4492
  opts = opts || {};
4493
4493
 
4494
4494
  // verify the required parameter 'managementUnitId' is set
4495
- if (managementUnitId === undefined || managementUnitId === null) {
4495
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4496
4496
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplan';
4497
4497
  }
4498
4498
  // verify the required parameter 'workPlanId' is set
4499
- if (workPlanId === undefined || workPlanId === null) {
4499
+ if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
4500
4500
  throw 'Missing the required parameter "workPlanId" when calling patchWorkforcemanagementManagementunitWorkplan';
4501
4501
  }
4502
4502
  // verify the required parameter 'body' is set
@@ -4527,11 +4527,11 @@ class WorkforceManagementApi {
4527
4527
  */
4528
4528
  patchWorkforcemanagementManagementunitWorkplanrotation(managementUnitId, workPlanRotationId, body) {
4529
4529
  // verify the required parameter 'managementUnitId' is set
4530
- if (managementUnitId === undefined || managementUnitId === null) {
4530
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
4531
4531
  throw 'Missing the required parameter "managementUnitId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
4532
4532
  }
4533
4533
  // verify the required parameter 'workPlanRotationId' is set
4534
- if (workPlanRotationId === undefined || workPlanRotationId === null) {
4534
+ if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
4535
4535
  throw 'Missing the required parameter "workPlanRotationId" when calling patchWorkforcemanagementManagementunitWorkplanrotation';
4536
4536
  }
4537
4537
  // verify the required parameter 'body' is set
@@ -4561,7 +4561,7 @@ class WorkforceManagementApi {
4561
4561
  */
4562
4562
  patchWorkforcemanagementTimeoffrequest(timeOffRequestId, body) {
4563
4563
  // verify the required parameter 'timeOffRequestId' is set
4564
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
4564
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
4565
4565
  throw 'Missing the required parameter "timeOffRequestId" when calling patchWorkforcemanagementTimeoffrequest';
4566
4566
  }
4567
4567
  // verify the required parameter 'body' is set
@@ -4591,7 +4591,7 @@ class WorkforceManagementApi {
4591
4591
  */
4592
4592
  patchWorkforcemanagementUserWorkplanbidranks(userId, body) {
4593
4593
  // verify the required parameter 'userId' is set
4594
- if (userId === undefined || userId === null) {
4594
+ if (userId === undefined || userId === null || userId === '') {
4595
4595
  throw 'Missing the required parameter "userId" when calling patchWorkforcemanagementUserWorkplanbidranks';
4596
4596
  }
4597
4597
  // verify the required parameter 'body' is set
@@ -4646,7 +4646,7 @@ class WorkforceManagementApi {
4646
4646
  */
4647
4647
  patchWorkforcemanagementWorkplanbidPreferences(bidId, body) {
4648
4648
  // verify the required parameter 'bidId' is set
4649
- if (bidId === undefined || bidId === null) {
4649
+ if (bidId === undefined || bidId === null || bidId === '') {
4650
4650
  throw 'Missing the required parameter "bidId" when calling patchWorkforcemanagementWorkplanbidPreferences';
4651
4651
  }
4652
4652
  // verify the required parameter 'body' is set
@@ -4781,7 +4781,7 @@ class WorkforceManagementApi {
4781
4781
  */
4782
4782
  postWorkforcemanagementAgentAdherenceExplanations(agentId, body) {
4783
4783
  // verify the required parameter 'agentId' is set
4784
- if (agentId === undefined || agentId === null) {
4784
+ if (agentId === undefined || agentId === null || agentId === '') {
4785
4785
  throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanations';
4786
4786
  }
4787
4787
  // verify the required parameter 'body' is set
@@ -4816,7 +4816,7 @@ class WorkforceManagementApi {
4816
4816
  opts = opts || {};
4817
4817
 
4818
4818
  // verify the required parameter 'agentId' is set
4819
- if (agentId === undefined || agentId === null) {
4819
+ if (agentId === undefined || agentId === null || agentId === '') {
4820
4820
  throw 'Missing the required parameter "agentId" when calling postWorkforcemanagementAgentAdherenceExplanationsQuery';
4821
4821
  }
4822
4822
  // verify the required parameter 'body' is set
@@ -5021,7 +5021,7 @@ class WorkforceManagementApi {
5021
5021
  */
5022
5022
  postWorkforcemanagementBusinessunitActivitycodes(businessUnitId, body) {
5023
5023
  // verify the required parameter 'businessUnitId' is set
5024
- if (businessUnitId === undefined || businessUnitId === null) {
5024
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5025
5025
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivitycodes';
5026
5026
  }
5027
5027
  // verify the required parameter 'body' is set
@@ -5051,11 +5051,11 @@ class WorkforceManagementApi {
5051
5051
  */
5052
5052
  postWorkforcemanagementBusinessunitActivityplanRunsJobs(businessUnitId, activityPlanId) {
5053
5053
  // verify the required parameter 'businessUnitId' is set
5054
- if (businessUnitId === undefined || businessUnitId === null) {
5054
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5055
5055
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';
5056
5056
  }
5057
5057
  // verify the required parameter 'activityPlanId' is set
5058
- if (activityPlanId === undefined || activityPlanId === null) {
5058
+ if (activityPlanId === undefined || activityPlanId === null || activityPlanId === '') {
5059
5059
  throw 'Missing the required parameter "activityPlanId" when calling postWorkforcemanagementBusinessunitActivityplanRunsJobs';
5060
5060
  }
5061
5061
 
@@ -5081,7 +5081,7 @@ class WorkforceManagementApi {
5081
5081
  */
5082
5082
  postWorkforcemanagementBusinessunitActivityplans(businessUnitId, body) {
5083
5083
  // verify the required parameter 'businessUnitId' is set
5084
- if (businessUnitId === undefined || businessUnitId === null) {
5084
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5085
5085
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitActivityplans';
5086
5086
  }
5087
5087
  // verify the required parameter 'body' is set
@@ -5116,7 +5116,7 @@ class WorkforceManagementApi {
5116
5116
  opts = opts || {};
5117
5117
 
5118
5118
  // verify the required parameter 'businessUnitId' is set
5119
- if (businessUnitId === undefined || businessUnitId === null) {
5119
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5120
5120
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAdherenceExplanationsQuery';
5121
5121
  }
5122
5122
  // verify the required parameter 'body' is set
@@ -5151,7 +5151,7 @@ class WorkforceManagementApi {
5151
5151
  opts = opts || {};
5152
5152
 
5153
5153
  // verify the required parameter 'businessUnitId' is set
5154
- if (businessUnitId === undefined || businessUnitId === null) {
5154
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5155
5155
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAgentschedulesSearch';
5156
5156
  }
5157
5157
  // verify the required parameter 'body' is set
@@ -5185,7 +5185,7 @@ class WorkforceManagementApi {
5185
5185
  opts = opts || {};
5186
5186
 
5187
5187
  // verify the required parameter 'businessUnitId' is set
5188
- if (businessUnitId === undefined || businessUnitId === null) {
5188
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5189
5189
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitAlternativeshiftsTradesSearch';
5190
5190
  }
5191
5191
  // verify the required parameter 'body' is set
@@ -5219,7 +5219,7 @@ class WorkforceManagementApi {
5219
5219
  opts = opts || {};
5220
5220
 
5221
5221
  // verify the required parameter 'businessUnitId' is set
5222
- if (businessUnitId === undefined || businessUnitId === null) {
5222
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5223
5223
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitIntraday';
5224
5224
  }
5225
5225
  // verify the required parameter 'body' is set
@@ -5249,7 +5249,7 @@ class WorkforceManagementApi {
5249
5249
  */
5250
5250
  postWorkforcemanagementBusinessunitPlanninggroups(businessUnitId, body) {
5251
5251
  // verify the required parameter 'businessUnitId' is set
5252
- if (businessUnitId === undefined || businessUnitId === null) {
5252
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5253
5253
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitPlanninggroups';
5254
5254
  }
5255
5255
  // verify the required parameter 'body' is set
@@ -5279,7 +5279,7 @@ class WorkforceManagementApi {
5279
5279
  */
5280
5280
  postWorkforcemanagementBusinessunitServicegoaltemplates(businessUnitId, body) {
5281
5281
  // verify the required parameter 'businessUnitId' is set
5282
- if (businessUnitId === undefined || businessUnitId === null) {
5282
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5283
5283
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitServicegoaltemplates';
5284
5284
  }
5285
5285
  // verify the required parameter 'body' is set
@@ -5309,7 +5309,7 @@ class WorkforceManagementApi {
5309
5309
  */
5310
5310
  postWorkforcemanagementBusinessunitStaffinggroups(businessUnitId, body) {
5311
5311
  // verify the required parameter 'businessUnitId' is set
5312
- if (businessUnitId === undefined || businessUnitId === null) {
5312
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5313
5313
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroups';
5314
5314
  }
5315
5315
  // verify the required parameter 'body' is set
@@ -5343,7 +5343,7 @@ class WorkforceManagementApi {
5343
5343
  opts = opts || {};
5344
5344
 
5345
5345
  // verify the required parameter 'businessUnitId' is set
5346
- if (businessUnitId === undefined || businessUnitId === null) {
5346
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5347
5347
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitStaffinggroupsQuery';
5348
5348
  }
5349
5349
  // verify the required parameter 'body' is set
@@ -5373,7 +5373,7 @@ class WorkforceManagementApi {
5373
5373
  */
5374
5374
  postWorkforcemanagementBusinessunitTimeofflimits(businessUnitId, body) {
5375
5375
  // verify the required parameter 'businessUnitId' is set
5376
- if (businessUnitId === undefined || businessUnitId === null) {
5376
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5377
5377
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimits';
5378
5378
  }
5379
5379
  // verify the required parameter 'body' is set
@@ -5403,7 +5403,7 @@ class WorkforceManagementApi {
5403
5403
  */
5404
5404
  postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery(businessUnitId, body) {
5405
5405
  // verify the required parameter 'businessUnitId' is set
5406
- if (businessUnitId === undefined || businessUnitId === null) {
5406
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5407
5407
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeofflimitsValuesQuery';
5408
5408
  }
5409
5409
  // verify the required parameter 'body' is set
@@ -5433,7 +5433,7 @@ class WorkforceManagementApi {
5433
5433
  */
5434
5434
  postWorkforcemanagementBusinessunitTimeoffplans(businessUnitId, body) {
5435
5435
  // verify the required parameter 'businessUnitId' is set
5436
- if (businessUnitId === undefined || businessUnitId === null) {
5436
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5437
5437
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitTimeoffplans';
5438
5438
  }
5439
5439
  // verify the required parameter 'body' is set
@@ -5470,7 +5470,7 @@ class WorkforceManagementApi {
5470
5470
  opts = opts || {};
5471
5471
 
5472
5472
  // verify the required parameter 'businessUnitId' is set
5473
- if (businessUnitId === undefined || businessUnitId === null) {
5473
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5474
5474
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
5475
5475
  }
5476
5476
  // verify the required parameter 'weekId' is set
@@ -5478,7 +5478,7 @@ class WorkforceManagementApi {
5478
5478
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
5479
5479
  }
5480
5480
  // verify the required parameter 'scheduleId' is set
5481
- if (scheduleId === undefined || scheduleId === null) {
5481
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5482
5482
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleAgentschedulesQuery';
5483
5483
  }
5484
5484
  // verify the required parameter 'body' is set
@@ -5510,7 +5510,7 @@ class WorkforceManagementApi {
5510
5510
  */
5511
5511
  postWorkforcemanagementBusinessunitWeekScheduleCopy(businessUnitId, weekId, scheduleId, body) {
5512
5512
  // verify the required parameter 'businessUnitId' is set
5513
- if (businessUnitId === undefined || businessUnitId === null) {
5513
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5514
5514
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
5515
5515
  }
5516
5516
  // verify the required parameter 'weekId' is set
@@ -5518,7 +5518,7 @@ class WorkforceManagementApi {
5518
5518
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
5519
5519
  }
5520
5520
  // verify the required parameter 'scheduleId' is set
5521
- if (scheduleId === undefined || scheduleId === null) {
5521
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5522
5522
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleCopy';
5523
5523
  }
5524
5524
  // verify the required parameter 'body' is set
@@ -5550,15 +5550,15 @@ class WorkforceManagementApi {
5550
5550
  */
5551
5551
  postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations(businessUnitId, weekId, scheduleId, body) {
5552
5552
  // verify the required parameter 'businessUnitId' is set
5553
- if (businessUnitId === undefined || businessUnitId === null) {
5553
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5554
5554
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
5555
5555
  }
5556
5556
  // verify the required parameter 'weekId' is set
5557
- if (weekId === undefined || weekId === null) {
5557
+ if (weekId === undefined || weekId === null || weekId === '') {
5558
5558
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
5559
5559
  }
5560
5560
  // verify the required parameter 'scheduleId' is set
5561
- if (scheduleId === undefined || scheduleId === null) {
5561
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5562
5562
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculations';
5563
5563
  }
5564
5564
  // verify the required parameter 'body' is set
@@ -5590,15 +5590,15 @@ class WorkforceManagementApi {
5590
5590
  */
5591
5591
  postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl(businessUnitId, weekId, scheduleId, body) {
5592
5592
  // verify the required parameter 'businessUnitId' is set
5593
- if (businessUnitId === undefined || businessUnitId === null) {
5593
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5594
5594
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
5595
5595
  }
5596
5596
  // verify the required parameter 'weekId' is set
5597
- if (weekId === undefined || weekId === null) {
5597
+ if (weekId === undefined || weekId === null || weekId === '') {
5598
5598
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
5599
5599
  }
5600
5600
  // verify the required parameter 'scheduleId' is set
5601
- if (scheduleId === undefined || scheduleId === null) {
5601
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5602
5602
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekSchedulePerformancepredictionsRecalculationsUploadurl';
5603
5603
  }
5604
5604
  // verify the required parameter 'body' is set
@@ -5630,7 +5630,7 @@ class WorkforceManagementApi {
5630
5630
  */
5631
5631
  postWorkforcemanagementBusinessunitWeekScheduleReschedule(businessUnitId, weekId, scheduleId, body) {
5632
5632
  // verify the required parameter 'businessUnitId' is set
5633
- if (businessUnitId === undefined || businessUnitId === null) {
5633
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5634
5634
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
5635
5635
  }
5636
5636
  // verify the required parameter 'weekId' is set
@@ -5638,7 +5638,7 @@ class WorkforceManagementApi {
5638
5638
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
5639
5639
  }
5640
5640
  // verify the required parameter 'scheduleId' is set
5641
- if (scheduleId === undefined || scheduleId === null) {
5641
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5642
5642
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleReschedule';
5643
5643
  }
5644
5644
  // verify the required parameter 'body' is set
@@ -5670,7 +5670,7 @@ class WorkforceManagementApi {
5670
5670
  */
5671
5671
  postWorkforcemanagementBusinessunitWeekScheduleUpdate(businessUnitId, weekId, scheduleId, body) {
5672
5672
  // verify the required parameter 'businessUnitId' is set
5673
- if (businessUnitId === undefined || businessUnitId === null) {
5673
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5674
5674
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
5675
5675
  }
5676
5676
  // verify the required parameter 'weekId' is set
@@ -5678,7 +5678,7 @@ class WorkforceManagementApi {
5678
5678
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
5679
5679
  }
5680
5680
  // verify the required parameter 'scheduleId' is set
5681
- if (scheduleId === undefined || scheduleId === null) {
5681
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5682
5682
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdate';
5683
5683
  }
5684
5684
  // verify the required parameter 'body' is set
@@ -5710,7 +5710,7 @@ class WorkforceManagementApi {
5710
5710
  */
5711
5711
  postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl(businessUnitId, weekId, scheduleId, body) {
5712
5712
  // verify the required parameter 'businessUnitId' is set
5713
- if (businessUnitId === undefined || businessUnitId === null) {
5713
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5714
5714
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
5715
5715
  }
5716
5716
  // verify the required parameter 'weekId' is set
@@ -5718,7 +5718,7 @@ class WorkforceManagementApi {
5718
5718
  throw 'Missing the required parameter "weekId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
5719
5719
  }
5720
5720
  // verify the required parameter 'scheduleId' is set
5721
- if (scheduleId === undefined || scheduleId === null) {
5721
+ if (scheduleId === undefined || scheduleId === null || scheduleId === '') {
5722
5722
  throw 'Missing the required parameter "scheduleId" when calling postWorkforcemanagementBusinessunitWeekScheduleUpdateUploadurl';
5723
5723
  }
5724
5724
  // verify the required parameter 'body' is set
@@ -5749,7 +5749,7 @@ class WorkforceManagementApi {
5749
5749
  */
5750
5750
  postWorkforcemanagementBusinessunitWeekSchedules(businessUnitId, weekId, body) {
5751
5751
  // verify the required parameter 'businessUnitId' is set
5752
- if (businessUnitId === undefined || businessUnitId === null) {
5752
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5753
5753
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedules';
5754
5754
  }
5755
5755
  // verify the required parameter 'weekId' is set
@@ -5784,7 +5784,7 @@ class WorkforceManagementApi {
5784
5784
  */
5785
5785
  postWorkforcemanagementBusinessunitWeekSchedulesGenerate(businessUnitId, weekId, body) {
5786
5786
  // verify the required parameter 'businessUnitId' is set
5787
- if (businessUnitId === undefined || businessUnitId === null) {
5787
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5788
5788
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesGenerate';
5789
5789
  }
5790
5790
  // verify the required parameter 'weekId' is set
@@ -5819,7 +5819,7 @@ class WorkforceManagementApi {
5819
5819
  */
5820
5820
  postWorkforcemanagementBusinessunitWeekSchedulesImport(businessUnitId, weekId, body) {
5821
5821
  // verify the required parameter 'businessUnitId' is set
5822
- if (businessUnitId === undefined || businessUnitId === null) {
5822
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5823
5823
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImport';
5824
5824
  }
5825
5825
  // verify the required parameter 'weekId' is set
@@ -5854,7 +5854,7 @@ class WorkforceManagementApi {
5854
5854
  */
5855
5855
  postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl(businessUnitId, weekId, body) {
5856
5856
  // verify the required parameter 'businessUnitId' is set
5857
- if (businessUnitId === undefined || businessUnitId === null) {
5857
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5858
5858
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekSchedulesImportUploadurl';
5859
5859
  }
5860
5860
  // verify the required parameter 'weekId' is set
@@ -5894,7 +5894,7 @@ class WorkforceManagementApi {
5894
5894
  opts = opts || {};
5895
5895
 
5896
5896
  // verify the required parameter 'businessUnitId' is set
5897
- if (businessUnitId === undefined || businessUnitId === null) {
5897
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5898
5898
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
5899
5899
  }
5900
5900
  // verify the required parameter 'weekDateId' is set
@@ -5902,7 +5902,7 @@ class WorkforceManagementApi {
5902
5902
  throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
5903
5903
  }
5904
5904
  // verify the required parameter 'forecastId' is set
5905
- if (forecastId === undefined || forecastId === null) {
5905
+ if (forecastId === undefined || forecastId === null || forecastId === '') {
5906
5906
  throw 'Missing the required parameter "forecastId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastCopy';
5907
5907
  }
5908
5908
  // verify the required parameter 'body' is set
@@ -5937,7 +5937,7 @@ class WorkforceManagementApi {
5937
5937
  opts = opts || {};
5938
5938
 
5939
5939
  // verify the required parameter 'businessUnitId' is set
5940
- if (businessUnitId === undefined || businessUnitId === null) {
5940
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5941
5941
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsGenerate';
5942
5942
  }
5943
5943
  // verify the required parameter 'weekDateId' is set
@@ -5972,7 +5972,7 @@ class WorkforceManagementApi {
5972
5972
  */
5973
5973
  postWorkforcemanagementBusinessunitWeekShorttermforecastsImport(businessUnitId, weekDateId, body) {
5974
5974
  // verify the required parameter 'businessUnitId' is set
5975
- if (businessUnitId === undefined || businessUnitId === null) {
5975
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
5976
5976
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImport';
5977
5977
  }
5978
5978
  // verify the required parameter 'weekDateId' is set
@@ -6007,7 +6007,7 @@ class WorkforceManagementApi {
6007
6007
  */
6008
6008
  postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl(businessUnitId, weekDateId, body) {
6009
6009
  // verify the required parameter 'businessUnitId' is set
6010
- if (businessUnitId === undefined || businessUnitId === null) {
6010
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
6011
6011
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWeekShorttermforecastsImportUploadurl';
6012
6012
  }
6013
6013
  // verify the required parameter 'weekDateId' is set
@@ -6042,11 +6042,11 @@ class WorkforceManagementApi {
6042
6042
  */
6043
6043
  postWorkforcemanagementBusinessunitWorkplanbidCopy(businessUnitId, bidId, body) {
6044
6044
  // verify the required parameter 'businessUnitId' is set
6045
- if (businessUnitId === undefined || businessUnitId === null) {
6045
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
6046
6046
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
6047
6047
  }
6048
6048
  // verify the required parameter 'bidId' is set
6049
- if (bidId === undefined || bidId === null) {
6049
+ if (bidId === undefined || bidId === null || bidId === '') {
6050
6050
  throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidCopy';
6051
6051
  }
6052
6052
  // verify the required parameter 'body' is set
@@ -6077,11 +6077,11 @@ class WorkforceManagementApi {
6077
6077
  */
6078
6078
  postWorkforcemanagementBusinessunitWorkplanbidGroups(businessUnitId, bidId, body) {
6079
6079
  // verify the required parameter 'businessUnitId' is set
6080
- if (businessUnitId === undefined || businessUnitId === null) {
6080
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
6081
6081
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
6082
6082
  }
6083
6083
  // verify the required parameter 'bidId' is set
6084
- if (bidId === undefined || bidId === null) {
6084
+ if (bidId === undefined || bidId === null || bidId === '') {
6085
6085
  throw 'Missing the required parameter "bidId" when calling postWorkforcemanagementBusinessunitWorkplanbidGroups';
6086
6086
  }
6087
6087
  // verify the required parameter 'body' is set
@@ -6111,7 +6111,7 @@ class WorkforceManagementApi {
6111
6111
  */
6112
6112
  postWorkforcemanagementBusinessunitWorkplanbids(businessUnitId, body) {
6113
6113
  // verify the required parameter 'businessUnitId' is set
6114
- if (businessUnitId === undefined || businessUnitId === null) {
6114
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
6115
6115
  throw 'Missing the required parameter "businessUnitId" when calling postWorkforcemanagementBusinessunitWorkplanbids';
6116
6116
  }
6117
6117
  // verify the required parameter 'body' is set
@@ -6260,7 +6260,7 @@ class WorkforceManagementApi {
6260
6260
  */
6261
6261
  postWorkforcemanagementIntegrationsHriTimeofftypesJobs(hrisIntegrationId) {
6262
6262
  // verify the required parameter 'hrisIntegrationId' is set
6263
- if (hrisIntegrationId === undefined || hrisIntegrationId === null) {
6263
+ if (hrisIntegrationId === undefined || hrisIntegrationId === null || hrisIntegrationId === '') {
6264
6264
  throw 'Missing the required parameter "hrisIntegrationId" when calling postWorkforcemanagementIntegrationsHriTimeofftypesJobs';
6265
6265
  }
6266
6266
 
@@ -6290,7 +6290,7 @@ class WorkforceManagementApi {
6290
6290
  opts = opts || {};
6291
6291
 
6292
6292
  // verify the required parameter 'managementUnitId' is set
6293
- if (managementUnitId === undefined || managementUnitId === null) {
6293
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6294
6294
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentsWorkplansQuery';
6295
6295
  }
6296
6296
  // verify the required parameter 'body' is set
@@ -6325,7 +6325,7 @@ class WorkforceManagementApi {
6325
6325
  opts = opts || {};
6326
6326
 
6327
6327
  // verify the required parameter 'managementUnitId' is set
6328
- if (managementUnitId === undefined || managementUnitId === null) {
6328
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6329
6329
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitAgentschedulesSearch';
6330
6330
  }
6331
6331
  // verify the required parameter 'body' is set
@@ -6355,7 +6355,7 @@ class WorkforceManagementApi {
6355
6355
  */
6356
6356
  postWorkforcemanagementManagementunitHistoricaladherencequery(managementUnitId, body) {
6357
6357
  // verify the required parameter 'managementUnitId' is set
6358
- if (managementUnitId === undefined || managementUnitId === null) {
6358
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6359
6359
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitHistoricaladherencequery';
6360
6360
  }
6361
6361
  // verify the required parameter 'body' is set
@@ -6385,7 +6385,7 @@ class WorkforceManagementApi {
6385
6385
  */
6386
6386
  postWorkforcemanagementManagementunitMove(managementUnitId, body) {
6387
6387
  // verify the required parameter 'managementUnitId' is set
6388
- if (managementUnitId === undefined || managementUnitId === null) {
6388
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6389
6389
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitMove';
6390
6390
  }
6391
6391
  // verify the required parameter 'body' is set
@@ -6416,7 +6416,7 @@ class WorkforceManagementApi {
6416
6416
  */
6417
6417
  postWorkforcemanagementManagementunitSchedulesSearch(managementUnitId, body) {
6418
6418
  // verify the required parameter 'managementUnitId' is set
6419
- if (managementUnitId === undefined || managementUnitId === null) {
6419
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6420
6420
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitSchedulesSearch';
6421
6421
  }
6422
6422
  // verify the required parameter 'body' is set
@@ -6446,7 +6446,7 @@ class WorkforceManagementApi {
6446
6446
  */
6447
6447
  postWorkforcemanagementManagementunitShrinkageJobs(managementUnitId, body) {
6448
6448
  // verify the required parameter 'managementUnitId' is set
6449
- if (managementUnitId === undefined || managementUnitId === null) {
6449
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6450
6450
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitShrinkageJobs';
6451
6451
  }
6452
6452
  // verify the required parameter 'body' is set
@@ -6476,7 +6476,7 @@ class WorkforceManagementApi {
6476
6476
  */
6477
6477
  postWorkforcemanagementManagementunitTimeofflimits(managementUnitId, body) {
6478
6478
  // verify the required parameter 'managementUnitId' is set
6479
- if (managementUnitId === undefined || managementUnitId === null) {
6479
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6480
6480
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimits';
6481
6481
  }
6482
6482
  // verify the required parameter 'body' is set
@@ -6506,7 +6506,7 @@ class WorkforceManagementApi {
6506
6506
  */
6507
6507
  postWorkforcemanagementManagementunitTimeofflimitsValuesQuery(managementUnitId, body) {
6508
6508
  // verify the required parameter 'managementUnitId' is set
6509
- if (managementUnitId === undefined || managementUnitId === null) {
6509
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6510
6510
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeofflimitsValuesQuery';
6511
6511
  }
6512
6512
  // verify the required parameter 'body' is set
@@ -6536,7 +6536,7 @@ class WorkforceManagementApi {
6536
6536
  */
6537
6537
  postWorkforcemanagementManagementunitTimeoffplans(managementUnitId, body) {
6538
6538
  // verify the required parameter 'managementUnitId' is set
6539
- if (managementUnitId === undefined || managementUnitId === null) {
6539
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6540
6540
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffplans';
6541
6541
  }
6542
6542
  // verify the required parameter 'body' is set
@@ -6566,7 +6566,7 @@ class WorkforceManagementApi {
6566
6566
  */
6567
6567
  postWorkforcemanagementManagementunitTimeoffrequests(managementUnitId, body) {
6568
6568
  // verify the required parameter 'managementUnitId' is set
6569
- if (managementUnitId === undefined || managementUnitId === null) {
6569
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6570
6570
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequests';
6571
6571
  }
6572
6572
  // verify the required parameter 'body' is set
@@ -6596,7 +6596,7 @@ class WorkforceManagementApi {
6596
6596
  */
6597
6597
  postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery(managementUnitId, body) {
6598
6598
  // verify the required parameter 'managementUnitId' is set
6599
- if (managementUnitId === undefined || managementUnitId === null) {
6599
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6600
6600
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsIntegrationstatusQuery';
6601
6601
  }
6602
6602
  // verify the required parameter 'body' is set
@@ -6630,7 +6630,7 @@ class WorkforceManagementApi {
6630
6630
  opts = opts || {};
6631
6631
 
6632
6632
  // verify the required parameter 'managementUnitId' is set
6633
- if (managementUnitId === undefined || managementUnitId === null) {
6633
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6634
6634
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsQuery';
6635
6635
  }
6636
6636
  // verify the required parameter 'body' is set
@@ -6660,7 +6660,7 @@ class WorkforceManagementApi {
6660
6660
  */
6661
6661
  postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery(managementUnitId, body) {
6662
6662
  // verify the required parameter 'managementUnitId' is set
6663
- if (managementUnitId === undefined || managementUnitId === null) {
6663
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6664
6664
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitTimeoffrequestsWaitlistpositionsQuery';
6665
6665
  }
6666
6666
  // verify the required parameter 'body' is set
@@ -6691,11 +6691,11 @@ class WorkforceManagementApi {
6691
6691
  */
6692
6692
  postWorkforcemanagementManagementunitUserTimeoffbalanceJobs(managementUnitId, userId, body) {
6693
6693
  // verify the required parameter 'managementUnitId' is set
6694
- if (managementUnitId === undefined || managementUnitId === null) {
6694
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6695
6695
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
6696
6696
  }
6697
6697
  // verify the required parameter 'userId' is set
6698
- if (userId === undefined || userId === null) {
6698
+ if (userId === undefined || userId === null || userId === '') {
6699
6699
  throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffbalanceJobs';
6700
6700
  }
6701
6701
  // verify the required parameter 'body' is set
@@ -6726,15 +6726,15 @@ class WorkforceManagementApi {
6726
6726
  */
6727
6727
  postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs(managementUnitId, userId, timeOffRequestId) {
6728
6728
  // verify the required parameter 'managementUnitId' is set
6729
- if (managementUnitId === undefined || managementUnitId === null) {
6729
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6730
6730
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
6731
6731
  }
6732
6732
  // verify the required parameter 'userId' is set
6733
- if (userId === undefined || userId === null) {
6733
+ if (userId === undefined || userId === null || userId === '') {
6734
6734
  throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
6735
6735
  }
6736
6736
  // verify the required parameter 'timeOffRequestId' is set
6737
- if (timeOffRequestId === undefined || timeOffRequestId === null) {
6737
+ if (timeOffRequestId === undefined || timeOffRequestId === null || timeOffRequestId === '') {
6738
6738
  throw 'Missing the required parameter "timeOffRequestId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestTimeoffbalanceJobs';
6739
6739
  }
6740
6740
 
@@ -6761,11 +6761,11 @@ class WorkforceManagementApi {
6761
6761
  */
6762
6762
  postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate(managementUnitId, userId, body) {
6763
6763
  // verify the required parameter 'managementUnitId' is set
6764
- if (managementUnitId === undefined || managementUnitId === null) {
6764
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6765
6765
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
6766
6766
  }
6767
6767
  // verify the required parameter 'userId' is set
6768
- if (userId === undefined || userId === null) {
6768
+ if (userId === undefined || userId === null || userId === '') {
6769
6769
  throw 'Missing the required parameter "userId" when calling postWorkforcemanagementManagementunitUserTimeoffrequestsEstimate';
6770
6770
  }
6771
6771
  // verify the required parameter 'body' is set
@@ -6797,7 +6797,7 @@ class WorkforceManagementApi {
6797
6797
  */
6798
6798
  postWorkforcemanagementManagementunitWeekShifttradeMatch(managementUnitId, weekDateId, tradeId, body) {
6799
6799
  // verify the required parameter 'managementUnitId' is set
6800
- if (managementUnitId === undefined || managementUnitId === null) {
6800
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6801
6801
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
6802
6802
  }
6803
6803
  // verify the required parameter 'weekDateId' is set
@@ -6805,7 +6805,7 @@ class WorkforceManagementApi {
6805
6805
  throw 'Missing the required parameter "weekDateId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
6806
6806
  }
6807
6807
  // verify the required parameter 'tradeId' is set
6808
- if (tradeId === undefined || tradeId === null) {
6808
+ if (tradeId === undefined || tradeId === null || tradeId === '') {
6809
6809
  throw 'Missing the required parameter "tradeId" when calling postWorkforcemanagementManagementunitWeekShifttradeMatch';
6810
6810
  }
6811
6811
  // verify the required parameter 'body' is set
@@ -6836,7 +6836,7 @@ class WorkforceManagementApi {
6836
6836
  */
6837
6837
  postWorkforcemanagementManagementunitWeekShifttrades(managementUnitId, weekDateId, body) {
6838
6838
  // verify the required parameter 'managementUnitId' is set
6839
- if (managementUnitId === undefined || managementUnitId === null) {
6839
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6840
6840
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttrades';
6841
6841
  }
6842
6842
  // verify the required parameter 'weekDateId' is set
@@ -6875,7 +6875,7 @@ class WorkforceManagementApi {
6875
6875
  opts = opts || {};
6876
6876
 
6877
6877
  // verify the required parameter 'managementUnitId' is set
6878
- if (managementUnitId === undefined || managementUnitId === null) {
6878
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6879
6879
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesSearch';
6880
6880
  }
6881
6881
  // verify the required parameter 'weekDateId' is set
@@ -6914,7 +6914,7 @@ class WorkforceManagementApi {
6914
6914
  opts = opts || {};
6915
6915
 
6916
6916
  // verify the required parameter 'managementUnitId' is set
6917
- if (managementUnitId === undefined || managementUnitId === null) {
6917
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6918
6918
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWeekShifttradesStateBulk';
6919
6919
  }
6920
6920
  // verify the required parameter 'weekDateId' is set
@@ -6949,11 +6949,11 @@ class WorkforceManagementApi {
6949
6949
  */
6950
6950
  postWorkforcemanagementManagementunitWorkplanCopy(managementUnitId, workPlanId, body) {
6951
6951
  // verify the required parameter 'managementUnitId' is set
6952
- if (managementUnitId === undefined || managementUnitId === null) {
6952
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6953
6953
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
6954
6954
  }
6955
6955
  // verify the required parameter 'workPlanId' is set
6956
- if (workPlanId === undefined || workPlanId === null) {
6956
+ if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
6957
6957
  throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanCopy';
6958
6958
  }
6959
6959
  // verify the required parameter 'body' is set
@@ -6988,11 +6988,11 @@ class WorkforceManagementApi {
6988
6988
  opts = opts || {};
6989
6989
 
6990
6990
  // verify the required parameter 'managementUnitId' is set
6991
- if (managementUnitId === undefined || managementUnitId === null) {
6991
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
6992
6992
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
6993
6993
  }
6994
6994
  // verify the required parameter 'workPlanId' is set
6995
- if (workPlanId === undefined || workPlanId === null) {
6995
+ if (workPlanId === undefined || workPlanId === null || workPlanId === '') {
6996
6996
  throw 'Missing the required parameter "workPlanId" when calling postWorkforcemanagementManagementunitWorkplanValidate';
6997
6997
  }
6998
6998
  // verify the required parameter 'body' is set
@@ -7023,11 +7023,11 @@ class WorkforceManagementApi {
7023
7023
  */
7024
7024
  postWorkforcemanagementManagementunitWorkplanrotationCopy(managementUnitId, workPlanRotationId, body) {
7025
7025
  // verify the required parameter 'managementUnitId' is set
7026
- if (managementUnitId === undefined || managementUnitId === null) {
7026
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
7027
7027
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
7028
7028
  }
7029
7029
  // verify the required parameter 'workPlanRotationId' is set
7030
- if (workPlanRotationId === undefined || workPlanRotationId === null) {
7030
+ if (workPlanRotationId === undefined || workPlanRotationId === null || workPlanRotationId === '') {
7031
7031
  throw 'Missing the required parameter "workPlanRotationId" when calling postWorkforcemanagementManagementunitWorkplanrotationCopy';
7032
7032
  }
7033
7033
  // verify the required parameter 'body' is set
@@ -7057,7 +7057,7 @@ class WorkforceManagementApi {
7057
7057
  */
7058
7058
  postWorkforcemanagementManagementunitWorkplanrotations(managementUnitId, body) {
7059
7059
  // verify the required parameter 'managementUnitId' is set
7060
- if (managementUnitId === undefined || managementUnitId === null) {
7060
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
7061
7061
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplanrotations';
7062
7062
  }
7063
7063
  // verify the required parameter 'body' is set
@@ -7091,7 +7091,7 @@ class WorkforceManagementApi {
7091
7091
  opts = opts || {};
7092
7092
 
7093
7093
  // verify the required parameter 'managementUnitId' is set
7094
- if (managementUnitId === undefined || managementUnitId === null) {
7094
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
7095
7095
  throw 'Missing the required parameter "managementUnitId" when calling postWorkforcemanagementManagementunitWorkplans';
7096
7096
  }
7097
7097
  // verify the required parameter 'body' is set
@@ -7196,7 +7196,7 @@ class WorkforceManagementApi {
7196
7196
  */
7197
7197
  postWorkforcemanagementTeamAdherenceHistorical(teamId, body) {
7198
7198
  // verify the required parameter 'teamId' is set
7199
- if (teamId === undefined || teamId === null) {
7199
+ if (teamId === undefined || teamId === null || teamId === '') {
7200
7200
  throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamAdherenceHistorical';
7201
7201
  }
7202
7202
  // verify the required parameter 'body' is set
@@ -7226,7 +7226,7 @@ class WorkforceManagementApi {
7226
7226
  */
7227
7227
  postWorkforcemanagementTeamShrinkageJobs(teamId, body) {
7228
7228
  // verify the required parameter 'teamId' is set
7229
- if (teamId === undefined || teamId === null) {
7229
+ if (teamId === undefined || teamId === null || teamId === '') {
7230
7230
  throw 'Missing the required parameter "teamId" when calling postWorkforcemanagementTeamShrinkageJobs';
7231
7231
  }
7232
7232
  // verify the required parameter 'body' is set
@@ -7381,7 +7381,7 @@ class WorkforceManagementApi {
7381
7381
  */
7382
7382
  putWorkforcemanagementAgentIntegrationsHris(agentId, body) {
7383
7383
  // verify the required parameter 'agentId' is set
7384
- if (agentId === undefined || agentId === null) {
7384
+ if (agentId === undefined || agentId === null || agentId === '') {
7385
7385
  throw 'Missing the required parameter "agentId" when calling putWorkforcemanagementAgentIntegrationsHris';
7386
7386
  }
7387
7387
  // verify the required parameter 'body' is set
@@ -7412,11 +7412,11 @@ class WorkforceManagementApi {
7412
7412
  */
7413
7413
  putWorkforcemanagementBusinessunitTimeofflimitValues(businessUnitId, timeOffLimitId, body) {
7414
7414
  // verify the required parameter 'businessUnitId' is set
7415
- if (businessUnitId === undefined || businessUnitId === null) {
7415
+ if (businessUnitId === undefined || businessUnitId === null || businessUnitId === '') {
7416
7416
  throw 'Missing the required parameter "businessUnitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
7417
7417
  }
7418
7418
  // verify the required parameter 'timeOffLimitId' is set
7419
- if (timeOffLimitId === undefined || timeOffLimitId === null) {
7419
+ if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
7420
7420
  throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementBusinessunitTimeofflimitValues';
7421
7421
  }
7422
7422
  // verify the required parameter 'body' is set
@@ -7447,11 +7447,11 @@ class WorkforceManagementApi {
7447
7447
  */
7448
7448
  putWorkforcemanagementManagementunitTimeofflimitValues(managementUnitId, timeOffLimitId, body) {
7449
7449
  // verify the required parameter 'managementUnitId' is set
7450
- if (managementUnitId === undefined || managementUnitId === null) {
7450
+ if (managementUnitId === undefined || managementUnitId === null || managementUnitId === '') {
7451
7451
  throw 'Missing the required parameter "managementUnitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
7452
7452
  }
7453
7453
  // verify the required parameter 'timeOffLimitId' is set
7454
- if (timeOffLimitId === undefined || timeOffLimitId === null) {
7454
+ if (timeOffLimitId === undefined || timeOffLimitId === null || timeOffLimitId === '') {
7455
7455
  throw 'Missing the required parameter "timeOffLimitId" when calling putWorkforcemanagementManagementunitTimeofflimitValues';
7456
7456
  }
7457
7457
  // verify the required parameter 'body' is set