purecloud-platform-client-v2 224.0.0 → 226.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/node/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.js +2853 -2693
- package/dist/web-amd/purecloud-platform-client-v2.min.js +1 -1
- package/dist/web-cjs/bundle.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.js +2679 -2639
- package/dist/web-cjs/purecloud-platform-client-v2.min.js +1 -1
- package/index.d.ts +227 -162
- package/package.json +1 -1
- package/src/purecloud-platform-client-v2/ApiClient.js +1 -1
- package/src/purecloud-platform-client-v2/api/AIStudioApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/AgentAssistantsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/AgentCopilotApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AgentUIApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/AlertingApi.js +8 -8
- package/src/purecloud-platform-client-v2/api/AnalyticsApi.js +45 -45
- package/src/purecloud-platform-client-v2/api/ArchitectApi.js +121 -121
- package/src/purecloud-platform-client-v2/api/AuditApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/AuthorizationApi.js +47 -47
- package/src/purecloud-platform-client-v2/api/BillingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/BusinessRulesApi.js +29 -29
- package/src/purecloud-platform-client-v2/api/CarrierServicesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ChatApi.js +38 -38
- package/src/purecloud-platform-client-v2/api/CoachingApi.js +17 -17
- package/src/purecloud-platform-client-v2/api/ContentManagementApi.js +32 -32
- package/src/purecloud-platform-client-v2/api/ConversationsApi.js +486 -342
- package/src/purecloud-platform-client-v2/api/DataExtensionsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/DataPrivacyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/DownloadsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/EmailsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/EmployeeEngagementApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/EventsApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ExternalContactsApi.js +66 -66
- package/src/purecloud-platform-client-v2/api/FaxApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/FlowsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/GamificationApi.js +49 -49
- package/src/purecloud-platform-client-v2/api/GeneralDataProtectionRegulationApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/GeolocationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/GreetingsApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/GroupsApi.js +12 -12
- package/src/purecloud-platform-client-v2/api/IdentityProviderApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/InfrastructureAsCodeApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/IntegrationsApi.js +82 -81
- package/src/purecloud-platform-client-v2/api/JourneyApi.js +68 -68
- package/src/purecloud-platform-client-v2/api/KnowledgeApi.js +212 -212
- package/src/purecloud-platform-client-v2/api/LanguageUnderstandingApi.js +46 -46
- package/src/purecloud-platform-client-v2/api/LanguagesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/LearningApi.js +28 -28
- package/src/purecloud-platform-client-v2/api/LicenseApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LocationsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/LogCaptureApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/MessagingApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/MobileDevicesApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/NotificationsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/OAuthApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/ObjectsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/OperationalEventsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/OrganizationApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/OrganizationAuthorizationApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/OutboundApi.js +118 -118
- package/src/purecloud-platform-client-v2/api/PresenceApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ProcessAutomationApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/QualityApi.js +36 -36
- package/src/purecloud-platform-client-v2/api/RecordingApi.js +42 -42
- package/src/purecloud-platform-client-v2/api/ResponseManagementApi.js +11 -11
- package/src/purecloud-platform-client-v2/api/RoutingApi.js +121 -120
- package/src/purecloud-platform-client-v2/api/SCIMApi.js +19 -19
- package/src/purecloud-platform-client-v2/api/ScreenRecordingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/ScriptsApi.js +13 -13
- package/src/purecloud-platform-client-v2/api/SearchApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/SettingsApi.js +5 -5
- package/src/purecloud-platform-client-v2/api/SocialMediaApi.js +59 -59
- package/src/purecloud-platform-client-v2/api/SpeechTextAnalyticsApi.js +33 -33
- package/src/purecloud-platform-client-v2/api/StationsApi.js +3 -3
- package/src/purecloud-platform-client-v2/api/SuggestApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/TaskManagementApi.js +78 -78
- package/src/purecloud-platform-client-v2/api/TeamsApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/TelephonyApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/TelephonyProvidersEdgeApi.js +95 -95
- package/src/purecloud-platform-client-v2/api/TextbotsApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/TokensApi.js +2 -2
- package/src/purecloud-platform-client-v2/api/UploadsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsageApi.js +7 -7
- package/src/purecloud-platform-client-v2/api/UserRecordingsApi.js +6 -6
- package/src/purecloud-platform-client-v2/api/UsersApi.js +93 -93
- package/src/purecloud-platform-client-v2/api/UtilitiesApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/VoicemailApi.js +16 -16
- package/src/purecloud-platform-client-v2/api/WebChatApi.js +21 -21
- package/src/purecloud-platform-client-v2/api/WebDeploymentsApi.js +18 -18
- package/src/purecloud-platform-client-v2/api/WebMessagingApi.js +1 -1
- package/src/purecloud-platform-client-v2/api/WidgetsApi.js +4 -4
- package/src/purecloud-platform-client-v2/api/WorkforceManagementApi.js +317 -359
- package/src/purecloud-platform-client-v2/configuration.js +80 -23
- package/src/purecloud-platform-client-v2/index.js +1 -1
|
@@ -5,7 +5,7 @@ class TaskManagementApi {
|
|
|
5
5
|
/**
|
|
6
6
|
* TaskManagement service.
|
|
7
7
|
* @module purecloud-platform-client-v2/api/TaskManagementApi
|
|
8
|
-
* @version
|
|
8
|
+
* @version 226.0.0
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -27,7 +27,7 @@ class TaskManagementApi {
|
|
|
27
27
|
*/
|
|
28
28
|
deleteTaskmanagementWorkbin(workbinId) {
|
|
29
29
|
// verify the required parameter 'workbinId' is set
|
|
30
|
-
if (workbinId === undefined || workbinId === null) {
|
|
30
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
31
31
|
throw 'Missing the required parameter "workbinId" when calling deleteTaskmanagementWorkbin';
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -52,7 +52,7 @@ class TaskManagementApi {
|
|
|
52
52
|
*/
|
|
53
53
|
deleteTaskmanagementWorkitem(workitemId) {
|
|
54
54
|
// verify the required parameter 'workitemId' is set
|
|
55
|
-
if (workitemId === undefined || workitemId === null) {
|
|
55
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
56
56
|
throw 'Missing the required parameter "workitemId" when calling deleteTaskmanagementWorkitem';
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -77,7 +77,7 @@ class TaskManagementApi {
|
|
|
77
77
|
*/
|
|
78
78
|
deleteTaskmanagementWorkitemsBulkAddJob(bulkJobId) {
|
|
79
79
|
// verify the required parameter 'bulkJobId' is set
|
|
80
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
80
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
81
81
|
throw 'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkAddJob';
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -102,7 +102,7 @@ class TaskManagementApi {
|
|
|
102
102
|
*/
|
|
103
103
|
deleteTaskmanagementWorkitemsBulkTerminateJob(bulkJobId) {
|
|
104
104
|
// verify the required parameter 'bulkJobId' is set
|
|
105
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
105
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
106
106
|
throw 'Missing the required parameter "bulkJobId" when calling deleteTaskmanagementWorkitemsBulkTerminateJob';
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -127,7 +127,7 @@ class TaskManagementApi {
|
|
|
127
127
|
*/
|
|
128
128
|
deleteTaskmanagementWorkitemsSchema(schemaId) {
|
|
129
129
|
// verify the required parameter 'schemaId' is set
|
|
130
|
-
if (schemaId === undefined || schemaId === null) {
|
|
130
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
131
131
|
throw 'Missing the required parameter "schemaId" when calling deleteTaskmanagementWorkitemsSchema';
|
|
132
132
|
}
|
|
133
133
|
|
|
@@ -152,7 +152,7 @@ class TaskManagementApi {
|
|
|
152
152
|
*/
|
|
153
153
|
deleteTaskmanagementWorktype(worktypeId) {
|
|
154
154
|
// verify the required parameter 'worktypeId' is set
|
|
155
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
155
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
156
156
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktype';
|
|
157
157
|
}
|
|
158
158
|
|
|
@@ -178,11 +178,11 @@ class TaskManagementApi {
|
|
|
178
178
|
*/
|
|
179
179
|
deleteTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
180
180
|
// verify the required parameter 'worktypeId' is set
|
|
181
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
181
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
182
182
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
183
183
|
}
|
|
184
184
|
// verify the required parameter 'ruleId' is set
|
|
185
|
-
if (ruleId === undefined || ruleId === null) {
|
|
185
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
186
186
|
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsDatebasedRule';
|
|
187
187
|
}
|
|
188
188
|
|
|
@@ -208,11 +208,11 @@ class TaskManagementApi {
|
|
|
208
208
|
*/
|
|
209
209
|
deleteTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
210
210
|
// verify the required parameter 'worktypeId' is set
|
|
211
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
211
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
212
212
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
213
213
|
}
|
|
214
214
|
// verify the required parameter 'ruleId' is set
|
|
215
|
-
if (ruleId === undefined || ruleId === null) {
|
|
215
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
216
216
|
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
217
217
|
}
|
|
218
218
|
|
|
@@ -238,11 +238,11 @@ class TaskManagementApi {
|
|
|
238
238
|
*/
|
|
239
239
|
deleteTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
240
240
|
// verify the required parameter 'worktypeId' is set
|
|
241
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
241
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
242
242
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
243
243
|
}
|
|
244
244
|
// verify the required parameter 'ruleId' is set
|
|
245
|
-
if (ruleId === undefined || ruleId === null) {
|
|
245
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
246
246
|
throw 'Missing the required parameter "ruleId" when calling deleteTaskmanagementWorktypeFlowsOncreateRule';
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -268,11 +268,11 @@ class TaskManagementApi {
|
|
|
268
268
|
*/
|
|
269
269
|
deleteTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
270
270
|
// verify the required parameter 'worktypeId' is set
|
|
271
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
271
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
272
272
|
throw 'Missing the required parameter "worktypeId" when calling deleteTaskmanagementWorktypeStatus';
|
|
273
273
|
}
|
|
274
274
|
// verify the required parameter 'statusId' is set
|
|
275
|
-
if (statusId === undefined || statusId === null) {
|
|
275
|
+
if (statusId === undefined || statusId === null || statusId === '') {
|
|
276
276
|
throw 'Missing the required parameter "statusId" when calling deleteTaskmanagementWorktypeStatus';
|
|
277
277
|
}
|
|
278
278
|
|
|
@@ -297,7 +297,7 @@ class TaskManagementApi {
|
|
|
297
297
|
*/
|
|
298
298
|
getTaskmanagementWorkbin(workbinId) {
|
|
299
299
|
// verify the required parameter 'workbinId' is set
|
|
300
|
-
if (workbinId === undefined || workbinId === null) {
|
|
300
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
301
301
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbin';
|
|
302
302
|
}
|
|
303
303
|
|
|
@@ -328,7 +328,7 @@ class TaskManagementApi {
|
|
|
328
328
|
opts = opts || {};
|
|
329
329
|
|
|
330
330
|
// verify the required parameter 'workbinId' is set
|
|
331
|
-
if (workbinId === undefined || workbinId === null) {
|
|
331
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
332
332
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinHistory';
|
|
333
333
|
}
|
|
334
334
|
|
|
@@ -354,7 +354,7 @@ class TaskManagementApi {
|
|
|
354
354
|
*/
|
|
355
355
|
getTaskmanagementWorkbinVersion(workbinId, entityVersion) {
|
|
356
356
|
// verify the required parameter 'workbinId' is set
|
|
357
|
-
if (workbinId === undefined || workbinId === null) {
|
|
357
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
358
358
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersion';
|
|
359
359
|
}
|
|
360
360
|
// verify the required parameter 'entityVersion' is set
|
|
@@ -389,7 +389,7 @@ class TaskManagementApi {
|
|
|
389
389
|
opts = opts || {};
|
|
390
390
|
|
|
391
391
|
// verify the required parameter 'workbinId' is set
|
|
392
|
-
if (workbinId === undefined || workbinId === null) {
|
|
392
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
393
393
|
throw 'Missing the required parameter "workbinId" when calling getTaskmanagementWorkbinVersions';
|
|
394
394
|
}
|
|
395
395
|
|
|
@@ -418,7 +418,7 @@ class TaskManagementApi {
|
|
|
418
418
|
opts = opts || {};
|
|
419
419
|
|
|
420
420
|
// verify the required parameter 'workitemId' is set
|
|
421
|
-
if (workitemId === undefined || workitemId === null) {
|
|
421
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
422
422
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitem';
|
|
423
423
|
}
|
|
424
424
|
|
|
@@ -449,7 +449,7 @@ class TaskManagementApi {
|
|
|
449
449
|
opts = opts || {};
|
|
450
450
|
|
|
451
451
|
// verify the required parameter 'workitemId' is set
|
|
452
|
-
if (workitemId === undefined || workitemId === null) {
|
|
452
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
453
453
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemHistory';
|
|
454
454
|
}
|
|
455
455
|
|
|
@@ -482,11 +482,11 @@ class TaskManagementApi {
|
|
|
482
482
|
opts = opts || {};
|
|
483
483
|
|
|
484
484
|
// verify the required parameter 'workitemId' is set
|
|
485
|
-
if (workitemId === undefined || workitemId === null) {
|
|
485
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
486
486
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemUserWrapups';
|
|
487
487
|
}
|
|
488
488
|
// verify the required parameter 'userId' is set
|
|
489
|
-
if (userId === undefined || userId === null) {
|
|
489
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
490
490
|
throw 'Missing the required parameter "userId" when calling getTaskmanagementWorkitemUserWrapups';
|
|
491
491
|
}
|
|
492
492
|
|
|
@@ -512,7 +512,7 @@ class TaskManagementApi {
|
|
|
512
512
|
*/
|
|
513
513
|
getTaskmanagementWorkitemVersion(workitemId, entityVersion) {
|
|
514
514
|
// verify the required parameter 'workitemId' is set
|
|
515
|
-
if (workitemId === undefined || workitemId === null) {
|
|
515
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
516
516
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersion';
|
|
517
517
|
}
|
|
518
518
|
// verify the required parameter 'entityVersion' is set
|
|
@@ -547,7 +547,7 @@ class TaskManagementApi {
|
|
|
547
547
|
opts = opts || {};
|
|
548
548
|
|
|
549
549
|
// verify the required parameter 'workitemId' is set
|
|
550
|
-
if (workitemId === undefined || workitemId === null) {
|
|
550
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
551
551
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemVersions';
|
|
552
552
|
}
|
|
553
553
|
|
|
@@ -579,7 +579,7 @@ class TaskManagementApi {
|
|
|
579
579
|
opts = opts || {};
|
|
580
580
|
|
|
581
581
|
// verify the required parameter 'workitemId' is set
|
|
582
|
-
if (workitemId === undefined || workitemId === null) {
|
|
582
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
583
583
|
throw 'Missing the required parameter "workitemId" when calling getTaskmanagementWorkitemWrapups';
|
|
584
584
|
}
|
|
585
585
|
|
|
@@ -604,7 +604,7 @@ class TaskManagementApi {
|
|
|
604
604
|
*/
|
|
605
605
|
getTaskmanagementWorkitemsBulkAddJob(bulkJobId) {
|
|
606
606
|
// verify the required parameter 'bulkJobId' is set
|
|
607
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
607
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
608
608
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJob';
|
|
609
609
|
}
|
|
610
610
|
|
|
@@ -629,7 +629,7 @@ class TaskManagementApi {
|
|
|
629
629
|
*/
|
|
630
630
|
getTaskmanagementWorkitemsBulkAddJobResults(bulkJobId) {
|
|
631
631
|
// verify the required parameter 'bulkJobId' is set
|
|
632
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
632
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
633
633
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkAddJobResults';
|
|
634
634
|
}
|
|
635
635
|
|
|
@@ -681,7 +681,7 @@ class TaskManagementApi {
|
|
|
681
681
|
*/
|
|
682
682
|
getTaskmanagementWorkitemsBulkTerminateJob(bulkJobId) {
|
|
683
683
|
// verify the required parameter 'bulkJobId' is set
|
|
684
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
684
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
685
685
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJob';
|
|
686
686
|
}
|
|
687
687
|
|
|
@@ -706,7 +706,7 @@ class TaskManagementApi {
|
|
|
706
706
|
*/
|
|
707
707
|
getTaskmanagementWorkitemsBulkTerminateJobResults(bulkJobId) {
|
|
708
708
|
// verify the required parameter 'bulkJobId' is set
|
|
709
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
709
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
710
710
|
throw 'Missing the required parameter "bulkJobId" when calling getTaskmanagementWorkitemsBulkTerminateJobResults';
|
|
711
711
|
}
|
|
712
712
|
|
|
@@ -731,7 +731,7 @@ class TaskManagementApi {
|
|
|
731
731
|
*/
|
|
732
732
|
getTaskmanagementWorkitemsQueryJob(jobId) {
|
|
733
733
|
// verify the required parameter 'jobId' is set
|
|
734
|
-
if (jobId === undefined || jobId === null) {
|
|
734
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
735
735
|
throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJob';
|
|
736
736
|
}
|
|
737
737
|
|
|
@@ -756,7 +756,7 @@ class TaskManagementApi {
|
|
|
756
756
|
*/
|
|
757
757
|
getTaskmanagementWorkitemsQueryJobResults(jobId) {
|
|
758
758
|
// verify the required parameter 'jobId' is set
|
|
759
|
-
if (jobId === undefined || jobId === null) {
|
|
759
|
+
if (jobId === undefined || jobId === null || jobId === '') {
|
|
760
760
|
throw 'Missing the required parameter "jobId" when calling getTaskmanagementWorkitemsQueryJobResults';
|
|
761
761
|
}
|
|
762
762
|
|
|
@@ -781,7 +781,7 @@ class TaskManagementApi {
|
|
|
781
781
|
*/
|
|
782
782
|
getTaskmanagementWorkitemsSchema(schemaId) {
|
|
783
783
|
// verify the required parameter 'schemaId' is set
|
|
784
|
-
if (schemaId === undefined || schemaId === null) {
|
|
784
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
785
785
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchema';
|
|
786
786
|
}
|
|
787
787
|
|
|
@@ -807,11 +807,11 @@ class TaskManagementApi {
|
|
|
807
807
|
*/
|
|
808
808
|
getTaskmanagementWorkitemsSchemaVersion(schemaId, versionId) {
|
|
809
809
|
// verify the required parameter 'schemaId' is set
|
|
810
|
-
if (schemaId === undefined || schemaId === null) {
|
|
810
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
811
811
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersion';
|
|
812
812
|
}
|
|
813
813
|
// verify the required parameter 'versionId' is set
|
|
814
|
-
if (versionId === undefined || versionId === null) {
|
|
814
|
+
if (versionId === undefined || versionId === null || versionId === '') {
|
|
815
815
|
throw 'Missing the required parameter "versionId" when calling getTaskmanagementWorkitemsSchemaVersion';
|
|
816
816
|
}
|
|
817
817
|
|
|
@@ -836,7 +836,7 @@ class TaskManagementApi {
|
|
|
836
836
|
*/
|
|
837
837
|
getTaskmanagementWorkitemsSchemaVersions(schemaId) {
|
|
838
838
|
// verify the required parameter 'schemaId' is set
|
|
839
|
-
if (schemaId === undefined || schemaId === null) {
|
|
839
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
840
840
|
throw 'Missing the required parameter "schemaId" when calling getTaskmanagementWorkitemsSchemaVersions';
|
|
841
841
|
}
|
|
842
842
|
|
|
@@ -881,7 +881,7 @@ class TaskManagementApi {
|
|
|
881
881
|
*/
|
|
882
882
|
getTaskmanagementWorkitemsSchemasCoretype(coreTypeName) {
|
|
883
883
|
// verify the required parameter 'coreTypeName' is set
|
|
884
|
-
if (coreTypeName === undefined || coreTypeName === null) {
|
|
884
|
+
if (coreTypeName === undefined || coreTypeName === null || coreTypeName === '') {
|
|
885
885
|
throw 'Missing the required parameter "coreTypeName" when calling getTaskmanagementWorkitemsSchemasCoretype';
|
|
886
886
|
}
|
|
887
887
|
|
|
@@ -950,7 +950,7 @@ class TaskManagementApi {
|
|
|
950
950
|
opts = opts || {};
|
|
951
951
|
|
|
952
952
|
// verify the required parameter 'worktypeId' is set
|
|
953
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
953
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
954
954
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktype';
|
|
955
955
|
}
|
|
956
956
|
|
|
@@ -976,11 +976,11 @@ class TaskManagementApi {
|
|
|
976
976
|
*/
|
|
977
977
|
getTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId) {
|
|
978
978
|
// verify the required parameter 'worktypeId' is set
|
|
979
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
979
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
980
980
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
981
981
|
}
|
|
982
982
|
// verify the required parameter 'ruleId' is set
|
|
983
|
-
if (ruleId === undefined || ruleId === null) {
|
|
983
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
984
984
|
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsDatebasedRule';
|
|
985
985
|
}
|
|
986
986
|
|
|
@@ -1010,7 +1010,7 @@ class TaskManagementApi {
|
|
|
1010
1010
|
opts = opts || {};
|
|
1011
1011
|
|
|
1012
1012
|
// verify the required parameter 'worktypeId' is set
|
|
1013
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1013
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1014
1014
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsDatebasedRules';
|
|
1015
1015
|
}
|
|
1016
1016
|
|
|
@@ -1036,11 +1036,11 @@ class TaskManagementApi {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
getTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId) {
|
|
1038
1038
|
// verify the required parameter 'worktypeId' is set
|
|
1039
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1039
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1040
1040
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
1041
1041
|
}
|
|
1042
1042
|
// verify the required parameter 'ruleId' is set
|
|
1043
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1043
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1044
1044
|
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
@@ -1070,7 +1070,7 @@ class TaskManagementApi {
|
|
|
1070
1070
|
opts = opts || {};
|
|
1071
1071
|
|
|
1072
1072
|
// verify the required parameter 'worktypeId' is set
|
|
1073
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1073
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1074
1074
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
1075
1075
|
}
|
|
1076
1076
|
|
|
@@ -1096,11 +1096,11 @@ class TaskManagementApi {
|
|
|
1096
1096
|
*/
|
|
1097
1097
|
getTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId) {
|
|
1098
1098
|
// verify the required parameter 'worktypeId' is set
|
|
1099
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1099
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1100
1100
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
1101
1101
|
}
|
|
1102
1102
|
// verify the required parameter 'ruleId' is set
|
|
1103
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1103
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1104
1104
|
throw 'Missing the required parameter "ruleId" when calling getTaskmanagementWorktypeFlowsOncreateRule';
|
|
1105
1105
|
}
|
|
1106
1106
|
|
|
@@ -1130,7 +1130,7 @@ class TaskManagementApi {
|
|
|
1130
1130
|
opts = opts || {};
|
|
1131
1131
|
|
|
1132
1132
|
// verify the required parameter 'worktypeId' is set
|
|
1133
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1133
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1134
1134
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeFlowsOncreateRules';
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
@@ -1162,7 +1162,7 @@ class TaskManagementApi {
|
|
|
1162
1162
|
opts = opts || {};
|
|
1163
1163
|
|
|
1164
1164
|
// verify the required parameter 'worktypeId' is set
|
|
1165
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1165
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1166
1166
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeHistory';
|
|
1167
1167
|
}
|
|
1168
1168
|
|
|
@@ -1188,11 +1188,11 @@ class TaskManagementApi {
|
|
|
1188
1188
|
*/
|
|
1189
1189
|
getTaskmanagementWorktypeStatus(worktypeId, statusId) {
|
|
1190
1190
|
// verify the required parameter 'worktypeId' is set
|
|
1191
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1191
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1192
1192
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatus';
|
|
1193
1193
|
}
|
|
1194
1194
|
// verify the required parameter 'statusId' is set
|
|
1195
|
-
if (statusId === undefined || statusId === null) {
|
|
1195
|
+
if (statusId === undefined || statusId === null || statusId === '') {
|
|
1196
1196
|
throw 'Missing the required parameter "statusId" when calling getTaskmanagementWorktypeStatus';
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
@@ -1217,7 +1217,7 @@ class TaskManagementApi {
|
|
|
1217
1217
|
*/
|
|
1218
1218
|
getTaskmanagementWorktypeStatuses(worktypeId) {
|
|
1219
1219
|
// verify the required parameter 'worktypeId' is set
|
|
1220
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1220
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1221
1221
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeStatuses';
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
@@ -1243,7 +1243,7 @@ class TaskManagementApi {
|
|
|
1243
1243
|
*/
|
|
1244
1244
|
getTaskmanagementWorktypeVersion(worktypeId, entityVersion) {
|
|
1245
1245
|
// verify the required parameter 'worktypeId' is set
|
|
1246
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1246
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1247
1247
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersion';
|
|
1248
1248
|
}
|
|
1249
1249
|
// verify the required parameter 'entityVersion' is set
|
|
@@ -1278,7 +1278,7 @@ class TaskManagementApi {
|
|
|
1278
1278
|
opts = opts || {};
|
|
1279
1279
|
|
|
1280
1280
|
// verify the required parameter 'worktypeId' is set
|
|
1281
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1281
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1282
1282
|
throw 'Missing the required parameter "worktypeId" when calling getTaskmanagementWorktypeVersions';
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
@@ -1304,7 +1304,7 @@ class TaskManagementApi {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
patchTaskmanagementWorkbin(workbinId, body) {
|
|
1306
1306
|
// verify the required parameter 'workbinId' is set
|
|
1307
|
-
if (workbinId === undefined || workbinId === null) {
|
|
1307
|
+
if (workbinId === undefined || workbinId === null || workbinId === '') {
|
|
1308
1308
|
throw 'Missing the required parameter "workbinId" when calling patchTaskmanagementWorkbin';
|
|
1309
1309
|
}
|
|
1310
1310
|
// verify the required parameter 'body' is set
|
|
@@ -1334,7 +1334,7 @@ class TaskManagementApi {
|
|
|
1334
1334
|
*/
|
|
1335
1335
|
patchTaskmanagementWorkitem(workitemId, body) {
|
|
1336
1336
|
// verify the required parameter 'workitemId' is set
|
|
1337
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1337
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1338
1338
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitem';
|
|
1339
1339
|
}
|
|
1340
1340
|
// verify the required parameter 'body' is set
|
|
@@ -1364,7 +1364,7 @@ class TaskManagementApi {
|
|
|
1364
1364
|
*/
|
|
1365
1365
|
patchTaskmanagementWorkitemAssignment(workitemId, body) {
|
|
1366
1366
|
// verify the required parameter 'workitemId' is set
|
|
1367
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1367
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1368
1368
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemAssignment';
|
|
1369
1369
|
}
|
|
1370
1370
|
// verify the required parameter 'body' is set
|
|
@@ -1395,11 +1395,11 @@ class TaskManagementApi {
|
|
|
1395
1395
|
*/
|
|
1396
1396
|
patchTaskmanagementWorkitemUserWrapups(workitemId, userId, body) {
|
|
1397
1397
|
// verify the required parameter 'workitemId' is set
|
|
1398
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1398
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1399
1399
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
1400
1400
|
}
|
|
1401
1401
|
// verify the required parameter 'userId' is set
|
|
1402
|
-
if (userId === undefined || userId === null) {
|
|
1402
|
+
if (userId === undefined || userId === null || userId === '') {
|
|
1403
1403
|
throw 'Missing the required parameter "userId" when calling patchTaskmanagementWorkitemUserWrapups';
|
|
1404
1404
|
}
|
|
1405
1405
|
// verify the required parameter 'body' is set
|
|
@@ -1429,7 +1429,7 @@ class TaskManagementApi {
|
|
|
1429
1429
|
*/
|
|
1430
1430
|
patchTaskmanagementWorkitemUsersMeWrapups(workitemId, body) {
|
|
1431
1431
|
// verify the required parameter 'workitemId' is set
|
|
1432
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1432
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1433
1433
|
throw 'Missing the required parameter "workitemId" when calling patchTaskmanagementWorkitemUsersMeWrapups';
|
|
1434
1434
|
}
|
|
1435
1435
|
// verify the required parameter 'body' is set
|
|
@@ -1459,7 +1459,7 @@ class TaskManagementApi {
|
|
|
1459
1459
|
*/
|
|
1460
1460
|
patchTaskmanagementWorkitemsBulkAddJob(bulkJobId, body) {
|
|
1461
1461
|
// verify the required parameter 'bulkJobId' is set
|
|
1462
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
1462
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
1463
1463
|
throw 'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkAddJob';
|
|
1464
1464
|
}
|
|
1465
1465
|
// verify the required parameter 'body' is set
|
|
@@ -1489,7 +1489,7 @@ class TaskManagementApi {
|
|
|
1489
1489
|
*/
|
|
1490
1490
|
patchTaskmanagementWorkitemsBulkTerminateJob(bulkJobId, body) {
|
|
1491
1491
|
// verify the required parameter 'bulkJobId' is set
|
|
1492
|
-
if (bulkJobId === undefined || bulkJobId === null) {
|
|
1492
|
+
if (bulkJobId === undefined || bulkJobId === null || bulkJobId === '') {
|
|
1493
1493
|
throw 'Missing the required parameter "bulkJobId" when calling patchTaskmanagementWorkitemsBulkTerminateJob';
|
|
1494
1494
|
}
|
|
1495
1495
|
// verify the required parameter 'body' is set
|
|
@@ -1519,7 +1519,7 @@ class TaskManagementApi {
|
|
|
1519
1519
|
*/
|
|
1520
1520
|
patchTaskmanagementWorktype(worktypeId, body) {
|
|
1521
1521
|
// verify the required parameter 'worktypeId' is set
|
|
1522
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1522
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1523
1523
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktype';
|
|
1524
1524
|
}
|
|
1525
1525
|
// verify the required parameter 'body' is set
|
|
@@ -1550,11 +1550,11 @@ class TaskManagementApi {
|
|
|
1550
1550
|
*/
|
|
1551
1551
|
patchTaskmanagementWorktypeFlowsDatebasedRule(worktypeId, ruleId, body) {
|
|
1552
1552
|
// verify the required parameter 'worktypeId' is set
|
|
1553
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1553
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1554
1554
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
1555
1555
|
}
|
|
1556
1556
|
// verify the required parameter 'ruleId' is set
|
|
1557
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1557
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1558
1558
|
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsDatebasedRule';
|
|
1559
1559
|
}
|
|
1560
1560
|
// verify the required parameter 'body' is set
|
|
@@ -1585,11 +1585,11 @@ class TaskManagementApi {
|
|
|
1585
1585
|
*/
|
|
1586
1586
|
patchTaskmanagementWorktypeFlowsOnattributechangeRule(worktypeId, ruleId, body) {
|
|
1587
1587
|
// verify the required parameter 'worktypeId' is set
|
|
1588
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1588
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1589
1589
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
1590
1590
|
}
|
|
1591
1591
|
// verify the required parameter 'ruleId' is set
|
|
1592
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1592
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1593
1593
|
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOnattributechangeRule';
|
|
1594
1594
|
}
|
|
1595
1595
|
// verify the required parameter 'body' is set
|
|
@@ -1620,11 +1620,11 @@ class TaskManagementApi {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
patchTaskmanagementWorktypeFlowsOncreateRule(worktypeId, ruleId, body) {
|
|
1622
1622
|
// verify the required parameter 'worktypeId' is set
|
|
1623
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1623
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1624
1624
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
1625
1625
|
}
|
|
1626
1626
|
// verify the required parameter 'ruleId' is set
|
|
1627
|
-
if (ruleId === undefined || ruleId === null) {
|
|
1627
|
+
if (ruleId === undefined || ruleId === null || ruleId === '') {
|
|
1628
1628
|
throw 'Missing the required parameter "ruleId" when calling patchTaskmanagementWorktypeFlowsOncreateRule';
|
|
1629
1629
|
}
|
|
1630
1630
|
// verify the required parameter 'body' is set
|
|
@@ -1655,11 +1655,11 @@ class TaskManagementApi {
|
|
|
1655
1655
|
*/
|
|
1656
1656
|
patchTaskmanagementWorktypeStatus(worktypeId, statusId, body) {
|
|
1657
1657
|
// verify the required parameter 'worktypeId' is set
|
|
1658
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1658
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1659
1659
|
throw 'Missing the required parameter "worktypeId" when calling patchTaskmanagementWorktypeStatus';
|
|
1660
1660
|
}
|
|
1661
1661
|
// verify the required parameter 'statusId' is set
|
|
1662
|
-
if (statusId === undefined || statusId === null) {
|
|
1662
|
+
if (statusId === undefined || statusId === null || statusId === '') {
|
|
1663
1663
|
throw 'Missing the required parameter "statusId" when calling patchTaskmanagementWorktypeStatus';
|
|
1664
1664
|
}
|
|
1665
1665
|
// verify the required parameter 'body' is set
|
|
@@ -1738,7 +1738,7 @@ class TaskManagementApi {
|
|
|
1738
1738
|
*/
|
|
1739
1739
|
postTaskmanagementWorkitemAcdCancel(workitemId) {
|
|
1740
1740
|
// verify the required parameter 'workitemId' is set
|
|
1741
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1741
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1742
1742
|
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemAcdCancel';
|
|
1743
1743
|
}
|
|
1744
1744
|
|
|
@@ -1763,7 +1763,7 @@ class TaskManagementApi {
|
|
|
1763
1763
|
*/
|
|
1764
1764
|
postTaskmanagementWorkitemDisconnect(workitemId) {
|
|
1765
1765
|
// verify the required parameter 'workitemId' is set
|
|
1766
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1766
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1767
1767
|
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemDisconnect';
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
@@ -1792,7 +1792,7 @@ class TaskManagementApi {
|
|
|
1792
1792
|
opts = opts || {};
|
|
1793
1793
|
|
|
1794
1794
|
// verify the required parameter 'workitemId' is set
|
|
1795
|
-
if (workitemId === undefined || workitemId === null) {
|
|
1795
|
+
if (workitemId === undefined || workitemId === null || workitemId === '') {
|
|
1796
1796
|
throw 'Missing the required parameter "workitemId" when calling postTaskmanagementWorkitemTerminate';
|
|
1797
1797
|
}
|
|
1798
1798
|
|
|
@@ -1969,7 +1969,7 @@ class TaskManagementApi {
|
|
|
1969
1969
|
*/
|
|
1970
1970
|
postTaskmanagementWorktypeFlowsDatebasedRules(worktypeId, body) {
|
|
1971
1971
|
// verify the required parameter 'worktypeId' is set
|
|
1972
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
1972
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
1973
1973
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsDatebasedRules';
|
|
1974
1974
|
}
|
|
1975
1975
|
// verify the required parameter 'body' is set
|
|
@@ -1999,7 +1999,7 @@ class TaskManagementApi {
|
|
|
1999
1999
|
*/
|
|
2000
2000
|
postTaskmanagementWorktypeFlowsOnattributechangeRules(worktypeId, body) {
|
|
2001
2001
|
// verify the required parameter 'worktypeId' is set
|
|
2002
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
2002
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2003
2003
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOnattributechangeRules';
|
|
2004
2004
|
}
|
|
2005
2005
|
// verify the required parameter 'body' is set
|
|
@@ -2029,7 +2029,7 @@ class TaskManagementApi {
|
|
|
2029
2029
|
*/
|
|
2030
2030
|
postTaskmanagementWorktypeFlowsOncreateRules(worktypeId, body) {
|
|
2031
2031
|
// verify the required parameter 'worktypeId' is set
|
|
2032
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
2032
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2033
2033
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeFlowsOncreateRules';
|
|
2034
2034
|
}
|
|
2035
2035
|
// verify the required parameter 'body' is set
|
|
@@ -2059,7 +2059,7 @@ class TaskManagementApi {
|
|
|
2059
2059
|
*/
|
|
2060
2060
|
postTaskmanagementWorktypeStatuses(worktypeId, body) {
|
|
2061
2061
|
// verify the required parameter 'worktypeId' is set
|
|
2062
|
-
if (worktypeId === undefined || worktypeId === null) {
|
|
2062
|
+
if (worktypeId === undefined || worktypeId === null || worktypeId === '') {
|
|
2063
2063
|
throw 'Missing the required parameter "worktypeId" when calling postTaskmanagementWorktypeStatuses';
|
|
2064
2064
|
}
|
|
2065
2065
|
// verify the required parameter 'body' is set
|
|
@@ -2139,7 +2139,7 @@ class TaskManagementApi {
|
|
|
2139
2139
|
*/
|
|
2140
2140
|
putTaskmanagementWorkitemsSchema(schemaId, body) {
|
|
2141
2141
|
// verify the required parameter 'schemaId' is set
|
|
2142
|
-
if (schemaId === undefined || schemaId === null) {
|
|
2142
|
+
if (schemaId === undefined || schemaId === null || schemaId === '') {
|
|
2143
2143
|
throw 'Missing the required parameter "schemaId" when calling putTaskmanagementWorkitemsSchema';
|
|
2144
2144
|
}
|
|
2145
2145
|
// verify the required parameter 'body' is set
|