@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
package/dist/fp/index.cjs
CHANGED
|
@@ -1062,6 +1062,18 @@ var getGlobalClusterVariable = (options) => {
|
|
|
1062
1062
|
...options
|
|
1063
1063
|
});
|
|
1064
1064
|
};
|
|
1065
|
+
var updateGlobalClusterVariable = (options) => {
|
|
1066
|
+
return (options.client ?? client).put({
|
|
1067
|
+
requestValidator: void 0,
|
|
1068
|
+
responseValidator: void 0,
|
|
1069
|
+
url: "/cluster-variables/global/{name}",
|
|
1070
|
+
...options,
|
|
1071
|
+
headers: {
|
|
1072
|
+
"Content-Type": "application/json",
|
|
1073
|
+
...options.headers
|
|
1074
|
+
}
|
|
1075
|
+
});
|
|
1076
|
+
};
|
|
1065
1077
|
var searchClusterVariables = (options) => {
|
|
1066
1078
|
return (options?.client ?? client).post({
|
|
1067
1079
|
requestValidator: void 0,
|
|
@@ -1102,6 +1114,18 @@ var getTenantClusterVariable = (options) => {
|
|
|
1102
1114
|
...options
|
|
1103
1115
|
});
|
|
1104
1116
|
};
|
|
1117
|
+
var updateTenantClusterVariable = (options) => {
|
|
1118
|
+
return (options.client ?? client).put({
|
|
1119
|
+
requestValidator: void 0,
|
|
1120
|
+
responseValidator: void 0,
|
|
1121
|
+
url: "/cluster-variables/tenants/{tenantId}/{name}",
|
|
1122
|
+
...options,
|
|
1123
|
+
headers: {
|
|
1124
|
+
"Content-Type": "application/json",
|
|
1125
|
+
...options.headers
|
|
1126
|
+
}
|
|
1127
|
+
});
|
|
1128
|
+
};
|
|
1105
1129
|
var evaluateConditionals = (options) => {
|
|
1106
1130
|
return (options.client ?? client).post({
|
|
1107
1131
|
requestValidator: void 0,
|
|
@@ -1186,6 +1210,30 @@ var getDecisionInstance = (options) => {
|
|
|
1186
1210
|
...options
|
|
1187
1211
|
});
|
|
1188
1212
|
};
|
|
1213
|
+
var deleteDecisionInstance = (options) => {
|
|
1214
|
+
return (options.client ?? client).post({
|
|
1215
|
+
requestValidator: void 0,
|
|
1216
|
+
responseValidator: void 0,
|
|
1217
|
+
url: "/decision-instances/{decisionInstanceKey}/deletion",
|
|
1218
|
+
...options,
|
|
1219
|
+
headers: {
|
|
1220
|
+
"Content-Type": "application/json",
|
|
1221
|
+
...options.headers
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
};
|
|
1225
|
+
var deleteDecisionInstancesBatchOperation = (options) => {
|
|
1226
|
+
return (options.client ?? client).post({
|
|
1227
|
+
requestValidator: void 0,
|
|
1228
|
+
responseValidator: void 0,
|
|
1229
|
+
url: "/decision-instances/deletion",
|
|
1230
|
+
...options,
|
|
1231
|
+
headers: {
|
|
1232
|
+
"Content-Type": "application/json",
|
|
1233
|
+
...options.headers
|
|
1234
|
+
}
|
|
1235
|
+
});
|
|
1236
|
+
};
|
|
1189
1237
|
var searchDecisionRequirements = (options) => {
|
|
1190
1238
|
return (options?.client ?? client).post({
|
|
1191
1239
|
requestValidator: void 0,
|
|
@@ -1625,6 +1673,14 @@ var failJob = (options) => {
|
|
|
1625
1673
|
}
|
|
1626
1674
|
});
|
|
1627
1675
|
};
|
|
1676
|
+
var getGlobalJobStatistics = (options) => {
|
|
1677
|
+
return (options.client ?? client).get({
|
|
1678
|
+
requestValidator: void 0,
|
|
1679
|
+
responseValidator: void 0,
|
|
1680
|
+
url: "/jobs/statistics/global",
|
|
1681
|
+
...options
|
|
1682
|
+
});
|
|
1683
|
+
};
|
|
1628
1684
|
var getLicense = (options) => {
|
|
1629
1685
|
return (options?.client ?? client).get({
|
|
1630
1686
|
requestValidator: void 0,
|
|
@@ -1797,7 +1853,7 @@ var getProcessDefinitionInstanceVersionStatistics = (options) => {
|
|
|
1797
1853
|
return (options.client ?? client).post({
|
|
1798
1854
|
requestValidator: void 0,
|
|
1799
1855
|
responseValidator: void 0,
|
|
1800
|
-
url: "/process-definitions/
|
|
1856
|
+
url: "/process-definitions/statistics/process-instances-by-version",
|
|
1801
1857
|
...options,
|
|
1802
1858
|
headers: {
|
|
1803
1859
|
"Content-Type": "application/json",
|
|
@@ -2610,7 +2666,9 @@ __export(zod_gen_exports, {
|
|
|
2610
2666
|
zAdvancedDateTimeFilter: () => zAdvancedDateTimeFilter,
|
|
2611
2667
|
zAdvancedDecisionDefinitionKeyFilter: () => zAdvancedDecisionDefinitionKeyFilter,
|
|
2612
2668
|
zAdvancedDecisionEvaluationInstanceKeyFilter: () => zAdvancedDecisionEvaluationInstanceKeyFilter,
|
|
2669
|
+
zAdvancedDecisionEvaluationKeyFilter: () => zAdvancedDecisionEvaluationKeyFilter,
|
|
2613
2670
|
zAdvancedDecisionInstanceStateFilter: () => zAdvancedDecisionInstanceStateFilter,
|
|
2671
|
+
zAdvancedDecisionRequirementsKeyFilter: () => zAdvancedDecisionRequirementsKeyFilter,
|
|
2614
2672
|
zAdvancedDeploymentKeyFilter: () => zAdvancedDeploymentKeyFilter,
|
|
2615
2673
|
zAdvancedElementInstanceKeyFilter: () => zAdvancedElementInstanceKeyFilter,
|
|
2616
2674
|
zAdvancedElementInstanceStateFilter: () => zAdvancedElementInstanceStateFilter,
|
|
@@ -2691,7 +2749,6 @@ __export(zod_gen_exports, {
|
|
|
2691
2749
|
zBaseProcessInstanceFilterFields: () => zBaseProcessInstanceFilterFields,
|
|
2692
2750
|
zBasicStringFilter: () => zBasicStringFilter,
|
|
2693
2751
|
zBasicStringFilterProperty: () => zBasicStringFilterProperty,
|
|
2694
|
-
zBatchOperationActorTypeEnum: () => zBatchOperationActorTypeEnum,
|
|
2695
2752
|
zBatchOperationCreatedResult: () => zBatchOperationCreatedResult,
|
|
2696
2753
|
zBatchOperationError: () => zBatchOperationError,
|
|
2697
2754
|
zBatchOperationFilter: () => zBatchOperationFilter,
|
|
@@ -2796,6 +2853,8 @@ __export(zod_gen_exports, {
|
|
|
2796
2853
|
zDecisionEvaluationInstanceKeyFilterProperty: () => zDecisionEvaluationInstanceKeyFilterProperty,
|
|
2797
2854
|
zDecisionEvaluationInstruction: () => zDecisionEvaluationInstruction,
|
|
2798
2855
|
zDecisionEvaluationKey: () => zDecisionEvaluationKey,
|
|
2856
|
+
zDecisionEvaluationKeyFilterProperty: () => zDecisionEvaluationKeyFilterProperty,
|
|
2857
|
+
zDecisionInstanceDeletionBatchOperationRequest: () => zDecisionInstanceDeletionBatchOperationRequest,
|
|
2799
2858
|
zDecisionInstanceFilter: () => zDecisionInstanceFilter,
|
|
2800
2859
|
zDecisionInstanceGetQueryResult: () => zDecisionInstanceGetQueryResult,
|
|
2801
2860
|
zDecisionInstanceKey: () => zDecisionInstanceKey,
|
|
@@ -2807,12 +2866,18 @@ __export(zod_gen_exports, {
|
|
|
2807
2866
|
zDecisionInstanceStateFilterProperty: () => zDecisionInstanceStateFilterProperty,
|
|
2808
2867
|
zDecisionRequirementsFilter: () => zDecisionRequirementsFilter,
|
|
2809
2868
|
zDecisionRequirementsKey: () => zDecisionRequirementsKey,
|
|
2869
|
+
zDecisionRequirementsKeyFilterProperty: () => zDecisionRequirementsKeyFilterProperty,
|
|
2810
2870
|
zDecisionRequirementsResult: () => zDecisionRequirementsResult,
|
|
2811
2871
|
zDecisionRequirementsSearchQuery: () => zDecisionRequirementsSearchQuery,
|
|
2812
2872
|
zDecisionRequirementsSearchQueryResult: () => zDecisionRequirementsSearchQueryResult,
|
|
2813
2873
|
zDecisionRequirementsSearchQuerySortRequest: () => zDecisionRequirementsSearchQuerySortRequest,
|
|
2814
2874
|
zDeleteAuthorizationData: () => zDeleteAuthorizationData,
|
|
2815
2875
|
zDeleteAuthorizationResponse: () => zDeleteAuthorizationResponse,
|
|
2876
|
+
zDeleteDecisionInstanceData: () => zDeleteDecisionInstanceData,
|
|
2877
|
+
zDeleteDecisionInstanceRequest: () => zDeleteDecisionInstanceRequest,
|
|
2878
|
+
zDeleteDecisionInstanceResponse: () => zDeleteDecisionInstanceResponse,
|
|
2879
|
+
zDeleteDecisionInstancesBatchOperationData: () => zDeleteDecisionInstancesBatchOperationData,
|
|
2880
|
+
zDeleteDecisionInstancesBatchOperationResponse: () => zDeleteDecisionInstancesBatchOperationResponse,
|
|
2816
2881
|
zDeleteDocumentData: () => zDeleteDocumentData,
|
|
2817
2882
|
zDeleteDocumentResponse: () => zDeleteDocumentResponse,
|
|
2818
2883
|
zDeleteGlobalClusterVariableData: () => zDeleteGlobalClusterVariableData,
|
|
@@ -2910,6 +2975,8 @@ __export(zod_gen_exports, {
|
|
|
2910
2975
|
zGetElementInstanceResponse: () => zGetElementInstanceResponse,
|
|
2911
2976
|
zGetGlobalClusterVariableData: () => zGetGlobalClusterVariableData,
|
|
2912
2977
|
zGetGlobalClusterVariableResponse: () => zGetGlobalClusterVariableResponse,
|
|
2978
|
+
zGetGlobalJobStatisticsData: () => zGetGlobalJobStatisticsData,
|
|
2979
|
+
zGetGlobalJobStatisticsResponse: () => zGetGlobalJobStatisticsResponse,
|
|
2913
2980
|
zGetGroupData: () => zGetGroupData,
|
|
2914
2981
|
zGetGroupResponse: () => zGetGroupResponse,
|
|
2915
2982
|
zGetIncidentData: () => zGetIncidentData,
|
|
@@ -2968,6 +3035,7 @@ __export(zod_gen_exports, {
|
|
|
2968
3035
|
zGetUserTaskResponse: () => zGetUserTaskResponse,
|
|
2969
3036
|
zGetVariableData: () => zGetVariableData,
|
|
2970
3037
|
zGetVariableResponse: () => zGetVariableResponse,
|
|
3038
|
+
zGlobalJobStatisticsQueryResult: () => zGlobalJobStatisticsQueryResult,
|
|
2971
3039
|
zGroupClientResult: () => zGroupClientResult,
|
|
2972
3040
|
zGroupClientSearchQueryRequest: () => zGroupClientSearchQueryRequest,
|
|
2973
3041
|
zGroupClientSearchQuerySortRequest: () => zGroupClientSearchQuerySortRequest,
|
|
@@ -3177,6 +3245,7 @@ __export(zod_gen_exports, {
|
|
|
3177
3245
|
zRoleUserSearchQueryRequest: () => zRoleUserSearchQueryRequest,
|
|
3178
3246
|
zRoleUserSearchQuerySortRequest: () => zRoleUserSearchQuerySortRequest,
|
|
3179
3247
|
zRoleUserSearchResult: () => zRoleUserSearchResult,
|
|
3248
|
+
zRootProcessInstanceKey: () => zRootProcessInstanceKey,
|
|
3180
3249
|
zScopeKey: () => zScopeKey,
|
|
3181
3250
|
zScopeKeyFilterProperty: () => zScopeKeyFilterProperty,
|
|
3182
3251
|
zSearchAuditLogsData: () => zSearchAuditLogsData,
|
|
@@ -3270,6 +3339,7 @@ __export(zod_gen_exports, {
|
|
|
3270
3339
|
zSourceElementInstanceKeyInstruction: () => zSourceElementInstanceKeyInstruction,
|
|
3271
3340
|
zSourceElementInstruction: () => zSourceElementInstruction,
|
|
3272
3341
|
zStartCursor: () => zStartCursor,
|
|
3342
|
+
zStatusMetric: () => zStatusMetric,
|
|
3273
3343
|
zStringFilterProperty: () => zStringFilterProperty,
|
|
3274
3344
|
zSuspendBatchOperationData: () => zSuspendBatchOperationData,
|
|
3275
3345
|
zSuspendBatchOperationResponse: () => zSuspendBatchOperationResponse,
|
|
@@ -3282,6 +3352,7 @@ __export(zod_gen_exports, {
|
|
|
3282
3352
|
zTenantCreateRequest: () => zTenantCreateRequest,
|
|
3283
3353
|
zTenantCreateResult: () => zTenantCreateResult,
|
|
3284
3354
|
zTenantFilter: () => zTenantFilter,
|
|
3355
|
+
zTenantFilterEnum: () => zTenantFilterEnum,
|
|
3285
3356
|
zTenantGroupResult: () => zTenantGroupResult,
|
|
3286
3357
|
zTenantGroupSearchQueryRequest: () => zTenantGroupSearchQueryRequest,
|
|
3287
3358
|
zTenantGroupSearchQuerySortRequest: () => zTenantGroupSearchQuerySortRequest,
|
|
@@ -3328,6 +3399,9 @@ __export(zod_gen_exports, {
|
|
|
3328
3399
|
zUnassignUserTaskResponse: () => zUnassignUserTaskResponse,
|
|
3329
3400
|
zUpdateAuthorizationData: () => zUpdateAuthorizationData,
|
|
3330
3401
|
zUpdateAuthorizationResponse: () => zUpdateAuthorizationResponse,
|
|
3402
|
+
zUpdateClusterVariableRequest: () => zUpdateClusterVariableRequest,
|
|
3403
|
+
zUpdateGlobalClusterVariableData: () => zUpdateGlobalClusterVariableData,
|
|
3404
|
+
zUpdateGlobalClusterVariableResponse: () => zUpdateGlobalClusterVariableResponse,
|
|
3331
3405
|
zUpdateGroupData: () => zUpdateGroupData,
|
|
3332
3406
|
zUpdateGroupResponse: () => zUpdateGroupResponse,
|
|
3333
3407
|
zUpdateJobData: () => zUpdateJobData,
|
|
@@ -3336,6 +3410,8 @@ __export(zod_gen_exports, {
|
|
|
3336
3410
|
zUpdateMappingRuleResponse: () => zUpdateMappingRuleResponse,
|
|
3337
3411
|
zUpdateRoleData: () => zUpdateRoleData,
|
|
3338
3412
|
zUpdateRoleResponse: () => zUpdateRoleResponse,
|
|
3413
|
+
zUpdateTenantClusterVariableData: () => zUpdateTenantClusterVariableData,
|
|
3414
|
+
zUpdateTenantClusterVariableResponse: () => zUpdateTenantClusterVariableResponse,
|
|
3339
3415
|
zUpdateTenantData: () => zUpdateTenantData,
|
|
3340
3416
|
zUpdateTenantResponse: () => zUpdateTenantResponse,
|
|
3341
3417
|
zUpdateUserData: () => zUpdateUserData,
|
|
@@ -3400,7 +3476,8 @@ var zAuditLogEntityTypeEnum = import_zod.z.enum([
|
|
|
3400
3476
|
"TENANT",
|
|
3401
3477
|
"USER",
|
|
3402
3478
|
"USER_TASK",
|
|
3403
|
-
"VARIABLE"
|
|
3479
|
+
"VARIABLE",
|
|
3480
|
+
"CLIENT"
|
|
3404
3481
|
]).register(import_zod.z.globalRegistry, {
|
|
3405
3482
|
description: "The type of entity affected by the operation."
|
|
3406
3483
|
});
|
|
@@ -3621,6 +3698,7 @@ var zBatchOperationTypeEnum = import_zod.z.enum([
|
|
|
3621
3698
|
"ADD_VARIABLE",
|
|
3622
3699
|
"CANCEL_PROCESS_INSTANCE",
|
|
3623
3700
|
"DELETE_DECISION_DEFINITION",
|
|
3701
|
+
"DELETE_DECISION_INSTANCE",
|
|
3624
3702
|
"DELETE_PROCESS_DEFINITION",
|
|
3625
3703
|
"DELETE_PROCESS_INSTANCE",
|
|
3626
3704
|
"MIGRATE_PROCESS_INSTANCE",
|
|
@@ -3630,12 +3708,6 @@ var zBatchOperationTypeEnum = import_zod.z.enum([
|
|
|
3630
3708
|
]).register(import_zod.z.globalRegistry, {
|
|
3631
3709
|
description: "The type of the batch operation."
|
|
3632
3710
|
});
|
|
3633
|
-
var zBatchOperationActorTypeEnum = import_zod.z.enum([
|
|
3634
|
-
"CLIENT",
|
|
3635
|
-
"USER"
|
|
3636
|
-
]).register(import_zod.z.globalRegistry, {
|
|
3637
|
-
description: "The type of the actor. Available for batch operations created since 8.9."
|
|
3638
|
-
});
|
|
3639
3711
|
var zClockPinRequest = import_zod.z.object({
|
|
3640
3712
|
timestamp: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
3641
3713
|
description: "The exact time in epoch milliseconds to which the clock should be pinned."
|
|
@@ -3655,6 +3727,11 @@ var zCreateClusterVariableRequest = import_zod.z.object({
|
|
|
3655
3727
|
description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
|
|
3656
3728
|
})
|
|
3657
3729
|
});
|
|
3730
|
+
var zUpdateClusterVariableRequest = import_zod.z.object({
|
|
3731
|
+
value: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
3732
|
+
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."
|
|
3733
|
+
})
|
|
3734
|
+
});
|
|
3658
3735
|
var zClusterVariableResultBase = import_zod.z.object({
|
|
3659
3736
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3660
3737
|
description: "The name of the cluster variable. Unique within its scope (global or tenant-specific)."
|
|
@@ -4083,7 +4160,7 @@ var zBatchOperationFilter = import_zod.z.object({
|
|
|
4083
4160
|
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
4084
4161
|
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
4085
4162
|
state: import_zod.z.optional(zBatchOperationStateFilterProperty),
|
|
4086
|
-
actorType: import_zod.z.optional(
|
|
4163
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
4087
4164
|
actorId: import_zod.z.optional(zStringFilterProperty)
|
|
4088
4165
|
}).register(import_zod.z.globalRegistry, {
|
|
4089
4166
|
description: "Batch operation filter request."
|
|
@@ -4193,9 +4270,9 @@ var zGroupUpdateRequest = import_zod.z.object({
|
|
|
4193
4270
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4194
4271
|
description: "The new name of the group."
|
|
4195
4272
|
}),
|
|
4196
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4273
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4197
4274
|
description: "The new description of the group."
|
|
4198
|
-
})
|
|
4275
|
+
}))
|
|
4199
4276
|
});
|
|
4200
4277
|
var zGroupUpdateResult = import_zod.z.object({
|
|
4201
4278
|
groupId: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
@@ -4374,28 +4451,25 @@ var zIncidentProcessInstanceStatisticsByDefinitionFilter = import_zod.z.object({
|
|
|
4374
4451
|
}).register(import_zod.z.globalRegistry, {
|
|
4375
4452
|
description: "Filter for the incident process instance statistics by definition query."
|
|
4376
4453
|
});
|
|
4377
|
-
var
|
|
4378
|
-
|
|
4379
|
-
description:
|
|
4380
|
-
}),
|
|
4381
|
-
worker: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4382
|
-
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4383
|
-
})),
|
|
4384
|
-
timeout: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4385
|
-
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4386
|
-
}),
|
|
4387
|
-
maxJobsToActivate: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
4388
|
-
description: "The maximum jobs to activate by this request."
|
|
4454
|
+
var zStatusMetric = import_zod.z.object({
|
|
4455
|
+
count: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4456
|
+
description: "Number of jobs in this status."
|
|
4389
4457
|
}),
|
|
4390
|
-
|
|
4391
|
-
description: "
|
|
4392
|
-
})
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4458
|
+
lastUpdatedAt: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
4459
|
+
description: "ISO 8601 timestamp of the last update for this status."
|
|
4460
|
+
})
|
|
4461
|
+
}).register(import_zod.z.globalRegistry, {
|
|
4462
|
+
description: "Metric for a single job status."
|
|
4463
|
+
});
|
|
4464
|
+
var zGlobalJobStatisticsQueryResult = import_zod.z.object({
|
|
4465
|
+
created: zStatusMetric,
|
|
4466
|
+
completed: zStatusMetric,
|
|
4467
|
+
failed: zStatusMetric,
|
|
4468
|
+
isIncomplete: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
4469
|
+
description: "True if some data is missing because internal limits were reached and some metrics were not recorded."
|
|
4470
|
+
})
|
|
4471
|
+
}).register(import_zod.z.globalRegistry, {
|
|
4472
|
+
description: "Global job statistics query result."
|
|
4399
4473
|
});
|
|
4400
4474
|
var zJobFailRequest = import_zod.z.object({
|
|
4401
4475
|
retries: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
@@ -4522,6 +4596,36 @@ var zJobChangeset = import_zod.z.object({
|
|
|
4522
4596
|
}).register(import_zod.z.globalRegistry, {
|
|
4523
4597
|
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."
|
|
4524
4598
|
});
|
|
4599
|
+
var zTenantFilterEnum = import_zod.z.enum([
|
|
4600
|
+
"PROVIDED",
|
|
4601
|
+
"ASSIGNED"
|
|
4602
|
+
]).register(import_zod.z.globalRegistry, {
|
|
4603
|
+
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"
|
|
4604
|
+
});
|
|
4605
|
+
var zJobActivationRequest = import_zod.z.object({
|
|
4606
|
+
type: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4607
|
+
description: 'The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)'
|
|
4608
|
+
}),
|
|
4609
|
+
worker: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4610
|
+
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4611
|
+
})),
|
|
4612
|
+
timeout: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4613
|
+
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4614
|
+
}),
|
|
4615
|
+
maxJobsToActivate: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
4616
|
+
description: "The maximum jobs to activate by this request."
|
|
4617
|
+
}),
|
|
4618
|
+
fetchVariable: import_zod.z.optional(import_zod.z.array(import_zod.z.string()).register(import_zod.z.globalRegistry, {
|
|
4619
|
+
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."
|
|
4620
|
+
})),
|
|
4621
|
+
requestTimeout: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4622
|
+
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"
|
|
4623
|
+
})),
|
|
4624
|
+
tenantIds: import_zod.z.optional(import_zod.z.array(zTenantId).register(import_zod.z.globalRegistry, {
|
|
4625
|
+
description: "A list of IDs of tenants for which to activate jobs."
|
|
4626
|
+
})),
|
|
4627
|
+
tenantFilter: import_zod.z.optional(zTenantFilterEnum)
|
|
4628
|
+
});
|
|
4525
4629
|
var zJobStateEnum = import_zod.z.enum([
|
|
4526
4630
|
"CANCELED",
|
|
4527
4631
|
"COMPLETED",
|
|
@@ -4695,6 +4799,7 @@ var zDocumentCreationBatchResponse = import_zod.z.object({
|
|
|
4695
4799
|
description: "Documents that failed creation."
|
|
4696
4800
|
}))
|
|
4697
4801
|
});
|
|
4802
|
+
var zRootProcessInstanceKey = zLongKey;
|
|
4698
4803
|
var zProcessDefinitionKey = zLongKey;
|
|
4699
4804
|
var zConditionalEvaluationInstruction = import_zod.z.object({
|
|
4700
4805
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -4909,6 +5014,7 @@ var zElementInstanceResult = import_zod.z.object({
|
|
|
4909
5014
|
tenantId: zTenantId,
|
|
4910
5015
|
elementInstanceKey: zElementInstanceKey,
|
|
4911
5016
|
processInstanceKey: zProcessInstanceKey,
|
|
5017
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
4912
5018
|
processDefinitionKey: zProcessDefinitionKey,
|
|
4913
5019
|
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
4914
5020
|
});
|
|
@@ -4926,6 +5032,7 @@ var zIncidentResult = import_zod.z.object({
|
|
|
4926
5032
|
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
4927
5033
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
4928
5034
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5035
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
4929
5036
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
4930
5037
|
jobKey: import_zod.z.optional(zJobKey)
|
|
4931
5038
|
});
|
|
@@ -5008,6 +5115,7 @@ var zJobSearchResult = import_zod.z.object({
|
|
|
5008
5115
|
processDefinitionId: zProcessDefinitionId,
|
|
5009
5116
|
processDefinitionKey: zProcessDefinitionKey,
|
|
5010
5117
|
processInstanceKey: zProcessInstanceKey,
|
|
5118
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5011
5119
|
retries: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5012
5120
|
description: "The amount of retries left to this job."
|
|
5013
5121
|
}),
|
|
@@ -5090,6 +5198,7 @@ var zDecisionInstanceResult = import_zod.z.object({
|
|
|
5090
5198
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5091
5199
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5092
5200
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5201
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5093
5202
|
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
5094
5203
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5095
5204
|
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
@@ -5322,7 +5431,7 @@ var zBatchOperationResponse = import_zod.z.object({
|
|
|
5322
5431
|
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
5323
5432
|
description: "The end date of the batch operation."
|
|
5324
5433
|
})),
|
|
5325
|
-
actorType: import_zod.z.optional(
|
|
5434
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
5326
5435
|
actorId: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5327
5436
|
description: "The ID of the actor who performed the operation. Available for batch operations created since 8.9."
|
|
5328
5437
|
})),
|
|
@@ -5346,6 +5455,7 @@ var zBatchOperationItemResponse = import_zod.z.object({
|
|
|
5346
5455
|
description: "Key of the item, e.g. a process instance key."
|
|
5347
5456
|
})),
|
|
5348
5457
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5458
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5349
5459
|
state: import_zod.z.optional(import_zod.z.enum([
|
|
5350
5460
|
"ACTIVE",
|
|
5351
5461
|
"COMPLETED",
|
|
@@ -5369,6 +5479,12 @@ var zDeleteResourceResponse = import_zod.z.object({
|
|
|
5369
5479
|
var zOperationReference = import_zod.z.coerce.bigint().gte(BigInt(1)).register(import_zod.z.globalRegistry, {
|
|
5370
5480
|
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"
|
|
5371
5481
|
});
|
|
5482
|
+
var zDeleteDecisionInstanceRequest = import_zod.z.union([
|
|
5483
|
+
import_zod.z.object({
|
|
5484
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
5485
|
+
}),
|
|
5486
|
+
import_zod.z.null()
|
|
5487
|
+
]);
|
|
5372
5488
|
var zDeleteResourceRequest = import_zod.z.union([
|
|
5373
5489
|
import_zod.z.object({
|
|
5374
5490
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
@@ -5409,6 +5525,7 @@ var zAuditLogResult = import_zod.z.object({
|
|
|
5409
5525
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
5410
5526
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5411
5527
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5528
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5412
5529
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5413
5530
|
jobKey: import_zod.z.optional(zJobKey),
|
|
5414
5531
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -5421,7 +5538,12 @@ var zAuditLogResult = import_zod.z.object({
|
|
|
5421
5538
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5422
5539
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
5423
5540
|
formKey: import_zod.z.optional(zFormKey),
|
|
5424
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
5541
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
5542
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
5543
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
5544
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5545
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
5546
|
+
}))
|
|
5425
5547
|
}).register(import_zod.z.globalRegistry, {
|
|
5426
5548
|
description: "Audit log item."
|
|
5427
5549
|
});
|
|
@@ -5636,31 +5758,6 @@ var zDecisionEvaluationInstanceKeyFilterProperty = import_zod.z.union([
|
|
|
5636
5758
|
zDecisionEvaluationInstanceKey,
|
|
5637
5759
|
zAdvancedDecisionEvaluationInstanceKeyFilter
|
|
5638
5760
|
]);
|
|
5639
|
-
var zDecisionInstanceFilter = import_zod.z.object({
|
|
5640
|
-
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
5641
|
-
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
5642
|
-
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5643
|
-
description: "The evaluation failure of the decision instance."
|
|
5644
|
-
})),
|
|
5645
|
-
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
5646
|
-
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
5647
|
-
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5648
|
-
description: "The name of the DMN decision."
|
|
5649
|
-
})),
|
|
5650
|
-
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5651
|
-
description: "The version of the decision."
|
|
5652
|
-
})),
|
|
5653
|
-
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
5654
|
-
tenantId: import_zod.z.optional(zTenantId),
|
|
5655
|
-
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5656
|
-
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5657
|
-
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5658
|
-
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5659
|
-
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
5660
|
-
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty)
|
|
5661
|
-
}).register(import_zod.z.globalRegistry, {
|
|
5662
|
-
description: "Decision instance search filter."
|
|
5663
|
-
});
|
|
5664
5761
|
var zAdvancedAuditLogKeyFilter = import_zod.z.object({
|
|
5665
5762
|
"$eq": import_zod.z.optional(zAuditLogKey),
|
|
5666
5763
|
"$neq": import_zod.z.optional(zAuditLogKey),
|
|
@@ -5699,6 +5796,44 @@ var zFormKeyFilterProperty = import_zod.z.union([
|
|
|
5699
5796
|
zFormKey,
|
|
5700
5797
|
zAdvancedFormKeyFilter
|
|
5701
5798
|
]);
|
|
5799
|
+
var zAdvancedDecisionEvaluationKeyFilter = import_zod.z.object({
|
|
5800
|
+
"$eq": import_zod.z.optional(zDecisionEvaluationKey),
|
|
5801
|
+
"$neq": import_zod.z.optional(zDecisionEvaluationKey),
|
|
5802
|
+
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5803
|
+
description: "Checks if the current property exists."
|
|
5804
|
+
})),
|
|
5805
|
+
"$in": import_zod.z.optional(import_zod.z.array(zDecisionEvaluationKey).register(import_zod.z.globalRegistry, {
|
|
5806
|
+
description: "Checks if the property matches any of the provided values."
|
|
5807
|
+
})),
|
|
5808
|
+
"$notIn": import_zod.z.optional(import_zod.z.array(zDecisionEvaluationKey).register(import_zod.z.globalRegistry, {
|
|
5809
|
+
description: "Checks if the property matches none of the provided values."
|
|
5810
|
+
}))
|
|
5811
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5812
|
+
description: "Advanced DecisionEvaluationKey filter."
|
|
5813
|
+
});
|
|
5814
|
+
var zDecisionEvaluationKeyFilterProperty = import_zod.z.union([
|
|
5815
|
+
zDecisionEvaluationKey,
|
|
5816
|
+
zAdvancedDecisionEvaluationKeyFilter
|
|
5817
|
+
]);
|
|
5818
|
+
var zAdvancedDecisionRequirementsKeyFilter = import_zod.z.object({
|
|
5819
|
+
"$eq": import_zod.z.optional(zDecisionRequirementsKey),
|
|
5820
|
+
"$neq": import_zod.z.optional(zDecisionRequirementsKey),
|
|
5821
|
+
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5822
|
+
description: "Checks if the current property exists."
|
|
5823
|
+
})),
|
|
5824
|
+
"$in": import_zod.z.optional(import_zod.z.array(zDecisionRequirementsKey).register(import_zod.z.globalRegistry, {
|
|
5825
|
+
description: "Checks if the property matches any of the provided values."
|
|
5826
|
+
})),
|
|
5827
|
+
"$notIn": import_zod.z.optional(import_zod.z.array(zDecisionRequirementsKey).register(import_zod.z.globalRegistry, {
|
|
5828
|
+
description: "Checks if the property matches none of the provided values."
|
|
5829
|
+
}))
|
|
5830
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5831
|
+
description: "Advanced DecisionRequirementsKey filter."
|
|
5832
|
+
});
|
|
5833
|
+
var zDecisionRequirementsKeyFilterProperty = import_zod.z.union([
|
|
5834
|
+
zDecisionRequirementsKey,
|
|
5835
|
+
zAdvancedDecisionRequirementsKeyFilter
|
|
5836
|
+
]);
|
|
5702
5837
|
var zAuditLogFilter = import_zod.z.object({
|
|
5703
5838
|
auditLogKey: import_zod.z.optional(zAuditLogKeyFilterProperty),
|
|
5704
5839
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKeyFilterProperty),
|
|
@@ -5715,10 +5850,54 @@ var zAuditLogFilter = import_zod.z.object({
|
|
|
5715
5850
|
category: import_zod.z.optional(zCategoryFilterProperty),
|
|
5716
5851
|
deploymentKey: import_zod.z.optional(zDeploymentKeyFilterProperty),
|
|
5717
5852
|
formKey: import_zod.z.optional(zFormKeyFilterProperty),
|
|
5718
|
-
resourceKey: import_zod.z.optional(zResourceKeyFilterProperty)
|
|
5853
|
+
resourceKey: import_zod.z.optional(zResourceKeyFilterProperty),
|
|
5854
|
+
batchOperationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
5855
|
+
processDefinitionId: import_zod.z.optional(zStringFilterProperty),
|
|
5856
|
+
jobKey: import_zod.z.optional(zJobKeyFilterProperty),
|
|
5857
|
+
userTaskKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
5858
|
+
decisionRequirementsId: import_zod.z.optional(zStringFilterProperty),
|
|
5859
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty),
|
|
5860
|
+
decisionDefinitionId: import_zod.z.optional(zStringFilterProperty),
|
|
5861
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5862
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKeyFilterProperty),
|
|
5863
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKeyFilterProperty),
|
|
5864
|
+
relatedEntityType: import_zod.z.optional(zEntityTypeFilterProperty),
|
|
5865
|
+
entityDescription: import_zod.z.optional(zStringFilterProperty)
|
|
5719
5866
|
}).register(import_zod.z.globalRegistry, {
|
|
5720
5867
|
description: "Audit log filter request"
|
|
5721
5868
|
});
|
|
5869
|
+
var zDecisionInstanceFilter = import_zod.z.object({
|
|
5870
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
5871
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
5872
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5873
|
+
description: "The evaluation failure of the decision instance."
|
|
5874
|
+
})),
|
|
5875
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
5876
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
5877
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5878
|
+
description: "The name of the DMN decision."
|
|
5879
|
+
})),
|
|
5880
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5881
|
+
description: "The version of the decision."
|
|
5882
|
+
})),
|
|
5883
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
5884
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
5885
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5886
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5887
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5888
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5889
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
5890
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5891
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
5892
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5893
|
+
description: "Decision instance search filter."
|
|
5894
|
+
});
|
|
5895
|
+
var zDecisionInstanceDeletionBatchOperationRequest = import_zod.z.object({
|
|
5896
|
+
filter: zDecisionInstanceFilter,
|
|
5897
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
5898
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5899
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
5900
|
+
});
|
|
5722
5901
|
var zLicenseResponse = import_zod.z.object({
|
|
5723
5902
|
validLicense: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5724
5903
|
description: "True if the Camunda license is valid, false if otherwise"
|
|
@@ -5860,6 +6039,7 @@ var zMessageSubscriptionResult = import_zod.z.object({
|
|
|
5860
6039
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
5861
6040
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5862
6041
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6042
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5863
6043
|
elementId: import_zod.z.optional(zElementId),
|
|
5864
6044
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5865
6045
|
messageSubscriptionState: import_zod.z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -5959,6 +6139,7 @@ var zCorrelatedMessageSubscriptionResult = import_zod.z.object({
|
|
|
5959
6139
|
processDefinitionId: zProcessDefinitionId,
|
|
5960
6140
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5961
6141
|
processInstanceKey: zProcessInstanceKey,
|
|
6142
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5962
6143
|
subscriptionKey: zMessageSubscriptionKey,
|
|
5963
6144
|
tenantId: zTenantId
|
|
5964
6145
|
});
|
|
@@ -6078,6 +6259,7 @@ var zProcessDefinitionInstanceStatisticsResult = import_zod.z.object({
|
|
|
6078
6259
|
description: "Process definition instance statistics response."
|
|
6079
6260
|
});
|
|
6080
6261
|
var zProcessDefinitionInstanceVersionStatisticsFilter = import_zod.z.object({
|
|
6262
|
+
processDefinitionId: zProcessDefinitionId,
|
|
6081
6263
|
tenantId: import_zod.z.optional(zTenantId)
|
|
6082
6264
|
}).register(import_zod.z.globalRegistry, {
|
|
6083
6265
|
description: "Process definition instance version statistics search filter."
|
|
@@ -6144,6 +6326,9 @@ var zProcessInstanceCreationInstructionById = import_zod.z.object({
|
|
|
6144
6326
|
});
|
|
6145
6327
|
var zProcessInstanceCreationInstructionByKey = import_zod.z.object({
|
|
6146
6328
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6329
|
+
processDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
6330
|
+
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"
|
|
6331
|
+
})).default(-1),
|
|
6147
6332
|
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
6148
6333
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
6149
6334
|
})),
|
|
@@ -6207,6 +6392,7 @@ var zProcessInstanceSequenceFlowResult = import_zod.z.object({
|
|
|
6207
6392
|
description: "The sequence flow id."
|
|
6208
6393
|
})),
|
|
6209
6394
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6395
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
6210
6396
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
6211
6397
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
6212
6398
|
elementId: import_zod.z.optional(zElementId),
|
|
@@ -6396,6 +6582,7 @@ var zProcessInstanceResult = import_zod.z.object({
|
|
|
6396
6582
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6397
6583
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6398
6584
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
6585
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
6399
6586
|
tags: import_zod.z.optional(zTagSet)
|
|
6400
6587
|
}).register(import_zod.z.globalRegistry, {
|
|
6401
6588
|
description: "Process instance search response item."
|
|
@@ -6443,9 +6630,9 @@ var zRoleUpdateRequest = import_zod.z.object({
|
|
|
6443
6630
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6444
6631
|
description: "The display name of the new role."
|
|
6445
6632
|
}),
|
|
6446
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6633
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6447
6634
|
description: "The description of the new role."
|
|
6448
|
-
})
|
|
6635
|
+
}))
|
|
6449
6636
|
});
|
|
6450
6637
|
var zRoleUpdateResult = import_zod.z.object({
|
|
6451
6638
|
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
@@ -7005,7 +7192,7 @@ var zProcessDefinitionInstanceVersionStatisticsQuery = import_zod.z.object({
|
|
|
7005
7192
|
sort: import_zod.z.optional(import_zod.z.array(zProcessDefinitionInstanceVersionStatisticsQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
7006
7193
|
description: "Sort field criteria."
|
|
7007
7194
|
})),
|
|
7008
|
-
filter:
|
|
7195
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
7009
7196
|
});
|
|
7010
7197
|
var zProcessInstanceSearchQuerySortRequest = import_zod.z.object({
|
|
7011
7198
|
field: import_zod.z.enum([
|
|
@@ -7309,9 +7496,9 @@ var zTenantUpdateRequest = import_zod.z.object({
|
|
|
7309
7496
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7310
7497
|
description: "The new name of the tenant."
|
|
7311
7498
|
}),
|
|
7312
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7499
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7313
7500
|
description: "The new description of the tenant."
|
|
7314
|
-
})
|
|
7501
|
+
}))
|
|
7315
7502
|
});
|
|
7316
7503
|
var zTenantUpdateResult = import_zod.z.object({
|
|
7317
7504
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -7610,6 +7797,7 @@ var zUserTaskResult = import_zod.z.object({
|
|
|
7610
7797
|
})),
|
|
7611
7798
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
7612
7799
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
7800
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
7613
7801
|
formKey: import_zod.z.optional(zFormKey),
|
|
7614
7802
|
tags: import_zod.z.optional(zTagSet)
|
|
7615
7803
|
});
|
|
@@ -7788,7 +7976,8 @@ var zVariableResultBase = import_zod.z.object({
|
|
|
7788
7976
|
tenantId: import_zod.z.optional(zTenantId),
|
|
7789
7977
|
variableKey: import_zod.z.optional(zVariableKey),
|
|
7790
7978
|
scopeKey: import_zod.z.optional(zScopeKey),
|
|
7791
|
-
processInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
7979
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
7980
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey)
|
|
7792
7981
|
}).register(import_zod.z.globalRegistry, {
|
|
7793
7982
|
description: "Variable response item."
|
|
7794
7983
|
});
|
|
@@ -7920,9 +8109,7 @@ var zUserTaskFilter = import_zod.z.object({
|
|
|
7920
8109
|
assignee: import_zod.z.optional(zStringFilterProperty),
|
|
7921
8110
|
priority: import_zod.z.optional(zIntegerFilterProperty),
|
|
7922
8111
|
elementId: import_zod.z.optional(zElementId),
|
|
7923
|
-
name: import_zod.z.optional(
|
|
7924
|
-
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"
|
|
7925
|
-
})),
|
|
8112
|
+
name: import_zod.z.optional(zStringFilterProperty),
|
|
7926
8113
|
candidateGroup: import_zod.z.optional(zStringFilterProperty),
|
|
7927
8114
|
candidateUser: import_zod.z.optional(zStringFilterProperty),
|
|
7928
8115
|
tenantId: import_zod.z.optional(zStringFilterProperty),
|
|
@@ -7998,6 +8185,7 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
7998
8185
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
7999
8186
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8000
8187
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8188
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8001
8189
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8002
8190
|
jobKey: import_zod.z.optional(zJobKey),
|
|
8003
8191
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -8010,7 +8198,12 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
8010
8198
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8011
8199
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
8012
8200
|
formKey: import_zod.z.optional(zFormKey),
|
|
8013
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
8201
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
8202
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
8203
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
8204
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8205
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8206
|
+
}))
|
|
8014
8207
|
}).register(import_zod.z.globalRegistry, {
|
|
8015
8208
|
description: "Audit log item."
|
|
8016
8209
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -8049,6 +8242,7 @@ var zGetAuditLogResponse = import_zod.z.object({
|
|
|
8049
8242
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
8050
8243
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8051
8244
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8245
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8052
8246
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8053
8247
|
jobKey: import_zod.z.optional(zJobKey),
|
|
8054
8248
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -8061,7 +8255,12 @@ var zGetAuditLogResponse = import_zod.z.object({
|
|
|
8061
8255
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8062
8256
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
8063
8257
|
formKey: import_zod.z.optional(zFormKey),
|
|
8064
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
8258
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
8259
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
8260
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
8261
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8262
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8263
|
+
}))
|
|
8065
8264
|
}).register(import_zod.z.globalRegistry, {
|
|
8066
8265
|
description: "Audit log item."
|
|
8067
8266
|
});
|
|
@@ -8112,13 +8311,72 @@ var zUpdateAuthorizationResponse = import_zod.z.void().register(import_zod.z.glo
|
|
|
8112
8311
|
description: "The authorization was updated successfully."
|
|
8113
8312
|
});
|
|
8114
8313
|
var zSearchBatchOperationItemsData = import_zod.z.object({
|
|
8115
|
-
body: import_zod.z.optional(
|
|
8314
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8315
|
+
sort: import_zod.z.optional(import_zod.z.array(zBatchOperationItemSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8316
|
+
description: "Sort field criteria."
|
|
8317
|
+
})),
|
|
8318
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8319
|
+
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8320
|
+
itemKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8321
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKeyFilterProperty),
|
|
8322
|
+
state: import_zod.z.optional(zBatchOperationItemStateFilterProperty),
|
|
8323
|
+
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty)
|
|
8324
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8325
|
+
description: "Batch operation item filter request."
|
|
8326
|
+
}))
|
|
8327
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8328
|
+
description: "Batch operation item search request."
|
|
8329
|
+
}))),
|
|
8116
8330
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8117
8331
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8118
8332
|
});
|
|
8119
|
-
var zSearchBatchOperationItemsResponse =
|
|
8333
|
+
var zSearchBatchOperationItemsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8334
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8335
|
+
operationType: import_zod.z.optional(zBatchOperationTypeEnum),
|
|
8336
|
+
batchOperationKey: import_zod.z.optional(zBatchOperationKey),
|
|
8337
|
+
itemKey: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8338
|
+
description: "Key of the item, e.g. a process instance key."
|
|
8339
|
+
})),
|
|
8340
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8341
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8342
|
+
state: import_zod.z.optional(import_zod.z.enum([
|
|
8343
|
+
"ACTIVE",
|
|
8344
|
+
"COMPLETED",
|
|
8345
|
+
"SKIPPED",
|
|
8346
|
+
"CANCELED",
|
|
8347
|
+
"FAILED"
|
|
8348
|
+
]).register(import_zod.z.globalRegistry, {
|
|
8349
|
+
description: "State of the item."
|
|
8350
|
+
})),
|
|
8351
|
+
processedDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8352
|
+
description: "the date this item was processed."
|
|
8353
|
+
})),
|
|
8354
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8355
|
+
description: "the error message from the engine in case of a failed operation."
|
|
8356
|
+
}))
|
|
8357
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8358
|
+
description: "The matching batch operation items."
|
|
8359
|
+
}))
|
|
8360
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8361
|
+
description: "The batch operation search result."
|
|
8362
|
+
}));
|
|
8120
8363
|
var zSearchBatchOperationsData = import_zod.z.object({
|
|
8121
|
-
body: import_zod.z.optional(
|
|
8364
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8365
|
+
sort: import_zod.z.optional(import_zod.z.array(zBatchOperationSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8366
|
+
description: "Sort field criteria."
|
|
8367
|
+
})),
|
|
8368
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8369
|
+
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8370
|
+
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
8371
|
+
state: import_zod.z.optional(zBatchOperationStateFilterProperty),
|
|
8372
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
8373
|
+
actorId: import_zod.z.optional(zStringFilterProperty)
|
|
8374
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8375
|
+
description: "Batch operation filter request."
|
|
8376
|
+
}))
|
|
8377
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8378
|
+
description: "Batch operation search request."
|
|
8379
|
+
}))),
|
|
8122
8380
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8123
8381
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8124
8382
|
});
|
|
@@ -8205,6 +8463,16 @@ var zGetGlobalClusterVariableData = import_zod.z.object({
|
|
|
8205
8463
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8206
8464
|
});
|
|
8207
8465
|
var zGetGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8466
|
+
var zUpdateGlobalClusterVariableData = import_zod.z.object({
|
|
8467
|
+
body: zUpdateClusterVariableRequest,
|
|
8468
|
+
path: import_zod.z.object({
|
|
8469
|
+
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8470
|
+
description: "The name of the cluster variable"
|
|
8471
|
+
})
|
|
8472
|
+
}),
|
|
8473
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8474
|
+
});
|
|
8475
|
+
var zUpdateGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8208
8476
|
var zSearchClusterVariablesData = import_zod.z.object({
|
|
8209
8477
|
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8210
8478
|
sort: import_zod.z.optional(import_zod.z.array(zClusterVariableSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
@@ -8294,6 +8562,17 @@ var zGetTenantClusterVariableData = import_zod.z.object({
|
|
|
8294
8562
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8295
8563
|
});
|
|
8296
8564
|
var zGetTenantClusterVariableResponse = zClusterVariableResult;
|
|
8565
|
+
var zUpdateTenantClusterVariableData = import_zod.z.object({
|
|
8566
|
+
body: zUpdateClusterVariableRequest,
|
|
8567
|
+
path: import_zod.z.object({
|
|
8568
|
+
tenantId: zTenantId,
|
|
8569
|
+
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8570
|
+
description: "The name of the cluster variable"
|
|
8571
|
+
})
|
|
8572
|
+
}),
|
|
8573
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8574
|
+
});
|
|
8575
|
+
var zUpdateTenantClusterVariableResponse = zClusterVariableResult;
|
|
8297
8576
|
var zEvaluateConditionalsData = import_zod.z.object({
|
|
8298
8577
|
body: zConditionalEvaluationInstruction,
|
|
8299
8578
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -8305,9 +8584,39 @@ var zSearchCorrelatedMessageSubscriptionsData = import_zod.z.object({
|
|
|
8305
8584
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8306
8585
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8307
8586
|
});
|
|
8308
|
-
var zSearchCorrelatedMessageSubscriptionsResponse =
|
|
8309
|
-
|
|
8310
|
-
|
|
8587
|
+
var zSearchCorrelatedMessageSubscriptionsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8588
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8589
|
+
correlationKey: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8590
|
+
description: "The correlation key of the message."
|
|
8591
|
+
}),
|
|
8592
|
+
correlationTime: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8593
|
+
description: "The time when the message was correlated."
|
|
8594
|
+
}),
|
|
8595
|
+
elementId: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8596
|
+
description: "The element ID that received the message."
|
|
8597
|
+
}),
|
|
8598
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8599
|
+
messageKey: zMessageKey,
|
|
8600
|
+
messageName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8601
|
+
description: "The name of the message."
|
|
8602
|
+
}),
|
|
8603
|
+
partitionId: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8604
|
+
description: "The partition ID that correlated the message."
|
|
8605
|
+
}),
|
|
8606
|
+
processDefinitionId: zProcessDefinitionId,
|
|
8607
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8608
|
+
processInstanceKey: zProcessInstanceKey,
|
|
8609
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8610
|
+
subscriptionKey: zMessageSubscriptionKey,
|
|
8611
|
+
tenantId: zTenantId
|
|
8612
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8613
|
+
description: "The matching correlated message subscriptions."
|
|
8614
|
+
}))
|
|
8615
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8616
|
+
description: "The correlated message subscriptions search result."
|
|
8617
|
+
}));
|
|
8618
|
+
var zEvaluateDecisionData = import_zod.z.object({
|
|
8619
|
+
body: zDecisionEvaluationInstruction,
|
|
8311
8620
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8312
8621
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8313
8622
|
});
|
|
@@ -8337,11 +8646,75 @@ var zGetDecisionDefinitionXmlResponse = import_zod.z.string().register(import_zo
|
|
|
8337
8646
|
description: "The XML of the decision definition is successfully returned."
|
|
8338
8647
|
});
|
|
8339
8648
|
var zSearchDecisionInstancesData = import_zod.z.object({
|
|
8340
|
-
body: import_zod.z.optional(
|
|
8649
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8650
|
+
sort: import_zod.z.optional(import_zod.z.array(zDecisionInstanceSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8651
|
+
description: "Sort field criteria."
|
|
8652
|
+
})),
|
|
8653
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8654
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
8655
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
8656
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8657
|
+
description: "The evaluation failure of the decision instance."
|
|
8658
|
+
})),
|
|
8659
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
8660
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8661
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8662
|
+
description: "The name of the DMN decision."
|
|
8663
|
+
})),
|
|
8664
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8665
|
+
description: "The version of the decision."
|
|
8666
|
+
})),
|
|
8667
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8668
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8669
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8670
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8671
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8672
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8673
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
8674
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8675
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
8676
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8677
|
+
description: "Decision instance search filter."
|
|
8678
|
+
}))
|
|
8679
|
+
}))),
|
|
8341
8680
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8342
8681
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8343
8682
|
});
|
|
8344
|
-
var zSearchDecisionInstancesResponse =
|
|
8683
|
+
var zSearchDecisionInstancesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8684
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8685
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKey),
|
|
8686
|
+
state: import_zod.z.optional(zDecisionInstanceStateEnum),
|
|
8687
|
+
evaluationDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8688
|
+
description: "The evaluation date of the decision instance."
|
|
8689
|
+
})),
|
|
8690
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8691
|
+
description: "The evaluation failure of the decision instance."
|
|
8692
|
+
})),
|
|
8693
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8694
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8695
|
+
description: "The name of the DMN decision."
|
|
8696
|
+
})),
|
|
8697
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8698
|
+
description: "The version of the decision."
|
|
8699
|
+
})),
|
|
8700
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8701
|
+
result: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8702
|
+
description: "The result of the decision instance."
|
|
8703
|
+
})),
|
|
8704
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8705
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8706
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8707
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8708
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8709
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
8710
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8711
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
8712
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8713
|
+
description: "The matching decision instances."
|
|
8714
|
+
}))
|
|
8715
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8716
|
+
description: "The decision instance search result."
|
|
8717
|
+
}));
|
|
8345
8718
|
var zGetDecisionInstanceData = import_zod.z.object({
|
|
8346
8719
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8347
8720
|
path: import_zod.z.object({
|
|
@@ -8349,7 +8722,88 @@ var zGetDecisionInstanceData = import_zod.z.object({
|
|
|
8349
8722
|
}),
|
|
8350
8723
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8351
8724
|
});
|
|
8352
|
-
var zGetDecisionInstanceResponse =
|
|
8725
|
+
var zGetDecisionInstanceResponse = import_zod.z.object({
|
|
8726
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKey),
|
|
8727
|
+
state: import_zod.z.optional(zDecisionInstanceStateEnum),
|
|
8728
|
+
evaluationDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8729
|
+
description: "The evaluation date of the decision instance."
|
|
8730
|
+
})),
|
|
8731
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8732
|
+
description: "The evaluation failure of the decision instance."
|
|
8733
|
+
})),
|
|
8734
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8735
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8736
|
+
description: "The name of the DMN decision."
|
|
8737
|
+
})),
|
|
8738
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8739
|
+
description: "The version of the decision."
|
|
8740
|
+
})),
|
|
8741
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8742
|
+
result: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8743
|
+
description: "The result of the decision instance."
|
|
8744
|
+
})),
|
|
8745
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8746
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8747
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8748
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8749
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8750
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
8751
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8752
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
8753
|
+
}).and(import_zod.z.object({
|
|
8754
|
+
evaluatedInputs: import_zod.z.optional(import_zod.z.array(zEvaluatedDecisionInputItem).register(import_zod.z.globalRegistry, {
|
|
8755
|
+
description: "The evaluated inputs of the decision instance.\n"
|
|
8756
|
+
})),
|
|
8757
|
+
matchedRules: import_zod.z.optional(import_zod.z.array(zMatchedDecisionRuleItem).register(import_zod.z.globalRegistry, {
|
|
8758
|
+
description: "The matched rules of the decision instance.\n"
|
|
8759
|
+
}))
|
|
8760
|
+
}));
|
|
8761
|
+
var zDeleteDecisionInstanceData = import_zod.z.object({
|
|
8762
|
+
body: import_zod.z.optional(zDeleteProcessInstanceRequest),
|
|
8763
|
+
path: import_zod.z.object({
|
|
8764
|
+
decisionInstanceKey: zDecisionInstanceKey
|
|
8765
|
+
}),
|
|
8766
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8767
|
+
});
|
|
8768
|
+
var zDeleteDecisionInstanceResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
8769
|
+
description: "The decision instance is marked for deletion."
|
|
8770
|
+
});
|
|
8771
|
+
var zDeleteDecisionInstancesBatchOperationData = import_zod.z.object({
|
|
8772
|
+
body: import_zod.z.object({
|
|
8773
|
+
filter: import_zod.z.object({
|
|
8774
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
8775
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
8776
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8777
|
+
description: "The evaluation failure of the decision instance."
|
|
8778
|
+
})),
|
|
8779
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
8780
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8781
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8782
|
+
description: "The name of the DMN decision."
|
|
8783
|
+
})),
|
|
8784
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8785
|
+
description: "The version of the decision."
|
|
8786
|
+
})),
|
|
8787
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8788
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8789
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8790
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8791
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8792
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8793
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
8794
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8795
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
8796
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8797
|
+
description: "Decision instance search filter."
|
|
8798
|
+
}),
|
|
8799
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
8800
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8801
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
8802
|
+
}),
|
|
8803
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
8804
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8805
|
+
});
|
|
8806
|
+
var zDeleteDecisionInstancesBatchOperationResponse = zBatchOperationCreatedResult;
|
|
8353
8807
|
var zSearchDecisionRequirementsData = import_zod.z.object({
|
|
8354
8808
|
body: import_zod.z.optional(zDecisionRequirementsSearchQuery),
|
|
8355
8809
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -8502,7 +8956,66 @@ var zSearchElementInstancesData = import_zod.z.object({
|
|
|
8502
8956
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8503
8957
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8504
8958
|
});
|
|
8505
|
-
var zSearchElementInstancesResponse =
|
|
8959
|
+
var zSearchElementInstancesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8960
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8961
|
+
processDefinitionId: zProcessDefinitionId,
|
|
8962
|
+
startDate: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8963
|
+
description: "Date when element instance started."
|
|
8964
|
+
}),
|
|
8965
|
+
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8966
|
+
description: "Date when element instance finished."
|
|
8967
|
+
})),
|
|
8968
|
+
elementId: zElementId,
|
|
8969
|
+
elementName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8970
|
+
description: "The element name for this element instance."
|
|
8971
|
+
}),
|
|
8972
|
+
type: import_zod.z.enum([
|
|
8973
|
+
"UNSPECIFIED",
|
|
8974
|
+
"PROCESS",
|
|
8975
|
+
"SUB_PROCESS",
|
|
8976
|
+
"EVENT_SUB_PROCESS",
|
|
8977
|
+
"AD_HOC_SUB_PROCESS",
|
|
8978
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
8979
|
+
"START_EVENT",
|
|
8980
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
8981
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
8982
|
+
"BOUNDARY_EVENT",
|
|
8983
|
+
"END_EVENT",
|
|
8984
|
+
"SERVICE_TASK",
|
|
8985
|
+
"RECEIVE_TASK",
|
|
8986
|
+
"USER_TASK",
|
|
8987
|
+
"MANUAL_TASK",
|
|
8988
|
+
"TASK",
|
|
8989
|
+
"EXCLUSIVE_GATEWAY",
|
|
8990
|
+
"INCLUSIVE_GATEWAY",
|
|
8991
|
+
"PARALLEL_GATEWAY",
|
|
8992
|
+
"EVENT_BASED_GATEWAY",
|
|
8993
|
+
"SEQUENCE_FLOW",
|
|
8994
|
+
"MULTI_INSTANCE_BODY",
|
|
8995
|
+
"CALL_ACTIVITY",
|
|
8996
|
+
"BUSINESS_RULE_TASK",
|
|
8997
|
+
"SCRIPT_TASK",
|
|
8998
|
+
"SEND_TASK",
|
|
8999
|
+
"UNKNOWN"
|
|
9000
|
+
]).register(import_zod.z.globalRegistry, {
|
|
9001
|
+
description: "Type of element as defined set of values."
|
|
9002
|
+
}),
|
|
9003
|
+
state: zElementInstanceStateEnum,
|
|
9004
|
+
hasIncident: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
9005
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9006
|
+
}),
|
|
9007
|
+
tenantId: zTenantId,
|
|
9008
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9009
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9010
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9011
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9012
|
+
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
9013
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9014
|
+
description: "The matching element instances."
|
|
9015
|
+
}))
|
|
9016
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9017
|
+
description: "The element instance search result."
|
|
9018
|
+
}));
|
|
8506
9019
|
var zGetElementInstanceData = import_zod.z.object({
|
|
8507
9020
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8508
9021
|
path: import_zod.z.object({
|
|
@@ -8510,7 +9023,62 @@ var zGetElementInstanceData = import_zod.z.object({
|
|
|
8510
9023
|
}),
|
|
8511
9024
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8512
9025
|
});
|
|
8513
|
-
var zGetElementInstanceResponse =
|
|
9026
|
+
var zGetElementInstanceResponse = import_zod.z.object({
|
|
9027
|
+
processDefinitionId: zProcessDefinitionId,
|
|
9028
|
+
startDate: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9029
|
+
description: "Date when element instance started."
|
|
9030
|
+
}),
|
|
9031
|
+
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9032
|
+
description: "Date when element instance finished."
|
|
9033
|
+
})),
|
|
9034
|
+
elementId: zElementId,
|
|
9035
|
+
elementName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9036
|
+
description: "The element name for this element instance."
|
|
9037
|
+
}),
|
|
9038
|
+
type: import_zod.z.enum([
|
|
9039
|
+
"UNSPECIFIED",
|
|
9040
|
+
"PROCESS",
|
|
9041
|
+
"SUB_PROCESS",
|
|
9042
|
+
"EVENT_SUB_PROCESS",
|
|
9043
|
+
"AD_HOC_SUB_PROCESS",
|
|
9044
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
9045
|
+
"START_EVENT",
|
|
9046
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
9047
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
9048
|
+
"BOUNDARY_EVENT",
|
|
9049
|
+
"END_EVENT",
|
|
9050
|
+
"SERVICE_TASK",
|
|
9051
|
+
"RECEIVE_TASK",
|
|
9052
|
+
"USER_TASK",
|
|
9053
|
+
"MANUAL_TASK",
|
|
9054
|
+
"TASK",
|
|
9055
|
+
"EXCLUSIVE_GATEWAY",
|
|
9056
|
+
"INCLUSIVE_GATEWAY",
|
|
9057
|
+
"PARALLEL_GATEWAY",
|
|
9058
|
+
"EVENT_BASED_GATEWAY",
|
|
9059
|
+
"SEQUENCE_FLOW",
|
|
9060
|
+
"MULTI_INSTANCE_BODY",
|
|
9061
|
+
"CALL_ACTIVITY",
|
|
9062
|
+
"BUSINESS_RULE_TASK",
|
|
9063
|
+
"SCRIPT_TASK",
|
|
9064
|
+
"SEND_TASK",
|
|
9065
|
+
"UNKNOWN"
|
|
9066
|
+
]).register(import_zod.z.globalRegistry, {
|
|
9067
|
+
description: "Type of element as defined set of values."
|
|
9068
|
+
}),
|
|
9069
|
+
state: zElementInstanceStateEnum,
|
|
9070
|
+
hasIncident: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
9071
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9072
|
+
}),
|
|
9073
|
+
tenantId: zTenantId,
|
|
9074
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9075
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9076
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9077
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9078
|
+
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
9079
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9080
|
+
description: "The element instance is successfully returned."
|
|
9081
|
+
});
|
|
8514
9082
|
var zSearchElementInstanceIncidentsData = import_zod.z.object({
|
|
8515
9083
|
body: zIncidentSearchQuery,
|
|
8516
9084
|
path: import_zod.z.object({
|
|
@@ -8518,7 +9086,27 @@ var zSearchElementInstanceIncidentsData = import_zod.z.object({
|
|
|
8518
9086
|
}),
|
|
8519
9087
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8520
9088
|
});
|
|
8521
|
-
var zSearchElementInstanceIncidentsResponse =
|
|
9089
|
+
var zSearchElementInstanceIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
9090
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9091
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9092
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9093
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9094
|
+
description: "Error message which describes the error in more detail."
|
|
9095
|
+
})),
|
|
9096
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9097
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9098
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9099
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9100
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9101
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9102
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9103
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9104
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9105
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9106
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9107
|
+
description: "The matching incidents."
|
|
9108
|
+
}))
|
|
9109
|
+
}));
|
|
8522
9110
|
var zCreateElementInstanceVariablesData = import_zod.z.object({
|
|
8523
9111
|
body: zSetVariableRequest,
|
|
8524
9112
|
path: import_zod.z.object({
|
|
@@ -8730,7 +9318,29 @@ var zSearchIncidentsData = import_zod.z.object({
|
|
|
8730
9318
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8731
9319
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8732
9320
|
});
|
|
8733
|
-
var zSearchIncidentsResponse =
|
|
9321
|
+
var zSearchIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
9322
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9323
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9324
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9325
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9326
|
+
description: "Error message which describes the error in more detail."
|
|
9327
|
+
})),
|
|
9328
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9329
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9330
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9331
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9332
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9333
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9334
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9335
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9336
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9337
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9338
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9339
|
+
description: "The matching incidents."
|
|
9340
|
+
}))
|
|
9341
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9342
|
+
description: "The incident search result."
|
|
9343
|
+
}));
|
|
8734
9344
|
var zGetIncidentData = import_zod.z.object({
|
|
8735
9345
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8736
9346
|
path: import_zod.z.object({
|
|
@@ -8738,7 +9348,25 @@ var zGetIncidentData = import_zod.z.object({
|
|
|
8738
9348
|
}),
|
|
8739
9349
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8740
9350
|
});
|
|
8741
|
-
var zGetIncidentResponse =
|
|
9351
|
+
var zGetIncidentResponse = import_zod.z.object({
|
|
9352
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9353
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9354
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9355
|
+
description: "Error message which describes the error in more detail."
|
|
9356
|
+
})),
|
|
9357
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9358
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9359
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9360
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9361
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9362
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9363
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9364
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9365
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9366
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9367
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9368
|
+
description: "The incident is successfully returned."
|
|
9369
|
+
});
|
|
8742
9370
|
var zResolveIncidentData = import_zod.z.object({
|
|
8743
9371
|
body: import_zod.z.optional(zIncidentResolutionRequest),
|
|
8744
9372
|
path: import_zod.z.object({
|
|
@@ -8886,6 +9514,7 @@ var zSearchJobsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
8886
9514
|
processDefinitionId: zProcessDefinitionId,
|
|
8887
9515
|
processDefinitionKey: zProcessDefinitionKey,
|
|
8888
9516
|
processInstanceKey: zProcessInstanceKey,
|
|
9517
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8889
9518
|
retries: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8890
9519
|
description: "The amount of retries left to this job."
|
|
8891
9520
|
}),
|
|
@@ -8920,39 +9549,7 @@ var zUpdateJobResponse = import_zod.z.void().register(import_zod.z.globalRegistr
|
|
|
8920
9549
|
description: "The job was updated successfully."
|
|
8921
9550
|
});
|
|
8922
9551
|
var zCompleteJobData = import_zod.z.object({
|
|
8923
|
-
body: import_zod.z.optional(
|
|
8924
|
-
variables: import_zod.z.optional(import_zod.z.union([
|
|
8925
|
-
import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()),
|
|
8926
|
-
import_zod.z.null()
|
|
8927
|
-
])),
|
|
8928
|
-
result: import_zod.z.optional(import_zod.z.union([
|
|
8929
|
-
import_zod.z.object({
|
|
8930
|
-
type: import_zod.z.literal("userTask")
|
|
8931
|
-
}).and(zJobResultUserTask),
|
|
8932
|
-
import_zod.z.object({
|
|
8933
|
-
activateElements: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8934
|
-
elementId: import_zod.z.optional(zElementId),
|
|
8935
|
-
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
8936
|
-
description: "Variables for the element."
|
|
8937
|
-
}))
|
|
8938
|
-
}).register(import_zod.z.globalRegistry, {
|
|
8939
|
-
description: "Instruction to activate a single BPMN element within an ad\u2011hoc sub\u2011process, optionally providing variables scoped to that element."
|
|
8940
|
-
})).register(import_zod.z.globalRegistry, {
|
|
8941
|
-
description: "Indicates which elements need to be activated in the ad-hoc subprocess."
|
|
8942
|
-
})),
|
|
8943
|
-
isCompletionConditionFulfilled: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
8944
|
-
description: "Indicates whether the completion condition of the ad-hoc subprocess is fulfilled."
|
|
8945
|
-
})).default(false),
|
|
8946
|
-
isCancelRemainingInstances: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
8947
|
-
description: "Indicates whether the remaining instances of the ad-hoc subprocess should be canceled."
|
|
8948
|
-
})).default(false),
|
|
8949
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8950
|
-
description: "Used to distinguish between different types of job results."
|
|
8951
|
-
}))
|
|
8952
|
-
}),
|
|
8953
|
-
import_zod.z.null()
|
|
8954
|
-
]))
|
|
8955
|
-
})),
|
|
9552
|
+
body: import_zod.z.optional(zJobCompletionRequest),
|
|
8956
9553
|
path: import_zod.z.object({
|
|
8957
9554
|
jobKey: zJobKey
|
|
8958
9555
|
}),
|
|
@@ -8981,6 +9578,22 @@ var zFailJobData = import_zod.z.object({
|
|
|
8981
9578
|
var zFailJobResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
8982
9579
|
description: "The job is failed."
|
|
8983
9580
|
});
|
|
9581
|
+
var zGetGlobalJobStatisticsData = import_zod.z.object({
|
|
9582
|
+
body: import_zod.z.optional(import_zod.z.never()),
|
|
9583
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
9584
|
+
query: import_zod.z.object({
|
|
9585
|
+
from: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9586
|
+
description: "Start of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9587
|
+
}),
|
|
9588
|
+
to: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9589
|
+
description: "End of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9590
|
+
}),
|
|
9591
|
+
jobType: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9592
|
+
description: "Optional job type to limit the aggregation to a single job type."
|
|
9593
|
+
}))
|
|
9594
|
+
})
|
|
9595
|
+
});
|
|
9596
|
+
var zGetGlobalJobStatisticsResponse = zGlobalJobStatisticsQueryResult;
|
|
8984
9597
|
var zGetLicenseData = import_zod.z.object({
|
|
8985
9598
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8986
9599
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -9077,6 +9690,7 @@ var zSearchMessageSubscriptionsResponse = zSearchQueryResponse.and(import_zod.z.
|
|
|
9077
9690
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9078
9691
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9079
9692
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9693
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9080
9694
|
elementId: import_zod.z.optional(zElementId),
|
|
9081
9695
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9082
9696
|
messageSubscriptionState: import_zod.z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -9256,29 +9870,7 @@ var zGetProcessDefinitionStatisticsData = import_zod.z.object({
|
|
|
9256
9870
|
}),
|
|
9257
9871
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9258
9872
|
});
|
|
9259
|
-
var zGetProcessDefinitionStatisticsResponse =
|
|
9260
|
-
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9261
|
-
elementId: import_zod.z.optional(zElementId),
|
|
9262
|
-
active: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9263
|
-
description: "The total number of active instances of the element."
|
|
9264
|
-
})),
|
|
9265
|
-
canceled: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9266
|
-
description: "The total number of canceled instances of the element."
|
|
9267
|
-
})),
|
|
9268
|
-
incidents: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9269
|
-
description: "The total number of incidents for the element."
|
|
9270
|
-
})),
|
|
9271
|
-
completed: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9272
|
-
description: "The total number of completed instances of the element."
|
|
9273
|
-
}))
|
|
9274
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9275
|
-
description: "Process element statistics response."
|
|
9276
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9277
|
-
description: "The element statistics."
|
|
9278
|
-
}))
|
|
9279
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9280
|
-
description: "Process definition element statistics query response."
|
|
9281
|
-
});
|
|
9873
|
+
var zGetProcessDefinitionStatisticsResponse = zProcessDefinitionElementStatisticsQueryResult;
|
|
9282
9874
|
var zGetProcessDefinitionXmlData = import_zod.z.object({
|
|
9283
9875
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9284
9876
|
path: import_zod.z.object({
|
|
@@ -9290,7 +9882,7 @@ var zGetProcessDefinitionXmlResponse = import_zod.z.string().register(import_zod
|
|
|
9290
9882
|
description: "The XML of the process definition is successfully returned."
|
|
9291
9883
|
});
|
|
9292
9884
|
var zGetProcessDefinitionInstanceVersionStatisticsData = import_zod.z.object({
|
|
9293
|
-
body: import_zod.z.
|
|
9885
|
+
body: import_zod.z.object({
|
|
9294
9886
|
page: import_zod.z.optional(zOffsetPagination),
|
|
9295
9887
|
sort: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9296
9888
|
field: import_zod.z.enum([
|
|
@@ -9307,11 +9899,9 @@ var zGetProcessDefinitionInstanceVersionStatisticsData = import_zod.z.object({
|
|
|
9307
9899
|
})).register(import_zod.z.globalRegistry, {
|
|
9308
9900
|
description: "Sort field criteria."
|
|
9309
9901
|
})),
|
|
9310
|
-
filter:
|
|
9311
|
-
})),
|
|
9312
|
-
path: import_zod.z.object({
|
|
9313
|
-
processDefinitionId: zProcessDefinitionId
|
|
9902
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
9314
9903
|
}),
|
|
9904
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
9315
9905
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9316
9906
|
});
|
|
9317
9907
|
var zGetProcessDefinitionInstanceVersionStatisticsResponse = zProcessDefinitionInstanceVersionStatisticsQueryResult;
|
|
@@ -9327,19 +9917,10 @@ var zCreateProcessInstanceData = import_zod.z.object({
|
|
|
9327
9917
|
})),
|
|
9328
9918
|
tenantId: import_zod.z.optional(zTenantId),
|
|
9329
9919
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
9330
|
-
startInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9331
|
-
elementId: zElementId
|
|
9332
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9920
|
+
startInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationStartInstruction).register(import_zod.z.globalRegistry, {
|
|
9333
9921
|
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"
|
|
9334
9922
|
})),
|
|
9335
|
-
runtimeInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9336
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9337
|
-
description: "The type of the runtime instruction"
|
|
9338
|
-
})),
|
|
9339
|
-
afterElementId: zElementId
|
|
9340
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9341
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9342
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9923
|
+
runtimeInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationRuntimeInstruction).register(import_zod.z.globalRegistry, {
|
|
9343
9924
|
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"
|
|
9344
9925
|
})),
|
|
9345
9926
|
awaitCompletion: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
@@ -9355,22 +9936,16 @@ var zCreateProcessInstanceData = import_zod.z.object({
|
|
|
9355
9936
|
}),
|
|
9356
9937
|
import_zod.z.object({
|
|
9357
9938
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9939
|
+
processDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
9940
|
+
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"
|
|
9941
|
+
})).default(-1),
|
|
9358
9942
|
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
9359
9943
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
9360
9944
|
})),
|
|
9361
|
-
startInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9362
|
-
elementId: zElementId
|
|
9363
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9945
|
+
startInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationStartInstruction).register(import_zod.z.globalRegistry, {
|
|
9364
9946
|
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"
|
|
9365
9947
|
})),
|
|
9366
|
-
runtimeInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9367
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9368
|
-
description: "The type of the runtime instruction"
|
|
9369
|
-
})),
|
|
9370
|
-
afterElementId: zElementId
|
|
9371
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9372
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9373
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9948
|
+
runtimeInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationRuntimeInstruction).register(import_zod.z.globalRegistry, {
|
|
9374
9949
|
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"
|
|
9375
9950
|
})),
|
|
9376
9951
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -9427,19 +10002,7 @@ var zResolveIncidentsBatchOperationResponse = zBatchOperationCreatedResult;
|
|
|
9427
10002
|
var zMigrateProcessInstancesBatchOperationData = import_zod.z.object({
|
|
9428
10003
|
body: import_zod.z.object({
|
|
9429
10004
|
filter: zProcessInstanceFilter,
|
|
9430
|
-
migrationPlan:
|
|
9431
|
-
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9432
|
-
mappingInstructions: import_zod.z.array(import_zod.z.object({
|
|
9433
|
-
sourceElementId: zElementId,
|
|
9434
|
-
targetElementId: zElementId
|
|
9435
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9436
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9437
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9438
|
-
description: "The mapping instructions."
|
|
9439
|
-
})
|
|
9440
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9441
|
-
description: "The migration instructions describe how to migrate a process instance from one process definition to another.\n"
|
|
9442
|
-
}),
|
|
10005
|
+
migrationPlan: zProcessInstanceMigrationBatchOperationPlan,
|
|
9443
10006
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
9444
10007
|
}),
|
|
9445
10008
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -9449,12 +10012,7 @@ var zMigrateProcessInstancesBatchOperationResponse = zBatchOperationCreatedResul
|
|
|
9449
10012
|
var zModifyProcessInstancesBatchOperationData = import_zod.z.object({
|
|
9450
10013
|
body: import_zod.z.object({
|
|
9451
10014
|
filter: zProcessInstanceFilter,
|
|
9452
|
-
moveInstructions: import_zod.z.array(import_zod.z.
|
|
9453
|
-
sourceElementId: zElementId,
|
|
9454
|
-
targetElementId: zElementId
|
|
9455
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9456
|
-
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"
|
|
9457
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10015
|
+
moveInstructions: import_zod.z.array(zProcessInstanceModificationMoveBatchOperationInstruction).register(import_zod.z.globalRegistry, {
|
|
9458
10016
|
description: "Instructions for moving tokens between elements."
|
|
9459
10017
|
}),
|
|
9460
10018
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
@@ -9537,6 +10095,7 @@ var zSearchProcessInstancesResponse = zSearchQueryResponse.and(import_zod.z.obje
|
|
|
9537
10095
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9538
10096
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9539
10097
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10098
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9540
10099
|
tags: import_zod.z.optional(zTagSet)
|
|
9541
10100
|
}).register(import_zod.z.globalRegistry, {
|
|
9542
10101
|
description: "Process instance search response item."
|
|
@@ -9573,6 +10132,7 @@ var zGetProcessInstanceResponse = import_zod.z.object({
|
|
|
9573
10132
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9574
10133
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9575
10134
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10135
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9576
10136
|
tags: import_zod.z.optional(zTagSet)
|
|
9577
10137
|
}).register(import_zod.z.globalRegistry, {
|
|
9578
10138
|
description: "Process instance search response item."
|
|
@@ -9614,7 +10174,9 @@ var zDeleteProcessInstanceData = import_zod.z.object({
|
|
|
9614
10174
|
}),
|
|
9615
10175
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9616
10176
|
});
|
|
9617
|
-
var zDeleteProcessInstanceResponse =
|
|
10177
|
+
var zDeleteProcessInstanceResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
10178
|
+
description: "The process instance is marked for deletion."
|
|
10179
|
+
});
|
|
9618
10180
|
var zResolveProcessInstanceIncidentsData = import_zod.z.object({
|
|
9619
10181
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9620
10182
|
path: import_zod.z.object({
|
|
@@ -9630,16 +10192,31 @@ var zSearchProcessInstanceIncidentsData = import_zod.z.object({
|
|
|
9630
10192
|
}),
|
|
9631
10193
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9632
10194
|
});
|
|
9633
|
-
var zSearchProcessInstanceIncidentsResponse =
|
|
10195
|
+
var zSearchProcessInstanceIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
10196
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
10197
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
10198
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
10199
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
10200
|
+
description: "Error message which describes the error in more detail."
|
|
10201
|
+
})),
|
|
10202
|
+
elementId: import_zod.z.optional(zElementId),
|
|
10203
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
10204
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
10205
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
10206
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
10207
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10208
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10209
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10210
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10211
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
10212
|
+
})).register(import_zod.z.globalRegistry, {
|
|
10213
|
+
description: "The matching incidents."
|
|
10214
|
+
}))
|
|
10215
|
+
}));
|
|
9634
10216
|
var zMigrateProcessInstanceData = import_zod.z.object({
|
|
9635
10217
|
body: import_zod.z.object({
|
|
9636
10218
|
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9637
|
-
mappingInstructions: import_zod.z.array(import_zod.z.
|
|
9638
|
-
sourceElementId: zElementId,
|
|
9639
|
-
targetElementId: zElementId
|
|
9640
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9641
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9642
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10219
|
+
mappingInstructions: import_zod.z.array(zMigrateProcessInstanceMappingInstruction).register(import_zod.z.globalRegistry, {
|
|
9643
10220
|
description: "Element mappings from the source process instance to the target process instance."
|
|
9644
10221
|
}),
|
|
9645
10222
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
@@ -9657,53 +10234,14 @@ var zMigrateProcessInstanceResponse = import_zod.z.void().register(import_zod.z.
|
|
|
9657
10234
|
var zModifyProcessInstanceData = import_zod.z.object({
|
|
9658
10235
|
body: import_zod.z.object({
|
|
9659
10236
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
9660
|
-
activateInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9661
|
-
elementId: zElementId,
|
|
9662
|
-
variableInstructions: import_zod.z.optional(import_zod.z.array(zModifyProcessInstanceVariableInstruction).register(import_zod.z.globalRegistry, {
|
|
9663
|
-
description: "Instructions describing which variables to create or update."
|
|
9664
|
-
})),
|
|
9665
|
-
ancestorElementInstanceKey: import_zod.z.optional(import_zod.z.union([
|
|
9666
|
-
import_zod.z.string().default("-1"),
|
|
9667
|
-
zElementInstanceKey
|
|
9668
|
-
]))
|
|
9669
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9670
|
-
description: "Instruction describing an element to activate."
|
|
9671
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10237
|
+
activateInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationActivateInstruction).register(import_zod.z.globalRegistry, {
|
|
9672
10238
|
description: "Instructions describing which elements to activate in which scopes and which variables to create or update."
|
|
9673
10239
|
})),
|
|
9674
|
-
moveInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9675
|
-
sourceElementInstruction: import_zod.z.union([
|
|
9676
|
-
import_zod.z.object({
|
|
9677
|
-
sourceType: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9678
|
-
description: "The type of source element instruction."
|
|
9679
|
-
}),
|
|
9680
|
-
sourceElementId: zElementId
|
|
9681
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9682
|
-
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"
|
|
9683
|
-
}),
|
|
9684
|
-
import_zod.z.object({
|
|
9685
|
-
sourceType: import_zod.z.literal("byKey")
|
|
9686
|
-
}).and(zSourceElementInstanceKeyInstruction)
|
|
9687
|
-
]),
|
|
9688
|
-
targetElementId: zElementId,
|
|
9689
|
-
ancestorScopeInstruction: import_zod.z.optional(zAncestorScopeInstruction),
|
|
9690
|
-
variableInstructions: import_zod.z.optional(import_zod.z.array(zModifyProcessInstanceVariableInstruction).register(import_zod.z.globalRegistry, {
|
|
9691
|
-
description: "Instructions describing which variables to create or update."
|
|
9692
|
-
}))
|
|
9693
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9694
|
-
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"
|
|
9695
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10240
|
+
moveInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationMoveInstruction).register(import_zod.z.globalRegistry, {
|
|
9696
10241
|
description: "Instructions describing which elements to move from one scope to another."
|
|
9697
10242
|
})),
|
|
9698
|
-
terminateInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9699
|
-
|
|
9700
|
-
elementId: zElementId
|
|
9701
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9702
|
-
description: "Instruction describing which elements to terminate. The element instances are determined\nat runtime by the given id.\n"
|
|
9703
|
-
}),
|
|
9704
|
-
zProcessInstanceModificationTerminateByKeyInstruction
|
|
9705
|
-
])).register(import_zod.z.globalRegistry, {
|
|
9706
|
-
description: "Instruction describing which elements to terminate."
|
|
10243
|
+
terminateInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationTerminateInstruction).register(import_zod.z.globalRegistry, {
|
|
10244
|
+
description: "Instructions describing which elements to terminate."
|
|
9707
10245
|
}))
|
|
9708
10246
|
}),
|
|
9709
10247
|
path: import_zod.z.object({
|
|
@@ -9727,6 +10265,7 @@ var zGetProcessInstanceSequenceFlowsResponse = import_zod.z.object({
|
|
|
9727
10265
|
description: "The sequence flow id."
|
|
9728
10266
|
})),
|
|
9729
10267
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10268
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9730
10269
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9731
10270
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9732
10271
|
elementId: import_zod.z.optional(zElementId),
|
|
@@ -9746,29 +10285,7 @@ var zGetProcessInstanceStatisticsData = import_zod.z.object({
|
|
|
9746
10285
|
}),
|
|
9747
10286
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9748
10287
|
});
|
|
9749
|
-
var zGetProcessInstanceStatisticsResponse =
|
|
9750
|
-
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9751
|
-
elementId: import_zod.z.optional(zElementId),
|
|
9752
|
-
active: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9753
|
-
description: "The total number of active instances of the element."
|
|
9754
|
-
})),
|
|
9755
|
-
canceled: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9756
|
-
description: "The total number of canceled instances of the element."
|
|
9757
|
-
})),
|
|
9758
|
-
incidents: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9759
|
-
description: "The total number of incidents for the element."
|
|
9760
|
-
})),
|
|
9761
|
-
completed: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9762
|
-
description: "The total number of completed instances of the element."
|
|
9763
|
-
}))
|
|
9764
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9765
|
-
description: "Process element statistics response."
|
|
9766
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9767
|
-
description: "The element statistics."
|
|
9768
|
-
}))
|
|
9769
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9770
|
-
description: "Process instance element statistics query response."
|
|
9771
|
-
});
|
|
10288
|
+
var zGetProcessInstanceStatisticsResponse = zProcessInstanceElementStatisticsQueryResult;
|
|
9772
10289
|
var zGetResourceData = import_zod.z.object({
|
|
9773
10290
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9774
10291
|
path: import_zod.z.object({
|
|
@@ -10405,9 +10922,7 @@ var zSearchUserTasksData = import_zod.z.object({
|
|
|
10405
10922
|
assignee: import_zod.z.optional(zStringFilterProperty),
|
|
10406
10923
|
priority: import_zod.z.optional(zIntegerFilterProperty),
|
|
10407
10924
|
elementId: import_zod.z.optional(zElementId),
|
|
10408
|
-
name: import_zod.z.optional(
|
|
10409
|
-
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"
|
|
10410
|
-
})),
|
|
10925
|
+
name: import_zod.z.optional(zStringFilterProperty),
|
|
10411
10926
|
candidateGroup: import_zod.z.optional(zStringFilterProperty),
|
|
10412
10927
|
candidateUser: import_zod.z.optional(zStringFilterProperty),
|
|
10413
10928
|
tenantId: import_zod.z.optional(zStringFilterProperty),
|
|
@@ -10481,6 +10996,7 @@ var zSearchUserTasksResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
10481
10996
|
})),
|
|
10482
10997
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10483
10998
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10999
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10484
11000
|
formKey: import_zod.z.optional(zFormKey),
|
|
10485
11001
|
tags: import_zod.z.optional(zTagSet)
|
|
10486
11002
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -10544,6 +11060,7 @@ var zGetUserTaskResponse = import_zod.z.object({
|
|
|
10544
11060
|
})),
|
|
10545
11061
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10546
11062
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11063
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10547
11064
|
formKey: import_zod.z.optional(zFormKey),
|
|
10548
11065
|
tags: import_zod.z.optional(zTagSet)
|
|
10549
11066
|
}).register(import_zod.z.globalRegistry, {
|
|
@@ -10617,6 +11134,7 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.obj
|
|
|
10617
11134
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
10618
11135
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10619
11136
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11137
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10620
11138
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10621
11139
|
jobKey: import_zod.z.optional(zJobKey),
|
|
10622
11140
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -10629,7 +11147,12 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.obj
|
|
|
10629
11147
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
10630
11148
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
10631
11149
|
formKey: import_zod.z.optional(zFormKey),
|
|
10632
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
11150
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
11151
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
11152
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
11153
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11154
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
11155
|
+
}))
|
|
10633
11156
|
}).register(import_zod.z.globalRegistry, {
|
|
10634
11157
|
description: "Audit log item."
|
|
10635
11158
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -10707,7 +11230,33 @@ var zSearchUserTaskVariablesData = import_zod.z.object({
|
|
|
10707
11230
|
}))
|
|
10708
11231
|
}))
|
|
10709
11232
|
});
|
|
10710
|
-
var zSearchUserTaskVariablesResponse =
|
|
11233
|
+
var zSearchUserTaskVariablesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
11234
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
11235
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11236
|
+
description: "Name of this variable."
|
|
11237
|
+
})),
|
|
11238
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11239
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11240
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11241
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11242
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11243
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11244
|
+
description: "Variable response item."
|
|
11245
|
+
}).and(import_zod.z.object({
|
|
11246
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11247
|
+
description: "Value of this variable. Can be truncated."
|
|
11248
|
+
})),
|
|
11249
|
+
isTruncated: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
11250
|
+
description: "Whether the value is truncated or not."
|
|
11251
|
+
}))
|
|
11252
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11253
|
+
description: "Variable search response item."
|
|
11254
|
+
}))).register(import_zod.z.globalRegistry, {
|
|
11255
|
+
description: "The matching variables."
|
|
11256
|
+
}))
|
|
11257
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11258
|
+
description: "Variable search query response."
|
|
11259
|
+
}));
|
|
10711
11260
|
var zSearchVariablesData = import_zod.z.object({
|
|
10712
11261
|
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
10713
11262
|
sort: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
@@ -10733,39 +11282,48 @@ var zSearchVariablesData = import_zod.z.object({
|
|
|
10733
11282
|
description: "Whether the value is truncated or not."
|
|
10734
11283
|
})),
|
|
10735
11284
|
variableKey: import_zod.z.optional(zVariableKeyFilterProperty),
|
|
10736
|
-
scopeKey: import_zod.z.optional(
|
|
10737
|
-
zScopeKey,
|
|
10738
|
-
import_zod.z.object({
|
|
10739
|
-
"$eq": import_zod.z.optional(zScopeKey),
|
|
10740
|
-
"$neq": import_zod.z.optional(zScopeKey),
|
|
10741
|
-
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
10742
|
-
description: "Checks if the current property exists."
|
|
10743
|
-
})),
|
|
10744
|
-
"$in": import_zod.z.optional(import_zod.z.array(zScopeKey).register(import_zod.z.globalRegistry, {
|
|
10745
|
-
description: "Checks if the property matches any of the provided values."
|
|
10746
|
-
})),
|
|
10747
|
-
"$notIn": import_zod.z.optional(import_zod.z.array(zScopeKey).register(import_zod.z.globalRegistry, {
|
|
10748
|
-
description: "Checks if the property matches none of the provided values."
|
|
10749
|
-
}))
|
|
10750
|
-
}).register(import_zod.z.globalRegistry, {
|
|
10751
|
-
description: "Advanced ScopeKey filter."
|
|
10752
|
-
})
|
|
10753
|
-
])),
|
|
11285
|
+
scopeKey: import_zod.z.optional(zScopeKeyFilterProperty),
|
|
10754
11286
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKeyFilterProperty)
|
|
10755
11287
|
}).register(import_zod.z.globalRegistry, {
|
|
10756
11288
|
description: "Variable filter request."
|
|
10757
11289
|
}))
|
|
10758
11290
|
}).register(import_zod.z.globalRegistry, {
|
|
10759
|
-
description: "Variable search query request."
|
|
10760
|
-
}))),
|
|
10761
|
-
path: import_zod.z.optional(import_zod.z.never()),
|
|
10762
|
-
query: import_zod.z.optional(import_zod.z.object({
|
|
10763
|
-
truncateValues: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
10764
|
-
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
11291
|
+
description: "Variable search query request."
|
|
11292
|
+
}))),
|
|
11293
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
11294
|
+
query: import_zod.z.optional(import_zod.z.object({
|
|
11295
|
+
truncateValues: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
11296
|
+
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
11297
|
+
}))
|
|
11298
|
+
}))
|
|
11299
|
+
});
|
|
11300
|
+
var zSearchVariablesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
11301
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
11302
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11303
|
+
description: "Name of this variable."
|
|
11304
|
+
})),
|
|
11305
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11306
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11307
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11308
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11309
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11310
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11311
|
+
description: "Variable response item."
|
|
11312
|
+
}).and(import_zod.z.object({
|
|
11313
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11314
|
+
description: "Value of this variable. Can be truncated."
|
|
11315
|
+
})),
|
|
11316
|
+
isTruncated: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
11317
|
+
description: "Whether the value is truncated or not."
|
|
10765
11318
|
}))
|
|
11319
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11320
|
+
description: "Variable search response item."
|
|
11321
|
+
}))).register(import_zod.z.globalRegistry, {
|
|
11322
|
+
description: "The matching variables."
|
|
10766
11323
|
}))
|
|
10767
|
-
})
|
|
10768
|
-
|
|
11324
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11325
|
+
description: "Variable search query response."
|
|
11326
|
+
}));
|
|
10769
11327
|
var zGetVariableData = import_zod.z.object({
|
|
10770
11328
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
10771
11329
|
path: import_zod.z.object({
|
|
@@ -10773,7 +11331,24 @@ var zGetVariableData = import_zod.z.object({
|
|
|
10773
11331
|
}),
|
|
10774
11332
|
query: import_zod.z.optional(import_zod.z.never())
|
|
10775
11333
|
});
|
|
10776
|
-
var zGetVariableResponse =
|
|
11334
|
+
var zGetVariableResponse = import_zod.z.object({
|
|
11335
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11336
|
+
description: "Name of this variable."
|
|
11337
|
+
})),
|
|
11338
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11339
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11340
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11341
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11342
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11343
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11344
|
+
description: "Variable response item."
|
|
11345
|
+
}).and(import_zod.z.object({
|
|
11346
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11347
|
+
description: "Full value of this variable."
|
|
11348
|
+
}))
|
|
11349
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11350
|
+
description: "Variable search response item."
|
|
11351
|
+
}));
|
|
10777
11352
|
|
|
10778
11353
|
// src/runtime/auth.ts
|
|
10779
11354
|
var CamundaAuthError = class extends Error {
|
|
@@ -12191,7 +12766,7 @@ function createLogger(opts = {}) {
|
|
|
12191
12766
|
}
|
|
12192
12767
|
|
|
12193
12768
|
// src/runtime/version.ts
|
|
12194
|
-
var packageVersion = "8.9.0-alpha.
|
|
12769
|
+
var packageVersion = "8.9.0-alpha.3";
|
|
12195
12770
|
|
|
12196
12771
|
// src/runtime/supportLogger.ts
|
|
12197
12772
|
var NoopSupportLogger = class {
|
|
@@ -15770,6 +16345,116 @@ var CamundaClient = class {
|
|
|
15770
16345
|
return this._invokeWithRetry(() => call(), { opId: "deleteAuthorization", exempt: false });
|
|
15771
16346
|
});
|
|
15772
16347
|
}
|
|
16348
|
+
deleteDecisionInstance(arg, consistencyManagement) {
|
|
16349
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16350
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16351
|
+
return toCancelable2(async (signal) => {
|
|
16352
|
+
const { decisionInstanceKey, ..._body } = arg || {};
|
|
16353
|
+
let envelope = {};
|
|
16354
|
+
envelope.path = { decisionInstanceKey };
|
|
16355
|
+
envelope.body = _body;
|
|
16356
|
+
if (this._validation.settings.req !== "none") {
|
|
16357
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstance", zDeleteDecisionInstanceData, envelope);
|
|
16358
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16359
|
+
}
|
|
16360
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16361
|
+
if (envelope.path) opts.path = envelope.path;
|
|
16362
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16363
|
+
const call = async () => {
|
|
16364
|
+
try {
|
|
16365
|
+
const _raw = await deleteDecisionInstance(opts);
|
|
16366
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstance", (resp) => {
|
|
16367
|
+
const st = resp.status ?? resp.response?.status;
|
|
16368
|
+
if (!st) return void 0;
|
|
16369
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16370
|
+
if (!candidate) return void 0;
|
|
16371
|
+
let prob = void 0;
|
|
16372
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16373
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16374
|
+
err.status = st;
|
|
16375
|
+
err.name = "HttpSdkError";
|
|
16376
|
+
if (prob) {
|
|
16377
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16378
|
+
}
|
|
16379
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16380
|
+
if (!isBp) err.nonRetryable = true;
|
|
16381
|
+
return err;
|
|
16382
|
+
});
|
|
16383
|
+
const _respSchemaName = "zDeleteDecisionInstanceResponse";
|
|
16384
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16385
|
+
data = void 0;
|
|
16386
|
+
}
|
|
16387
|
+
if (this._validation.settings.res !== "none") {
|
|
16388
|
+
const _schema = zDeleteDecisionInstanceResponse;
|
|
16389
|
+
if (_schema) {
|
|
16390
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstance", _schema, data);
|
|
16391
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16392
|
+
}
|
|
16393
|
+
}
|
|
16394
|
+
return data;
|
|
16395
|
+
} catch (e) {
|
|
16396
|
+
throw e;
|
|
16397
|
+
}
|
|
16398
|
+
};
|
|
16399
|
+
const invoke = () => toCancelable2(() => call());
|
|
16400
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstance", false, invoke, { ...useConsistency, logger: this._log });
|
|
16401
|
+
return invoke();
|
|
16402
|
+
});
|
|
16403
|
+
}
|
|
16404
|
+
deleteDecisionInstancesBatchOperation(arg, consistencyManagement) {
|
|
16405
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16406
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16407
|
+
return toCancelable2(async (signal) => {
|
|
16408
|
+
const _body = arg;
|
|
16409
|
+
let envelope = {};
|
|
16410
|
+
envelope.body = _body;
|
|
16411
|
+
if (this._validation.settings.req !== "none") {
|
|
16412
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstancesBatchOperation", zDeleteDecisionInstancesBatchOperationData, envelope);
|
|
16413
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16414
|
+
}
|
|
16415
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16416
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16417
|
+
const call = async () => {
|
|
16418
|
+
try {
|
|
16419
|
+
const _raw = await deleteDecisionInstancesBatchOperation(opts);
|
|
16420
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstancesBatchOperation", (resp) => {
|
|
16421
|
+
const st = resp.status ?? resp.response?.status;
|
|
16422
|
+
if (!st) return void 0;
|
|
16423
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16424
|
+
if (!candidate) return void 0;
|
|
16425
|
+
let prob = void 0;
|
|
16426
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16427
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16428
|
+
err.status = st;
|
|
16429
|
+
err.name = "HttpSdkError";
|
|
16430
|
+
if (prob) {
|
|
16431
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16432
|
+
}
|
|
16433
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16434
|
+
if (!isBp) err.nonRetryable = true;
|
|
16435
|
+
return err;
|
|
16436
|
+
});
|
|
16437
|
+
const _respSchemaName = "zDeleteDecisionInstancesBatchOperationResponse";
|
|
16438
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16439
|
+
data = void 0;
|
|
16440
|
+
}
|
|
16441
|
+
if (this._validation.settings.res !== "none") {
|
|
16442
|
+
const _schema = zDeleteDecisionInstancesBatchOperationResponse;
|
|
16443
|
+
if (_schema) {
|
|
16444
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstancesBatchOperation", _schema, data);
|
|
16445
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16446
|
+
}
|
|
16447
|
+
}
|
|
16448
|
+
return data;
|
|
16449
|
+
} catch (e) {
|
|
16450
|
+
throw e;
|
|
16451
|
+
}
|
|
16452
|
+
};
|
|
16453
|
+
const invoke = () => toCancelable2(() => call());
|
|
16454
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstancesBatchOperation", false, invoke, { ...useConsistency, logger: this._log });
|
|
16455
|
+
return invoke();
|
|
16456
|
+
});
|
|
16457
|
+
}
|
|
15773
16458
|
deleteDocument(arg) {
|
|
15774
16459
|
return toCancelable2(async (signal) => {
|
|
15775
16460
|
const { documentId, storeId } = arg || {};
|
|
@@ -17186,6 +17871,60 @@ var CamundaClient = class {
|
|
|
17186
17871
|
return invoke();
|
|
17187
17872
|
});
|
|
17188
17873
|
}
|
|
17874
|
+
getGlobalJobStatistics(arg, consistencyManagement) {
|
|
17875
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17876
|
+
const useConsistency = consistencyManagement.consistency;
|
|
17877
|
+
return toCancelable2(async (signal) => {
|
|
17878
|
+
const { from, to, jobType } = arg || {};
|
|
17879
|
+
let envelope = {};
|
|
17880
|
+
envelope.query = { from, to, jobType };
|
|
17881
|
+
if (this._validation.settings.req !== "none") {
|
|
17882
|
+
const maybe = await this._validation.gateRequest("getGlobalJobStatistics", zGetGlobalJobStatisticsData, envelope);
|
|
17883
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17884
|
+
}
|
|
17885
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
17886
|
+
if (envelope.query) opts.query = envelope.query;
|
|
17887
|
+
const call = async () => {
|
|
17888
|
+
try {
|
|
17889
|
+
const _raw = await getGlobalJobStatistics(opts);
|
|
17890
|
+
let data = this._evaluateResponse(_raw, "getGlobalJobStatistics", (resp) => {
|
|
17891
|
+
const st = resp.status ?? resp.response?.status;
|
|
17892
|
+
if (!st) return void 0;
|
|
17893
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
17894
|
+
if (!candidate) return void 0;
|
|
17895
|
+
let prob = void 0;
|
|
17896
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
17897
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
17898
|
+
err.status = st;
|
|
17899
|
+
err.name = "HttpSdkError";
|
|
17900
|
+
if (prob) {
|
|
17901
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
17902
|
+
}
|
|
17903
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
17904
|
+
if (!isBp) err.nonRetryable = true;
|
|
17905
|
+
return err;
|
|
17906
|
+
});
|
|
17907
|
+
const _respSchemaName = "zGetGlobalJobStatisticsResponse";
|
|
17908
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
17909
|
+
data = void 0;
|
|
17910
|
+
}
|
|
17911
|
+
if (this._validation.settings.res !== "none") {
|
|
17912
|
+
const _schema = zGetGlobalJobStatisticsResponse;
|
|
17913
|
+
if (_schema) {
|
|
17914
|
+
const maybeR = await this._validation.gateResponse("getGlobalJobStatistics", _schema, data);
|
|
17915
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
17916
|
+
}
|
|
17917
|
+
}
|
|
17918
|
+
return data;
|
|
17919
|
+
} catch (e) {
|
|
17920
|
+
throw e;
|
|
17921
|
+
}
|
|
17922
|
+
};
|
|
17923
|
+
const invoke = () => toCancelable2(() => call());
|
|
17924
|
+
if (useConsistency) return eventualPoll("getGlobalJobStatistics", true, invoke, { ...useConsistency, logger: this._log });
|
|
17925
|
+
return invoke();
|
|
17926
|
+
});
|
|
17927
|
+
}
|
|
17189
17928
|
getGroup(arg, consistencyManagement) {
|
|
17190
17929
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17191
17930
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -17502,16 +18241,14 @@ var CamundaClient = class {
|
|
|
17502
18241
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17503
18242
|
const useConsistency = consistencyManagement.consistency;
|
|
17504
18243
|
return toCancelable2(async (signal) => {
|
|
17505
|
-
const
|
|
18244
|
+
const _body = arg;
|
|
17506
18245
|
let envelope = {};
|
|
17507
|
-
envelope.path = { processDefinitionId };
|
|
17508
18246
|
envelope.body = _body;
|
|
17509
18247
|
if (this._validation.settings.req !== "none") {
|
|
17510
18248
|
const maybe = await this._validation.gateRequest("getProcessDefinitionInstanceVersionStatistics", zGetProcessDefinitionInstanceVersionStatisticsData, envelope);
|
|
17511
18249
|
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17512
18250
|
}
|
|
17513
18251
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17514
|
-
if (envelope.path) opts.path = envelope.path;
|
|
17515
18252
|
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
17516
18253
|
const call = async () => {
|
|
17517
18254
|
try {
|
|
@@ -22242,6 +22979,58 @@ var CamundaClient = class {
|
|
|
22242
22979
|
return this._invokeWithRetry(() => call(), { opId: "updateAuthorization", exempt: false });
|
|
22243
22980
|
});
|
|
22244
22981
|
}
|
|
22982
|
+
updateGlobalClusterVariable(arg) {
|
|
22983
|
+
return toCancelable2(async (signal) => {
|
|
22984
|
+
const { name, ..._body } = arg || {};
|
|
22985
|
+
let envelope = {};
|
|
22986
|
+
envelope.path = { name };
|
|
22987
|
+
envelope.body = _body;
|
|
22988
|
+
if (this._validation.settings.req !== "none") {
|
|
22989
|
+
const maybe = await this._validation.gateRequest("updateGlobalClusterVariable", zUpdateGlobalClusterVariableData, envelope);
|
|
22990
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
22991
|
+
}
|
|
22992
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
22993
|
+
if (envelope.path) opts.path = envelope.path;
|
|
22994
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
22995
|
+
const call = async () => {
|
|
22996
|
+
try {
|
|
22997
|
+
const _raw = await updateGlobalClusterVariable(opts);
|
|
22998
|
+
let data = this._evaluateResponse(_raw, "updateGlobalClusterVariable", (resp) => {
|
|
22999
|
+
const st = resp.status ?? resp.response?.status;
|
|
23000
|
+
if (!st) return void 0;
|
|
23001
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
23002
|
+
if (!candidate) return void 0;
|
|
23003
|
+
let prob = void 0;
|
|
23004
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
23005
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
23006
|
+
err.status = st;
|
|
23007
|
+
err.name = "HttpSdkError";
|
|
23008
|
+
if (prob) {
|
|
23009
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
23010
|
+
}
|
|
23011
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
23012
|
+
if (!isBp) err.nonRetryable = true;
|
|
23013
|
+
return err;
|
|
23014
|
+
});
|
|
23015
|
+
const _respSchemaName = "zUpdateGlobalClusterVariableResponse";
|
|
23016
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
23017
|
+
data = void 0;
|
|
23018
|
+
}
|
|
23019
|
+
if (this._validation.settings.res !== "none") {
|
|
23020
|
+
const _schema = zUpdateGlobalClusterVariableResponse;
|
|
23021
|
+
if (_schema) {
|
|
23022
|
+
const maybeR = await this._validation.gateResponse("updateGlobalClusterVariable", _schema, data);
|
|
23023
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
23024
|
+
}
|
|
23025
|
+
}
|
|
23026
|
+
return data;
|
|
23027
|
+
} catch (e) {
|
|
23028
|
+
throw e;
|
|
23029
|
+
}
|
|
23030
|
+
};
|
|
23031
|
+
return this._invokeWithRetry(() => call(), { opId: "updateGlobalClusterVariable", exempt: false });
|
|
23032
|
+
});
|
|
23033
|
+
}
|
|
22245
23034
|
updateGroup(arg) {
|
|
22246
23035
|
return toCancelable2(async (signal) => {
|
|
22247
23036
|
const { groupId, ..._body } = arg || {};
|
|
@@ -22502,6 +23291,58 @@ var CamundaClient = class {
|
|
|
22502
23291
|
return this._invokeWithRetry(() => call(), { opId: "updateTenant", exempt: false });
|
|
22503
23292
|
});
|
|
22504
23293
|
}
|
|
23294
|
+
updateTenantClusterVariable(arg) {
|
|
23295
|
+
return toCancelable2(async (signal) => {
|
|
23296
|
+
const { tenantId, name, ..._body } = arg || {};
|
|
23297
|
+
let envelope = {};
|
|
23298
|
+
envelope.path = { tenantId, name };
|
|
23299
|
+
envelope.body = _body;
|
|
23300
|
+
if (this._validation.settings.req !== "none") {
|
|
23301
|
+
const maybe = await this._validation.gateRequest("updateTenantClusterVariable", zUpdateTenantClusterVariableData, envelope);
|
|
23302
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
23303
|
+
}
|
|
23304
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
23305
|
+
if (envelope.path) opts.path = envelope.path;
|
|
23306
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
23307
|
+
const call = async () => {
|
|
23308
|
+
try {
|
|
23309
|
+
const _raw = await updateTenantClusterVariable(opts);
|
|
23310
|
+
let data = this._evaluateResponse(_raw, "updateTenantClusterVariable", (resp) => {
|
|
23311
|
+
const st = resp.status ?? resp.response?.status;
|
|
23312
|
+
if (!st) return void 0;
|
|
23313
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
23314
|
+
if (!candidate) return void 0;
|
|
23315
|
+
let prob = void 0;
|
|
23316
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
23317
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
23318
|
+
err.status = st;
|
|
23319
|
+
err.name = "HttpSdkError";
|
|
23320
|
+
if (prob) {
|
|
23321
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
23322
|
+
}
|
|
23323
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
23324
|
+
if (!isBp) err.nonRetryable = true;
|
|
23325
|
+
return err;
|
|
23326
|
+
});
|
|
23327
|
+
const _respSchemaName = "zUpdateTenantClusterVariableResponse";
|
|
23328
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
23329
|
+
data = void 0;
|
|
23330
|
+
}
|
|
23331
|
+
if (this._validation.settings.res !== "none") {
|
|
23332
|
+
const _schema = zUpdateTenantClusterVariableResponse;
|
|
23333
|
+
if (_schema) {
|
|
23334
|
+
const maybeR = await this._validation.gateResponse("updateTenantClusterVariable", _schema, data);
|
|
23335
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
23336
|
+
}
|
|
23337
|
+
}
|
|
23338
|
+
return data;
|
|
23339
|
+
} catch (e) {
|
|
23340
|
+
throw e;
|
|
23341
|
+
}
|
|
23342
|
+
};
|
|
23343
|
+
return this._invokeWithRetry(() => call(), { opId: "updateTenantClusterVariable", exempt: false });
|
|
23344
|
+
});
|
|
23345
|
+
}
|
|
22505
23346
|
updateUser(arg, consistencyManagement) {
|
|
22506
23347
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
22507
23348
|
const useConsistency = consistencyManagement.consistency;
|