@camunda8/orchestration-cluster-api 8.9.0-alpha.1 → 8.9.0-alpha.3
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/CHANGELOG.md +14 -0
- package/dist/{chunk-2TYCJIPM.js → chunk-TDV2PIHJ.js} +1140 -299
- package/dist/chunk-TDV2PIHJ.js.map +1 -0
- package/dist/fp/index.cjs +1139 -298
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-DzDwKhSN.d.cts → index-Cgy-WL94.d.cts} +1641 -385
- package/dist/{index-Ds4IHZmG.d.ts → index-D7fgCwa4.d.ts} +1641 -385
- package/dist/index.cjs +1156 -292
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/dist/chunk-2TYCJIPM.js.map +0 -1
|
@@ -1349,6 +1349,18 @@ var getGlobalClusterVariable = (options) => {
|
|
|
1349
1349
|
...options
|
|
1350
1350
|
});
|
|
1351
1351
|
};
|
|
1352
|
+
var updateGlobalClusterVariable = (options) => {
|
|
1353
|
+
return (options.client ?? client).put({
|
|
1354
|
+
requestValidator: void 0,
|
|
1355
|
+
responseValidator: void 0,
|
|
1356
|
+
url: "/cluster-variables/global/{name}",
|
|
1357
|
+
...options,
|
|
1358
|
+
headers: {
|
|
1359
|
+
"Content-Type": "application/json",
|
|
1360
|
+
...options.headers
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
};
|
|
1352
1364
|
var searchClusterVariables = (options) => {
|
|
1353
1365
|
return (options?.client ?? client).post({
|
|
1354
1366
|
requestValidator: void 0,
|
|
@@ -1389,6 +1401,18 @@ var getTenantClusterVariable = (options) => {
|
|
|
1389
1401
|
...options
|
|
1390
1402
|
});
|
|
1391
1403
|
};
|
|
1404
|
+
var updateTenantClusterVariable = (options) => {
|
|
1405
|
+
return (options.client ?? client).put({
|
|
1406
|
+
requestValidator: void 0,
|
|
1407
|
+
responseValidator: void 0,
|
|
1408
|
+
url: "/cluster-variables/tenants/{tenantId}/{name}",
|
|
1409
|
+
...options,
|
|
1410
|
+
headers: {
|
|
1411
|
+
"Content-Type": "application/json",
|
|
1412
|
+
...options.headers
|
|
1413
|
+
}
|
|
1414
|
+
});
|
|
1415
|
+
};
|
|
1392
1416
|
var evaluateConditionals = (options) => {
|
|
1393
1417
|
return (options.client ?? client).post({
|
|
1394
1418
|
requestValidator: void 0,
|
|
@@ -1473,6 +1497,30 @@ var getDecisionInstance = (options) => {
|
|
|
1473
1497
|
...options
|
|
1474
1498
|
});
|
|
1475
1499
|
};
|
|
1500
|
+
var deleteDecisionInstance = (options) => {
|
|
1501
|
+
return (options.client ?? client).post({
|
|
1502
|
+
requestValidator: void 0,
|
|
1503
|
+
responseValidator: void 0,
|
|
1504
|
+
url: "/decision-instances/{decisionInstanceKey}/deletion",
|
|
1505
|
+
...options,
|
|
1506
|
+
headers: {
|
|
1507
|
+
"Content-Type": "application/json",
|
|
1508
|
+
...options.headers
|
|
1509
|
+
}
|
|
1510
|
+
});
|
|
1511
|
+
};
|
|
1512
|
+
var deleteDecisionInstancesBatchOperation = (options) => {
|
|
1513
|
+
return (options.client ?? client).post({
|
|
1514
|
+
requestValidator: void 0,
|
|
1515
|
+
responseValidator: void 0,
|
|
1516
|
+
url: "/decision-instances/deletion",
|
|
1517
|
+
...options,
|
|
1518
|
+
headers: {
|
|
1519
|
+
"Content-Type": "application/json",
|
|
1520
|
+
...options.headers
|
|
1521
|
+
}
|
|
1522
|
+
});
|
|
1523
|
+
};
|
|
1476
1524
|
var searchDecisionRequirements = (options) => {
|
|
1477
1525
|
return (options?.client ?? client).post({
|
|
1478
1526
|
requestValidator: void 0,
|
|
@@ -1912,6 +1960,14 @@ var failJob = (options) => {
|
|
|
1912
1960
|
}
|
|
1913
1961
|
});
|
|
1914
1962
|
};
|
|
1963
|
+
var getGlobalJobStatistics = (options) => {
|
|
1964
|
+
return (options.client ?? client).get({
|
|
1965
|
+
requestValidator: void 0,
|
|
1966
|
+
responseValidator: void 0,
|
|
1967
|
+
url: "/jobs/statistics/global",
|
|
1968
|
+
...options
|
|
1969
|
+
});
|
|
1970
|
+
};
|
|
1915
1971
|
var getLicense = (options) => {
|
|
1916
1972
|
return (options?.client ?? client).get({
|
|
1917
1973
|
requestValidator: void 0,
|
|
@@ -2084,7 +2140,7 @@ var getProcessDefinitionInstanceVersionStatistics = (options) => {
|
|
|
2084
2140
|
return (options.client ?? client).post({
|
|
2085
2141
|
requestValidator: void 0,
|
|
2086
2142
|
responseValidator: void 0,
|
|
2087
|
-
url: "/process-definitions/
|
|
2143
|
+
url: "/process-definitions/statistics/process-instances-by-version",
|
|
2088
2144
|
...options,
|
|
2089
2145
|
headers: {
|
|
2090
2146
|
"Content-Type": "application/json",
|
|
@@ -2897,7 +2953,9 @@ __export(zod_gen_exports, {
|
|
|
2897
2953
|
zAdvancedDateTimeFilter: () => zAdvancedDateTimeFilter,
|
|
2898
2954
|
zAdvancedDecisionDefinitionKeyFilter: () => zAdvancedDecisionDefinitionKeyFilter,
|
|
2899
2955
|
zAdvancedDecisionEvaluationInstanceKeyFilter: () => zAdvancedDecisionEvaluationInstanceKeyFilter,
|
|
2956
|
+
zAdvancedDecisionEvaluationKeyFilter: () => zAdvancedDecisionEvaluationKeyFilter,
|
|
2900
2957
|
zAdvancedDecisionInstanceStateFilter: () => zAdvancedDecisionInstanceStateFilter,
|
|
2958
|
+
zAdvancedDecisionRequirementsKeyFilter: () => zAdvancedDecisionRequirementsKeyFilter,
|
|
2901
2959
|
zAdvancedDeploymentKeyFilter: () => zAdvancedDeploymentKeyFilter,
|
|
2902
2960
|
zAdvancedElementInstanceKeyFilter: () => zAdvancedElementInstanceKeyFilter,
|
|
2903
2961
|
zAdvancedElementInstanceStateFilter: () => zAdvancedElementInstanceStateFilter,
|
|
@@ -2978,7 +3036,6 @@ __export(zod_gen_exports, {
|
|
|
2978
3036
|
zBaseProcessInstanceFilterFields: () => zBaseProcessInstanceFilterFields,
|
|
2979
3037
|
zBasicStringFilter: () => zBasicStringFilter,
|
|
2980
3038
|
zBasicStringFilterProperty: () => zBasicStringFilterProperty,
|
|
2981
|
-
zBatchOperationActorTypeEnum: () => zBatchOperationActorTypeEnum,
|
|
2982
3039
|
zBatchOperationCreatedResult: () => zBatchOperationCreatedResult,
|
|
2983
3040
|
zBatchOperationError: () => zBatchOperationError,
|
|
2984
3041
|
zBatchOperationFilter: () => zBatchOperationFilter,
|
|
@@ -3083,6 +3140,8 @@ __export(zod_gen_exports, {
|
|
|
3083
3140
|
zDecisionEvaluationInstanceKeyFilterProperty: () => zDecisionEvaluationInstanceKeyFilterProperty,
|
|
3084
3141
|
zDecisionEvaluationInstruction: () => zDecisionEvaluationInstruction,
|
|
3085
3142
|
zDecisionEvaluationKey: () => zDecisionEvaluationKey,
|
|
3143
|
+
zDecisionEvaluationKeyFilterProperty: () => zDecisionEvaluationKeyFilterProperty,
|
|
3144
|
+
zDecisionInstanceDeletionBatchOperationRequest: () => zDecisionInstanceDeletionBatchOperationRequest,
|
|
3086
3145
|
zDecisionInstanceFilter: () => zDecisionInstanceFilter,
|
|
3087
3146
|
zDecisionInstanceGetQueryResult: () => zDecisionInstanceGetQueryResult,
|
|
3088
3147
|
zDecisionInstanceKey: () => zDecisionInstanceKey,
|
|
@@ -3094,12 +3153,18 @@ __export(zod_gen_exports, {
|
|
|
3094
3153
|
zDecisionInstanceStateFilterProperty: () => zDecisionInstanceStateFilterProperty,
|
|
3095
3154
|
zDecisionRequirementsFilter: () => zDecisionRequirementsFilter,
|
|
3096
3155
|
zDecisionRequirementsKey: () => zDecisionRequirementsKey,
|
|
3156
|
+
zDecisionRequirementsKeyFilterProperty: () => zDecisionRequirementsKeyFilterProperty,
|
|
3097
3157
|
zDecisionRequirementsResult: () => zDecisionRequirementsResult,
|
|
3098
3158
|
zDecisionRequirementsSearchQuery: () => zDecisionRequirementsSearchQuery,
|
|
3099
3159
|
zDecisionRequirementsSearchQueryResult: () => zDecisionRequirementsSearchQueryResult,
|
|
3100
3160
|
zDecisionRequirementsSearchQuerySortRequest: () => zDecisionRequirementsSearchQuerySortRequest,
|
|
3101
3161
|
zDeleteAuthorizationData: () => zDeleteAuthorizationData,
|
|
3102
3162
|
zDeleteAuthorizationResponse: () => zDeleteAuthorizationResponse,
|
|
3163
|
+
zDeleteDecisionInstanceData: () => zDeleteDecisionInstanceData,
|
|
3164
|
+
zDeleteDecisionInstanceRequest: () => zDeleteDecisionInstanceRequest,
|
|
3165
|
+
zDeleteDecisionInstanceResponse: () => zDeleteDecisionInstanceResponse,
|
|
3166
|
+
zDeleteDecisionInstancesBatchOperationData: () => zDeleteDecisionInstancesBatchOperationData,
|
|
3167
|
+
zDeleteDecisionInstancesBatchOperationResponse: () => zDeleteDecisionInstancesBatchOperationResponse,
|
|
3103
3168
|
zDeleteDocumentData: () => zDeleteDocumentData,
|
|
3104
3169
|
zDeleteDocumentResponse: () => zDeleteDocumentResponse,
|
|
3105
3170
|
zDeleteGlobalClusterVariableData: () => zDeleteGlobalClusterVariableData,
|
|
@@ -3197,6 +3262,8 @@ __export(zod_gen_exports, {
|
|
|
3197
3262
|
zGetElementInstanceResponse: () => zGetElementInstanceResponse,
|
|
3198
3263
|
zGetGlobalClusterVariableData: () => zGetGlobalClusterVariableData,
|
|
3199
3264
|
zGetGlobalClusterVariableResponse: () => zGetGlobalClusterVariableResponse,
|
|
3265
|
+
zGetGlobalJobStatisticsData: () => zGetGlobalJobStatisticsData,
|
|
3266
|
+
zGetGlobalJobStatisticsResponse: () => zGetGlobalJobStatisticsResponse,
|
|
3200
3267
|
zGetGroupData: () => zGetGroupData,
|
|
3201
3268
|
zGetGroupResponse: () => zGetGroupResponse,
|
|
3202
3269
|
zGetIncidentData: () => zGetIncidentData,
|
|
@@ -3255,6 +3322,7 @@ __export(zod_gen_exports, {
|
|
|
3255
3322
|
zGetUserTaskResponse: () => zGetUserTaskResponse,
|
|
3256
3323
|
zGetVariableData: () => zGetVariableData,
|
|
3257
3324
|
zGetVariableResponse: () => zGetVariableResponse,
|
|
3325
|
+
zGlobalJobStatisticsQueryResult: () => zGlobalJobStatisticsQueryResult,
|
|
3258
3326
|
zGroupClientResult: () => zGroupClientResult,
|
|
3259
3327
|
zGroupClientSearchQueryRequest: () => zGroupClientSearchQueryRequest,
|
|
3260
3328
|
zGroupClientSearchQuerySortRequest: () => zGroupClientSearchQuerySortRequest,
|
|
@@ -3464,6 +3532,7 @@ __export(zod_gen_exports, {
|
|
|
3464
3532
|
zRoleUserSearchQueryRequest: () => zRoleUserSearchQueryRequest,
|
|
3465
3533
|
zRoleUserSearchQuerySortRequest: () => zRoleUserSearchQuerySortRequest,
|
|
3466
3534
|
zRoleUserSearchResult: () => zRoleUserSearchResult,
|
|
3535
|
+
zRootProcessInstanceKey: () => zRootProcessInstanceKey,
|
|
3467
3536
|
zScopeKey: () => zScopeKey,
|
|
3468
3537
|
zScopeKeyFilterProperty: () => zScopeKeyFilterProperty,
|
|
3469
3538
|
zSearchAuditLogsData: () => zSearchAuditLogsData,
|
|
@@ -3557,6 +3626,7 @@ __export(zod_gen_exports, {
|
|
|
3557
3626
|
zSourceElementInstanceKeyInstruction: () => zSourceElementInstanceKeyInstruction,
|
|
3558
3627
|
zSourceElementInstruction: () => zSourceElementInstruction,
|
|
3559
3628
|
zStartCursor: () => zStartCursor,
|
|
3629
|
+
zStatusMetric: () => zStatusMetric,
|
|
3560
3630
|
zStringFilterProperty: () => zStringFilterProperty,
|
|
3561
3631
|
zSuspendBatchOperationData: () => zSuspendBatchOperationData,
|
|
3562
3632
|
zSuspendBatchOperationResponse: () => zSuspendBatchOperationResponse,
|
|
@@ -3569,6 +3639,7 @@ __export(zod_gen_exports, {
|
|
|
3569
3639
|
zTenantCreateRequest: () => zTenantCreateRequest,
|
|
3570
3640
|
zTenantCreateResult: () => zTenantCreateResult,
|
|
3571
3641
|
zTenantFilter: () => zTenantFilter,
|
|
3642
|
+
zTenantFilterEnum: () => zTenantFilterEnum,
|
|
3572
3643
|
zTenantGroupResult: () => zTenantGroupResult,
|
|
3573
3644
|
zTenantGroupSearchQueryRequest: () => zTenantGroupSearchQueryRequest,
|
|
3574
3645
|
zTenantGroupSearchQuerySortRequest: () => zTenantGroupSearchQuerySortRequest,
|
|
@@ -3615,6 +3686,9 @@ __export(zod_gen_exports, {
|
|
|
3615
3686
|
zUnassignUserTaskResponse: () => zUnassignUserTaskResponse,
|
|
3616
3687
|
zUpdateAuthorizationData: () => zUpdateAuthorizationData,
|
|
3617
3688
|
zUpdateAuthorizationResponse: () => zUpdateAuthorizationResponse,
|
|
3689
|
+
zUpdateClusterVariableRequest: () => zUpdateClusterVariableRequest,
|
|
3690
|
+
zUpdateGlobalClusterVariableData: () => zUpdateGlobalClusterVariableData,
|
|
3691
|
+
zUpdateGlobalClusterVariableResponse: () => zUpdateGlobalClusterVariableResponse,
|
|
3618
3692
|
zUpdateGroupData: () => zUpdateGroupData,
|
|
3619
3693
|
zUpdateGroupResponse: () => zUpdateGroupResponse,
|
|
3620
3694
|
zUpdateJobData: () => zUpdateJobData,
|
|
@@ -3623,6 +3697,8 @@ __export(zod_gen_exports, {
|
|
|
3623
3697
|
zUpdateMappingRuleResponse: () => zUpdateMappingRuleResponse,
|
|
3624
3698
|
zUpdateRoleData: () => zUpdateRoleData,
|
|
3625
3699
|
zUpdateRoleResponse: () => zUpdateRoleResponse,
|
|
3700
|
+
zUpdateTenantClusterVariableData: () => zUpdateTenantClusterVariableData,
|
|
3701
|
+
zUpdateTenantClusterVariableResponse: () => zUpdateTenantClusterVariableResponse,
|
|
3626
3702
|
zUpdateTenantData: () => zUpdateTenantData,
|
|
3627
3703
|
zUpdateTenantResponse: () => zUpdateTenantResponse,
|
|
3628
3704
|
zUpdateUserData: () => zUpdateUserData,
|
|
@@ -3687,7 +3763,8 @@ var zAuditLogEntityTypeEnum = z.enum([
|
|
|
3687
3763
|
"TENANT",
|
|
3688
3764
|
"USER",
|
|
3689
3765
|
"USER_TASK",
|
|
3690
|
-
"VARIABLE"
|
|
3766
|
+
"VARIABLE",
|
|
3767
|
+
"CLIENT"
|
|
3691
3768
|
]).register(z.globalRegistry, {
|
|
3692
3769
|
description: "The type of entity affected by the operation."
|
|
3693
3770
|
});
|
|
@@ -3908,6 +3985,7 @@ var zBatchOperationTypeEnum = z.enum([
|
|
|
3908
3985
|
"ADD_VARIABLE",
|
|
3909
3986
|
"CANCEL_PROCESS_INSTANCE",
|
|
3910
3987
|
"DELETE_DECISION_DEFINITION",
|
|
3988
|
+
"DELETE_DECISION_INSTANCE",
|
|
3911
3989
|
"DELETE_PROCESS_DEFINITION",
|
|
3912
3990
|
"DELETE_PROCESS_INSTANCE",
|
|
3913
3991
|
"MIGRATE_PROCESS_INSTANCE",
|
|
@@ -3917,12 +3995,6 @@ var zBatchOperationTypeEnum = z.enum([
|
|
|
3917
3995
|
]).register(z.globalRegistry, {
|
|
3918
3996
|
description: "The type of the batch operation."
|
|
3919
3997
|
});
|
|
3920
|
-
var zBatchOperationActorTypeEnum = z.enum([
|
|
3921
|
-
"CLIENT",
|
|
3922
|
-
"USER"
|
|
3923
|
-
]).register(z.globalRegistry, {
|
|
3924
|
-
description: "The type of the actor. Available for batch operations created since 8.9."
|
|
3925
|
-
});
|
|
3926
3998
|
var zClockPinRequest = z.object({
|
|
3927
3999
|
timestamp: z.coerce.bigint().register(z.globalRegistry, {
|
|
3928
4000
|
description: "The exact time in epoch milliseconds to which the clock should be pinned."
|
|
@@ -3942,6 +4014,11 @@ var zCreateClusterVariableRequest = z.object({
|
|
|
3942
4014
|
description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
|
|
3943
4015
|
})
|
|
3944
4016
|
});
|
|
4017
|
+
var zUpdateClusterVariableRequest = z.object({
|
|
4018
|
+
value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
4019
|
+
description: "The new value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
|
|
4020
|
+
})
|
|
4021
|
+
});
|
|
3945
4022
|
var zClusterVariableResultBase = z.object({
|
|
3946
4023
|
name: z.string().register(z.globalRegistry, {
|
|
3947
4024
|
description: "The name of the cluster variable. Unique within its scope (global or tenant-specific)."
|
|
@@ -4370,7 +4447,7 @@ var zBatchOperationFilter = z.object({
|
|
|
4370
4447
|
batchOperationKey: z.optional(zBasicStringFilterProperty),
|
|
4371
4448
|
operationType: z.optional(zBatchOperationTypeFilterProperty),
|
|
4372
4449
|
state: z.optional(zBatchOperationStateFilterProperty),
|
|
4373
|
-
actorType: z.optional(
|
|
4450
|
+
actorType: z.optional(zAuditLogActorTypeEnum),
|
|
4374
4451
|
actorId: z.optional(zStringFilterProperty)
|
|
4375
4452
|
}).register(z.globalRegistry, {
|
|
4376
4453
|
description: "Batch operation filter request."
|
|
@@ -4480,9 +4557,9 @@ var zGroupUpdateRequest = z.object({
|
|
|
4480
4557
|
name: z.string().register(z.globalRegistry, {
|
|
4481
4558
|
description: "The new name of the group."
|
|
4482
4559
|
}),
|
|
4483
|
-
description: z.string().register(z.globalRegistry, {
|
|
4560
|
+
description: z.optional(z.string().register(z.globalRegistry, {
|
|
4484
4561
|
description: "The new description of the group."
|
|
4485
|
-
})
|
|
4562
|
+
}))
|
|
4486
4563
|
});
|
|
4487
4564
|
var zGroupUpdateResult = z.object({
|
|
4488
4565
|
groupId: z.optional(z.string().register(z.globalRegistry, {
|
|
@@ -4661,28 +4738,25 @@ var zIncidentProcessInstanceStatisticsByDefinitionFilter = z.object({
|
|
|
4661
4738
|
}).register(z.globalRegistry, {
|
|
4662
4739
|
description: "Filter for the incident process instance statistics by definition query."
|
|
4663
4740
|
});
|
|
4664
|
-
var
|
|
4665
|
-
|
|
4666
|
-
description:
|
|
4667
|
-
}),
|
|
4668
|
-
worker: z.optional(z.string().register(z.globalRegistry, {
|
|
4669
|
-
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4670
|
-
})),
|
|
4671
|
-
timeout: z.coerce.bigint().register(z.globalRegistry, {
|
|
4672
|
-
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4673
|
-
}),
|
|
4674
|
-
maxJobsToActivate: z.int().register(z.globalRegistry, {
|
|
4675
|
-
description: "The maximum jobs to activate by this request."
|
|
4741
|
+
var zStatusMetric = z.object({
|
|
4742
|
+
count: z.coerce.bigint().register(z.globalRegistry, {
|
|
4743
|
+
description: "Number of jobs in this status."
|
|
4676
4744
|
}),
|
|
4677
|
-
|
|
4678
|
-
description: "
|
|
4679
|
-
})
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4745
|
+
lastUpdatedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
4746
|
+
description: "ISO 8601 timestamp of the last update for this status."
|
|
4747
|
+
})
|
|
4748
|
+
}).register(z.globalRegistry, {
|
|
4749
|
+
description: "Metric for a single job status."
|
|
4750
|
+
});
|
|
4751
|
+
var zGlobalJobStatisticsQueryResult = z.object({
|
|
4752
|
+
created: zStatusMetric,
|
|
4753
|
+
completed: zStatusMetric,
|
|
4754
|
+
failed: zStatusMetric,
|
|
4755
|
+
isIncomplete: z.boolean().register(z.globalRegistry, {
|
|
4756
|
+
description: "True if some data is missing because internal limits were reached and some metrics were not recorded."
|
|
4757
|
+
})
|
|
4758
|
+
}).register(z.globalRegistry, {
|
|
4759
|
+
description: "Global job statistics query result."
|
|
4686
4760
|
});
|
|
4687
4761
|
var zJobFailRequest = z.object({
|
|
4688
4762
|
retries: z.optional(z.int().register(z.globalRegistry, {
|
|
@@ -4809,6 +4883,36 @@ var zJobChangeset = z.object({
|
|
|
4809
4883
|
}).register(z.globalRegistry, {
|
|
4810
4884
|
description: "JSON object with changed job attribute values. The job cannot be completed or failed with this endpoint, use the complete job or fail job endpoints instead."
|
|
4811
4885
|
});
|
|
4886
|
+
var zTenantFilterEnum = z.enum([
|
|
4887
|
+
"PROVIDED",
|
|
4888
|
+
"ASSIGNED"
|
|
4889
|
+
]).register(z.globalRegistry, {
|
|
4890
|
+
description: "The tenant filtering strategy for job activation. Determines whether to use tenant IDs provided in the request or tenant IDs assigned to the authenticated principal.\n"
|
|
4891
|
+
});
|
|
4892
|
+
var zJobActivationRequest = z.object({
|
|
4893
|
+
type: z.string().register(z.globalRegistry, {
|
|
4894
|
+
description: 'The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)'
|
|
4895
|
+
}),
|
|
4896
|
+
worker: z.optional(z.string().register(z.globalRegistry, {
|
|
4897
|
+
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4898
|
+
})),
|
|
4899
|
+
timeout: z.coerce.bigint().register(z.globalRegistry, {
|
|
4900
|
+
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4901
|
+
}),
|
|
4902
|
+
maxJobsToActivate: z.int().register(z.globalRegistry, {
|
|
4903
|
+
description: "The maximum jobs to activate by this request."
|
|
4904
|
+
}),
|
|
4905
|
+
fetchVariable: z.optional(z.array(z.string()).register(z.globalRegistry, {
|
|
4906
|
+
description: "A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned."
|
|
4907
|
+
})),
|
|
4908
|
+
requestTimeout: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
4909
|
+
description: "The request will be completed when at least one job is activated or after the requestTimeout (in ms). If the requestTimeout = 0, a default timeout is used. If the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.\n"
|
|
4910
|
+
})),
|
|
4911
|
+
tenantIds: z.optional(z.array(zTenantId).register(z.globalRegistry, {
|
|
4912
|
+
description: "A list of IDs of tenants for which to activate jobs."
|
|
4913
|
+
})),
|
|
4914
|
+
tenantFilter: z.optional(zTenantFilterEnum)
|
|
4915
|
+
});
|
|
4812
4916
|
var zJobStateEnum = z.enum([
|
|
4813
4917
|
"CANCELED",
|
|
4814
4918
|
"COMPLETED",
|
|
@@ -4982,6 +5086,7 @@ var zDocumentCreationBatchResponse = z.object({
|
|
|
4982
5086
|
description: "Documents that failed creation."
|
|
4983
5087
|
}))
|
|
4984
5088
|
});
|
|
5089
|
+
var zRootProcessInstanceKey = zLongKey;
|
|
4985
5090
|
var zProcessDefinitionKey = zLongKey;
|
|
4986
5091
|
var zConditionalEvaluationInstruction = z.object({
|
|
4987
5092
|
tenantId: z.optional(zTenantId),
|
|
@@ -5196,6 +5301,7 @@ var zElementInstanceResult = z.object({
|
|
|
5196
5301
|
tenantId: zTenantId,
|
|
5197
5302
|
elementInstanceKey: zElementInstanceKey,
|
|
5198
5303
|
processInstanceKey: zProcessInstanceKey,
|
|
5304
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5199
5305
|
processDefinitionKey: zProcessDefinitionKey,
|
|
5200
5306
|
incidentKey: z.optional(zIncidentKey)
|
|
5201
5307
|
});
|
|
@@ -5213,6 +5319,7 @@ var zIncidentResult = z.object({
|
|
|
5213
5319
|
incidentKey: z.optional(zIncidentKey),
|
|
5214
5320
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
5215
5321
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
5322
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5216
5323
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
5217
5324
|
jobKey: z.optional(zJobKey)
|
|
5218
5325
|
});
|
|
@@ -5295,6 +5402,7 @@ var zJobSearchResult = z.object({
|
|
|
5295
5402
|
processDefinitionId: zProcessDefinitionId,
|
|
5296
5403
|
processDefinitionKey: zProcessDefinitionKey,
|
|
5297
5404
|
processInstanceKey: zProcessInstanceKey,
|
|
5405
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5298
5406
|
retries: z.int().register(z.globalRegistry, {
|
|
5299
5407
|
description: "The amount of retries left to this job."
|
|
5300
5408
|
}),
|
|
@@ -5377,6 +5485,7 @@ var zDecisionInstanceResult = z.object({
|
|
|
5377
5485
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
5378
5486
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
5379
5487
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
5488
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5380
5489
|
decisionDefinitionKey: z.optional(zDecisionDefinitionKey),
|
|
5381
5490
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
5382
5491
|
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKey)
|
|
@@ -5609,7 +5718,7 @@ var zBatchOperationResponse = z.object({
|
|
|
5609
5718
|
endDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
5610
5719
|
description: "The end date of the batch operation."
|
|
5611
5720
|
})),
|
|
5612
|
-
actorType: z.optional(
|
|
5721
|
+
actorType: z.optional(zAuditLogActorTypeEnum),
|
|
5613
5722
|
actorId: z.optional(z.string().register(z.globalRegistry, {
|
|
5614
5723
|
description: "The ID of the actor who performed the operation. Available for batch operations created since 8.9."
|
|
5615
5724
|
})),
|
|
@@ -5633,6 +5742,7 @@ var zBatchOperationItemResponse = z.object({
|
|
|
5633
5742
|
description: "Key of the item, e.g. a process instance key."
|
|
5634
5743
|
})),
|
|
5635
5744
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
5745
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5636
5746
|
state: z.optional(z.enum([
|
|
5637
5747
|
"ACTIVE",
|
|
5638
5748
|
"COMPLETED",
|
|
@@ -5656,6 +5766,12 @@ var zDeleteResourceResponse = z.object({
|
|
|
5656
5766
|
var zOperationReference = z.coerce.bigint().gte(BigInt(1)).register(z.globalRegistry, {
|
|
5657
5767
|
description: "A reference key chosen by the user that will be part of all records resulting from this operation.\nMust be > 0 if provided.\n"
|
|
5658
5768
|
});
|
|
5769
|
+
var zDeleteDecisionInstanceRequest = z.union([
|
|
5770
|
+
z.object({
|
|
5771
|
+
operationReference: z.optional(zOperationReference)
|
|
5772
|
+
}),
|
|
5773
|
+
z.null()
|
|
5774
|
+
]);
|
|
5659
5775
|
var zDeleteResourceRequest = z.union([
|
|
5660
5776
|
z.object({
|
|
5661
5777
|
operationReference: z.optional(zOperationReference),
|
|
@@ -5696,6 +5812,7 @@ var zAuditLogResult = z.object({
|
|
|
5696
5812
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
5697
5813
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
5698
5814
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
5815
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
5699
5816
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
5700
5817
|
jobKey: z.optional(zJobKey),
|
|
5701
5818
|
userTaskKey: z.optional(zUserTaskKey),
|
|
@@ -5708,7 +5825,12 @@ var zAuditLogResult = z.object({
|
|
|
5708
5825
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
5709
5826
|
deploymentKey: z.optional(zDeploymentKey),
|
|
5710
5827
|
formKey: z.optional(zFormKey),
|
|
5711
|
-
resourceKey: z.optional(zResourceKey)
|
|
5828
|
+
resourceKey: z.optional(zResourceKey),
|
|
5829
|
+
relatedEntityKey: z.optional(zAuditLogEntityKey),
|
|
5830
|
+
relatedEntityType: z.optional(zAuditLogEntityTypeEnum),
|
|
5831
|
+
entityDescription: z.optional(z.string().register(z.globalRegistry, {
|
|
5832
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
5833
|
+
}))
|
|
5712
5834
|
}).register(z.globalRegistry, {
|
|
5713
5835
|
description: "Audit log item."
|
|
5714
5836
|
});
|
|
@@ -5923,31 +6045,6 @@ var zDecisionEvaluationInstanceKeyFilterProperty = z.union([
|
|
|
5923
6045
|
zDecisionEvaluationInstanceKey,
|
|
5924
6046
|
zAdvancedDecisionEvaluationInstanceKeyFilter
|
|
5925
6047
|
]);
|
|
5926
|
-
var zDecisionInstanceFilter = z.object({
|
|
5927
|
-
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
5928
|
-
state: z.optional(zDecisionInstanceStateFilterProperty),
|
|
5929
|
-
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
5930
|
-
description: "The evaluation failure of the decision instance."
|
|
5931
|
-
})),
|
|
5932
|
-
evaluationDate: z.optional(zDateTimeFilterProperty),
|
|
5933
|
-
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
5934
|
-
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
5935
|
-
description: "The name of the DMN decision."
|
|
5936
|
-
})),
|
|
5937
|
-
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
5938
|
-
description: "The version of the decision."
|
|
5939
|
-
})),
|
|
5940
|
-
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
5941
|
-
tenantId: z.optional(zTenantId),
|
|
5942
|
-
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
5943
|
-
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
5944
|
-
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
5945
|
-
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5946
|
-
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
5947
|
-
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty)
|
|
5948
|
-
}).register(z.globalRegistry, {
|
|
5949
|
-
description: "Decision instance search filter."
|
|
5950
|
-
});
|
|
5951
6048
|
var zAdvancedAuditLogKeyFilter = z.object({
|
|
5952
6049
|
"$eq": z.optional(zAuditLogKey),
|
|
5953
6050
|
"$neq": z.optional(zAuditLogKey),
|
|
@@ -5986,6 +6083,44 @@ var zFormKeyFilterProperty = z.union([
|
|
|
5986
6083
|
zFormKey,
|
|
5987
6084
|
zAdvancedFormKeyFilter
|
|
5988
6085
|
]);
|
|
6086
|
+
var zAdvancedDecisionEvaluationKeyFilter = z.object({
|
|
6087
|
+
"$eq": z.optional(zDecisionEvaluationKey),
|
|
6088
|
+
"$neq": z.optional(zDecisionEvaluationKey),
|
|
6089
|
+
"$exists": z.optional(z.boolean().register(z.globalRegistry, {
|
|
6090
|
+
description: "Checks if the current property exists."
|
|
6091
|
+
})),
|
|
6092
|
+
"$in": z.optional(z.array(zDecisionEvaluationKey).register(z.globalRegistry, {
|
|
6093
|
+
description: "Checks if the property matches any of the provided values."
|
|
6094
|
+
})),
|
|
6095
|
+
"$notIn": z.optional(z.array(zDecisionEvaluationKey).register(z.globalRegistry, {
|
|
6096
|
+
description: "Checks if the property matches none of the provided values."
|
|
6097
|
+
}))
|
|
6098
|
+
}).register(z.globalRegistry, {
|
|
6099
|
+
description: "Advanced DecisionEvaluationKey filter."
|
|
6100
|
+
});
|
|
6101
|
+
var zDecisionEvaluationKeyFilterProperty = z.union([
|
|
6102
|
+
zDecisionEvaluationKey,
|
|
6103
|
+
zAdvancedDecisionEvaluationKeyFilter
|
|
6104
|
+
]);
|
|
6105
|
+
var zAdvancedDecisionRequirementsKeyFilter = z.object({
|
|
6106
|
+
"$eq": z.optional(zDecisionRequirementsKey),
|
|
6107
|
+
"$neq": z.optional(zDecisionRequirementsKey),
|
|
6108
|
+
"$exists": z.optional(z.boolean().register(z.globalRegistry, {
|
|
6109
|
+
description: "Checks if the current property exists."
|
|
6110
|
+
})),
|
|
6111
|
+
"$in": z.optional(z.array(zDecisionRequirementsKey).register(z.globalRegistry, {
|
|
6112
|
+
description: "Checks if the property matches any of the provided values."
|
|
6113
|
+
})),
|
|
6114
|
+
"$notIn": z.optional(z.array(zDecisionRequirementsKey).register(z.globalRegistry, {
|
|
6115
|
+
description: "Checks if the property matches none of the provided values."
|
|
6116
|
+
}))
|
|
6117
|
+
}).register(z.globalRegistry, {
|
|
6118
|
+
description: "Advanced DecisionRequirementsKey filter."
|
|
6119
|
+
});
|
|
6120
|
+
var zDecisionRequirementsKeyFilterProperty = z.union([
|
|
6121
|
+
zDecisionRequirementsKey,
|
|
6122
|
+
zAdvancedDecisionRequirementsKeyFilter
|
|
6123
|
+
]);
|
|
5989
6124
|
var zAuditLogFilter = z.object({
|
|
5990
6125
|
auditLogKey: z.optional(zAuditLogKeyFilterProperty),
|
|
5991
6126
|
processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
|
|
@@ -6002,10 +6137,54 @@ var zAuditLogFilter = z.object({
|
|
|
6002
6137
|
category: z.optional(zCategoryFilterProperty),
|
|
6003
6138
|
deploymentKey: z.optional(zDeploymentKeyFilterProperty),
|
|
6004
6139
|
formKey: z.optional(zFormKeyFilterProperty),
|
|
6005
|
-
resourceKey: z.optional(zResourceKeyFilterProperty)
|
|
6140
|
+
resourceKey: z.optional(zResourceKeyFilterProperty),
|
|
6141
|
+
batchOperationType: z.optional(zBatchOperationTypeFilterProperty),
|
|
6142
|
+
processDefinitionId: z.optional(zStringFilterProperty),
|
|
6143
|
+
jobKey: z.optional(zJobKeyFilterProperty),
|
|
6144
|
+
userTaskKey: z.optional(zBasicStringFilterProperty),
|
|
6145
|
+
decisionRequirementsId: z.optional(zStringFilterProperty),
|
|
6146
|
+
decisionRequirementsKey: z.optional(zDecisionRequirementsKeyFilterProperty),
|
|
6147
|
+
decisionDefinitionId: z.optional(zStringFilterProperty),
|
|
6148
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
6149
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKeyFilterProperty),
|
|
6150
|
+
relatedEntityKey: z.optional(zAuditLogEntityKeyFilterProperty),
|
|
6151
|
+
relatedEntityType: z.optional(zEntityTypeFilterProperty),
|
|
6152
|
+
entityDescription: z.optional(zStringFilterProperty)
|
|
6006
6153
|
}).register(z.globalRegistry, {
|
|
6007
6154
|
description: "Audit log filter request"
|
|
6008
6155
|
});
|
|
6156
|
+
var zDecisionInstanceFilter = z.object({
|
|
6157
|
+
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
6158
|
+
state: z.optional(zDecisionInstanceStateFilterProperty),
|
|
6159
|
+
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
6160
|
+
description: "The evaluation failure of the decision instance."
|
|
6161
|
+
})),
|
|
6162
|
+
evaluationDate: z.optional(zDateTimeFilterProperty),
|
|
6163
|
+
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
6164
|
+
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
6165
|
+
description: "The name of the DMN decision."
|
|
6166
|
+
})),
|
|
6167
|
+
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
6168
|
+
description: "The version of the decision."
|
|
6169
|
+
})),
|
|
6170
|
+
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
6171
|
+
tenantId: z.optional(zTenantId),
|
|
6172
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
6173
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
6174
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
6175
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
6176
|
+
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
6177
|
+
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
6178
|
+
decisionRequirementsKey: z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
6179
|
+
}).register(z.globalRegistry, {
|
|
6180
|
+
description: "Decision instance search filter."
|
|
6181
|
+
});
|
|
6182
|
+
var zDecisionInstanceDeletionBatchOperationRequest = z.object({
|
|
6183
|
+
filter: zDecisionInstanceFilter,
|
|
6184
|
+
operationReference: z.optional(zOperationReference)
|
|
6185
|
+
}).register(z.globalRegistry, {
|
|
6186
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
6187
|
+
});
|
|
6009
6188
|
var zLicenseResponse = z.object({
|
|
6010
6189
|
validLicense: z.boolean().register(z.globalRegistry, {
|
|
6011
6190
|
description: "True if the Camunda license is valid, false if otherwise"
|
|
@@ -6147,6 +6326,7 @@ var zMessageSubscriptionResult = z.object({
|
|
|
6147
6326
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
6148
6327
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
6149
6328
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
6329
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
6150
6330
|
elementId: z.optional(zElementId),
|
|
6151
6331
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
6152
6332
|
messageSubscriptionState: z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -6246,6 +6426,7 @@ var zCorrelatedMessageSubscriptionResult = z.object({
|
|
|
6246
6426
|
processDefinitionId: zProcessDefinitionId,
|
|
6247
6427
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
6248
6428
|
processInstanceKey: zProcessInstanceKey,
|
|
6429
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
6249
6430
|
subscriptionKey: zMessageSubscriptionKey,
|
|
6250
6431
|
tenantId: zTenantId
|
|
6251
6432
|
});
|
|
@@ -6365,6 +6546,7 @@ var zProcessDefinitionInstanceStatisticsResult = z.object({
|
|
|
6365
6546
|
description: "Process definition instance statistics response."
|
|
6366
6547
|
});
|
|
6367
6548
|
var zProcessDefinitionInstanceVersionStatisticsFilter = z.object({
|
|
6549
|
+
processDefinitionId: zProcessDefinitionId,
|
|
6368
6550
|
tenantId: z.optional(zTenantId)
|
|
6369
6551
|
}).register(z.globalRegistry, {
|
|
6370
6552
|
description: "Process definition instance version statistics search filter."
|
|
@@ -6431,6 +6613,9 @@ var zProcessInstanceCreationInstructionById = z.object({
|
|
|
6431
6613
|
});
|
|
6432
6614
|
var zProcessInstanceCreationInstructionByKey = z.object({
|
|
6433
6615
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6616
|
+
processDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
6617
|
+
description: "As the version is already identified by the `processDefinitionKey`, the value of this field is ignored.\nIt's here for backwards-compatibility only as previous releases accepted it in request bodies.\n"
|
|
6618
|
+
})).default(-1),
|
|
6434
6619
|
variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
6435
6620
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
6436
6621
|
})),
|
|
@@ -6494,6 +6679,7 @@ var zProcessInstanceSequenceFlowResult = z.object({
|
|
|
6494
6679
|
description: "The sequence flow id."
|
|
6495
6680
|
})),
|
|
6496
6681
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
6682
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
6497
6683
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
6498
6684
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
6499
6685
|
elementId: z.optional(zElementId),
|
|
@@ -6683,6 +6869,7 @@ var zProcessInstanceResult = z.object({
|
|
|
6683
6869
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6684
6870
|
parentProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
6685
6871
|
parentElementInstanceKey: z.optional(zElementInstanceKey),
|
|
6872
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
6686
6873
|
tags: z.optional(zTagSet)
|
|
6687
6874
|
}).register(z.globalRegistry, {
|
|
6688
6875
|
description: "Process instance search response item."
|
|
@@ -6730,9 +6917,9 @@ var zRoleUpdateRequest = z.object({
|
|
|
6730
6917
|
name: z.string().register(z.globalRegistry, {
|
|
6731
6918
|
description: "The display name of the new role."
|
|
6732
6919
|
}),
|
|
6733
|
-
description: z.string().register(z.globalRegistry, {
|
|
6920
|
+
description: z.optional(z.string().register(z.globalRegistry, {
|
|
6734
6921
|
description: "The description of the new role."
|
|
6735
|
-
})
|
|
6922
|
+
}))
|
|
6736
6923
|
});
|
|
6737
6924
|
var zRoleUpdateResult = z.object({
|
|
6738
6925
|
name: z.optional(z.string().register(z.globalRegistry, {
|
|
@@ -7292,7 +7479,7 @@ var zProcessDefinitionInstanceVersionStatisticsQuery = z.object({
|
|
|
7292
7479
|
sort: z.optional(z.array(zProcessDefinitionInstanceVersionStatisticsQuerySortRequest).register(z.globalRegistry, {
|
|
7293
7480
|
description: "Sort field criteria."
|
|
7294
7481
|
})),
|
|
7295
|
-
filter:
|
|
7482
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
7296
7483
|
});
|
|
7297
7484
|
var zProcessInstanceSearchQuerySortRequest = z.object({
|
|
7298
7485
|
field: z.enum([
|
|
@@ -7596,9 +7783,9 @@ var zTenantUpdateRequest = z.object({
|
|
|
7596
7783
|
name: z.string().register(z.globalRegistry, {
|
|
7597
7784
|
description: "The new name of the tenant."
|
|
7598
7785
|
}),
|
|
7599
|
-
description: z.string().register(z.globalRegistry, {
|
|
7786
|
+
description: z.optional(z.string().register(z.globalRegistry, {
|
|
7600
7787
|
description: "The new description of the tenant."
|
|
7601
|
-
})
|
|
7788
|
+
}))
|
|
7602
7789
|
});
|
|
7603
7790
|
var zTenantUpdateResult = z.object({
|
|
7604
7791
|
tenantId: z.optional(zTenantId),
|
|
@@ -7897,6 +8084,7 @@ var zUserTaskResult = z.object({
|
|
|
7897
8084
|
})),
|
|
7898
8085
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
7899
8086
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8087
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey),
|
|
7900
8088
|
formKey: z.optional(zFormKey),
|
|
7901
8089
|
tags: z.optional(zTagSet)
|
|
7902
8090
|
});
|
|
@@ -8075,7 +8263,8 @@ var zVariableResultBase = z.object({
|
|
|
8075
8263
|
tenantId: z.optional(zTenantId),
|
|
8076
8264
|
variableKey: z.optional(zVariableKey),
|
|
8077
8265
|
scopeKey: z.optional(zScopeKey),
|
|
8078
|
-
processInstanceKey: z.optional(zProcessInstanceKey)
|
|
8266
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8267
|
+
rootProcessInstanceKey: z.optional(zRootProcessInstanceKey)
|
|
8079
8268
|
}).register(z.globalRegistry, {
|
|
8080
8269
|
description: "Variable response item."
|
|
8081
8270
|
});
|
|
@@ -8207,9 +8396,7 @@ var zUserTaskFilter = z.object({
|
|
|
8207
8396
|
assignee: z.optional(zStringFilterProperty),
|
|
8208
8397
|
priority: z.optional(zIntegerFilterProperty),
|
|
8209
8398
|
elementId: z.optional(zElementId),
|
|
8210
|
-
name: z.optional(
|
|
8211
|
-
description: "The task name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n"
|
|
8212
|
-
})),
|
|
8399
|
+
name: z.optional(zStringFilterProperty),
|
|
8213
8400
|
candidateGroup: z.optional(zStringFilterProperty),
|
|
8214
8401
|
candidateUser: z.optional(zStringFilterProperty),
|
|
8215
8402
|
tenantId: z.optional(zStringFilterProperty),
|
|
@@ -8285,6 +8472,7 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(z.object({
|
|
|
8285
8472
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
8286
8473
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
8287
8474
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8475
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
8288
8476
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
8289
8477
|
jobKey: z.optional(zJobKey),
|
|
8290
8478
|
userTaskKey: z.optional(zUserTaskKey),
|
|
@@ -8297,7 +8485,12 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(z.object({
|
|
|
8297
8485
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
8298
8486
|
deploymentKey: z.optional(zDeploymentKey),
|
|
8299
8487
|
formKey: z.optional(zFormKey),
|
|
8300
|
-
resourceKey: z.optional(zResourceKey)
|
|
8488
|
+
resourceKey: z.optional(zResourceKey),
|
|
8489
|
+
relatedEntityKey: z.optional(zAuditLogEntityKey),
|
|
8490
|
+
relatedEntityType: z.optional(zAuditLogEntityTypeEnum),
|
|
8491
|
+
entityDescription: z.optional(z.string().register(z.globalRegistry, {
|
|
8492
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8493
|
+
}))
|
|
8301
8494
|
}).register(z.globalRegistry, {
|
|
8302
8495
|
description: "Audit log item."
|
|
8303
8496
|
})).register(z.globalRegistry, {
|
|
@@ -8336,6 +8529,7 @@ var zGetAuditLogResponse = z.object({
|
|
|
8336
8529
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
8337
8530
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
8338
8531
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8532
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
8339
8533
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
8340
8534
|
jobKey: z.optional(zJobKey),
|
|
8341
8535
|
userTaskKey: z.optional(zUserTaskKey),
|
|
@@ -8348,7 +8542,12 @@ var zGetAuditLogResponse = z.object({
|
|
|
8348
8542
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
8349
8543
|
deploymentKey: z.optional(zDeploymentKey),
|
|
8350
8544
|
formKey: z.optional(zFormKey),
|
|
8351
|
-
resourceKey: z.optional(zResourceKey)
|
|
8545
|
+
resourceKey: z.optional(zResourceKey),
|
|
8546
|
+
relatedEntityKey: z.optional(zAuditLogEntityKey),
|
|
8547
|
+
relatedEntityType: z.optional(zAuditLogEntityTypeEnum),
|
|
8548
|
+
entityDescription: z.optional(z.string().register(z.globalRegistry, {
|
|
8549
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8550
|
+
}))
|
|
8352
8551
|
}).register(z.globalRegistry, {
|
|
8353
8552
|
description: "Audit log item."
|
|
8354
8553
|
});
|
|
@@ -8399,13 +8598,72 @@ var zUpdateAuthorizationResponse = z.void().register(z.globalRegistry, {
|
|
|
8399
8598
|
description: "The authorization was updated successfully."
|
|
8400
8599
|
});
|
|
8401
8600
|
var zSearchBatchOperationItemsData = z.object({
|
|
8402
|
-
body: z.optional(
|
|
8601
|
+
body: z.optional(zSearchQueryRequest.and(z.object({
|
|
8602
|
+
sort: z.optional(z.array(zBatchOperationItemSearchQuerySortRequest).register(z.globalRegistry, {
|
|
8603
|
+
description: "Sort field criteria."
|
|
8604
|
+
})),
|
|
8605
|
+
filter: z.optional(z.object({
|
|
8606
|
+
batchOperationKey: z.optional(zBasicStringFilterProperty),
|
|
8607
|
+
itemKey: z.optional(zBasicStringFilterProperty),
|
|
8608
|
+
processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
|
|
8609
|
+
state: z.optional(zBatchOperationItemStateFilterProperty),
|
|
8610
|
+
operationType: z.optional(zBatchOperationTypeFilterProperty)
|
|
8611
|
+
}).register(z.globalRegistry, {
|
|
8612
|
+
description: "Batch operation item filter request."
|
|
8613
|
+
}))
|
|
8614
|
+
}).register(z.globalRegistry, {
|
|
8615
|
+
description: "Batch operation item search request."
|
|
8616
|
+
}))),
|
|
8403
8617
|
path: z.optional(z.never()),
|
|
8404
8618
|
query: z.optional(z.never())
|
|
8405
8619
|
});
|
|
8406
|
-
var zSearchBatchOperationItemsResponse =
|
|
8620
|
+
var zSearchBatchOperationItemsResponse = zSearchQueryResponse.and(z.object({
|
|
8621
|
+
items: z.optional(z.array(z.object({
|
|
8622
|
+
operationType: z.optional(zBatchOperationTypeEnum),
|
|
8623
|
+
batchOperationKey: z.optional(zBatchOperationKey),
|
|
8624
|
+
itemKey: z.optional(z.string().register(z.globalRegistry, {
|
|
8625
|
+
description: "Key of the item, e.g. a process instance key."
|
|
8626
|
+
})),
|
|
8627
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8628
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
8629
|
+
state: z.optional(z.enum([
|
|
8630
|
+
"ACTIVE",
|
|
8631
|
+
"COMPLETED",
|
|
8632
|
+
"SKIPPED",
|
|
8633
|
+
"CANCELED",
|
|
8634
|
+
"FAILED"
|
|
8635
|
+
]).register(z.globalRegistry, {
|
|
8636
|
+
description: "State of the item."
|
|
8637
|
+
})),
|
|
8638
|
+
processedDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
8639
|
+
description: "the date this item was processed."
|
|
8640
|
+
})),
|
|
8641
|
+
errorMessage: z.optional(z.string().register(z.globalRegistry, {
|
|
8642
|
+
description: "the error message from the engine in case of a failed operation."
|
|
8643
|
+
}))
|
|
8644
|
+
})).register(z.globalRegistry, {
|
|
8645
|
+
description: "The matching batch operation items."
|
|
8646
|
+
}))
|
|
8647
|
+
}).register(z.globalRegistry, {
|
|
8648
|
+
description: "The batch operation search result."
|
|
8649
|
+
}));
|
|
8407
8650
|
var zSearchBatchOperationsData = z.object({
|
|
8408
|
-
body: z.optional(
|
|
8651
|
+
body: z.optional(zSearchQueryRequest.and(z.object({
|
|
8652
|
+
sort: z.optional(z.array(zBatchOperationSearchQuerySortRequest).register(z.globalRegistry, {
|
|
8653
|
+
description: "Sort field criteria."
|
|
8654
|
+
})),
|
|
8655
|
+
filter: z.optional(z.object({
|
|
8656
|
+
batchOperationKey: z.optional(zBasicStringFilterProperty),
|
|
8657
|
+
operationType: z.optional(zBatchOperationTypeFilterProperty),
|
|
8658
|
+
state: z.optional(zBatchOperationStateFilterProperty),
|
|
8659
|
+
actorType: z.optional(zAuditLogActorTypeEnum),
|
|
8660
|
+
actorId: z.optional(zStringFilterProperty)
|
|
8661
|
+
}).register(z.globalRegistry, {
|
|
8662
|
+
description: "Batch operation filter request."
|
|
8663
|
+
}))
|
|
8664
|
+
}).register(z.globalRegistry, {
|
|
8665
|
+
description: "Batch operation search request."
|
|
8666
|
+
}))),
|
|
8409
8667
|
path: z.optional(z.never()),
|
|
8410
8668
|
query: z.optional(z.never())
|
|
8411
8669
|
});
|
|
@@ -8492,6 +8750,16 @@ var zGetGlobalClusterVariableData = z.object({
|
|
|
8492
8750
|
query: z.optional(z.never())
|
|
8493
8751
|
});
|
|
8494
8752
|
var zGetGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8753
|
+
var zUpdateGlobalClusterVariableData = z.object({
|
|
8754
|
+
body: zUpdateClusterVariableRequest,
|
|
8755
|
+
path: z.object({
|
|
8756
|
+
name: z.string().register(z.globalRegistry, {
|
|
8757
|
+
description: "The name of the cluster variable"
|
|
8758
|
+
})
|
|
8759
|
+
}),
|
|
8760
|
+
query: z.optional(z.never())
|
|
8761
|
+
});
|
|
8762
|
+
var zUpdateGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8495
8763
|
var zSearchClusterVariablesData = z.object({
|
|
8496
8764
|
body: z.optional(zSearchQueryRequest.and(z.object({
|
|
8497
8765
|
sort: z.optional(z.array(zClusterVariableSearchQuerySortRequest).register(z.globalRegistry, {
|
|
@@ -8581,6 +8849,17 @@ var zGetTenantClusterVariableData = z.object({
|
|
|
8581
8849
|
query: z.optional(z.never())
|
|
8582
8850
|
});
|
|
8583
8851
|
var zGetTenantClusterVariableResponse = zClusterVariableResult;
|
|
8852
|
+
var zUpdateTenantClusterVariableData = z.object({
|
|
8853
|
+
body: zUpdateClusterVariableRequest,
|
|
8854
|
+
path: z.object({
|
|
8855
|
+
tenantId: zTenantId,
|
|
8856
|
+
name: z.string().register(z.globalRegistry, {
|
|
8857
|
+
description: "The name of the cluster variable"
|
|
8858
|
+
})
|
|
8859
|
+
}),
|
|
8860
|
+
query: z.optional(z.never())
|
|
8861
|
+
});
|
|
8862
|
+
var zUpdateTenantClusterVariableResponse = zClusterVariableResult;
|
|
8584
8863
|
var zEvaluateConditionalsData = z.object({
|
|
8585
8864
|
body: zConditionalEvaluationInstruction,
|
|
8586
8865
|
path: z.optional(z.never()),
|
|
@@ -8592,9 +8871,39 @@ var zSearchCorrelatedMessageSubscriptionsData = z.object({
|
|
|
8592
8871
|
path: z.optional(z.never()),
|
|
8593
8872
|
query: z.optional(z.never())
|
|
8594
8873
|
});
|
|
8595
|
-
var zSearchCorrelatedMessageSubscriptionsResponse =
|
|
8596
|
-
|
|
8597
|
-
|
|
8874
|
+
var zSearchCorrelatedMessageSubscriptionsResponse = zSearchQueryResponse.and(z.object({
|
|
8875
|
+
items: z.optional(z.array(z.object({
|
|
8876
|
+
correlationKey: z.string().register(z.globalRegistry, {
|
|
8877
|
+
description: "The correlation key of the message."
|
|
8878
|
+
}),
|
|
8879
|
+
correlationTime: z.iso.datetime().register(z.globalRegistry, {
|
|
8880
|
+
description: "The time when the message was correlated."
|
|
8881
|
+
}),
|
|
8882
|
+
elementId: z.string().register(z.globalRegistry, {
|
|
8883
|
+
description: "The element ID that received the message."
|
|
8884
|
+
}),
|
|
8885
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
8886
|
+
messageKey: zMessageKey,
|
|
8887
|
+
messageName: z.string().register(z.globalRegistry, {
|
|
8888
|
+
description: "The name of the message."
|
|
8889
|
+
}),
|
|
8890
|
+
partitionId: z.int().register(z.globalRegistry, {
|
|
8891
|
+
description: "The partition ID that correlated the message."
|
|
8892
|
+
}),
|
|
8893
|
+
processDefinitionId: zProcessDefinitionId,
|
|
8894
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
8895
|
+
processInstanceKey: zProcessInstanceKey,
|
|
8896
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
8897
|
+
subscriptionKey: zMessageSubscriptionKey,
|
|
8898
|
+
tenantId: zTenantId
|
|
8899
|
+
})).register(z.globalRegistry, {
|
|
8900
|
+
description: "The matching correlated message subscriptions."
|
|
8901
|
+
}))
|
|
8902
|
+
}).register(z.globalRegistry, {
|
|
8903
|
+
description: "The correlated message subscriptions search result."
|
|
8904
|
+
}));
|
|
8905
|
+
var zEvaluateDecisionData = z.object({
|
|
8906
|
+
body: zDecisionEvaluationInstruction,
|
|
8598
8907
|
path: z.optional(z.never()),
|
|
8599
8908
|
query: z.optional(z.never())
|
|
8600
8909
|
});
|
|
@@ -8624,11 +8933,75 @@ var zGetDecisionDefinitionXmlResponse = z.string().register(z.globalRegistry, {
|
|
|
8624
8933
|
description: "The XML of the decision definition is successfully returned."
|
|
8625
8934
|
});
|
|
8626
8935
|
var zSearchDecisionInstancesData = z.object({
|
|
8627
|
-
body: z.optional(
|
|
8936
|
+
body: z.optional(zSearchQueryRequest.and(z.object({
|
|
8937
|
+
sort: z.optional(z.array(zDecisionInstanceSearchQuerySortRequest).register(z.globalRegistry, {
|
|
8938
|
+
description: "Sort field criteria."
|
|
8939
|
+
})),
|
|
8940
|
+
filter: z.optional(z.object({
|
|
8941
|
+
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
8942
|
+
state: z.optional(zDecisionInstanceStateFilterProperty),
|
|
8943
|
+
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
8944
|
+
description: "The evaluation failure of the decision instance."
|
|
8945
|
+
})),
|
|
8946
|
+
evaluationDate: z.optional(zDateTimeFilterProperty),
|
|
8947
|
+
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
8948
|
+
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
8949
|
+
description: "The name of the DMN decision."
|
|
8950
|
+
})),
|
|
8951
|
+
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
8952
|
+
description: "The version of the decision."
|
|
8953
|
+
})),
|
|
8954
|
+
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
8955
|
+
tenantId: z.optional(zTenantId),
|
|
8956
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
8957
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
8958
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8959
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8960
|
+
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
8961
|
+
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8962
|
+
decisionRequirementsKey: z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
8963
|
+
}).register(z.globalRegistry, {
|
|
8964
|
+
description: "Decision instance search filter."
|
|
8965
|
+
}))
|
|
8966
|
+
}))),
|
|
8628
8967
|
path: z.optional(z.never()),
|
|
8629
8968
|
query: z.optional(z.never())
|
|
8630
8969
|
});
|
|
8631
|
-
var zSearchDecisionInstancesResponse =
|
|
8970
|
+
var zSearchDecisionInstancesResponse = zSearchQueryResponse.and(z.object({
|
|
8971
|
+
items: z.optional(z.array(z.object({
|
|
8972
|
+
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKey),
|
|
8973
|
+
state: z.optional(zDecisionInstanceStateEnum),
|
|
8974
|
+
evaluationDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
8975
|
+
description: "The evaluation date of the decision instance."
|
|
8976
|
+
})),
|
|
8977
|
+
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
8978
|
+
description: "The evaluation failure of the decision instance."
|
|
8979
|
+
})),
|
|
8980
|
+
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
8981
|
+
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
8982
|
+
description: "The name of the DMN decision."
|
|
8983
|
+
})),
|
|
8984
|
+
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
8985
|
+
description: "The version of the decision."
|
|
8986
|
+
})),
|
|
8987
|
+
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
8988
|
+
result: z.optional(z.string().register(z.globalRegistry, {
|
|
8989
|
+
description: "The result of the decision instance."
|
|
8990
|
+
})),
|
|
8991
|
+
tenantId: z.optional(zTenantId),
|
|
8992
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
8993
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
8994
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
8995
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
8996
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKey),
|
|
8997
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
8998
|
+
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKey)
|
|
8999
|
+
})).register(z.globalRegistry, {
|
|
9000
|
+
description: "The matching decision instances."
|
|
9001
|
+
}))
|
|
9002
|
+
}).register(z.globalRegistry, {
|
|
9003
|
+
description: "The decision instance search result."
|
|
9004
|
+
}));
|
|
8632
9005
|
var zGetDecisionInstanceData = z.object({
|
|
8633
9006
|
body: z.optional(z.never()),
|
|
8634
9007
|
path: z.object({
|
|
@@ -8636,7 +9009,88 @@ var zGetDecisionInstanceData = z.object({
|
|
|
8636
9009
|
}),
|
|
8637
9010
|
query: z.optional(z.never())
|
|
8638
9011
|
});
|
|
8639
|
-
var zGetDecisionInstanceResponse =
|
|
9012
|
+
var zGetDecisionInstanceResponse = z.object({
|
|
9013
|
+
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKey),
|
|
9014
|
+
state: z.optional(zDecisionInstanceStateEnum),
|
|
9015
|
+
evaluationDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
9016
|
+
description: "The evaluation date of the decision instance."
|
|
9017
|
+
})),
|
|
9018
|
+
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
9019
|
+
description: "The evaluation failure of the decision instance."
|
|
9020
|
+
})),
|
|
9021
|
+
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
9022
|
+
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
9023
|
+
description: "The name of the DMN decision."
|
|
9024
|
+
})),
|
|
9025
|
+
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
9026
|
+
description: "The version of the decision."
|
|
9027
|
+
})),
|
|
9028
|
+
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
9029
|
+
result: z.optional(z.string().register(z.globalRegistry, {
|
|
9030
|
+
description: "The result of the decision instance."
|
|
9031
|
+
})),
|
|
9032
|
+
tenantId: z.optional(zTenantId),
|
|
9033
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
9034
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9035
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9036
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9037
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKey),
|
|
9038
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
9039
|
+
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKey)
|
|
9040
|
+
}).and(z.object({
|
|
9041
|
+
evaluatedInputs: z.optional(z.array(zEvaluatedDecisionInputItem).register(z.globalRegistry, {
|
|
9042
|
+
description: "The evaluated inputs of the decision instance.\n"
|
|
9043
|
+
})),
|
|
9044
|
+
matchedRules: z.optional(z.array(zMatchedDecisionRuleItem).register(z.globalRegistry, {
|
|
9045
|
+
description: "The matched rules of the decision instance.\n"
|
|
9046
|
+
}))
|
|
9047
|
+
}));
|
|
9048
|
+
var zDeleteDecisionInstanceData = z.object({
|
|
9049
|
+
body: z.optional(zDeleteProcessInstanceRequest),
|
|
9050
|
+
path: z.object({
|
|
9051
|
+
decisionInstanceKey: zDecisionInstanceKey
|
|
9052
|
+
}),
|
|
9053
|
+
query: z.optional(z.never())
|
|
9054
|
+
});
|
|
9055
|
+
var zDeleteDecisionInstanceResponse = z.void().register(z.globalRegistry, {
|
|
9056
|
+
description: "The decision instance is marked for deletion."
|
|
9057
|
+
});
|
|
9058
|
+
var zDeleteDecisionInstancesBatchOperationData = z.object({
|
|
9059
|
+
body: z.object({
|
|
9060
|
+
filter: z.object({
|
|
9061
|
+
decisionEvaluationInstanceKey: z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
9062
|
+
state: z.optional(zDecisionInstanceStateFilterProperty),
|
|
9063
|
+
evaluationFailure: z.optional(z.string().register(z.globalRegistry, {
|
|
9064
|
+
description: "The evaluation failure of the decision instance."
|
|
9065
|
+
})),
|
|
9066
|
+
evaluationDate: z.optional(zDateTimeFilterProperty),
|
|
9067
|
+
decisionDefinitionId: z.optional(zDecisionDefinitionId),
|
|
9068
|
+
decisionDefinitionName: z.optional(z.string().register(z.globalRegistry, {
|
|
9069
|
+
description: "The name of the DMN decision."
|
|
9070
|
+
})),
|
|
9071
|
+
decisionDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
9072
|
+
description: "The version of the decision."
|
|
9073
|
+
})),
|
|
9074
|
+
decisionDefinitionType: z.optional(zDecisionDefinitionTypeEnum),
|
|
9075
|
+
tenantId: z.optional(zTenantId),
|
|
9076
|
+
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
9077
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9078
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9079
|
+
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
9080
|
+
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
9081
|
+
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
9082
|
+
decisionRequirementsKey: z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
9083
|
+
}).register(z.globalRegistry, {
|
|
9084
|
+
description: "Decision instance search filter."
|
|
9085
|
+
}),
|
|
9086
|
+
operationReference: z.optional(zOperationReference)
|
|
9087
|
+
}).register(z.globalRegistry, {
|
|
9088
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
9089
|
+
}),
|
|
9090
|
+
path: z.optional(z.never()),
|
|
9091
|
+
query: z.optional(z.never())
|
|
9092
|
+
});
|
|
9093
|
+
var zDeleteDecisionInstancesBatchOperationResponse = zBatchOperationCreatedResult;
|
|
8640
9094
|
var zSearchDecisionRequirementsData = z.object({
|
|
8641
9095
|
body: z.optional(zDecisionRequirementsSearchQuery),
|
|
8642
9096
|
path: z.optional(z.never()),
|
|
@@ -8789,7 +9243,66 @@ var zSearchElementInstancesData = z.object({
|
|
|
8789
9243
|
path: z.optional(z.never()),
|
|
8790
9244
|
query: z.optional(z.never())
|
|
8791
9245
|
});
|
|
8792
|
-
var zSearchElementInstancesResponse =
|
|
9246
|
+
var zSearchElementInstancesResponse = zSearchQueryResponse.and(z.object({
|
|
9247
|
+
items: z.optional(z.array(z.object({
|
|
9248
|
+
processDefinitionId: zProcessDefinitionId,
|
|
9249
|
+
startDate: z.iso.datetime().register(z.globalRegistry, {
|
|
9250
|
+
description: "Date when element instance started."
|
|
9251
|
+
}),
|
|
9252
|
+
endDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
9253
|
+
description: "Date when element instance finished."
|
|
9254
|
+
})),
|
|
9255
|
+
elementId: zElementId,
|
|
9256
|
+
elementName: z.string().register(z.globalRegistry, {
|
|
9257
|
+
description: "The element name for this element instance."
|
|
9258
|
+
}),
|
|
9259
|
+
type: z.enum([
|
|
9260
|
+
"UNSPECIFIED",
|
|
9261
|
+
"PROCESS",
|
|
9262
|
+
"SUB_PROCESS",
|
|
9263
|
+
"EVENT_SUB_PROCESS",
|
|
9264
|
+
"AD_HOC_SUB_PROCESS",
|
|
9265
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
9266
|
+
"START_EVENT",
|
|
9267
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
9268
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
9269
|
+
"BOUNDARY_EVENT",
|
|
9270
|
+
"END_EVENT",
|
|
9271
|
+
"SERVICE_TASK",
|
|
9272
|
+
"RECEIVE_TASK",
|
|
9273
|
+
"USER_TASK",
|
|
9274
|
+
"MANUAL_TASK",
|
|
9275
|
+
"TASK",
|
|
9276
|
+
"EXCLUSIVE_GATEWAY",
|
|
9277
|
+
"INCLUSIVE_GATEWAY",
|
|
9278
|
+
"PARALLEL_GATEWAY",
|
|
9279
|
+
"EVENT_BASED_GATEWAY",
|
|
9280
|
+
"SEQUENCE_FLOW",
|
|
9281
|
+
"MULTI_INSTANCE_BODY",
|
|
9282
|
+
"CALL_ACTIVITY",
|
|
9283
|
+
"BUSINESS_RULE_TASK",
|
|
9284
|
+
"SCRIPT_TASK",
|
|
9285
|
+
"SEND_TASK",
|
|
9286
|
+
"UNKNOWN"
|
|
9287
|
+
]).register(z.globalRegistry, {
|
|
9288
|
+
description: "Type of element as defined set of values."
|
|
9289
|
+
}),
|
|
9290
|
+
state: zElementInstanceStateEnum,
|
|
9291
|
+
hasIncident: z.boolean().register(z.globalRegistry, {
|
|
9292
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9293
|
+
}),
|
|
9294
|
+
tenantId: zTenantId,
|
|
9295
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9296
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9297
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9298
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9299
|
+
incidentKey: z.optional(zIncidentKey)
|
|
9300
|
+
})).register(z.globalRegistry, {
|
|
9301
|
+
description: "The matching element instances."
|
|
9302
|
+
}))
|
|
9303
|
+
}).register(z.globalRegistry, {
|
|
9304
|
+
description: "The element instance search result."
|
|
9305
|
+
}));
|
|
8793
9306
|
var zGetElementInstanceData = z.object({
|
|
8794
9307
|
body: z.optional(z.never()),
|
|
8795
9308
|
path: z.object({
|
|
@@ -8797,7 +9310,62 @@ var zGetElementInstanceData = z.object({
|
|
|
8797
9310
|
}),
|
|
8798
9311
|
query: z.optional(z.never())
|
|
8799
9312
|
});
|
|
8800
|
-
var zGetElementInstanceResponse =
|
|
9313
|
+
var zGetElementInstanceResponse = z.object({
|
|
9314
|
+
processDefinitionId: zProcessDefinitionId,
|
|
9315
|
+
startDate: z.iso.datetime().register(z.globalRegistry, {
|
|
9316
|
+
description: "Date when element instance started."
|
|
9317
|
+
}),
|
|
9318
|
+
endDate: z.optional(z.iso.datetime().register(z.globalRegistry, {
|
|
9319
|
+
description: "Date when element instance finished."
|
|
9320
|
+
})),
|
|
9321
|
+
elementId: zElementId,
|
|
9322
|
+
elementName: z.string().register(z.globalRegistry, {
|
|
9323
|
+
description: "The element name for this element instance."
|
|
9324
|
+
}),
|
|
9325
|
+
type: z.enum([
|
|
9326
|
+
"UNSPECIFIED",
|
|
9327
|
+
"PROCESS",
|
|
9328
|
+
"SUB_PROCESS",
|
|
9329
|
+
"EVENT_SUB_PROCESS",
|
|
9330
|
+
"AD_HOC_SUB_PROCESS",
|
|
9331
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
9332
|
+
"START_EVENT",
|
|
9333
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
9334
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
9335
|
+
"BOUNDARY_EVENT",
|
|
9336
|
+
"END_EVENT",
|
|
9337
|
+
"SERVICE_TASK",
|
|
9338
|
+
"RECEIVE_TASK",
|
|
9339
|
+
"USER_TASK",
|
|
9340
|
+
"MANUAL_TASK",
|
|
9341
|
+
"TASK",
|
|
9342
|
+
"EXCLUSIVE_GATEWAY",
|
|
9343
|
+
"INCLUSIVE_GATEWAY",
|
|
9344
|
+
"PARALLEL_GATEWAY",
|
|
9345
|
+
"EVENT_BASED_GATEWAY",
|
|
9346
|
+
"SEQUENCE_FLOW",
|
|
9347
|
+
"MULTI_INSTANCE_BODY",
|
|
9348
|
+
"CALL_ACTIVITY",
|
|
9349
|
+
"BUSINESS_RULE_TASK",
|
|
9350
|
+
"SCRIPT_TASK",
|
|
9351
|
+
"SEND_TASK",
|
|
9352
|
+
"UNKNOWN"
|
|
9353
|
+
]).register(z.globalRegistry, {
|
|
9354
|
+
description: "Type of element as defined set of values."
|
|
9355
|
+
}),
|
|
9356
|
+
state: zElementInstanceStateEnum,
|
|
9357
|
+
hasIncident: z.boolean().register(z.globalRegistry, {
|
|
9358
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9359
|
+
}),
|
|
9360
|
+
tenantId: zTenantId,
|
|
9361
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9362
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9363
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9364
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9365
|
+
incidentKey: z.optional(zIncidentKey)
|
|
9366
|
+
}).register(z.globalRegistry, {
|
|
9367
|
+
description: "The element instance is successfully returned."
|
|
9368
|
+
});
|
|
8801
9369
|
var zSearchElementInstanceIncidentsData = z.object({
|
|
8802
9370
|
body: zIncidentSearchQuery,
|
|
8803
9371
|
path: z.object({
|
|
@@ -8805,7 +9373,27 @@ var zSearchElementInstanceIncidentsData = z.object({
|
|
|
8805
9373
|
}),
|
|
8806
9374
|
query: z.optional(z.never())
|
|
8807
9375
|
});
|
|
8808
|
-
var zSearchElementInstanceIncidentsResponse =
|
|
9376
|
+
var zSearchElementInstanceIncidentsResponse = zSearchQueryResponse.and(z.object({
|
|
9377
|
+
items: z.optional(z.array(z.object({
|
|
9378
|
+
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
9379
|
+
errorType: z.optional(zIncidentErrorTypeEnum),
|
|
9380
|
+
errorMessage: z.optional(z.string().register(z.globalRegistry, {
|
|
9381
|
+
description: "Error message which describes the error in more detail."
|
|
9382
|
+
})),
|
|
9383
|
+
elementId: z.optional(zElementId),
|
|
9384
|
+
creationTime: z.optional(z.iso.datetime()),
|
|
9385
|
+
state: z.optional(zIncidentStateEnum),
|
|
9386
|
+
tenantId: z.optional(zTenantId),
|
|
9387
|
+
incidentKey: z.optional(zIncidentKey),
|
|
9388
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9389
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9390
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9391
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
9392
|
+
jobKey: z.optional(zJobKey)
|
|
9393
|
+
})).register(z.globalRegistry, {
|
|
9394
|
+
description: "The matching incidents."
|
|
9395
|
+
}))
|
|
9396
|
+
}));
|
|
8809
9397
|
var zCreateElementInstanceVariablesData = z.object({
|
|
8810
9398
|
body: zSetVariableRequest,
|
|
8811
9399
|
path: z.object({
|
|
@@ -9017,7 +9605,29 @@ var zSearchIncidentsData = z.object({
|
|
|
9017
9605
|
path: z.optional(z.never()),
|
|
9018
9606
|
query: z.optional(z.never())
|
|
9019
9607
|
});
|
|
9020
|
-
var zSearchIncidentsResponse =
|
|
9608
|
+
var zSearchIncidentsResponse = zSearchQueryResponse.and(z.object({
|
|
9609
|
+
items: z.optional(z.array(z.object({
|
|
9610
|
+
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
9611
|
+
errorType: z.optional(zIncidentErrorTypeEnum),
|
|
9612
|
+
errorMessage: z.optional(z.string().register(z.globalRegistry, {
|
|
9613
|
+
description: "Error message which describes the error in more detail."
|
|
9614
|
+
})),
|
|
9615
|
+
elementId: z.optional(zElementId),
|
|
9616
|
+
creationTime: z.optional(z.iso.datetime()),
|
|
9617
|
+
state: z.optional(zIncidentStateEnum),
|
|
9618
|
+
tenantId: z.optional(zTenantId),
|
|
9619
|
+
incidentKey: z.optional(zIncidentKey),
|
|
9620
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9621
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9622
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9623
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
9624
|
+
jobKey: z.optional(zJobKey)
|
|
9625
|
+
})).register(z.globalRegistry, {
|
|
9626
|
+
description: "The matching incidents."
|
|
9627
|
+
}))
|
|
9628
|
+
}).register(z.globalRegistry, {
|
|
9629
|
+
description: "The incident search result."
|
|
9630
|
+
}));
|
|
9021
9631
|
var zGetIncidentData = z.object({
|
|
9022
9632
|
body: z.optional(z.never()),
|
|
9023
9633
|
path: z.object({
|
|
@@ -9025,7 +9635,25 @@ var zGetIncidentData = z.object({
|
|
|
9025
9635
|
}),
|
|
9026
9636
|
query: z.optional(z.never())
|
|
9027
9637
|
});
|
|
9028
|
-
var zGetIncidentResponse =
|
|
9638
|
+
var zGetIncidentResponse = z.object({
|
|
9639
|
+
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
9640
|
+
errorType: z.optional(zIncidentErrorTypeEnum),
|
|
9641
|
+
errorMessage: z.optional(z.string().register(z.globalRegistry, {
|
|
9642
|
+
description: "Error message which describes the error in more detail."
|
|
9643
|
+
})),
|
|
9644
|
+
elementId: z.optional(zElementId),
|
|
9645
|
+
creationTime: z.optional(z.iso.datetime()),
|
|
9646
|
+
state: z.optional(zIncidentStateEnum),
|
|
9647
|
+
tenantId: z.optional(zTenantId),
|
|
9648
|
+
incidentKey: z.optional(zIncidentKey),
|
|
9649
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9650
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9651
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9652
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
9653
|
+
jobKey: z.optional(zJobKey)
|
|
9654
|
+
}).register(z.globalRegistry, {
|
|
9655
|
+
description: "The incident is successfully returned."
|
|
9656
|
+
});
|
|
9029
9657
|
var zResolveIncidentData = z.object({
|
|
9030
9658
|
body: z.optional(zIncidentResolutionRequest),
|
|
9031
9659
|
path: z.object({
|
|
@@ -9173,6 +9801,7 @@ var zSearchJobsResponse = zSearchQueryResponse.and(z.object({
|
|
|
9173
9801
|
processDefinitionId: zProcessDefinitionId,
|
|
9174
9802
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9175
9803
|
processInstanceKey: zProcessInstanceKey,
|
|
9804
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9176
9805
|
retries: z.int().register(z.globalRegistry, {
|
|
9177
9806
|
description: "The amount of retries left to this job."
|
|
9178
9807
|
}),
|
|
@@ -9207,39 +9836,7 @@ var zUpdateJobResponse = z.void().register(z.globalRegistry, {
|
|
|
9207
9836
|
description: "The job was updated successfully."
|
|
9208
9837
|
});
|
|
9209
9838
|
var zCompleteJobData = z.object({
|
|
9210
|
-
body: z.optional(
|
|
9211
|
-
variables: z.optional(z.union([
|
|
9212
|
-
z.record(z.string(), z.unknown()),
|
|
9213
|
-
z.null()
|
|
9214
|
-
])),
|
|
9215
|
-
result: z.optional(z.union([
|
|
9216
|
-
z.object({
|
|
9217
|
-
type: z.literal("userTask")
|
|
9218
|
-
}).and(zJobResultUserTask),
|
|
9219
|
-
z.object({
|
|
9220
|
-
activateElements: z.optional(z.array(z.object({
|
|
9221
|
-
elementId: z.optional(zElementId),
|
|
9222
|
-
variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
9223
|
-
description: "Variables for the element."
|
|
9224
|
-
}))
|
|
9225
|
-
}).register(z.globalRegistry, {
|
|
9226
|
-
description: "Instruction to activate a single BPMN element within an ad\u2011hoc sub\u2011process, optionally providing variables scoped to that element."
|
|
9227
|
-
})).register(z.globalRegistry, {
|
|
9228
|
-
description: "Indicates which elements need to be activated in the ad-hoc subprocess."
|
|
9229
|
-
})),
|
|
9230
|
-
isCompletionConditionFulfilled: z.optional(z.boolean().register(z.globalRegistry, {
|
|
9231
|
-
description: "Indicates whether the completion condition of the ad-hoc subprocess is fulfilled."
|
|
9232
|
-
})).default(false),
|
|
9233
|
-
isCancelRemainingInstances: z.optional(z.boolean().register(z.globalRegistry, {
|
|
9234
|
-
description: "Indicates whether the remaining instances of the ad-hoc subprocess should be canceled."
|
|
9235
|
-
})).default(false),
|
|
9236
|
-
type: z.optional(z.string().register(z.globalRegistry, {
|
|
9237
|
-
description: "Used to distinguish between different types of job results."
|
|
9238
|
-
}))
|
|
9239
|
-
}),
|
|
9240
|
-
z.null()
|
|
9241
|
-
]))
|
|
9242
|
-
})),
|
|
9839
|
+
body: z.optional(zJobCompletionRequest),
|
|
9243
9840
|
path: z.object({
|
|
9244
9841
|
jobKey: zJobKey
|
|
9245
9842
|
}),
|
|
@@ -9268,6 +9865,22 @@ var zFailJobData = z.object({
|
|
|
9268
9865
|
var zFailJobResponse = z.void().register(z.globalRegistry, {
|
|
9269
9866
|
description: "The job is failed."
|
|
9270
9867
|
});
|
|
9868
|
+
var zGetGlobalJobStatisticsData = z.object({
|
|
9869
|
+
body: z.optional(z.never()),
|
|
9870
|
+
path: z.optional(z.never()),
|
|
9871
|
+
query: z.object({
|
|
9872
|
+
from: z.iso.datetime().register(z.globalRegistry, {
|
|
9873
|
+
description: "Start of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9874
|
+
}),
|
|
9875
|
+
to: z.iso.datetime().register(z.globalRegistry, {
|
|
9876
|
+
description: "End of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9877
|
+
}),
|
|
9878
|
+
jobType: z.optional(z.string().register(z.globalRegistry, {
|
|
9879
|
+
description: "Optional job type to limit the aggregation to a single job type."
|
|
9880
|
+
}))
|
|
9881
|
+
})
|
|
9882
|
+
});
|
|
9883
|
+
var zGetGlobalJobStatisticsResponse = zGlobalJobStatisticsQueryResult;
|
|
9271
9884
|
var zGetLicenseData = z.object({
|
|
9272
9885
|
body: z.optional(z.never()),
|
|
9273
9886
|
path: z.optional(z.never()),
|
|
@@ -9364,6 +9977,7 @@ var zSearchMessageSubscriptionsResponse = zSearchQueryResponse.and(z.object({
|
|
|
9364
9977
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
9365
9978
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
9366
9979
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
9980
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9367
9981
|
elementId: z.optional(zElementId),
|
|
9368
9982
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
9369
9983
|
messageSubscriptionState: z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -9543,29 +10157,7 @@ var zGetProcessDefinitionStatisticsData = z.object({
|
|
|
9543
10157
|
}),
|
|
9544
10158
|
query: z.optional(z.never())
|
|
9545
10159
|
});
|
|
9546
|
-
var zGetProcessDefinitionStatisticsResponse =
|
|
9547
|
-
items: z.optional(z.array(z.object({
|
|
9548
|
-
elementId: z.optional(zElementId),
|
|
9549
|
-
active: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
9550
|
-
description: "The total number of active instances of the element."
|
|
9551
|
-
})),
|
|
9552
|
-
canceled: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
9553
|
-
description: "The total number of canceled instances of the element."
|
|
9554
|
-
})),
|
|
9555
|
-
incidents: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
9556
|
-
description: "The total number of incidents for the element."
|
|
9557
|
-
})),
|
|
9558
|
-
completed: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
9559
|
-
description: "The total number of completed instances of the element."
|
|
9560
|
-
}))
|
|
9561
|
-
}).register(z.globalRegistry, {
|
|
9562
|
-
description: "Process element statistics response."
|
|
9563
|
-
})).register(z.globalRegistry, {
|
|
9564
|
-
description: "The element statistics."
|
|
9565
|
-
}))
|
|
9566
|
-
}).register(z.globalRegistry, {
|
|
9567
|
-
description: "Process definition element statistics query response."
|
|
9568
|
-
});
|
|
10160
|
+
var zGetProcessDefinitionStatisticsResponse = zProcessDefinitionElementStatisticsQueryResult;
|
|
9569
10161
|
var zGetProcessDefinitionXmlData = z.object({
|
|
9570
10162
|
body: z.optional(z.never()),
|
|
9571
10163
|
path: z.object({
|
|
@@ -9577,7 +10169,7 @@ var zGetProcessDefinitionXmlResponse = z.string().register(z.globalRegistry, {
|
|
|
9577
10169
|
description: "The XML of the process definition is successfully returned."
|
|
9578
10170
|
});
|
|
9579
10171
|
var zGetProcessDefinitionInstanceVersionStatisticsData = z.object({
|
|
9580
|
-
body: z.
|
|
10172
|
+
body: z.object({
|
|
9581
10173
|
page: z.optional(zOffsetPagination),
|
|
9582
10174
|
sort: z.optional(z.array(z.object({
|
|
9583
10175
|
field: z.enum([
|
|
@@ -9594,11 +10186,9 @@ var zGetProcessDefinitionInstanceVersionStatisticsData = z.object({
|
|
|
9594
10186
|
})).register(z.globalRegistry, {
|
|
9595
10187
|
description: "Sort field criteria."
|
|
9596
10188
|
})),
|
|
9597
|
-
filter:
|
|
9598
|
-
})),
|
|
9599
|
-
path: z.object({
|
|
9600
|
-
processDefinitionId: zProcessDefinitionId
|
|
10189
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
9601
10190
|
}),
|
|
10191
|
+
path: z.optional(z.never()),
|
|
9602
10192
|
query: z.optional(z.never())
|
|
9603
10193
|
});
|
|
9604
10194
|
var zGetProcessDefinitionInstanceVersionStatisticsResponse = zProcessDefinitionInstanceVersionStatisticsQueryResult;
|
|
@@ -9614,19 +10204,10 @@ var zCreateProcessInstanceData = z.object({
|
|
|
9614
10204
|
})),
|
|
9615
10205
|
tenantId: z.optional(zTenantId),
|
|
9616
10206
|
operationReference: z.optional(zOperationReference),
|
|
9617
|
-
startInstructions: z.optional(z.array(z.
|
|
9618
|
-
elementId: zElementId
|
|
9619
|
-
})).register(z.globalRegistry, {
|
|
10207
|
+
startInstructions: z.optional(z.array(zProcessInstanceCreationStartInstruction).register(z.globalRegistry, {
|
|
9620
10208
|
description: "List of start instructions. By default, the process instance will start at\nthe start event. If provided, the process instance will apply start instructions\nafter it has been created.\n"
|
|
9621
10209
|
})),
|
|
9622
|
-
runtimeInstructions: z.optional(z.array(z.
|
|
9623
|
-
type: z.optional(z.string().register(z.globalRegistry, {
|
|
9624
|
-
description: "The type of the runtime instruction"
|
|
9625
|
-
})),
|
|
9626
|
-
afterElementId: zElementId
|
|
9627
|
-
}).register(z.globalRegistry, {
|
|
9628
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9629
|
-
})).register(z.globalRegistry, {
|
|
10210
|
+
runtimeInstructions: z.optional(z.array(zProcessInstanceCreationRuntimeInstruction).register(z.globalRegistry, {
|
|
9630
10211
|
description: "Runtime instructions (alpha). List of instructions that affect the runtime behavior of\nthe process instance. Refer to specific instruction types for more details.\n\nThis parameter is an alpha feature and may be subject to change\nin future releases.\n"
|
|
9631
10212
|
})),
|
|
9632
10213
|
awaitCompletion: z.optional(z.boolean().register(z.globalRegistry, {
|
|
@@ -9642,22 +10223,16 @@ var zCreateProcessInstanceData = z.object({
|
|
|
9642
10223
|
}),
|
|
9643
10224
|
z.object({
|
|
9644
10225
|
processDefinitionKey: zProcessDefinitionKey,
|
|
10226
|
+
processDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
|
|
10227
|
+
description: "As the version is already identified by the `processDefinitionKey`, the value of this field is ignored.\nIt's here for backwards-compatibility only as previous releases accepted it in request bodies.\n"
|
|
10228
|
+
})).default(-1),
|
|
9645
10229
|
variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
9646
10230
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
9647
10231
|
})),
|
|
9648
|
-
startInstructions: z.optional(z.array(z.
|
|
9649
|
-
elementId: zElementId
|
|
9650
|
-
})).register(z.globalRegistry, {
|
|
10232
|
+
startInstructions: z.optional(z.array(zProcessInstanceCreationStartInstruction).register(z.globalRegistry, {
|
|
9651
10233
|
description: "List of start instructions. By default, the process instance will start at\nthe start event. If provided, the process instance will apply start instructions\nafter it has been created.\n"
|
|
9652
10234
|
})),
|
|
9653
|
-
runtimeInstructions: z.optional(z.array(z.
|
|
9654
|
-
type: z.optional(z.string().register(z.globalRegistry, {
|
|
9655
|
-
description: "The type of the runtime instruction"
|
|
9656
|
-
})),
|
|
9657
|
-
afterElementId: zElementId
|
|
9658
|
-
}).register(z.globalRegistry, {
|
|
9659
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9660
|
-
})).register(z.globalRegistry, {
|
|
10235
|
+
runtimeInstructions: z.optional(z.array(zProcessInstanceCreationRuntimeInstruction).register(z.globalRegistry, {
|
|
9661
10236
|
description: "Runtime instructions (alpha). List of instructions that affect the runtime behavior of\nthe process instance. Refer to specific instruction types for more details.\n\nThis parameter is an alpha feature and may be subject to change\nin future releases.\n"
|
|
9662
10237
|
})),
|
|
9663
10238
|
tenantId: z.optional(zTenantId),
|
|
@@ -9714,19 +10289,7 @@ var zResolveIncidentsBatchOperationResponse = zBatchOperationCreatedResult;
|
|
|
9714
10289
|
var zMigrateProcessInstancesBatchOperationData = z.object({
|
|
9715
10290
|
body: z.object({
|
|
9716
10291
|
filter: zProcessInstanceFilter,
|
|
9717
|
-
migrationPlan:
|
|
9718
|
-
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9719
|
-
mappingInstructions: z.array(z.object({
|
|
9720
|
-
sourceElementId: zElementId,
|
|
9721
|
-
targetElementId: zElementId
|
|
9722
|
-
}).register(z.globalRegistry, {
|
|
9723
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9724
|
-
})).register(z.globalRegistry, {
|
|
9725
|
-
description: "The mapping instructions."
|
|
9726
|
-
})
|
|
9727
|
-
}).register(z.globalRegistry, {
|
|
9728
|
-
description: "The migration instructions describe how to migrate a process instance from one process definition to another.\n"
|
|
9729
|
-
}),
|
|
10292
|
+
migrationPlan: zProcessInstanceMigrationBatchOperationPlan,
|
|
9730
10293
|
operationReference: z.optional(zOperationReference)
|
|
9731
10294
|
}),
|
|
9732
10295
|
path: z.optional(z.never()),
|
|
@@ -9736,12 +10299,7 @@ var zMigrateProcessInstancesBatchOperationResponse = zBatchOperationCreatedResul
|
|
|
9736
10299
|
var zModifyProcessInstancesBatchOperationData = z.object({
|
|
9737
10300
|
body: z.object({
|
|
9738
10301
|
filter: zProcessInstanceFilter,
|
|
9739
|
-
moveInstructions: z.array(z.
|
|
9740
|
-
sourceElementId: zElementId,
|
|
9741
|
-
targetElementId: zElementId
|
|
9742
|
-
}).register(z.globalRegistry, {
|
|
9743
|
-
description: "Instructions describing a move operation. This instruction will terminate all active\nelement instances at `sourceElementId` and activate a new element instance for each\nterminated one at `targetElementId`. The new element instances are created in the parent\nscope of the source element instances.\n"
|
|
9744
|
-
})).register(z.globalRegistry, {
|
|
10302
|
+
moveInstructions: z.array(zProcessInstanceModificationMoveBatchOperationInstruction).register(z.globalRegistry, {
|
|
9745
10303
|
description: "Instructions for moving tokens between elements."
|
|
9746
10304
|
}),
|
|
9747
10305
|
operationReference: z.optional(zOperationReference)
|
|
@@ -9824,6 +10382,7 @@ var zSearchProcessInstancesResponse = zSearchQueryResponse.and(z.object({
|
|
|
9824
10382
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9825
10383
|
parentProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9826
10384
|
parentElementInstanceKey: z.optional(zElementInstanceKey),
|
|
10385
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9827
10386
|
tags: z.optional(zTagSet)
|
|
9828
10387
|
}).register(z.globalRegistry, {
|
|
9829
10388
|
description: "Process instance search response item."
|
|
@@ -9860,6 +10419,7 @@ var zGetProcessInstanceResponse = z.object({
|
|
|
9860
10419
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9861
10420
|
parentProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9862
10421
|
parentElementInstanceKey: z.optional(zElementInstanceKey),
|
|
10422
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
9863
10423
|
tags: z.optional(zTagSet)
|
|
9864
10424
|
}).register(z.globalRegistry, {
|
|
9865
10425
|
description: "Process instance search response item."
|
|
@@ -9901,7 +10461,9 @@ var zDeleteProcessInstanceData = z.object({
|
|
|
9901
10461
|
}),
|
|
9902
10462
|
query: z.optional(z.never())
|
|
9903
10463
|
});
|
|
9904
|
-
var zDeleteProcessInstanceResponse =
|
|
10464
|
+
var zDeleteProcessInstanceResponse = z.void().register(z.globalRegistry, {
|
|
10465
|
+
description: "The process instance is marked for deletion."
|
|
10466
|
+
});
|
|
9905
10467
|
var zResolveProcessInstanceIncidentsData = z.object({
|
|
9906
10468
|
body: z.optional(z.never()),
|
|
9907
10469
|
path: z.object({
|
|
@@ -9917,16 +10479,31 @@ var zSearchProcessInstanceIncidentsData = z.object({
|
|
|
9917
10479
|
}),
|
|
9918
10480
|
query: z.optional(z.never())
|
|
9919
10481
|
});
|
|
9920
|
-
var zSearchProcessInstanceIncidentsResponse =
|
|
10482
|
+
var zSearchProcessInstanceIncidentsResponse = zSearchQueryResponse.and(z.object({
|
|
10483
|
+
items: z.optional(z.array(z.object({
|
|
10484
|
+
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
10485
|
+
errorType: z.optional(zIncidentErrorTypeEnum),
|
|
10486
|
+
errorMessage: z.optional(z.string().register(z.globalRegistry, {
|
|
10487
|
+
description: "Error message which describes the error in more detail."
|
|
10488
|
+
})),
|
|
10489
|
+
elementId: z.optional(zElementId),
|
|
10490
|
+
creationTime: z.optional(z.iso.datetime()),
|
|
10491
|
+
state: z.optional(zIncidentStateEnum),
|
|
10492
|
+
tenantId: z.optional(zTenantId),
|
|
10493
|
+
incidentKey: z.optional(zIncidentKey),
|
|
10494
|
+
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
10495
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
10496
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
10497
|
+
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
10498
|
+
jobKey: z.optional(zJobKey)
|
|
10499
|
+
})).register(z.globalRegistry, {
|
|
10500
|
+
description: "The matching incidents."
|
|
10501
|
+
}))
|
|
10502
|
+
}));
|
|
9921
10503
|
var zMigrateProcessInstanceData = z.object({
|
|
9922
10504
|
body: z.object({
|
|
9923
10505
|
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9924
|
-
mappingInstructions: z.array(z.
|
|
9925
|
-
sourceElementId: zElementId,
|
|
9926
|
-
targetElementId: zElementId
|
|
9927
|
-
}).register(z.globalRegistry, {
|
|
9928
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9929
|
-
})).register(z.globalRegistry, {
|
|
10506
|
+
mappingInstructions: z.array(zMigrateProcessInstanceMappingInstruction).register(z.globalRegistry, {
|
|
9930
10507
|
description: "Element mappings from the source process instance to the target process instance."
|
|
9931
10508
|
}),
|
|
9932
10509
|
operationReference: z.optional(zOperationReference)
|
|
@@ -9944,53 +10521,14 @@ var zMigrateProcessInstanceResponse = z.void().register(z.globalRegistry, {
|
|
|
9944
10521
|
var zModifyProcessInstanceData = z.object({
|
|
9945
10522
|
body: z.object({
|
|
9946
10523
|
operationReference: z.optional(zOperationReference),
|
|
9947
|
-
activateInstructions: z.optional(z.array(z.
|
|
9948
|
-
elementId: zElementId,
|
|
9949
|
-
variableInstructions: z.optional(z.array(zModifyProcessInstanceVariableInstruction).register(z.globalRegistry, {
|
|
9950
|
-
description: "Instructions describing which variables to create or update."
|
|
9951
|
-
})),
|
|
9952
|
-
ancestorElementInstanceKey: z.optional(z.union([
|
|
9953
|
-
z.string().default("-1"),
|
|
9954
|
-
zElementInstanceKey
|
|
9955
|
-
]))
|
|
9956
|
-
}).register(z.globalRegistry, {
|
|
9957
|
-
description: "Instruction describing an element to activate."
|
|
9958
|
-
})).register(z.globalRegistry, {
|
|
10524
|
+
activateInstructions: z.optional(z.array(zProcessInstanceModificationActivateInstruction).register(z.globalRegistry, {
|
|
9959
10525
|
description: "Instructions describing which elements to activate in which scopes and which variables to create or update."
|
|
9960
10526
|
})),
|
|
9961
|
-
moveInstructions: z.optional(z.array(z.
|
|
9962
|
-
sourceElementInstruction: z.union([
|
|
9963
|
-
z.object({
|
|
9964
|
-
sourceType: z.string().register(z.globalRegistry, {
|
|
9965
|
-
description: "The type of source element instruction."
|
|
9966
|
-
}),
|
|
9967
|
-
sourceElementId: zElementId
|
|
9968
|
-
}).register(z.globalRegistry, {
|
|
9969
|
-
description: "Defines an instruction with a sourceElementId. The move instruction with this sourceType will terminate all active element\ninstances with the sourceElementId and activate a new element instance for each terminated\none at targetElementId.\n"
|
|
9970
|
-
}),
|
|
9971
|
-
z.object({
|
|
9972
|
-
sourceType: z.literal("byKey")
|
|
9973
|
-
}).and(zSourceElementInstanceKeyInstruction)
|
|
9974
|
-
]),
|
|
9975
|
-
targetElementId: zElementId,
|
|
9976
|
-
ancestorScopeInstruction: z.optional(zAncestorScopeInstruction),
|
|
9977
|
-
variableInstructions: z.optional(z.array(zModifyProcessInstanceVariableInstruction).register(z.globalRegistry, {
|
|
9978
|
-
description: "Instructions describing which variables to create or update."
|
|
9979
|
-
}))
|
|
9980
|
-
}).register(z.globalRegistry, {
|
|
9981
|
-
description: "Instruction describing a move operation. This instruction will terminate active element\ninstances based on the sourceElementInstruction and activate a new element instance for each terminated\none at targetElementId. Note that, for multi-instance activities, only the multi-instance\nbody instances will activate new element instances at the target id.\n"
|
|
9982
|
-
})).register(z.globalRegistry, {
|
|
10527
|
+
moveInstructions: z.optional(z.array(zProcessInstanceModificationMoveInstruction).register(z.globalRegistry, {
|
|
9983
10528
|
description: "Instructions describing which elements to move from one scope to another."
|
|
9984
10529
|
})),
|
|
9985
|
-
terminateInstructions: z.optional(z.array(z.
|
|
9986
|
-
|
|
9987
|
-
elementId: zElementId
|
|
9988
|
-
}).register(z.globalRegistry, {
|
|
9989
|
-
description: "Instruction describing which elements to terminate. The element instances are determined\nat runtime by the given id.\n"
|
|
9990
|
-
}),
|
|
9991
|
-
zProcessInstanceModificationTerminateByKeyInstruction
|
|
9992
|
-
])).register(z.globalRegistry, {
|
|
9993
|
-
description: "Instruction describing which elements to terminate."
|
|
10530
|
+
terminateInstructions: z.optional(z.array(zProcessInstanceModificationTerminateInstruction).register(z.globalRegistry, {
|
|
10531
|
+
description: "Instructions describing which elements to terminate."
|
|
9994
10532
|
}))
|
|
9995
10533
|
}),
|
|
9996
10534
|
path: z.object({
|
|
@@ -10014,6 +10552,7 @@ var zGetProcessInstanceSequenceFlowsResponse = z.object({
|
|
|
10014
10552
|
description: "The sequence flow id."
|
|
10015
10553
|
})),
|
|
10016
10554
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
10555
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
10017
10556
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
10018
10557
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
10019
10558
|
elementId: z.optional(zElementId),
|
|
@@ -10033,29 +10572,7 @@ var zGetProcessInstanceStatisticsData = z.object({
|
|
|
10033
10572
|
}),
|
|
10034
10573
|
query: z.optional(z.never())
|
|
10035
10574
|
});
|
|
10036
|
-
var zGetProcessInstanceStatisticsResponse =
|
|
10037
|
-
items: z.optional(z.array(z.object({
|
|
10038
|
-
elementId: z.optional(zElementId),
|
|
10039
|
-
active: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
10040
|
-
description: "The total number of active instances of the element."
|
|
10041
|
-
})),
|
|
10042
|
-
canceled: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
10043
|
-
description: "The total number of canceled instances of the element."
|
|
10044
|
-
})),
|
|
10045
|
-
incidents: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
10046
|
-
description: "The total number of incidents for the element."
|
|
10047
|
-
})),
|
|
10048
|
-
completed: z.optional(z.coerce.bigint().register(z.globalRegistry, {
|
|
10049
|
-
description: "The total number of completed instances of the element."
|
|
10050
|
-
}))
|
|
10051
|
-
}).register(z.globalRegistry, {
|
|
10052
|
-
description: "Process element statistics response."
|
|
10053
|
-
})).register(z.globalRegistry, {
|
|
10054
|
-
description: "The element statistics."
|
|
10055
|
-
}))
|
|
10056
|
-
}).register(z.globalRegistry, {
|
|
10057
|
-
description: "Process instance element statistics query response."
|
|
10058
|
-
});
|
|
10575
|
+
var zGetProcessInstanceStatisticsResponse = zProcessInstanceElementStatisticsQueryResult;
|
|
10059
10576
|
var zGetResourceData = z.object({
|
|
10060
10577
|
body: z.optional(z.never()),
|
|
10061
10578
|
path: z.object({
|
|
@@ -10692,9 +11209,7 @@ var zSearchUserTasksData = z.object({
|
|
|
10692
11209
|
assignee: z.optional(zStringFilterProperty),
|
|
10693
11210
|
priority: z.optional(zIntegerFilterProperty),
|
|
10694
11211
|
elementId: z.optional(zElementId),
|
|
10695
|
-
name: z.optional(
|
|
10696
|
-
description: "The task name. This only works for data created with 8.8 and onwards. Instances from prior versions don't contain this data and cannot be found.\n"
|
|
10697
|
-
})),
|
|
11212
|
+
name: z.optional(zStringFilterProperty),
|
|
10698
11213
|
candidateGroup: z.optional(zStringFilterProperty),
|
|
10699
11214
|
candidateUser: z.optional(zStringFilterProperty),
|
|
10700
11215
|
tenantId: z.optional(zStringFilterProperty),
|
|
@@ -10768,6 +11283,7 @@ var zSearchUserTasksResponse = zSearchQueryResponse.and(z.object({
|
|
|
10768
11283
|
})),
|
|
10769
11284
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
10770
11285
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11286
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
10771
11287
|
formKey: z.optional(zFormKey),
|
|
10772
11288
|
tags: z.optional(zTagSet)
|
|
10773
11289
|
})).register(z.globalRegistry, {
|
|
@@ -10831,6 +11347,7 @@ var zGetUserTaskResponse = z.object({
|
|
|
10831
11347
|
})),
|
|
10832
11348
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
10833
11349
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11350
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
10834
11351
|
formKey: z.optional(zFormKey),
|
|
10835
11352
|
tags: z.optional(zTagSet)
|
|
10836
11353
|
}).register(z.globalRegistry, {
|
|
@@ -10904,6 +11421,7 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(z.object({
|
|
|
10904
11421
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
10905
11422
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
10906
11423
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11424
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey),
|
|
10907
11425
|
elementInstanceKey: z.optional(zElementInstanceKey),
|
|
10908
11426
|
jobKey: z.optional(zJobKey),
|
|
10909
11427
|
userTaskKey: z.optional(zUserTaskKey),
|
|
@@ -10916,7 +11434,12 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(z.object({
|
|
|
10916
11434
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
10917
11435
|
deploymentKey: z.optional(zDeploymentKey),
|
|
10918
11436
|
formKey: z.optional(zFormKey),
|
|
10919
|
-
resourceKey: z.optional(zResourceKey)
|
|
11437
|
+
resourceKey: z.optional(zResourceKey),
|
|
11438
|
+
relatedEntityKey: z.optional(zAuditLogEntityKey),
|
|
11439
|
+
relatedEntityType: z.optional(zAuditLogEntityTypeEnum),
|
|
11440
|
+
entityDescription: z.optional(z.string().register(z.globalRegistry, {
|
|
11441
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
11442
|
+
}))
|
|
10920
11443
|
}).register(z.globalRegistry, {
|
|
10921
11444
|
description: "Audit log item."
|
|
10922
11445
|
})).register(z.globalRegistry, {
|
|
@@ -10994,7 +11517,33 @@ var zSearchUserTaskVariablesData = z.object({
|
|
|
10994
11517
|
}))
|
|
10995
11518
|
}))
|
|
10996
11519
|
});
|
|
10997
|
-
var zSearchUserTaskVariablesResponse =
|
|
11520
|
+
var zSearchUserTaskVariablesResponse = zSearchQueryResponse.and(z.object({
|
|
11521
|
+
items: z.optional(z.array(z.object({
|
|
11522
|
+
name: z.optional(z.string().register(z.globalRegistry, {
|
|
11523
|
+
description: "Name of this variable."
|
|
11524
|
+
})),
|
|
11525
|
+
tenantId: z.optional(zTenantId),
|
|
11526
|
+
variableKey: z.optional(zVariableKey),
|
|
11527
|
+
scopeKey: z.optional(zScopeKey),
|
|
11528
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11529
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey)
|
|
11530
|
+
}).register(z.globalRegistry, {
|
|
11531
|
+
description: "Variable response item."
|
|
11532
|
+
}).and(z.object({
|
|
11533
|
+
value: z.optional(z.string().register(z.globalRegistry, {
|
|
11534
|
+
description: "Value of this variable. Can be truncated."
|
|
11535
|
+
})),
|
|
11536
|
+
isTruncated: z.optional(z.boolean().register(z.globalRegistry, {
|
|
11537
|
+
description: "Whether the value is truncated or not."
|
|
11538
|
+
}))
|
|
11539
|
+
}).register(z.globalRegistry, {
|
|
11540
|
+
description: "Variable search response item."
|
|
11541
|
+
}))).register(z.globalRegistry, {
|
|
11542
|
+
description: "The matching variables."
|
|
11543
|
+
}))
|
|
11544
|
+
}).register(z.globalRegistry, {
|
|
11545
|
+
description: "Variable search query response."
|
|
11546
|
+
}));
|
|
10998
11547
|
var zSearchVariablesData = z.object({
|
|
10999
11548
|
body: z.optional(zSearchQueryRequest.and(z.object({
|
|
11000
11549
|
sort: z.optional(z.array(z.object({
|
|
@@ -11020,39 +11569,48 @@ var zSearchVariablesData = z.object({
|
|
|
11020
11569
|
description: "Whether the value is truncated or not."
|
|
11021
11570
|
})),
|
|
11022
11571
|
variableKey: z.optional(zVariableKeyFilterProperty),
|
|
11023
|
-
scopeKey: z.optional(
|
|
11024
|
-
zScopeKey,
|
|
11025
|
-
z.object({
|
|
11026
|
-
"$eq": z.optional(zScopeKey),
|
|
11027
|
-
"$neq": z.optional(zScopeKey),
|
|
11028
|
-
"$exists": z.optional(z.boolean().register(z.globalRegistry, {
|
|
11029
|
-
description: "Checks if the current property exists."
|
|
11030
|
-
})),
|
|
11031
|
-
"$in": z.optional(z.array(zScopeKey).register(z.globalRegistry, {
|
|
11032
|
-
description: "Checks if the property matches any of the provided values."
|
|
11033
|
-
})),
|
|
11034
|
-
"$notIn": z.optional(z.array(zScopeKey).register(z.globalRegistry, {
|
|
11035
|
-
description: "Checks if the property matches none of the provided values."
|
|
11036
|
-
}))
|
|
11037
|
-
}).register(z.globalRegistry, {
|
|
11038
|
-
description: "Advanced ScopeKey filter."
|
|
11039
|
-
})
|
|
11040
|
-
])),
|
|
11572
|
+
scopeKey: z.optional(zScopeKeyFilterProperty),
|
|
11041
11573
|
processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty)
|
|
11042
11574
|
}).register(z.globalRegistry, {
|
|
11043
11575
|
description: "Variable filter request."
|
|
11044
11576
|
}))
|
|
11045
11577
|
}).register(z.globalRegistry, {
|
|
11046
|
-
description: "Variable search query request."
|
|
11047
|
-
}))),
|
|
11048
|
-
path: z.optional(z.never()),
|
|
11049
|
-
query: z.optional(z.object({
|
|
11050
|
-
truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
|
|
11051
|
-
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
11578
|
+
description: "Variable search query request."
|
|
11579
|
+
}))),
|
|
11580
|
+
path: z.optional(z.never()),
|
|
11581
|
+
query: z.optional(z.object({
|
|
11582
|
+
truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
|
|
11583
|
+
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
11584
|
+
}))
|
|
11585
|
+
}))
|
|
11586
|
+
});
|
|
11587
|
+
var zSearchVariablesResponse = zSearchQueryResponse.and(z.object({
|
|
11588
|
+
items: z.optional(z.array(z.object({
|
|
11589
|
+
name: z.optional(z.string().register(z.globalRegistry, {
|
|
11590
|
+
description: "Name of this variable."
|
|
11591
|
+
})),
|
|
11592
|
+
tenantId: z.optional(zTenantId),
|
|
11593
|
+
variableKey: z.optional(zVariableKey),
|
|
11594
|
+
scopeKey: z.optional(zScopeKey),
|
|
11595
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11596
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey)
|
|
11597
|
+
}).register(z.globalRegistry, {
|
|
11598
|
+
description: "Variable response item."
|
|
11599
|
+
}).and(z.object({
|
|
11600
|
+
value: z.optional(z.string().register(z.globalRegistry, {
|
|
11601
|
+
description: "Value of this variable. Can be truncated."
|
|
11602
|
+
})),
|
|
11603
|
+
isTruncated: z.optional(z.boolean().register(z.globalRegistry, {
|
|
11604
|
+
description: "Whether the value is truncated or not."
|
|
11052
11605
|
}))
|
|
11606
|
+
}).register(z.globalRegistry, {
|
|
11607
|
+
description: "Variable search response item."
|
|
11608
|
+
}))).register(z.globalRegistry, {
|
|
11609
|
+
description: "The matching variables."
|
|
11053
11610
|
}))
|
|
11054
|
-
})
|
|
11055
|
-
|
|
11611
|
+
}).register(z.globalRegistry, {
|
|
11612
|
+
description: "Variable search query response."
|
|
11613
|
+
}));
|
|
11056
11614
|
var zGetVariableData = z.object({
|
|
11057
11615
|
body: z.optional(z.never()),
|
|
11058
11616
|
path: z.object({
|
|
@@ -11060,7 +11618,24 @@ var zGetVariableData = z.object({
|
|
|
11060
11618
|
}),
|
|
11061
11619
|
query: z.optional(z.never())
|
|
11062
11620
|
});
|
|
11063
|
-
var zGetVariableResponse =
|
|
11621
|
+
var zGetVariableResponse = z.object({
|
|
11622
|
+
name: z.optional(z.string().register(z.globalRegistry, {
|
|
11623
|
+
description: "Name of this variable."
|
|
11624
|
+
})),
|
|
11625
|
+
tenantId: z.optional(zTenantId),
|
|
11626
|
+
variableKey: z.optional(zVariableKey),
|
|
11627
|
+
scopeKey: z.optional(zScopeKey),
|
|
11628
|
+
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
11629
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKey)
|
|
11630
|
+
}).register(z.globalRegistry, {
|
|
11631
|
+
description: "Variable response item."
|
|
11632
|
+
}).and(z.object({
|
|
11633
|
+
value: z.optional(z.string().register(z.globalRegistry, {
|
|
11634
|
+
description: "Full value of this variable."
|
|
11635
|
+
}))
|
|
11636
|
+
}).register(z.globalRegistry, {
|
|
11637
|
+
description: "Variable search response item."
|
|
11638
|
+
}));
|
|
11064
11639
|
|
|
11065
11640
|
// src/runtime/auth.ts
|
|
11066
11641
|
var CamundaAuthError = class extends Error {
|
|
@@ -12299,7 +12874,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
12299
12874
|
}
|
|
12300
12875
|
|
|
12301
12876
|
// src/runtime/version.ts
|
|
12302
|
-
var packageVersion = "8.9.0-alpha.
|
|
12877
|
+
var packageVersion = "8.9.0-alpha.3";
|
|
12303
12878
|
|
|
12304
12879
|
// src/runtime/supportLogger.ts
|
|
12305
12880
|
var NoopSupportLogger = class {
|
|
@@ -15660,6 +16235,116 @@ var CamundaClient = class {
|
|
|
15660
16235
|
return this._invokeWithRetry(() => call(), { opId: "deleteAuthorization", exempt: false });
|
|
15661
16236
|
});
|
|
15662
16237
|
}
|
|
16238
|
+
deleteDecisionInstance(arg, consistencyManagement) {
|
|
16239
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16240
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16241
|
+
return toCancelable2(async (signal) => {
|
|
16242
|
+
const { decisionInstanceKey, ..._body } = arg || {};
|
|
16243
|
+
let envelope = {};
|
|
16244
|
+
envelope.path = { decisionInstanceKey };
|
|
16245
|
+
envelope.body = _body;
|
|
16246
|
+
if (this._validation.settings.req !== "none") {
|
|
16247
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstance", zDeleteDecisionInstanceData, envelope);
|
|
16248
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16249
|
+
}
|
|
16250
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16251
|
+
if (envelope.path) opts.path = envelope.path;
|
|
16252
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16253
|
+
const call = async () => {
|
|
16254
|
+
try {
|
|
16255
|
+
const _raw = await deleteDecisionInstance(opts);
|
|
16256
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstance", (resp) => {
|
|
16257
|
+
const st = resp.status ?? resp.response?.status;
|
|
16258
|
+
if (!st) return void 0;
|
|
16259
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16260
|
+
if (!candidate) return void 0;
|
|
16261
|
+
let prob = void 0;
|
|
16262
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16263
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16264
|
+
err.status = st;
|
|
16265
|
+
err.name = "HttpSdkError";
|
|
16266
|
+
if (prob) {
|
|
16267
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16268
|
+
}
|
|
16269
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16270
|
+
if (!isBp) err.nonRetryable = true;
|
|
16271
|
+
return err;
|
|
16272
|
+
});
|
|
16273
|
+
const _respSchemaName = "zDeleteDecisionInstanceResponse";
|
|
16274
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16275
|
+
data = void 0;
|
|
16276
|
+
}
|
|
16277
|
+
if (this._validation.settings.res !== "none") {
|
|
16278
|
+
const _schema = zDeleteDecisionInstanceResponse;
|
|
16279
|
+
if (_schema) {
|
|
16280
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstance", _schema, data);
|
|
16281
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16282
|
+
}
|
|
16283
|
+
}
|
|
16284
|
+
return data;
|
|
16285
|
+
} catch (e) {
|
|
16286
|
+
throw e;
|
|
16287
|
+
}
|
|
16288
|
+
};
|
|
16289
|
+
const invoke = () => toCancelable2(() => call());
|
|
16290
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstance", false, invoke, { ...useConsistency, logger: this._log });
|
|
16291
|
+
return invoke();
|
|
16292
|
+
});
|
|
16293
|
+
}
|
|
16294
|
+
deleteDecisionInstancesBatchOperation(arg, consistencyManagement) {
|
|
16295
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16296
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16297
|
+
return toCancelable2(async (signal) => {
|
|
16298
|
+
const _body = arg;
|
|
16299
|
+
let envelope = {};
|
|
16300
|
+
envelope.body = _body;
|
|
16301
|
+
if (this._validation.settings.req !== "none") {
|
|
16302
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstancesBatchOperation", zDeleteDecisionInstancesBatchOperationData, envelope);
|
|
16303
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16304
|
+
}
|
|
16305
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16306
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16307
|
+
const call = async () => {
|
|
16308
|
+
try {
|
|
16309
|
+
const _raw = await deleteDecisionInstancesBatchOperation(opts);
|
|
16310
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstancesBatchOperation", (resp) => {
|
|
16311
|
+
const st = resp.status ?? resp.response?.status;
|
|
16312
|
+
if (!st) return void 0;
|
|
16313
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16314
|
+
if (!candidate) return void 0;
|
|
16315
|
+
let prob = void 0;
|
|
16316
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16317
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16318
|
+
err.status = st;
|
|
16319
|
+
err.name = "HttpSdkError";
|
|
16320
|
+
if (prob) {
|
|
16321
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16322
|
+
}
|
|
16323
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16324
|
+
if (!isBp) err.nonRetryable = true;
|
|
16325
|
+
return err;
|
|
16326
|
+
});
|
|
16327
|
+
const _respSchemaName = "zDeleteDecisionInstancesBatchOperationResponse";
|
|
16328
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16329
|
+
data = void 0;
|
|
16330
|
+
}
|
|
16331
|
+
if (this._validation.settings.res !== "none") {
|
|
16332
|
+
const _schema = zDeleteDecisionInstancesBatchOperationResponse;
|
|
16333
|
+
if (_schema) {
|
|
16334
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstancesBatchOperation", _schema, data);
|
|
16335
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16336
|
+
}
|
|
16337
|
+
}
|
|
16338
|
+
return data;
|
|
16339
|
+
} catch (e) {
|
|
16340
|
+
throw e;
|
|
16341
|
+
}
|
|
16342
|
+
};
|
|
16343
|
+
const invoke = () => toCancelable2(() => call());
|
|
16344
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstancesBatchOperation", false, invoke, { ...useConsistency, logger: this._log });
|
|
16345
|
+
return invoke();
|
|
16346
|
+
});
|
|
16347
|
+
}
|
|
15663
16348
|
deleteDocument(arg) {
|
|
15664
16349
|
return toCancelable2(async (signal) => {
|
|
15665
16350
|
const { documentId, storeId } = arg || {};
|
|
@@ -17076,6 +17761,60 @@ var CamundaClient = class {
|
|
|
17076
17761
|
return invoke();
|
|
17077
17762
|
});
|
|
17078
17763
|
}
|
|
17764
|
+
getGlobalJobStatistics(arg, consistencyManagement) {
|
|
17765
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17766
|
+
const useConsistency = consistencyManagement.consistency;
|
|
17767
|
+
return toCancelable2(async (signal) => {
|
|
17768
|
+
const { from, to, jobType } = arg || {};
|
|
17769
|
+
let envelope = {};
|
|
17770
|
+
envelope.query = { from, to, jobType };
|
|
17771
|
+
if (this._validation.settings.req !== "none") {
|
|
17772
|
+
const maybe = await this._validation.gateRequest("getGlobalJobStatistics", zGetGlobalJobStatisticsData, envelope);
|
|
17773
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17774
|
+
}
|
|
17775
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
17776
|
+
if (envelope.query) opts.query = envelope.query;
|
|
17777
|
+
const call = async () => {
|
|
17778
|
+
try {
|
|
17779
|
+
const _raw = await getGlobalJobStatistics(opts);
|
|
17780
|
+
let data = this._evaluateResponse(_raw, "getGlobalJobStatistics", (resp) => {
|
|
17781
|
+
const st = resp.status ?? resp.response?.status;
|
|
17782
|
+
if (!st) return void 0;
|
|
17783
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
17784
|
+
if (!candidate) return void 0;
|
|
17785
|
+
let prob = void 0;
|
|
17786
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
17787
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
17788
|
+
err.status = st;
|
|
17789
|
+
err.name = "HttpSdkError";
|
|
17790
|
+
if (prob) {
|
|
17791
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
17792
|
+
}
|
|
17793
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
17794
|
+
if (!isBp) err.nonRetryable = true;
|
|
17795
|
+
return err;
|
|
17796
|
+
});
|
|
17797
|
+
const _respSchemaName = "zGetGlobalJobStatisticsResponse";
|
|
17798
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
17799
|
+
data = void 0;
|
|
17800
|
+
}
|
|
17801
|
+
if (this._validation.settings.res !== "none") {
|
|
17802
|
+
const _schema = zGetGlobalJobStatisticsResponse;
|
|
17803
|
+
if (_schema) {
|
|
17804
|
+
const maybeR = await this._validation.gateResponse("getGlobalJobStatistics", _schema, data);
|
|
17805
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
17806
|
+
}
|
|
17807
|
+
}
|
|
17808
|
+
return data;
|
|
17809
|
+
} catch (e) {
|
|
17810
|
+
throw e;
|
|
17811
|
+
}
|
|
17812
|
+
};
|
|
17813
|
+
const invoke = () => toCancelable2(() => call());
|
|
17814
|
+
if (useConsistency) return eventualPoll("getGlobalJobStatistics", true, invoke, { ...useConsistency, logger: this._log });
|
|
17815
|
+
return invoke();
|
|
17816
|
+
});
|
|
17817
|
+
}
|
|
17079
17818
|
getGroup(arg, consistencyManagement) {
|
|
17080
17819
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17081
17820
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -17392,16 +18131,14 @@ var CamundaClient = class {
|
|
|
17392
18131
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17393
18132
|
const useConsistency = consistencyManagement.consistency;
|
|
17394
18133
|
return toCancelable2(async (signal) => {
|
|
17395
|
-
const
|
|
18134
|
+
const _body = arg;
|
|
17396
18135
|
let envelope = {};
|
|
17397
|
-
envelope.path = { processDefinitionId };
|
|
17398
18136
|
envelope.body = _body;
|
|
17399
18137
|
if (this._validation.settings.req !== "none") {
|
|
17400
18138
|
const maybe = await this._validation.gateRequest("getProcessDefinitionInstanceVersionStatistics", zGetProcessDefinitionInstanceVersionStatisticsData, envelope);
|
|
17401
18139
|
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17402
18140
|
}
|
|
17403
18141
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17404
|
-
if (envelope.path) opts.path = envelope.path;
|
|
17405
18142
|
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
17406
18143
|
const call = async () => {
|
|
17407
18144
|
try {
|
|
@@ -22132,6 +22869,58 @@ var CamundaClient = class {
|
|
|
22132
22869
|
return this._invokeWithRetry(() => call(), { opId: "updateAuthorization", exempt: false });
|
|
22133
22870
|
});
|
|
22134
22871
|
}
|
|
22872
|
+
updateGlobalClusterVariable(arg) {
|
|
22873
|
+
return toCancelable2(async (signal) => {
|
|
22874
|
+
const { name, ..._body } = arg || {};
|
|
22875
|
+
let envelope = {};
|
|
22876
|
+
envelope.path = { name };
|
|
22877
|
+
envelope.body = _body;
|
|
22878
|
+
if (this._validation.settings.req !== "none") {
|
|
22879
|
+
const maybe = await this._validation.gateRequest("updateGlobalClusterVariable", zUpdateGlobalClusterVariableData, envelope);
|
|
22880
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
22881
|
+
}
|
|
22882
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
22883
|
+
if (envelope.path) opts.path = envelope.path;
|
|
22884
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
22885
|
+
const call = async () => {
|
|
22886
|
+
try {
|
|
22887
|
+
const _raw = await updateGlobalClusterVariable(opts);
|
|
22888
|
+
let data = this._evaluateResponse(_raw, "updateGlobalClusterVariable", (resp) => {
|
|
22889
|
+
const st = resp.status ?? resp.response?.status;
|
|
22890
|
+
if (!st) return void 0;
|
|
22891
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
22892
|
+
if (!candidate) return void 0;
|
|
22893
|
+
let prob = void 0;
|
|
22894
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
22895
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
22896
|
+
err.status = st;
|
|
22897
|
+
err.name = "HttpSdkError";
|
|
22898
|
+
if (prob) {
|
|
22899
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
22900
|
+
}
|
|
22901
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
22902
|
+
if (!isBp) err.nonRetryable = true;
|
|
22903
|
+
return err;
|
|
22904
|
+
});
|
|
22905
|
+
const _respSchemaName = "zUpdateGlobalClusterVariableResponse";
|
|
22906
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
22907
|
+
data = void 0;
|
|
22908
|
+
}
|
|
22909
|
+
if (this._validation.settings.res !== "none") {
|
|
22910
|
+
const _schema = zUpdateGlobalClusterVariableResponse;
|
|
22911
|
+
if (_schema) {
|
|
22912
|
+
const maybeR = await this._validation.gateResponse("updateGlobalClusterVariable", _schema, data);
|
|
22913
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
22914
|
+
}
|
|
22915
|
+
}
|
|
22916
|
+
return data;
|
|
22917
|
+
} catch (e) {
|
|
22918
|
+
throw e;
|
|
22919
|
+
}
|
|
22920
|
+
};
|
|
22921
|
+
return this._invokeWithRetry(() => call(), { opId: "updateGlobalClusterVariable", exempt: false });
|
|
22922
|
+
});
|
|
22923
|
+
}
|
|
22135
22924
|
updateGroup(arg) {
|
|
22136
22925
|
return toCancelable2(async (signal) => {
|
|
22137
22926
|
const { groupId, ..._body } = arg || {};
|
|
@@ -22392,6 +23181,58 @@ var CamundaClient = class {
|
|
|
22392
23181
|
return this._invokeWithRetry(() => call(), { opId: "updateTenant", exempt: false });
|
|
22393
23182
|
});
|
|
22394
23183
|
}
|
|
23184
|
+
updateTenantClusterVariable(arg) {
|
|
23185
|
+
return toCancelable2(async (signal) => {
|
|
23186
|
+
const { tenantId, name, ..._body } = arg || {};
|
|
23187
|
+
let envelope = {};
|
|
23188
|
+
envelope.path = { tenantId, name };
|
|
23189
|
+
envelope.body = _body;
|
|
23190
|
+
if (this._validation.settings.req !== "none") {
|
|
23191
|
+
const maybe = await this._validation.gateRequest("updateTenantClusterVariable", zUpdateTenantClusterVariableData, envelope);
|
|
23192
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
23193
|
+
}
|
|
23194
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
23195
|
+
if (envelope.path) opts.path = envelope.path;
|
|
23196
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
23197
|
+
const call = async () => {
|
|
23198
|
+
try {
|
|
23199
|
+
const _raw = await updateTenantClusterVariable(opts);
|
|
23200
|
+
let data = this._evaluateResponse(_raw, "updateTenantClusterVariable", (resp) => {
|
|
23201
|
+
const st = resp.status ?? resp.response?.status;
|
|
23202
|
+
if (!st) return void 0;
|
|
23203
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
23204
|
+
if (!candidate) return void 0;
|
|
23205
|
+
let prob = void 0;
|
|
23206
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
23207
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
23208
|
+
err.status = st;
|
|
23209
|
+
err.name = "HttpSdkError";
|
|
23210
|
+
if (prob) {
|
|
23211
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
23212
|
+
}
|
|
23213
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
23214
|
+
if (!isBp) err.nonRetryable = true;
|
|
23215
|
+
return err;
|
|
23216
|
+
});
|
|
23217
|
+
const _respSchemaName = "zUpdateTenantClusterVariableResponse";
|
|
23218
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
23219
|
+
data = void 0;
|
|
23220
|
+
}
|
|
23221
|
+
if (this._validation.settings.res !== "none") {
|
|
23222
|
+
const _schema = zUpdateTenantClusterVariableResponse;
|
|
23223
|
+
if (_schema) {
|
|
23224
|
+
const maybeR = await this._validation.gateResponse("updateTenantClusterVariable", _schema, data);
|
|
23225
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
23226
|
+
}
|
|
23227
|
+
}
|
|
23228
|
+
return data;
|
|
23229
|
+
} catch (e) {
|
|
23230
|
+
throw e;
|
|
23231
|
+
}
|
|
23232
|
+
};
|
|
23233
|
+
return this._invokeWithRetry(() => call(), { opId: "updateTenantClusterVariable", exempt: false });
|
|
23234
|
+
});
|
|
23235
|
+
}
|
|
22395
23236
|
updateUser(arg, consistencyManagement) {
|
|
22396
23237
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
22397
23238
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -22700,4 +23541,4 @@ export {
|
|
|
22700
23541
|
withTimeoutTE,
|
|
22701
23542
|
eventuallyTE
|
|
22702
23543
|
};
|
|
22703
|
-
//# sourceMappingURL=chunk-
|
|
23544
|
+
//# sourceMappingURL=chunk-TDV2PIHJ.js.map
|