@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/index.cjs
CHANGED
|
@@ -59,6 +59,7 @@ __export(index_exports, {
|
|
|
59
59
|
ProcessDefinitionId: () => ProcessDefinitionId,
|
|
60
60
|
ProcessDefinitionKey: () => ProcessDefinitionKey,
|
|
61
61
|
ProcessInstanceKey: () => ProcessInstanceKey,
|
|
62
|
+
RootProcessInstanceKey: () => RootProcessInstanceKey,
|
|
62
63
|
ScopeKey: () => ScopeKey,
|
|
63
64
|
SignalKey: () => SignalKey,
|
|
64
65
|
StartCursor: () => StartCursor,
|
|
@@ -1101,6 +1102,18 @@ var getGlobalClusterVariable = (options) => {
|
|
|
1101
1102
|
...options
|
|
1102
1103
|
});
|
|
1103
1104
|
};
|
|
1105
|
+
var updateGlobalClusterVariable = (options) => {
|
|
1106
|
+
return (options.client ?? client).put({
|
|
1107
|
+
requestValidator: void 0,
|
|
1108
|
+
responseValidator: void 0,
|
|
1109
|
+
url: "/cluster-variables/global/{name}",
|
|
1110
|
+
...options,
|
|
1111
|
+
headers: {
|
|
1112
|
+
"Content-Type": "application/json",
|
|
1113
|
+
...options.headers
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
};
|
|
1104
1117
|
var searchClusterVariables = (options) => {
|
|
1105
1118
|
return (options?.client ?? client).post({
|
|
1106
1119
|
requestValidator: void 0,
|
|
@@ -1141,6 +1154,18 @@ var getTenantClusterVariable = (options) => {
|
|
|
1141
1154
|
...options
|
|
1142
1155
|
});
|
|
1143
1156
|
};
|
|
1157
|
+
var updateTenantClusterVariable = (options) => {
|
|
1158
|
+
return (options.client ?? client).put({
|
|
1159
|
+
requestValidator: void 0,
|
|
1160
|
+
responseValidator: void 0,
|
|
1161
|
+
url: "/cluster-variables/tenants/{tenantId}/{name}",
|
|
1162
|
+
...options,
|
|
1163
|
+
headers: {
|
|
1164
|
+
"Content-Type": "application/json",
|
|
1165
|
+
...options.headers
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
};
|
|
1144
1169
|
var evaluateConditionals = (options) => {
|
|
1145
1170
|
return (options.client ?? client).post({
|
|
1146
1171
|
requestValidator: void 0,
|
|
@@ -1225,6 +1250,30 @@ var getDecisionInstance = (options) => {
|
|
|
1225
1250
|
...options
|
|
1226
1251
|
});
|
|
1227
1252
|
};
|
|
1253
|
+
var deleteDecisionInstance = (options) => {
|
|
1254
|
+
return (options.client ?? client).post({
|
|
1255
|
+
requestValidator: void 0,
|
|
1256
|
+
responseValidator: void 0,
|
|
1257
|
+
url: "/decision-instances/{decisionInstanceKey}/deletion",
|
|
1258
|
+
...options,
|
|
1259
|
+
headers: {
|
|
1260
|
+
"Content-Type": "application/json",
|
|
1261
|
+
...options.headers
|
|
1262
|
+
}
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
var deleteDecisionInstancesBatchOperation = (options) => {
|
|
1266
|
+
return (options.client ?? client).post({
|
|
1267
|
+
requestValidator: void 0,
|
|
1268
|
+
responseValidator: void 0,
|
|
1269
|
+
url: "/decision-instances/deletion",
|
|
1270
|
+
...options,
|
|
1271
|
+
headers: {
|
|
1272
|
+
"Content-Type": "application/json",
|
|
1273
|
+
...options.headers
|
|
1274
|
+
}
|
|
1275
|
+
});
|
|
1276
|
+
};
|
|
1228
1277
|
var searchDecisionRequirements = (options) => {
|
|
1229
1278
|
return (options?.client ?? client).post({
|
|
1230
1279
|
requestValidator: void 0,
|
|
@@ -1664,6 +1713,14 @@ var failJob = (options) => {
|
|
|
1664
1713
|
}
|
|
1665
1714
|
});
|
|
1666
1715
|
};
|
|
1716
|
+
var getGlobalJobStatistics = (options) => {
|
|
1717
|
+
return (options.client ?? client).get({
|
|
1718
|
+
requestValidator: void 0,
|
|
1719
|
+
responseValidator: void 0,
|
|
1720
|
+
url: "/jobs/statistics/global",
|
|
1721
|
+
...options
|
|
1722
|
+
});
|
|
1723
|
+
};
|
|
1667
1724
|
var getLicense = (options) => {
|
|
1668
1725
|
return (options?.client ?? client).get({
|
|
1669
1726
|
requestValidator: void 0,
|
|
@@ -1836,7 +1893,7 @@ var getProcessDefinitionInstanceVersionStatistics = (options) => {
|
|
|
1836
1893
|
return (options.client ?? client).post({
|
|
1837
1894
|
requestValidator: void 0,
|
|
1838
1895
|
responseValidator: void 0,
|
|
1839
|
-
url: "/process-definitions/
|
|
1896
|
+
url: "/process-definitions/statistics/process-instances-by-version",
|
|
1840
1897
|
...options,
|
|
1841
1898
|
headers: {
|
|
1842
1899
|
"Content-Type": "application/json",
|
|
@@ -2649,7 +2706,9 @@ __export(zod_gen_exports, {
|
|
|
2649
2706
|
zAdvancedDateTimeFilter: () => zAdvancedDateTimeFilter,
|
|
2650
2707
|
zAdvancedDecisionDefinitionKeyFilter: () => zAdvancedDecisionDefinitionKeyFilter,
|
|
2651
2708
|
zAdvancedDecisionEvaluationInstanceKeyFilter: () => zAdvancedDecisionEvaluationInstanceKeyFilter,
|
|
2709
|
+
zAdvancedDecisionEvaluationKeyFilter: () => zAdvancedDecisionEvaluationKeyFilter,
|
|
2652
2710
|
zAdvancedDecisionInstanceStateFilter: () => zAdvancedDecisionInstanceStateFilter,
|
|
2711
|
+
zAdvancedDecisionRequirementsKeyFilter: () => zAdvancedDecisionRequirementsKeyFilter,
|
|
2653
2712
|
zAdvancedDeploymentKeyFilter: () => zAdvancedDeploymentKeyFilter,
|
|
2654
2713
|
zAdvancedElementInstanceKeyFilter: () => zAdvancedElementInstanceKeyFilter,
|
|
2655
2714
|
zAdvancedElementInstanceStateFilter: () => zAdvancedElementInstanceStateFilter,
|
|
@@ -2730,7 +2789,6 @@ __export(zod_gen_exports, {
|
|
|
2730
2789
|
zBaseProcessInstanceFilterFields: () => zBaseProcessInstanceFilterFields,
|
|
2731
2790
|
zBasicStringFilter: () => zBasicStringFilter,
|
|
2732
2791
|
zBasicStringFilterProperty: () => zBasicStringFilterProperty,
|
|
2733
|
-
zBatchOperationActorTypeEnum: () => zBatchOperationActorTypeEnum,
|
|
2734
2792
|
zBatchOperationCreatedResult: () => zBatchOperationCreatedResult,
|
|
2735
2793
|
zBatchOperationError: () => zBatchOperationError,
|
|
2736
2794
|
zBatchOperationFilter: () => zBatchOperationFilter,
|
|
@@ -2835,6 +2893,8 @@ __export(zod_gen_exports, {
|
|
|
2835
2893
|
zDecisionEvaluationInstanceKeyFilterProperty: () => zDecisionEvaluationInstanceKeyFilterProperty,
|
|
2836
2894
|
zDecisionEvaluationInstruction: () => zDecisionEvaluationInstruction,
|
|
2837
2895
|
zDecisionEvaluationKey: () => zDecisionEvaluationKey,
|
|
2896
|
+
zDecisionEvaluationKeyFilterProperty: () => zDecisionEvaluationKeyFilterProperty,
|
|
2897
|
+
zDecisionInstanceDeletionBatchOperationRequest: () => zDecisionInstanceDeletionBatchOperationRequest,
|
|
2838
2898
|
zDecisionInstanceFilter: () => zDecisionInstanceFilter,
|
|
2839
2899
|
zDecisionInstanceGetQueryResult: () => zDecisionInstanceGetQueryResult,
|
|
2840
2900
|
zDecisionInstanceKey: () => zDecisionInstanceKey,
|
|
@@ -2846,12 +2906,18 @@ __export(zod_gen_exports, {
|
|
|
2846
2906
|
zDecisionInstanceStateFilterProperty: () => zDecisionInstanceStateFilterProperty,
|
|
2847
2907
|
zDecisionRequirementsFilter: () => zDecisionRequirementsFilter,
|
|
2848
2908
|
zDecisionRequirementsKey: () => zDecisionRequirementsKey,
|
|
2909
|
+
zDecisionRequirementsKeyFilterProperty: () => zDecisionRequirementsKeyFilterProperty,
|
|
2849
2910
|
zDecisionRequirementsResult: () => zDecisionRequirementsResult,
|
|
2850
2911
|
zDecisionRequirementsSearchQuery: () => zDecisionRequirementsSearchQuery,
|
|
2851
2912
|
zDecisionRequirementsSearchQueryResult: () => zDecisionRequirementsSearchQueryResult,
|
|
2852
2913
|
zDecisionRequirementsSearchQuerySortRequest: () => zDecisionRequirementsSearchQuerySortRequest,
|
|
2853
2914
|
zDeleteAuthorizationData: () => zDeleteAuthorizationData,
|
|
2854
2915
|
zDeleteAuthorizationResponse: () => zDeleteAuthorizationResponse,
|
|
2916
|
+
zDeleteDecisionInstanceData: () => zDeleteDecisionInstanceData,
|
|
2917
|
+
zDeleteDecisionInstanceRequest: () => zDeleteDecisionInstanceRequest,
|
|
2918
|
+
zDeleteDecisionInstanceResponse: () => zDeleteDecisionInstanceResponse,
|
|
2919
|
+
zDeleteDecisionInstancesBatchOperationData: () => zDeleteDecisionInstancesBatchOperationData,
|
|
2920
|
+
zDeleteDecisionInstancesBatchOperationResponse: () => zDeleteDecisionInstancesBatchOperationResponse,
|
|
2855
2921
|
zDeleteDocumentData: () => zDeleteDocumentData,
|
|
2856
2922
|
zDeleteDocumentResponse: () => zDeleteDocumentResponse,
|
|
2857
2923
|
zDeleteGlobalClusterVariableData: () => zDeleteGlobalClusterVariableData,
|
|
@@ -2949,6 +3015,8 @@ __export(zod_gen_exports, {
|
|
|
2949
3015
|
zGetElementInstanceResponse: () => zGetElementInstanceResponse,
|
|
2950
3016
|
zGetGlobalClusterVariableData: () => zGetGlobalClusterVariableData,
|
|
2951
3017
|
zGetGlobalClusterVariableResponse: () => zGetGlobalClusterVariableResponse,
|
|
3018
|
+
zGetGlobalJobStatisticsData: () => zGetGlobalJobStatisticsData,
|
|
3019
|
+
zGetGlobalJobStatisticsResponse: () => zGetGlobalJobStatisticsResponse,
|
|
2952
3020
|
zGetGroupData: () => zGetGroupData,
|
|
2953
3021
|
zGetGroupResponse: () => zGetGroupResponse,
|
|
2954
3022
|
zGetIncidentData: () => zGetIncidentData,
|
|
@@ -3007,6 +3075,7 @@ __export(zod_gen_exports, {
|
|
|
3007
3075
|
zGetUserTaskResponse: () => zGetUserTaskResponse,
|
|
3008
3076
|
zGetVariableData: () => zGetVariableData,
|
|
3009
3077
|
zGetVariableResponse: () => zGetVariableResponse,
|
|
3078
|
+
zGlobalJobStatisticsQueryResult: () => zGlobalJobStatisticsQueryResult,
|
|
3010
3079
|
zGroupClientResult: () => zGroupClientResult,
|
|
3011
3080
|
zGroupClientSearchQueryRequest: () => zGroupClientSearchQueryRequest,
|
|
3012
3081
|
zGroupClientSearchQuerySortRequest: () => zGroupClientSearchQuerySortRequest,
|
|
@@ -3216,6 +3285,7 @@ __export(zod_gen_exports, {
|
|
|
3216
3285
|
zRoleUserSearchQueryRequest: () => zRoleUserSearchQueryRequest,
|
|
3217
3286
|
zRoleUserSearchQuerySortRequest: () => zRoleUserSearchQuerySortRequest,
|
|
3218
3287
|
zRoleUserSearchResult: () => zRoleUserSearchResult,
|
|
3288
|
+
zRootProcessInstanceKey: () => zRootProcessInstanceKey,
|
|
3219
3289
|
zScopeKey: () => zScopeKey,
|
|
3220
3290
|
zScopeKeyFilterProperty: () => zScopeKeyFilterProperty,
|
|
3221
3291
|
zSearchAuditLogsData: () => zSearchAuditLogsData,
|
|
@@ -3309,6 +3379,7 @@ __export(zod_gen_exports, {
|
|
|
3309
3379
|
zSourceElementInstanceKeyInstruction: () => zSourceElementInstanceKeyInstruction,
|
|
3310
3380
|
zSourceElementInstruction: () => zSourceElementInstruction,
|
|
3311
3381
|
zStartCursor: () => zStartCursor,
|
|
3382
|
+
zStatusMetric: () => zStatusMetric,
|
|
3312
3383
|
zStringFilterProperty: () => zStringFilterProperty,
|
|
3313
3384
|
zSuspendBatchOperationData: () => zSuspendBatchOperationData,
|
|
3314
3385
|
zSuspendBatchOperationResponse: () => zSuspendBatchOperationResponse,
|
|
@@ -3321,6 +3392,7 @@ __export(zod_gen_exports, {
|
|
|
3321
3392
|
zTenantCreateRequest: () => zTenantCreateRequest,
|
|
3322
3393
|
zTenantCreateResult: () => zTenantCreateResult,
|
|
3323
3394
|
zTenantFilter: () => zTenantFilter,
|
|
3395
|
+
zTenantFilterEnum: () => zTenantFilterEnum,
|
|
3324
3396
|
zTenantGroupResult: () => zTenantGroupResult,
|
|
3325
3397
|
zTenantGroupSearchQueryRequest: () => zTenantGroupSearchQueryRequest,
|
|
3326
3398
|
zTenantGroupSearchQuerySortRequest: () => zTenantGroupSearchQuerySortRequest,
|
|
@@ -3367,6 +3439,9 @@ __export(zod_gen_exports, {
|
|
|
3367
3439
|
zUnassignUserTaskResponse: () => zUnassignUserTaskResponse,
|
|
3368
3440
|
zUpdateAuthorizationData: () => zUpdateAuthorizationData,
|
|
3369
3441
|
zUpdateAuthorizationResponse: () => zUpdateAuthorizationResponse,
|
|
3442
|
+
zUpdateClusterVariableRequest: () => zUpdateClusterVariableRequest,
|
|
3443
|
+
zUpdateGlobalClusterVariableData: () => zUpdateGlobalClusterVariableData,
|
|
3444
|
+
zUpdateGlobalClusterVariableResponse: () => zUpdateGlobalClusterVariableResponse,
|
|
3370
3445
|
zUpdateGroupData: () => zUpdateGroupData,
|
|
3371
3446
|
zUpdateGroupResponse: () => zUpdateGroupResponse,
|
|
3372
3447
|
zUpdateJobData: () => zUpdateJobData,
|
|
@@ -3375,6 +3450,8 @@ __export(zod_gen_exports, {
|
|
|
3375
3450
|
zUpdateMappingRuleResponse: () => zUpdateMappingRuleResponse,
|
|
3376
3451
|
zUpdateRoleData: () => zUpdateRoleData,
|
|
3377
3452
|
zUpdateRoleResponse: () => zUpdateRoleResponse,
|
|
3453
|
+
zUpdateTenantClusterVariableData: () => zUpdateTenantClusterVariableData,
|
|
3454
|
+
zUpdateTenantClusterVariableResponse: () => zUpdateTenantClusterVariableResponse,
|
|
3378
3455
|
zUpdateTenantData: () => zUpdateTenantData,
|
|
3379
3456
|
zUpdateTenantResponse: () => zUpdateTenantResponse,
|
|
3380
3457
|
zUpdateUserData: () => zUpdateUserData,
|
|
@@ -3439,7 +3516,8 @@ var zAuditLogEntityTypeEnum = import_zod.z.enum([
|
|
|
3439
3516
|
"TENANT",
|
|
3440
3517
|
"USER",
|
|
3441
3518
|
"USER_TASK",
|
|
3442
|
-
"VARIABLE"
|
|
3519
|
+
"VARIABLE",
|
|
3520
|
+
"CLIENT"
|
|
3443
3521
|
]).register(import_zod.z.globalRegistry, {
|
|
3444
3522
|
description: "The type of entity affected by the operation."
|
|
3445
3523
|
});
|
|
@@ -3660,6 +3738,7 @@ var zBatchOperationTypeEnum = import_zod.z.enum([
|
|
|
3660
3738
|
"ADD_VARIABLE",
|
|
3661
3739
|
"CANCEL_PROCESS_INSTANCE",
|
|
3662
3740
|
"DELETE_DECISION_DEFINITION",
|
|
3741
|
+
"DELETE_DECISION_INSTANCE",
|
|
3663
3742
|
"DELETE_PROCESS_DEFINITION",
|
|
3664
3743
|
"DELETE_PROCESS_INSTANCE",
|
|
3665
3744
|
"MIGRATE_PROCESS_INSTANCE",
|
|
@@ -3669,12 +3748,6 @@ var zBatchOperationTypeEnum = import_zod.z.enum([
|
|
|
3669
3748
|
]).register(import_zod.z.globalRegistry, {
|
|
3670
3749
|
description: "The type of the batch operation."
|
|
3671
3750
|
});
|
|
3672
|
-
var zBatchOperationActorTypeEnum = import_zod.z.enum([
|
|
3673
|
-
"CLIENT",
|
|
3674
|
-
"USER"
|
|
3675
|
-
]).register(import_zod.z.globalRegistry, {
|
|
3676
|
-
description: "The type of the actor. Available for batch operations created since 8.9."
|
|
3677
|
-
});
|
|
3678
3751
|
var zClockPinRequest = import_zod.z.object({
|
|
3679
3752
|
timestamp: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
3680
3753
|
description: "The exact time in epoch milliseconds to which the clock should be pinned."
|
|
@@ -3694,6 +3767,11 @@ var zCreateClusterVariableRequest = import_zod.z.object({
|
|
|
3694
3767
|
description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
|
|
3695
3768
|
})
|
|
3696
3769
|
});
|
|
3770
|
+
var zUpdateClusterVariableRequest = import_zod.z.object({
|
|
3771
|
+
value: import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
3772
|
+
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."
|
|
3773
|
+
})
|
|
3774
|
+
});
|
|
3697
3775
|
var zClusterVariableResultBase = import_zod.z.object({
|
|
3698
3776
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
3699
3777
|
description: "The name of the cluster variable. Unique within its scope (global or tenant-specific)."
|
|
@@ -4122,7 +4200,7 @@ var zBatchOperationFilter = import_zod.z.object({
|
|
|
4122
4200
|
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
4123
4201
|
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
4124
4202
|
state: import_zod.z.optional(zBatchOperationStateFilterProperty),
|
|
4125
|
-
actorType: import_zod.z.optional(
|
|
4203
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
4126
4204
|
actorId: import_zod.z.optional(zStringFilterProperty)
|
|
4127
4205
|
}).register(import_zod.z.globalRegistry, {
|
|
4128
4206
|
description: "Batch operation filter request."
|
|
@@ -4232,9 +4310,9 @@ var zGroupUpdateRequest = import_zod.z.object({
|
|
|
4232
4310
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4233
4311
|
description: "The new name of the group."
|
|
4234
4312
|
}),
|
|
4235
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4313
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4236
4314
|
description: "The new description of the group."
|
|
4237
|
-
})
|
|
4315
|
+
}))
|
|
4238
4316
|
});
|
|
4239
4317
|
var zGroupUpdateResult = import_zod.z.object({
|
|
4240
4318
|
groupId: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
@@ -4413,28 +4491,25 @@ var zIncidentProcessInstanceStatisticsByDefinitionFilter = import_zod.z.object({
|
|
|
4413
4491
|
}).register(import_zod.z.globalRegistry, {
|
|
4414
4492
|
description: "Filter for the incident process instance statistics by definition query."
|
|
4415
4493
|
});
|
|
4416
|
-
var
|
|
4417
|
-
|
|
4418
|
-
description:
|
|
4419
|
-
}),
|
|
4420
|
-
worker: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4421
|
-
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4422
|
-
})),
|
|
4423
|
-
timeout: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4424
|
-
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4425
|
-
}),
|
|
4426
|
-
maxJobsToActivate: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
4427
|
-
description: "The maximum jobs to activate by this request."
|
|
4494
|
+
var zStatusMetric = import_zod.z.object({
|
|
4495
|
+
count: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4496
|
+
description: "Number of jobs in this status."
|
|
4428
4497
|
}),
|
|
4429
|
-
|
|
4430
|
-
description: "
|
|
4431
|
-
})
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4498
|
+
lastUpdatedAt: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
4499
|
+
description: "ISO 8601 timestamp of the last update for this status."
|
|
4500
|
+
})
|
|
4501
|
+
}).register(import_zod.z.globalRegistry, {
|
|
4502
|
+
description: "Metric for a single job status."
|
|
4503
|
+
});
|
|
4504
|
+
var zGlobalJobStatisticsQueryResult = import_zod.z.object({
|
|
4505
|
+
created: zStatusMetric,
|
|
4506
|
+
completed: zStatusMetric,
|
|
4507
|
+
failed: zStatusMetric,
|
|
4508
|
+
isIncomplete: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
4509
|
+
description: "True if some data is missing because internal limits were reached and some metrics were not recorded."
|
|
4510
|
+
})
|
|
4511
|
+
}).register(import_zod.z.globalRegistry, {
|
|
4512
|
+
description: "Global job statistics query result."
|
|
4438
4513
|
});
|
|
4439
4514
|
var zJobFailRequest = import_zod.z.object({
|
|
4440
4515
|
retries: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
@@ -4561,6 +4636,36 @@ var zJobChangeset = import_zod.z.object({
|
|
|
4561
4636
|
}).register(import_zod.z.globalRegistry, {
|
|
4562
4637
|
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."
|
|
4563
4638
|
});
|
|
4639
|
+
var zTenantFilterEnum = import_zod.z.enum([
|
|
4640
|
+
"PROVIDED",
|
|
4641
|
+
"ASSIGNED"
|
|
4642
|
+
]).register(import_zod.z.globalRegistry, {
|
|
4643
|
+
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"
|
|
4644
|
+
});
|
|
4645
|
+
var zJobActivationRequest = import_zod.z.object({
|
|
4646
|
+
type: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4647
|
+
description: 'The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type="payment-service" />)'
|
|
4648
|
+
}),
|
|
4649
|
+
worker: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
4650
|
+
description: "The name of the worker activating the jobs, mostly used for logging purposes."
|
|
4651
|
+
})),
|
|
4652
|
+
timeout: import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4653
|
+
description: "A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.\n"
|
|
4654
|
+
}),
|
|
4655
|
+
maxJobsToActivate: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
4656
|
+
description: "The maximum jobs to activate by this request."
|
|
4657
|
+
}),
|
|
4658
|
+
fetchVariable: import_zod.z.optional(import_zod.z.array(import_zod.z.string()).register(import_zod.z.globalRegistry, {
|
|
4659
|
+
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."
|
|
4660
|
+
})),
|
|
4661
|
+
requestTimeout: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
4662
|
+
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"
|
|
4663
|
+
})),
|
|
4664
|
+
tenantIds: import_zod.z.optional(import_zod.z.array(zTenantId).register(import_zod.z.globalRegistry, {
|
|
4665
|
+
description: "A list of IDs of tenants for which to activate jobs."
|
|
4666
|
+
})),
|
|
4667
|
+
tenantFilter: import_zod.z.optional(zTenantFilterEnum)
|
|
4668
|
+
});
|
|
4564
4669
|
var zJobStateEnum = import_zod.z.enum([
|
|
4565
4670
|
"CANCELED",
|
|
4566
4671
|
"COMPLETED",
|
|
@@ -4734,6 +4839,7 @@ var zDocumentCreationBatchResponse = import_zod.z.object({
|
|
|
4734
4839
|
description: "Documents that failed creation."
|
|
4735
4840
|
}))
|
|
4736
4841
|
});
|
|
4842
|
+
var zRootProcessInstanceKey = zLongKey;
|
|
4737
4843
|
var zProcessDefinitionKey = zLongKey;
|
|
4738
4844
|
var zConditionalEvaluationInstruction = import_zod.z.object({
|
|
4739
4845
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -4948,6 +5054,7 @@ var zElementInstanceResult = import_zod.z.object({
|
|
|
4948
5054
|
tenantId: zTenantId,
|
|
4949
5055
|
elementInstanceKey: zElementInstanceKey,
|
|
4950
5056
|
processInstanceKey: zProcessInstanceKey,
|
|
5057
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
4951
5058
|
processDefinitionKey: zProcessDefinitionKey,
|
|
4952
5059
|
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
4953
5060
|
});
|
|
@@ -4965,6 +5072,7 @@ var zIncidentResult = import_zod.z.object({
|
|
|
4965
5072
|
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
4966
5073
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
4967
5074
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5075
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
4968
5076
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
4969
5077
|
jobKey: import_zod.z.optional(zJobKey)
|
|
4970
5078
|
});
|
|
@@ -5047,6 +5155,7 @@ var zJobSearchResult = import_zod.z.object({
|
|
|
5047
5155
|
processDefinitionId: zProcessDefinitionId,
|
|
5048
5156
|
processDefinitionKey: zProcessDefinitionKey,
|
|
5049
5157
|
processInstanceKey: zProcessInstanceKey,
|
|
5158
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5050
5159
|
retries: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5051
5160
|
description: "The amount of retries left to this job."
|
|
5052
5161
|
}),
|
|
@@ -5129,6 +5238,7 @@ var zDecisionInstanceResult = import_zod.z.object({
|
|
|
5129
5238
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5130
5239
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5131
5240
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5241
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5132
5242
|
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
5133
5243
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5134
5244
|
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
@@ -5361,7 +5471,7 @@ var zBatchOperationResponse = import_zod.z.object({
|
|
|
5361
5471
|
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
5362
5472
|
description: "The end date of the batch operation."
|
|
5363
5473
|
})),
|
|
5364
|
-
actorType: import_zod.z.optional(
|
|
5474
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
5365
5475
|
actorId: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5366
5476
|
description: "The ID of the actor who performed the operation. Available for batch operations created since 8.9."
|
|
5367
5477
|
})),
|
|
@@ -5385,6 +5495,7 @@ var zBatchOperationItemResponse = import_zod.z.object({
|
|
|
5385
5495
|
description: "Key of the item, e.g. a process instance key."
|
|
5386
5496
|
})),
|
|
5387
5497
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5498
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5388
5499
|
state: import_zod.z.optional(import_zod.z.enum([
|
|
5389
5500
|
"ACTIVE",
|
|
5390
5501
|
"COMPLETED",
|
|
@@ -5408,6 +5519,12 @@ var zDeleteResourceResponse = import_zod.z.object({
|
|
|
5408
5519
|
var zOperationReference = import_zod.z.coerce.bigint().gte(BigInt(1)).register(import_zod.z.globalRegistry, {
|
|
5409
5520
|
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"
|
|
5410
5521
|
});
|
|
5522
|
+
var zDeleteDecisionInstanceRequest = import_zod.z.union([
|
|
5523
|
+
import_zod.z.object({
|
|
5524
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
5525
|
+
}),
|
|
5526
|
+
import_zod.z.null()
|
|
5527
|
+
]);
|
|
5411
5528
|
var zDeleteResourceRequest = import_zod.z.union([
|
|
5412
5529
|
import_zod.z.object({
|
|
5413
5530
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
@@ -5448,6 +5565,7 @@ var zAuditLogResult = import_zod.z.object({
|
|
|
5448
5565
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
5449
5566
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5450
5567
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5568
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5451
5569
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5452
5570
|
jobKey: import_zod.z.optional(zJobKey),
|
|
5453
5571
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -5460,7 +5578,12 @@ var zAuditLogResult = import_zod.z.object({
|
|
|
5460
5578
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5461
5579
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
5462
5580
|
formKey: import_zod.z.optional(zFormKey),
|
|
5463
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
5581
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
5582
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
5583
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
5584
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5585
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
5586
|
+
}))
|
|
5464
5587
|
}).register(import_zod.z.globalRegistry, {
|
|
5465
5588
|
description: "Audit log item."
|
|
5466
5589
|
});
|
|
@@ -5675,31 +5798,6 @@ var zDecisionEvaluationInstanceKeyFilterProperty = import_zod.z.union([
|
|
|
5675
5798
|
zDecisionEvaluationInstanceKey,
|
|
5676
5799
|
zAdvancedDecisionEvaluationInstanceKeyFilter
|
|
5677
5800
|
]);
|
|
5678
|
-
var zDecisionInstanceFilter = import_zod.z.object({
|
|
5679
|
-
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
5680
|
-
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
5681
|
-
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5682
|
-
description: "The evaluation failure of the decision instance."
|
|
5683
|
-
})),
|
|
5684
|
-
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
5685
|
-
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
5686
|
-
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5687
|
-
description: "The name of the DMN decision."
|
|
5688
|
-
})),
|
|
5689
|
-
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5690
|
-
description: "The version of the decision."
|
|
5691
|
-
})),
|
|
5692
|
-
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
5693
|
-
tenantId: import_zod.z.optional(zTenantId),
|
|
5694
|
-
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5695
|
-
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5696
|
-
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5697
|
-
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5698
|
-
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
5699
|
-
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty)
|
|
5700
|
-
}).register(import_zod.z.globalRegistry, {
|
|
5701
|
-
description: "Decision instance search filter."
|
|
5702
|
-
});
|
|
5703
5801
|
var zAdvancedAuditLogKeyFilter = import_zod.z.object({
|
|
5704
5802
|
"$eq": import_zod.z.optional(zAuditLogKey),
|
|
5705
5803
|
"$neq": import_zod.z.optional(zAuditLogKey),
|
|
@@ -5738,6 +5836,44 @@ var zFormKeyFilterProperty = import_zod.z.union([
|
|
|
5738
5836
|
zFormKey,
|
|
5739
5837
|
zAdvancedFormKeyFilter
|
|
5740
5838
|
]);
|
|
5839
|
+
var zAdvancedDecisionEvaluationKeyFilter = import_zod.z.object({
|
|
5840
|
+
"$eq": import_zod.z.optional(zDecisionEvaluationKey),
|
|
5841
|
+
"$neq": import_zod.z.optional(zDecisionEvaluationKey),
|
|
5842
|
+
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5843
|
+
description: "Checks if the current property exists."
|
|
5844
|
+
})),
|
|
5845
|
+
"$in": import_zod.z.optional(import_zod.z.array(zDecisionEvaluationKey).register(import_zod.z.globalRegistry, {
|
|
5846
|
+
description: "Checks if the property matches any of the provided values."
|
|
5847
|
+
})),
|
|
5848
|
+
"$notIn": import_zod.z.optional(import_zod.z.array(zDecisionEvaluationKey).register(import_zod.z.globalRegistry, {
|
|
5849
|
+
description: "Checks if the property matches none of the provided values."
|
|
5850
|
+
}))
|
|
5851
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5852
|
+
description: "Advanced DecisionEvaluationKey filter."
|
|
5853
|
+
});
|
|
5854
|
+
var zDecisionEvaluationKeyFilterProperty = import_zod.z.union([
|
|
5855
|
+
zDecisionEvaluationKey,
|
|
5856
|
+
zAdvancedDecisionEvaluationKeyFilter
|
|
5857
|
+
]);
|
|
5858
|
+
var zAdvancedDecisionRequirementsKeyFilter = import_zod.z.object({
|
|
5859
|
+
"$eq": import_zod.z.optional(zDecisionRequirementsKey),
|
|
5860
|
+
"$neq": import_zod.z.optional(zDecisionRequirementsKey),
|
|
5861
|
+
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5862
|
+
description: "Checks if the current property exists."
|
|
5863
|
+
})),
|
|
5864
|
+
"$in": import_zod.z.optional(import_zod.z.array(zDecisionRequirementsKey).register(import_zod.z.globalRegistry, {
|
|
5865
|
+
description: "Checks if the property matches any of the provided values."
|
|
5866
|
+
})),
|
|
5867
|
+
"$notIn": import_zod.z.optional(import_zod.z.array(zDecisionRequirementsKey).register(import_zod.z.globalRegistry, {
|
|
5868
|
+
description: "Checks if the property matches none of the provided values."
|
|
5869
|
+
}))
|
|
5870
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5871
|
+
description: "Advanced DecisionRequirementsKey filter."
|
|
5872
|
+
});
|
|
5873
|
+
var zDecisionRequirementsKeyFilterProperty = import_zod.z.union([
|
|
5874
|
+
zDecisionRequirementsKey,
|
|
5875
|
+
zAdvancedDecisionRequirementsKeyFilter
|
|
5876
|
+
]);
|
|
5741
5877
|
var zAuditLogFilter = import_zod.z.object({
|
|
5742
5878
|
auditLogKey: import_zod.z.optional(zAuditLogKeyFilterProperty),
|
|
5743
5879
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKeyFilterProperty),
|
|
@@ -5754,10 +5890,54 @@ var zAuditLogFilter = import_zod.z.object({
|
|
|
5754
5890
|
category: import_zod.z.optional(zCategoryFilterProperty),
|
|
5755
5891
|
deploymentKey: import_zod.z.optional(zDeploymentKeyFilterProperty),
|
|
5756
5892
|
formKey: import_zod.z.optional(zFormKeyFilterProperty),
|
|
5757
|
-
resourceKey: import_zod.z.optional(zResourceKeyFilterProperty)
|
|
5893
|
+
resourceKey: import_zod.z.optional(zResourceKeyFilterProperty),
|
|
5894
|
+
batchOperationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
5895
|
+
processDefinitionId: import_zod.z.optional(zStringFilterProperty),
|
|
5896
|
+
jobKey: import_zod.z.optional(zJobKeyFilterProperty),
|
|
5897
|
+
userTaskKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
5898
|
+
decisionRequirementsId: import_zod.z.optional(zStringFilterProperty),
|
|
5899
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty),
|
|
5900
|
+
decisionDefinitionId: import_zod.z.optional(zStringFilterProperty),
|
|
5901
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5902
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKeyFilterProperty),
|
|
5903
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKeyFilterProperty),
|
|
5904
|
+
relatedEntityType: import_zod.z.optional(zEntityTypeFilterProperty),
|
|
5905
|
+
entityDescription: import_zod.z.optional(zStringFilterProperty)
|
|
5758
5906
|
}).register(import_zod.z.globalRegistry, {
|
|
5759
5907
|
description: "Audit log filter request"
|
|
5760
5908
|
});
|
|
5909
|
+
var zDecisionInstanceFilter = import_zod.z.object({
|
|
5910
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
5911
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
5912
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5913
|
+
description: "The evaluation failure of the decision instance."
|
|
5914
|
+
})),
|
|
5915
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
5916
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
5917
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
5918
|
+
description: "The name of the DMN decision."
|
|
5919
|
+
})),
|
|
5920
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
5921
|
+
description: "The version of the decision."
|
|
5922
|
+
})),
|
|
5923
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
5924
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
5925
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
5926
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5927
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
5928
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5929
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
5930
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
5931
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
5932
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5933
|
+
description: "Decision instance search filter."
|
|
5934
|
+
});
|
|
5935
|
+
var zDecisionInstanceDeletionBatchOperationRequest = import_zod.z.object({
|
|
5936
|
+
filter: zDecisionInstanceFilter,
|
|
5937
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
5938
|
+
}).register(import_zod.z.globalRegistry, {
|
|
5939
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
5940
|
+
});
|
|
5761
5941
|
var zLicenseResponse = import_zod.z.object({
|
|
5762
5942
|
validLicense: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
5763
5943
|
description: "True if the Camunda license is valid, false if otherwise"
|
|
@@ -5899,6 +6079,7 @@ var zMessageSubscriptionResult = import_zod.z.object({
|
|
|
5899
6079
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
5900
6080
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
5901
6081
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6082
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
5902
6083
|
elementId: import_zod.z.optional(zElementId),
|
|
5903
6084
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
5904
6085
|
messageSubscriptionState: import_zod.z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -5998,6 +6179,7 @@ var zCorrelatedMessageSubscriptionResult = import_zod.z.object({
|
|
|
5998
6179
|
processDefinitionId: zProcessDefinitionId,
|
|
5999
6180
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
6000
6181
|
processInstanceKey: zProcessInstanceKey,
|
|
6182
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
6001
6183
|
subscriptionKey: zMessageSubscriptionKey,
|
|
6002
6184
|
tenantId: zTenantId
|
|
6003
6185
|
});
|
|
@@ -6117,6 +6299,7 @@ var zProcessDefinitionInstanceStatisticsResult = import_zod.z.object({
|
|
|
6117
6299
|
description: "Process definition instance statistics response."
|
|
6118
6300
|
});
|
|
6119
6301
|
var zProcessDefinitionInstanceVersionStatisticsFilter = import_zod.z.object({
|
|
6302
|
+
processDefinitionId: zProcessDefinitionId,
|
|
6120
6303
|
tenantId: import_zod.z.optional(zTenantId)
|
|
6121
6304
|
}).register(import_zod.z.globalRegistry, {
|
|
6122
6305
|
description: "Process definition instance version statistics search filter."
|
|
@@ -6183,6 +6366,9 @@ var zProcessInstanceCreationInstructionById = import_zod.z.object({
|
|
|
6183
6366
|
});
|
|
6184
6367
|
var zProcessInstanceCreationInstructionByKey = import_zod.z.object({
|
|
6185
6368
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6369
|
+
processDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
6370
|
+
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"
|
|
6371
|
+
})).default(-1),
|
|
6186
6372
|
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
6187
6373
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
6188
6374
|
})),
|
|
@@ -6246,6 +6432,7 @@ var zProcessInstanceSequenceFlowResult = import_zod.z.object({
|
|
|
6246
6432
|
description: "The sequence flow id."
|
|
6247
6433
|
})),
|
|
6248
6434
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6435
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
6249
6436
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
6250
6437
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
6251
6438
|
elementId: import_zod.z.optional(zElementId),
|
|
@@ -6435,6 +6622,7 @@ var zProcessInstanceResult = import_zod.z.object({
|
|
|
6435
6622
|
processDefinitionKey: zProcessDefinitionKey,
|
|
6436
6623
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
6437
6624
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
6625
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
6438
6626
|
tags: import_zod.z.optional(zTagSet)
|
|
6439
6627
|
}).register(import_zod.z.globalRegistry, {
|
|
6440
6628
|
description: "Process instance search response item."
|
|
@@ -6482,9 +6670,9 @@ var zRoleUpdateRequest = import_zod.z.object({
|
|
|
6482
6670
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6483
6671
|
description: "The display name of the new role."
|
|
6484
6672
|
}),
|
|
6485
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6673
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
6486
6674
|
description: "The description of the new role."
|
|
6487
|
-
})
|
|
6675
|
+
}))
|
|
6488
6676
|
});
|
|
6489
6677
|
var zRoleUpdateResult = import_zod.z.object({
|
|
6490
6678
|
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
@@ -7044,7 +7232,7 @@ var zProcessDefinitionInstanceVersionStatisticsQuery = import_zod.z.object({
|
|
|
7044
7232
|
sort: import_zod.z.optional(import_zod.z.array(zProcessDefinitionInstanceVersionStatisticsQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
7045
7233
|
description: "Sort field criteria."
|
|
7046
7234
|
})),
|
|
7047
|
-
filter:
|
|
7235
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
7048
7236
|
});
|
|
7049
7237
|
var zProcessInstanceSearchQuerySortRequest = import_zod.z.object({
|
|
7050
7238
|
field: import_zod.z.enum([
|
|
@@ -7348,9 +7536,9 @@ var zTenantUpdateRequest = import_zod.z.object({
|
|
|
7348
7536
|
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7349
7537
|
description: "The new name of the tenant."
|
|
7350
7538
|
}),
|
|
7351
|
-
description: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7539
|
+
description: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
7352
7540
|
description: "The new description of the tenant."
|
|
7353
|
-
})
|
|
7541
|
+
}))
|
|
7354
7542
|
});
|
|
7355
7543
|
var zTenantUpdateResult = import_zod.z.object({
|
|
7356
7544
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -7649,6 +7837,7 @@ var zUserTaskResult = import_zod.z.object({
|
|
|
7649
7837
|
})),
|
|
7650
7838
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
7651
7839
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
7840
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey),
|
|
7652
7841
|
formKey: import_zod.z.optional(zFormKey),
|
|
7653
7842
|
tags: import_zod.z.optional(zTagSet)
|
|
7654
7843
|
});
|
|
@@ -7827,7 +8016,8 @@ var zVariableResultBase = import_zod.z.object({
|
|
|
7827
8016
|
tenantId: import_zod.z.optional(zTenantId),
|
|
7828
8017
|
variableKey: import_zod.z.optional(zVariableKey),
|
|
7829
8018
|
scopeKey: import_zod.z.optional(zScopeKey),
|
|
7830
|
-
processInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
8019
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8020
|
+
rootProcessInstanceKey: import_zod.z.optional(zRootProcessInstanceKey)
|
|
7831
8021
|
}).register(import_zod.z.globalRegistry, {
|
|
7832
8022
|
description: "Variable response item."
|
|
7833
8023
|
});
|
|
@@ -7959,9 +8149,7 @@ var zUserTaskFilter = import_zod.z.object({
|
|
|
7959
8149
|
assignee: import_zod.z.optional(zStringFilterProperty),
|
|
7960
8150
|
priority: import_zod.z.optional(zIntegerFilterProperty),
|
|
7961
8151
|
elementId: import_zod.z.optional(zElementId),
|
|
7962
|
-
name: import_zod.z.optional(
|
|
7963
|
-
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"
|
|
7964
|
-
})),
|
|
8152
|
+
name: import_zod.z.optional(zStringFilterProperty),
|
|
7965
8153
|
candidateGroup: import_zod.z.optional(zStringFilterProperty),
|
|
7966
8154
|
candidateUser: import_zod.z.optional(zStringFilterProperty),
|
|
7967
8155
|
tenantId: import_zod.z.optional(zStringFilterProperty),
|
|
@@ -8037,6 +8225,7 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
8037
8225
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
8038
8226
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8039
8227
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8228
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8040
8229
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8041
8230
|
jobKey: import_zod.z.optional(zJobKey),
|
|
8042
8231
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -8049,7 +8238,12 @@ var zSearchAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
8049
8238
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8050
8239
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
8051
8240
|
formKey: import_zod.z.optional(zFormKey),
|
|
8052
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
8241
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
8242
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
8243
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
8244
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8245
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8246
|
+
}))
|
|
8053
8247
|
}).register(import_zod.z.globalRegistry, {
|
|
8054
8248
|
description: "Audit log item."
|
|
8055
8249
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -8088,6 +8282,7 @@ var zGetAuditLogResponse = import_zod.z.object({
|
|
|
8088
8282
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
8089
8283
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8090
8284
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8285
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8091
8286
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8092
8287
|
jobKey: import_zod.z.optional(zJobKey),
|
|
8093
8288
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -8100,7 +8295,12 @@ var zGetAuditLogResponse = import_zod.z.object({
|
|
|
8100
8295
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8101
8296
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
8102
8297
|
formKey: import_zod.z.optional(zFormKey),
|
|
8103
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
8298
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
8299
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
8300
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
8301
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8302
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
8303
|
+
}))
|
|
8104
8304
|
}).register(import_zod.z.globalRegistry, {
|
|
8105
8305
|
description: "Audit log item."
|
|
8106
8306
|
});
|
|
@@ -8151,13 +8351,72 @@ var zUpdateAuthorizationResponse = import_zod.z.void().register(import_zod.z.glo
|
|
|
8151
8351
|
description: "The authorization was updated successfully."
|
|
8152
8352
|
});
|
|
8153
8353
|
var zSearchBatchOperationItemsData = import_zod.z.object({
|
|
8154
|
-
body: import_zod.z.optional(
|
|
8354
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8355
|
+
sort: import_zod.z.optional(import_zod.z.array(zBatchOperationItemSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8356
|
+
description: "Sort field criteria."
|
|
8357
|
+
})),
|
|
8358
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8359
|
+
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8360
|
+
itemKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8361
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKeyFilterProperty),
|
|
8362
|
+
state: import_zod.z.optional(zBatchOperationItemStateFilterProperty),
|
|
8363
|
+
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty)
|
|
8364
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8365
|
+
description: "Batch operation item filter request."
|
|
8366
|
+
}))
|
|
8367
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8368
|
+
description: "Batch operation item search request."
|
|
8369
|
+
}))),
|
|
8155
8370
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8156
8371
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8157
8372
|
});
|
|
8158
|
-
var zSearchBatchOperationItemsResponse =
|
|
8373
|
+
var zSearchBatchOperationItemsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8374
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8375
|
+
operationType: import_zod.z.optional(zBatchOperationTypeEnum),
|
|
8376
|
+
batchOperationKey: import_zod.z.optional(zBatchOperationKey),
|
|
8377
|
+
itemKey: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8378
|
+
description: "Key of the item, e.g. a process instance key."
|
|
8379
|
+
})),
|
|
8380
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8381
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8382
|
+
state: import_zod.z.optional(import_zod.z.enum([
|
|
8383
|
+
"ACTIVE",
|
|
8384
|
+
"COMPLETED",
|
|
8385
|
+
"SKIPPED",
|
|
8386
|
+
"CANCELED",
|
|
8387
|
+
"FAILED"
|
|
8388
|
+
]).register(import_zod.z.globalRegistry, {
|
|
8389
|
+
description: "State of the item."
|
|
8390
|
+
})),
|
|
8391
|
+
processedDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8392
|
+
description: "the date this item was processed."
|
|
8393
|
+
})),
|
|
8394
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8395
|
+
description: "the error message from the engine in case of a failed operation."
|
|
8396
|
+
}))
|
|
8397
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8398
|
+
description: "The matching batch operation items."
|
|
8399
|
+
}))
|
|
8400
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8401
|
+
description: "The batch operation search result."
|
|
8402
|
+
}));
|
|
8159
8403
|
var zSearchBatchOperationsData = import_zod.z.object({
|
|
8160
|
-
body: import_zod.z.optional(
|
|
8404
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8405
|
+
sort: import_zod.z.optional(import_zod.z.array(zBatchOperationSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8406
|
+
description: "Sort field criteria."
|
|
8407
|
+
})),
|
|
8408
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8409
|
+
batchOperationKey: import_zod.z.optional(zBasicStringFilterProperty),
|
|
8410
|
+
operationType: import_zod.z.optional(zBatchOperationTypeFilterProperty),
|
|
8411
|
+
state: import_zod.z.optional(zBatchOperationStateFilterProperty),
|
|
8412
|
+
actorType: import_zod.z.optional(zAuditLogActorTypeEnum),
|
|
8413
|
+
actorId: import_zod.z.optional(zStringFilterProperty)
|
|
8414
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8415
|
+
description: "Batch operation filter request."
|
|
8416
|
+
}))
|
|
8417
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8418
|
+
description: "Batch operation search request."
|
|
8419
|
+
}))),
|
|
8161
8420
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8162
8421
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8163
8422
|
});
|
|
@@ -8244,6 +8503,16 @@ var zGetGlobalClusterVariableData = import_zod.z.object({
|
|
|
8244
8503
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8245
8504
|
});
|
|
8246
8505
|
var zGetGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8506
|
+
var zUpdateGlobalClusterVariableData = import_zod.z.object({
|
|
8507
|
+
body: zUpdateClusterVariableRequest,
|
|
8508
|
+
path: import_zod.z.object({
|
|
8509
|
+
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8510
|
+
description: "The name of the cluster variable"
|
|
8511
|
+
})
|
|
8512
|
+
}),
|
|
8513
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8514
|
+
});
|
|
8515
|
+
var zUpdateGlobalClusterVariableResponse = zClusterVariableResult;
|
|
8247
8516
|
var zSearchClusterVariablesData = import_zod.z.object({
|
|
8248
8517
|
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8249
8518
|
sort: import_zod.z.optional(import_zod.z.array(zClusterVariableSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
@@ -8333,6 +8602,17 @@ var zGetTenantClusterVariableData = import_zod.z.object({
|
|
|
8333
8602
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8334
8603
|
});
|
|
8335
8604
|
var zGetTenantClusterVariableResponse = zClusterVariableResult;
|
|
8605
|
+
var zUpdateTenantClusterVariableData = import_zod.z.object({
|
|
8606
|
+
body: zUpdateClusterVariableRequest,
|
|
8607
|
+
path: import_zod.z.object({
|
|
8608
|
+
tenantId: zTenantId,
|
|
8609
|
+
name: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8610
|
+
description: "The name of the cluster variable"
|
|
8611
|
+
})
|
|
8612
|
+
}),
|
|
8613
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8614
|
+
});
|
|
8615
|
+
var zUpdateTenantClusterVariableResponse = zClusterVariableResult;
|
|
8336
8616
|
var zEvaluateConditionalsData = import_zod.z.object({
|
|
8337
8617
|
body: zConditionalEvaluationInstruction,
|
|
8338
8618
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -8344,9 +8624,39 @@ var zSearchCorrelatedMessageSubscriptionsData = import_zod.z.object({
|
|
|
8344
8624
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8345
8625
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8346
8626
|
});
|
|
8347
|
-
var zSearchCorrelatedMessageSubscriptionsResponse =
|
|
8348
|
-
|
|
8349
|
-
|
|
8627
|
+
var zSearchCorrelatedMessageSubscriptionsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8628
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8629
|
+
correlationKey: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8630
|
+
description: "The correlation key of the message."
|
|
8631
|
+
}),
|
|
8632
|
+
correlationTime: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8633
|
+
description: "The time when the message was correlated."
|
|
8634
|
+
}),
|
|
8635
|
+
elementId: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8636
|
+
description: "The element ID that received the message."
|
|
8637
|
+
}),
|
|
8638
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8639
|
+
messageKey: zMessageKey,
|
|
8640
|
+
messageName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8641
|
+
description: "The name of the message."
|
|
8642
|
+
}),
|
|
8643
|
+
partitionId: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8644
|
+
description: "The partition ID that correlated the message."
|
|
8645
|
+
}),
|
|
8646
|
+
processDefinitionId: zProcessDefinitionId,
|
|
8647
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8648
|
+
processInstanceKey: zProcessInstanceKey,
|
|
8649
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8650
|
+
subscriptionKey: zMessageSubscriptionKey,
|
|
8651
|
+
tenantId: zTenantId
|
|
8652
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8653
|
+
description: "The matching correlated message subscriptions."
|
|
8654
|
+
}))
|
|
8655
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8656
|
+
description: "The correlated message subscriptions search result."
|
|
8657
|
+
}));
|
|
8658
|
+
var zEvaluateDecisionData = import_zod.z.object({
|
|
8659
|
+
body: zDecisionEvaluationInstruction,
|
|
8350
8660
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8351
8661
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8352
8662
|
});
|
|
@@ -8376,11 +8686,75 @@ var zGetDecisionDefinitionXmlResponse = import_zod.z.string().register(import_zo
|
|
|
8376
8686
|
description: "The XML of the decision definition is successfully returned."
|
|
8377
8687
|
});
|
|
8378
8688
|
var zSearchDecisionInstancesData = import_zod.z.object({
|
|
8379
|
-
body: import_zod.z.optional(
|
|
8689
|
+
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
8690
|
+
sort: import_zod.z.optional(import_zod.z.array(zDecisionInstanceSearchQuerySortRequest).register(import_zod.z.globalRegistry, {
|
|
8691
|
+
description: "Sort field criteria."
|
|
8692
|
+
})),
|
|
8693
|
+
filter: import_zod.z.optional(import_zod.z.object({
|
|
8694
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
8695
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
8696
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8697
|
+
description: "The evaluation failure of the decision instance."
|
|
8698
|
+
})),
|
|
8699
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
8700
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8701
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8702
|
+
description: "The name of the DMN decision."
|
|
8703
|
+
})),
|
|
8704
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8705
|
+
description: "The version of the decision."
|
|
8706
|
+
})),
|
|
8707
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8708
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8709
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8710
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8711
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8712
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8713
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
8714
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8715
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
8716
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8717
|
+
description: "Decision instance search filter."
|
|
8718
|
+
}))
|
|
8719
|
+
}))),
|
|
8380
8720
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8381
8721
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8382
8722
|
});
|
|
8383
|
-
var zSearchDecisionInstancesResponse =
|
|
8723
|
+
var zSearchDecisionInstancesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
8724
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8725
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKey),
|
|
8726
|
+
state: import_zod.z.optional(zDecisionInstanceStateEnum),
|
|
8727
|
+
evaluationDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8728
|
+
description: "The evaluation date of the decision instance."
|
|
8729
|
+
})),
|
|
8730
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8731
|
+
description: "The evaluation failure of the decision instance."
|
|
8732
|
+
})),
|
|
8733
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8734
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8735
|
+
description: "The name of the DMN decision."
|
|
8736
|
+
})),
|
|
8737
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8738
|
+
description: "The version of the decision."
|
|
8739
|
+
})),
|
|
8740
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8741
|
+
result: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8742
|
+
description: "The result of the decision instance."
|
|
8743
|
+
})),
|
|
8744
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8745
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8746
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8747
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8748
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8749
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
8750
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8751
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
8752
|
+
})).register(import_zod.z.globalRegistry, {
|
|
8753
|
+
description: "The matching decision instances."
|
|
8754
|
+
}))
|
|
8755
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8756
|
+
description: "The decision instance search result."
|
|
8757
|
+
}));
|
|
8384
8758
|
var zGetDecisionInstanceData = import_zod.z.object({
|
|
8385
8759
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8386
8760
|
path: import_zod.z.object({
|
|
@@ -8388,7 +8762,88 @@ var zGetDecisionInstanceData = import_zod.z.object({
|
|
|
8388
8762
|
}),
|
|
8389
8763
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8390
8764
|
});
|
|
8391
|
-
var zGetDecisionInstanceResponse =
|
|
8765
|
+
var zGetDecisionInstanceResponse = import_zod.z.object({
|
|
8766
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKey),
|
|
8767
|
+
state: import_zod.z.optional(zDecisionInstanceStateEnum),
|
|
8768
|
+
evaluationDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
8769
|
+
description: "The evaluation date of the decision instance."
|
|
8770
|
+
})),
|
|
8771
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8772
|
+
description: "The evaluation failure of the decision instance."
|
|
8773
|
+
})),
|
|
8774
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8775
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8776
|
+
description: "The name of the DMN decision."
|
|
8777
|
+
})),
|
|
8778
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8779
|
+
description: "The version of the decision."
|
|
8780
|
+
})),
|
|
8781
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8782
|
+
result: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8783
|
+
description: "The result of the decision instance."
|
|
8784
|
+
})),
|
|
8785
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8786
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8787
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8788
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8789
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8790
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey),
|
|
8791
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
8792
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKey)
|
|
8793
|
+
}).and(import_zod.z.object({
|
|
8794
|
+
evaluatedInputs: import_zod.z.optional(import_zod.z.array(zEvaluatedDecisionInputItem).register(import_zod.z.globalRegistry, {
|
|
8795
|
+
description: "The evaluated inputs of the decision instance.\n"
|
|
8796
|
+
})),
|
|
8797
|
+
matchedRules: import_zod.z.optional(import_zod.z.array(zMatchedDecisionRuleItem).register(import_zod.z.globalRegistry, {
|
|
8798
|
+
description: "The matched rules of the decision instance.\n"
|
|
8799
|
+
}))
|
|
8800
|
+
}));
|
|
8801
|
+
var zDeleteDecisionInstanceData = import_zod.z.object({
|
|
8802
|
+
body: import_zod.z.optional(zDeleteProcessInstanceRequest),
|
|
8803
|
+
path: import_zod.z.object({
|
|
8804
|
+
decisionInstanceKey: zDecisionInstanceKey
|
|
8805
|
+
}),
|
|
8806
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8807
|
+
});
|
|
8808
|
+
var zDeleteDecisionInstanceResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
8809
|
+
description: "The decision instance is marked for deletion."
|
|
8810
|
+
});
|
|
8811
|
+
var zDeleteDecisionInstancesBatchOperationData = import_zod.z.object({
|
|
8812
|
+
body: import_zod.z.object({
|
|
8813
|
+
filter: import_zod.z.object({
|
|
8814
|
+
decisionEvaluationInstanceKey: import_zod.z.optional(zDecisionEvaluationInstanceKeyFilterProperty),
|
|
8815
|
+
state: import_zod.z.optional(zDecisionInstanceStateFilterProperty),
|
|
8816
|
+
evaluationFailure: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8817
|
+
description: "The evaluation failure of the decision instance."
|
|
8818
|
+
})),
|
|
8819
|
+
evaluationDate: import_zod.z.optional(zDateTimeFilterProperty),
|
|
8820
|
+
decisionDefinitionId: import_zod.z.optional(zDecisionDefinitionId),
|
|
8821
|
+
decisionDefinitionName: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8822
|
+
description: "The name of the DMN decision."
|
|
8823
|
+
})),
|
|
8824
|
+
decisionDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8825
|
+
description: "The version of the decision."
|
|
8826
|
+
})),
|
|
8827
|
+
decisionDefinitionType: import_zod.z.optional(zDecisionDefinitionTypeEnum),
|
|
8828
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
8829
|
+
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
8830
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
8831
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8832
|
+
decisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8833
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKeyFilterProperty),
|
|
8834
|
+
rootDecisionDefinitionKey: import_zod.z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
8835
|
+
decisionRequirementsKey: import_zod.z.optional(zDecisionRequirementsKeyFilterProperty)
|
|
8836
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8837
|
+
description: "Decision instance search filter."
|
|
8838
|
+
}),
|
|
8839
|
+
operationReference: import_zod.z.optional(zOperationReference)
|
|
8840
|
+
}).register(import_zod.z.globalRegistry, {
|
|
8841
|
+
description: "The decision instance filter that defines which decision instances should be deleted."
|
|
8842
|
+
}),
|
|
8843
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
8844
|
+
query: import_zod.z.optional(import_zod.z.never())
|
|
8845
|
+
});
|
|
8846
|
+
var zDeleteDecisionInstancesBatchOperationResponse = zBatchOperationCreatedResult;
|
|
8392
8847
|
var zSearchDecisionRequirementsData = import_zod.z.object({
|
|
8393
8848
|
body: import_zod.z.optional(zDecisionRequirementsSearchQuery),
|
|
8394
8849
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -8541,7 +8996,66 @@ var zSearchElementInstancesData = import_zod.z.object({
|
|
|
8541
8996
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8542
8997
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8543
8998
|
});
|
|
8544
|
-
var zSearchElementInstancesResponse =
|
|
8999
|
+
var zSearchElementInstancesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
9000
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9001
|
+
processDefinitionId: zProcessDefinitionId,
|
|
9002
|
+
startDate: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9003
|
+
description: "Date when element instance started."
|
|
9004
|
+
}),
|
|
9005
|
+
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9006
|
+
description: "Date when element instance finished."
|
|
9007
|
+
})),
|
|
9008
|
+
elementId: zElementId,
|
|
9009
|
+
elementName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9010
|
+
description: "The element name for this element instance."
|
|
9011
|
+
}),
|
|
9012
|
+
type: import_zod.z.enum([
|
|
9013
|
+
"UNSPECIFIED",
|
|
9014
|
+
"PROCESS",
|
|
9015
|
+
"SUB_PROCESS",
|
|
9016
|
+
"EVENT_SUB_PROCESS",
|
|
9017
|
+
"AD_HOC_SUB_PROCESS",
|
|
9018
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
9019
|
+
"START_EVENT",
|
|
9020
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
9021
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
9022
|
+
"BOUNDARY_EVENT",
|
|
9023
|
+
"END_EVENT",
|
|
9024
|
+
"SERVICE_TASK",
|
|
9025
|
+
"RECEIVE_TASK",
|
|
9026
|
+
"USER_TASK",
|
|
9027
|
+
"MANUAL_TASK",
|
|
9028
|
+
"TASK",
|
|
9029
|
+
"EXCLUSIVE_GATEWAY",
|
|
9030
|
+
"INCLUSIVE_GATEWAY",
|
|
9031
|
+
"PARALLEL_GATEWAY",
|
|
9032
|
+
"EVENT_BASED_GATEWAY",
|
|
9033
|
+
"SEQUENCE_FLOW",
|
|
9034
|
+
"MULTI_INSTANCE_BODY",
|
|
9035
|
+
"CALL_ACTIVITY",
|
|
9036
|
+
"BUSINESS_RULE_TASK",
|
|
9037
|
+
"SCRIPT_TASK",
|
|
9038
|
+
"SEND_TASK",
|
|
9039
|
+
"UNKNOWN"
|
|
9040
|
+
]).register(import_zod.z.globalRegistry, {
|
|
9041
|
+
description: "Type of element as defined set of values."
|
|
9042
|
+
}),
|
|
9043
|
+
state: zElementInstanceStateEnum,
|
|
9044
|
+
hasIncident: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
9045
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9046
|
+
}),
|
|
9047
|
+
tenantId: zTenantId,
|
|
9048
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9049
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9050
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9051
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9052
|
+
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
9053
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9054
|
+
description: "The matching element instances."
|
|
9055
|
+
}))
|
|
9056
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9057
|
+
description: "The element instance search result."
|
|
9058
|
+
}));
|
|
8545
9059
|
var zGetElementInstanceData = import_zod.z.object({
|
|
8546
9060
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8547
9061
|
path: import_zod.z.object({
|
|
@@ -8549,7 +9063,62 @@ var zGetElementInstanceData = import_zod.z.object({
|
|
|
8549
9063
|
}),
|
|
8550
9064
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8551
9065
|
});
|
|
8552
|
-
var zGetElementInstanceResponse =
|
|
9066
|
+
var zGetElementInstanceResponse = import_zod.z.object({
|
|
9067
|
+
processDefinitionId: zProcessDefinitionId,
|
|
9068
|
+
startDate: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9069
|
+
description: "Date when element instance started."
|
|
9070
|
+
}),
|
|
9071
|
+
endDate: import_zod.z.optional(import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9072
|
+
description: "Date when element instance finished."
|
|
9073
|
+
})),
|
|
9074
|
+
elementId: zElementId,
|
|
9075
|
+
elementName: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9076
|
+
description: "The element name for this element instance."
|
|
9077
|
+
}),
|
|
9078
|
+
type: import_zod.z.enum([
|
|
9079
|
+
"UNSPECIFIED",
|
|
9080
|
+
"PROCESS",
|
|
9081
|
+
"SUB_PROCESS",
|
|
9082
|
+
"EVENT_SUB_PROCESS",
|
|
9083
|
+
"AD_HOC_SUB_PROCESS",
|
|
9084
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
9085
|
+
"START_EVENT",
|
|
9086
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
9087
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
9088
|
+
"BOUNDARY_EVENT",
|
|
9089
|
+
"END_EVENT",
|
|
9090
|
+
"SERVICE_TASK",
|
|
9091
|
+
"RECEIVE_TASK",
|
|
9092
|
+
"USER_TASK",
|
|
9093
|
+
"MANUAL_TASK",
|
|
9094
|
+
"TASK",
|
|
9095
|
+
"EXCLUSIVE_GATEWAY",
|
|
9096
|
+
"INCLUSIVE_GATEWAY",
|
|
9097
|
+
"PARALLEL_GATEWAY",
|
|
9098
|
+
"EVENT_BASED_GATEWAY",
|
|
9099
|
+
"SEQUENCE_FLOW",
|
|
9100
|
+
"MULTI_INSTANCE_BODY",
|
|
9101
|
+
"CALL_ACTIVITY",
|
|
9102
|
+
"BUSINESS_RULE_TASK",
|
|
9103
|
+
"SCRIPT_TASK",
|
|
9104
|
+
"SEND_TASK",
|
|
9105
|
+
"UNKNOWN"
|
|
9106
|
+
]).register(import_zod.z.globalRegistry, {
|
|
9107
|
+
description: "Type of element as defined set of values."
|
|
9108
|
+
}),
|
|
9109
|
+
state: zElementInstanceStateEnum,
|
|
9110
|
+
hasIncident: import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
9111
|
+
description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
|
|
9112
|
+
}),
|
|
9113
|
+
tenantId: zTenantId,
|
|
9114
|
+
elementInstanceKey: zElementInstanceKey,
|
|
9115
|
+
processInstanceKey: zProcessInstanceKey,
|
|
9116
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9117
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
9118
|
+
incidentKey: import_zod.z.optional(zIncidentKey)
|
|
9119
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9120
|
+
description: "The element instance is successfully returned."
|
|
9121
|
+
});
|
|
8553
9122
|
var zSearchElementInstanceIncidentsData = import_zod.z.object({
|
|
8554
9123
|
body: zIncidentSearchQuery,
|
|
8555
9124
|
path: import_zod.z.object({
|
|
@@ -8557,7 +9126,27 @@ var zSearchElementInstanceIncidentsData = import_zod.z.object({
|
|
|
8557
9126
|
}),
|
|
8558
9127
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8559
9128
|
});
|
|
8560
|
-
var zSearchElementInstanceIncidentsResponse =
|
|
9129
|
+
var zSearchElementInstanceIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
9130
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9131
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9132
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9133
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9134
|
+
description: "Error message which describes the error in more detail."
|
|
9135
|
+
})),
|
|
9136
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9137
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9138
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9139
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9140
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9141
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9142
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9143
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9144
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9145
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9146
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9147
|
+
description: "The matching incidents."
|
|
9148
|
+
}))
|
|
9149
|
+
}));
|
|
8561
9150
|
var zCreateElementInstanceVariablesData = import_zod.z.object({
|
|
8562
9151
|
body: zSetVariableRequest,
|
|
8563
9152
|
path: import_zod.z.object({
|
|
@@ -8769,7 +9358,29 @@ var zSearchIncidentsData = import_zod.z.object({
|
|
|
8769
9358
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
8770
9359
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8771
9360
|
});
|
|
8772
|
-
var zSearchIncidentsResponse =
|
|
9361
|
+
var zSearchIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
9362
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9363
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9364
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9365
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9366
|
+
description: "Error message which describes the error in more detail."
|
|
9367
|
+
})),
|
|
9368
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9369
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9370
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9371
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9372
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9373
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9374
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9375
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9376
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9377
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9378
|
+
})).register(import_zod.z.globalRegistry, {
|
|
9379
|
+
description: "The matching incidents."
|
|
9380
|
+
}))
|
|
9381
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9382
|
+
description: "The incident search result."
|
|
9383
|
+
}));
|
|
8773
9384
|
var zGetIncidentData = import_zod.z.object({
|
|
8774
9385
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
8775
9386
|
path: import_zod.z.object({
|
|
@@ -8777,7 +9388,25 @@ var zGetIncidentData = import_zod.z.object({
|
|
|
8777
9388
|
}),
|
|
8778
9389
|
query: import_zod.z.optional(import_zod.z.never())
|
|
8779
9390
|
});
|
|
8780
|
-
var zGetIncidentResponse =
|
|
9391
|
+
var zGetIncidentResponse = import_zod.z.object({
|
|
9392
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9393
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
9394
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9395
|
+
description: "Error message which describes the error in more detail."
|
|
9396
|
+
})),
|
|
9397
|
+
elementId: import_zod.z.optional(zElementId),
|
|
9398
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
9399
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
9400
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
9401
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
9402
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9403
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9404
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9405
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9406
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
9407
|
+
}).register(import_zod.z.globalRegistry, {
|
|
9408
|
+
description: "The incident is successfully returned."
|
|
9409
|
+
});
|
|
8781
9410
|
var zResolveIncidentData = import_zod.z.object({
|
|
8782
9411
|
body: import_zod.z.optional(zIncidentResolutionRequest),
|
|
8783
9412
|
path: import_zod.z.object({
|
|
@@ -8925,6 +9554,7 @@ var zSearchJobsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
8925
9554
|
processDefinitionId: zProcessDefinitionId,
|
|
8926
9555
|
processDefinitionKey: zProcessDefinitionKey,
|
|
8927
9556
|
processInstanceKey: zProcessInstanceKey,
|
|
9557
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
8928
9558
|
retries: import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
8929
9559
|
description: "The amount of retries left to this job."
|
|
8930
9560
|
}),
|
|
@@ -8959,39 +9589,7 @@ var zUpdateJobResponse = import_zod.z.void().register(import_zod.z.globalRegistr
|
|
|
8959
9589
|
description: "The job was updated successfully."
|
|
8960
9590
|
});
|
|
8961
9591
|
var zCompleteJobData = import_zod.z.object({
|
|
8962
|
-
body: import_zod.z.optional(
|
|
8963
|
-
variables: import_zod.z.optional(import_zod.z.union([
|
|
8964
|
-
import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()),
|
|
8965
|
-
import_zod.z.null()
|
|
8966
|
-
])),
|
|
8967
|
-
result: import_zod.z.optional(import_zod.z.union([
|
|
8968
|
-
import_zod.z.object({
|
|
8969
|
-
type: import_zod.z.literal("userTask")
|
|
8970
|
-
}).and(zJobResultUserTask),
|
|
8971
|
-
import_zod.z.object({
|
|
8972
|
-
activateElements: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
8973
|
-
elementId: import_zod.z.optional(zElementId),
|
|
8974
|
-
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
8975
|
-
description: "Variables for the element."
|
|
8976
|
-
}))
|
|
8977
|
-
}).register(import_zod.z.globalRegistry, {
|
|
8978
|
-
description: "Instruction to activate a single BPMN element within an ad\u2011hoc sub\u2011process, optionally providing variables scoped to that element."
|
|
8979
|
-
})).register(import_zod.z.globalRegistry, {
|
|
8980
|
-
description: "Indicates which elements need to be activated in the ad-hoc subprocess."
|
|
8981
|
-
})),
|
|
8982
|
-
isCompletionConditionFulfilled: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
8983
|
-
description: "Indicates whether the completion condition of the ad-hoc subprocess is fulfilled."
|
|
8984
|
-
})).default(false),
|
|
8985
|
-
isCancelRemainingInstances: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
8986
|
-
description: "Indicates whether the remaining instances of the ad-hoc subprocess should be canceled."
|
|
8987
|
-
})).default(false),
|
|
8988
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
8989
|
-
description: "Used to distinguish between different types of job results."
|
|
8990
|
-
}))
|
|
8991
|
-
}),
|
|
8992
|
-
import_zod.z.null()
|
|
8993
|
-
]))
|
|
8994
|
-
})),
|
|
9592
|
+
body: import_zod.z.optional(zJobCompletionRequest),
|
|
8995
9593
|
path: import_zod.z.object({
|
|
8996
9594
|
jobKey: zJobKey
|
|
8997
9595
|
}),
|
|
@@ -9020,6 +9618,22 @@ var zFailJobData = import_zod.z.object({
|
|
|
9020
9618
|
var zFailJobResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
9021
9619
|
description: "The job is failed."
|
|
9022
9620
|
});
|
|
9621
|
+
var zGetGlobalJobStatisticsData = import_zod.z.object({
|
|
9622
|
+
body: import_zod.z.optional(import_zod.z.never()),
|
|
9623
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
9624
|
+
query: import_zod.z.object({
|
|
9625
|
+
from: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9626
|
+
description: "Start of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9627
|
+
}),
|
|
9628
|
+
to: import_zod.z.iso.datetime().register(import_zod.z.globalRegistry, {
|
|
9629
|
+
description: "End of the time window to filter metrics. ISO 8601 date-time format.\n"
|
|
9630
|
+
}),
|
|
9631
|
+
jobType: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9632
|
+
description: "Optional job type to limit the aggregation to a single job type."
|
|
9633
|
+
}))
|
|
9634
|
+
})
|
|
9635
|
+
});
|
|
9636
|
+
var zGetGlobalJobStatisticsResponse = zGlobalJobStatisticsQueryResult;
|
|
9023
9637
|
var zGetLicenseData = import_zod.z.object({
|
|
9024
9638
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9025
9639
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -9116,6 +9730,7 @@ var zSearchMessageSubscriptionsResponse = zSearchQueryResponse.and(import_zod.z.
|
|
|
9116
9730
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9117
9731
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9118
9732
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9733
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9119
9734
|
elementId: import_zod.z.optional(zElementId),
|
|
9120
9735
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
9121
9736
|
messageSubscriptionState: import_zod.z.optional(zMessageSubscriptionStateEnum),
|
|
@@ -9295,29 +9910,7 @@ var zGetProcessDefinitionStatisticsData = import_zod.z.object({
|
|
|
9295
9910
|
}),
|
|
9296
9911
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9297
9912
|
});
|
|
9298
|
-
var zGetProcessDefinitionStatisticsResponse =
|
|
9299
|
-
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9300
|
-
elementId: import_zod.z.optional(zElementId),
|
|
9301
|
-
active: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9302
|
-
description: "The total number of active instances of the element."
|
|
9303
|
-
})),
|
|
9304
|
-
canceled: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9305
|
-
description: "The total number of canceled instances of the element."
|
|
9306
|
-
})),
|
|
9307
|
-
incidents: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9308
|
-
description: "The total number of incidents for the element."
|
|
9309
|
-
})),
|
|
9310
|
-
completed: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9311
|
-
description: "The total number of completed instances of the element."
|
|
9312
|
-
}))
|
|
9313
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9314
|
-
description: "Process element statistics response."
|
|
9315
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9316
|
-
description: "The element statistics."
|
|
9317
|
-
}))
|
|
9318
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9319
|
-
description: "Process definition element statistics query response."
|
|
9320
|
-
});
|
|
9913
|
+
var zGetProcessDefinitionStatisticsResponse = zProcessDefinitionElementStatisticsQueryResult;
|
|
9321
9914
|
var zGetProcessDefinitionXmlData = import_zod.z.object({
|
|
9322
9915
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9323
9916
|
path: import_zod.z.object({
|
|
@@ -9329,7 +9922,7 @@ var zGetProcessDefinitionXmlResponse = import_zod.z.string().register(import_zod
|
|
|
9329
9922
|
description: "The XML of the process definition is successfully returned."
|
|
9330
9923
|
});
|
|
9331
9924
|
var zGetProcessDefinitionInstanceVersionStatisticsData = import_zod.z.object({
|
|
9332
|
-
body: import_zod.z.
|
|
9925
|
+
body: import_zod.z.object({
|
|
9333
9926
|
page: import_zod.z.optional(zOffsetPagination),
|
|
9334
9927
|
sort: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9335
9928
|
field: import_zod.z.enum([
|
|
@@ -9346,11 +9939,9 @@ var zGetProcessDefinitionInstanceVersionStatisticsData = import_zod.z.object({
|
|
|
9346
9939
|
})).register(import_zod.z.globalRegistry, {
|
|
9347
9940
|
description: "Sort field criteria."
|
|
9348
9941
|
})),
|
|
9349
|
-
filter:
|
|
9350
|
-
})),
|
|
9351
|
-
path: import_zod.z.object({
|
|
9352
|
-
processDefinitionId: zProcessDefinitionId
|
|
9942
|
+
filter: zProcessDefinitionInstanceVersionStatisticsFilter
|
|
9353
9943
|
}),
|
|
9944
|
+
path: import_zod.z.optional(import_zod.z.never()),
|
|
9354
9945
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9355
9946
|
});
|
|
9356
9947
|
var zGetProcessDefinitionInstanceVersionStatisticsResponse = zProcessDefinitionInstanceVersionStatisticsQueryResult;
|
|
@@ -9366,19 +9957,10 @@ var zCreateProcessInstanceData = import_zod.z.object({
|
|
|
9366
9957
|
})),
|
|
9367
9958
|
tenantId: import_zod.z.optional(zTenantId),
|
|
9368
9959
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
9369
|
-
startInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9370
|
-
elementId: zElementId
|
|
9371
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9960
|
+
startInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationStartInstruction).register(import_zod.z.globalRegistry, {
|
|
9372
9961
|
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"
|
|
9373
9962
|
})),
|
|
9374
|
-
runtimeInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9375
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9376
|
-
description: "The type of the runtime instruction"
|
|
9377
|
-
})),
|
|
9378
|
-
afterElementId: zElementId
|
|
9379
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9380
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9381
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9963
|
+
runtimeInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationRuntimeInstruction).register(import_zod.z.globalRegistry, {
|
|
9382
9964
|
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"
|
|
9383
9965
|
})),
|
|
9384
9966
|
awaitCompletion: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
@@ -9394,22 +9976,16 @@ var zCreateProcessInstanceData = import_zod.z.object({
|
|
|
9394
9976
|
}),
|
|
9395
9977
|
import_zod.z.object({
|
|
9396
9978
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9979
|
+
processDefinitionVersion: import_zod.z.optional(import_zod.z.int().register(import_zod.z.globalRegistry, {
|
|
9980
|
+
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"
|
|
9981
|
+
})).default(-1),
|
|
9397
9982
|
variables: import_zod.z.optional(import_zod.z.record(import_zod.z.string(), import_zod.z.unknown()).register(import_zod.z.globalRegistry, {
|
|
9398
9983
|
description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
|
|
9399
9984
|
})),
|
|
9400
|
-
startInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9401
|
-
elementId: zElementId
|
|
9402
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9985
|
+
startInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationStartInstruction).register(import_zod.z.globalRegistry, {
|
|
9403
9986
|
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"
|
|
9404
9987
|
})),
|
|
9405
|
-
runtimeInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9406
|
-
type: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9407
|
-
description: "The type of the runtime instruction"
|
|
9408
|
-
})),
|
|
9409
|
-
afterElementId: zElementId
|
|
9410
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9411
|
-
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
9412
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9988
|
+
runtimeInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceCreationRuntimeInstruction).register(import_zod.z.globalRegistry, {
|
|
9413
9989
|
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"
|
|
9414
9990
|
})),
|
|
9415
9991
|
tenantId: import_zod.z.optional(zTenantId),
|
|
@@ -9466,19 +10042,7 @@ var zResolveIncidentsBatchOperationResponse = zBatchOperationCreatedResult;
|
|
|
9466
10042
|
var zMigrateProcessInstancesBatchOperationData = import_zod.z.object({
|
|
9467
10043
|
body: import_zod.z.object({
|
|
9468
10044
|
filter: zProcessInstanceFilter,
|
|
9469
|
-
migrationPlan:
|
|
9470
|
-
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9471
|
-
mappingInstructions: import_zod.z.array(import_zod.z.object({
|
|
9472
|
-
sourceElementId: zElementId,
|
|
9473
|
-
targetElementId: zElementId
|
|
9474
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9475
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9476
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9477
|
-
description: "The mapping instructions."
|
|
9478
|
-
})
|
|
9479
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9480
|
-
description: "The migration instructions describe how to migrate a process instance from one process definition to another.\n"
|
|
9481
|
-
}),
|
|
10045
|
+
migrationPlan: zProcessInstanceMigrationBatchOperationPlan,
|
|
9482
10046
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
9483
10047
|
}),
|
|
9484
10048
|
path: import_zod.z.optional(import_zod.z.never()),
|
|
@@ -9488,12 +10052,7 @@ var zMigrateProcessInstancesBatchOperationResponse = zBatchOperationCreatedResul
|
|
|
9488
10052
|
var zModifyProcessInstancesBatchOperationData = import_zod.z.object({
|
|
9489
10053
|
body: import_zod.z.object({
|
|
9490
10054
|
filter: zProcessInstanceFilter,
|
|
9491
|
-
moveInstructions: import_zod.z.array(import_zod.z.
|
|
9492
|
-
sourceElementId: zElementId,
|
|
9493
|
-
targetElementId: zElementId
|
|
9494
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9495
|
-
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"
|
|
9496
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10055
|
+
moveInstructions: import_zod.z.array(zProcessInstanceModificationMoveBatchOperationInstruction).register(import_zod.z.globalRegistry, {
|
|
9497
10056
|
description: "Instructions for moving tokens between elements."
|
|
9498
10057
|
}),
|
|
9499
10058
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
@@ -9576,6 +10135,7 @@ var zSearchProcessInstancesResponse = zSearchQueryResponse.and(import_zod.z.obje
|
|
|
9576
10135
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9577
10136
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9578
10137
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10138
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9579
10139
|
tags: import_zod.z.optional(zTagSet)
|
|
9580
10140
|
}).register(import_zod.z.globalRegistry, {
|
|
9581
10141
|
description: "Process instance search response item."
|
|
@@ -9612,6 +10172,7 @@ var zGetProcessInstanceResponse = import_zod.z.object({
|
|
|
9612
10172
|
processDefinitionKey: zProcessDefinitionKey,
|
|
9613
10173
|
parentProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9614
10174
|
parentElementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10175
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9615
10176
|
tags: import_zod.z.optional(zTagSet)
|
|
9616
10177
|
}).register(import_zod.z.globalRegistry, {
|
|
9617
10178
|
description: "Process instance search response item."
|
|
@@ -9653,7 +10214,9 @@ var zDeleteProcessInstanceData = import_zod.z.object({
|
|
|
9653
10214
|
}),
|
|
9654
10215
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9655
10216
|
});
|
|
9656
|
-
var zDeleteProcessInstanceResponse =
|
|
10217
|
+
var zDeleteProcessInstanceResponse = import_zod.z.void().register(import_zod.z.globalRegistry, {
|
|
10218
|
+
description: "The process instance is marked for deletion."
|
|
10219
|
+
});
|
|
9657
10220
|
var zResolveProcessInstanceIncidentsData = import_zod.z.object({
|
|
9658
10221
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9659
10222
|
path: import_zod.z.object({
|
|
@@ -9669,16 +10232,31 @@ var zSearchProcessInstanceIncidentsData = import_zod.z.object({
|
|
|
9669
10232
|
}),
|
|
9670
10233
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9671
10234
|
});
|
|
9672
|
-
var zSearchProcessInstanceIncidentsResponse =
|
|
10235
|
+
var zSearchProcessInstanceIncidentsResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
10236
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
10237
|
+
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
10238
|
+
errorType: import_zod.z.optional(zIncidentErrorTypeEnum),
|
|
10239
|
+
errorMessage: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
10240
|
+
description: "Error message which describes the error in more detail."
|
|
10241
|
+
})),
|
|
10242
|
+
elementId: import_zod.z.optional(zElementId),
|
|
10243
|
+
creationTime: import_zod.z.optional(import_zod.z.iso.datetime()),
|
|
10244
|
+
state: import_zod.z.optional(zIncidentStateEnum),
|
|
10245
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
10246
|
+
incidentKey: import_zod.z.optional(zIncidentKey),
|
|
10247
|
+
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10248
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10249
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10250
|
+
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10251
|
+
jobKey: import_zod.z.optional(zJobKey)
|
|
10252
|
+
})).register(import_zod.z.globalRegistry, {
|
|
10253
|
+
description: "The matching incidents."
|
|
10254
|
+
}))
|
|
10255
|
+
}));
|
|
9673
10256
|
var zMigrateProcessInstanceData = import_zod.z.object({
|
|
9674
10257
|
body: import_zod.z.object({
|
|
9675
10258
|
targetProcessDefinitionKey: zProcessDefinitionKey,
|
|
9676
|
-
mappingInstructions: import_zod.z.array(import_zod.z.
|
|
9677
|
-
sourceElementId: zElementId,
|
|
9678
|
-
targetElementId: zElementId
|
|
9679
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9680
|
-
description: "The mapping instructions describe how to map elements from the source process definition to the target process definition.\n"
|
|
9681
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10259
|
+
mappingInstructions: import_zod.z.array(zMigrateProcessInstanceMappingInstruction).register(import_zod.z.globalRegistry, {
|
|
9682
10260
|
description: "Element mappings from the source process instance to the target process instance."
|
|
9683
10261
|
}),
|
|
9684
10262
|
operationReference: import_zod.z.optional(zOperationReference)
|
|
@@ -9696,53 +10274,14 @@ var zMigrateProcessInstanceResponse = import_zod.z.void().register(import_zod.z.
|
|
|
9696
10274
|
var zModifyProcessInstanceData = import_zod.z.object({
|
|
9697
10275
|
body: import_zod.z.object({
|
|
9698
10276
|
operationReference: import_zod.z.optional(zOperationReference),
|
|
9699
|
-
activateInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9700
|
-
elementId: zElementId,
|
|
9701
|
-
variableInstructions: import_zod.z.optional(import_zod.z.array(zModifyProcessInstanceVariableInstruction).register(import_zod.z.globalRegistry, {
|
|
9702
|
-
description: "Instructions describing which variables to create or update."
|
|
9703
|
-
})),
|
|
9704
|
-
ancestorElementInstanceKey: import_zod.z.optional(import_zod.z.union([
|
|
9705
|
-
import_zod.z.string().default("-1"),
|
|
9706
|
-
zElementInstanceKey
|
|
9707
|
-
]))
|
|
9708
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9709
|
-
description: "Instruction describing an element to activate."
|
|
9710
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10277
|
+
activateInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationActivateInstruction).register(import_zod.z.globalRegistry, {
|
|
9711
10278
|
description: "Instructions describing which elements to activate in which scopes and which variables to create or update."
|
|
9712
10279
|
})),
|
|
9713
|
-
moveInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9714
|
-
sourceElementInstruction: import_zod.z.union([
|
|
9715
|
-
import_zod.z.object({
|
|
9716
|
-
sourceType: import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
9717
|
-
description: "The type of source element instruction."
|
|
9718
|
-
}),
|
|
9719
|
-
sourceElementId: zElementId
|
|
9720
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9721
|
-
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"
|
|
9722
|
-
}),
|
|
9723
|
-
import_zod.z.object({
|
|
9724
|
-
sourceType: import_zod.z.literal("byKey")
|
|
9725
|
-
}).and(zSourceElementInstanceKeyInstruction)
|
|
9726
|
-
]),
|
|
9727
|
-
targetElementId: zElementId,
|
|
9728
|
-
ancestorScopeInstruction: import_zod.z.optional(zAncestorScopeInstruction),
|
|
9729
|
-
variableInstructions: import_zod.z.optional(import_zod.z.array(zModifyProcessInstanceVariableInstruction).register(import_zod.z.globalRegistry, {
|
|
9730
|
-
description: "Instructions describing which variables to create or update."
|
|
9731
|
-
}))
|
|
9732
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9733
|
-
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"
|
|
9734
|
-
})).register(import_zod.z.globalRegistry, {
|
|
10280
|
+
moveInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationMoveInstruction).register(import_zod.z.globalRegistry, {
|
|
9735
10281
|
description: "Instructions describing which elements to move from one scope to another."
|
|
9736
10282
|
})),
|
|
9737
|
-
terminateInstructions: import_zod.z.optional(import_zod.z.array(import_zod.z.
|
|
9738
|
-
|
|
9739
|
-
elementId: zElementId
|
|
9740
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9741
|
-
description: "Instruction describing which elements to terminate. The element instances are determined\nat runtime by the given id.\n"
|
|
9742
|
-
}),
|
|
9743
|
-
zProcessInstanceModificationTerminateByKeyInstruction
|
|
9744
|
-
])).register(import_zod.z.globalRegistry, {
|
|
9745
|
-
description: "Instruction describing which elements to terminate."
|
|
10283
|
+
terminateInstructions: import_zod.z.optional(import_zod.z.array(zProcessInstanceModificationTerminateInstruction).register(import_zod.z.globalRegistry, {
|
|
10284
|
+
description: "Instructions describing which elements to terminate."
|
|
9746
10285
|
}))
|
|
9747
10286
|
}),
|
|
9748
10287
|
path: import_zod.z.object({
|
|
@@ -9766,6 +10305,7 @@ var zGetProcessInstanceSequenceFlowsResponse = import_zod.z.object({
|
|
|
9766
10305
|
description: "The sequence flow id."
|
|
9767
10306
|
})),
|
|
9768
10307
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10308
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
9769
10309
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
9770
10310
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
9771
10311
|
elementId: import_zod.z.optional(zElementId),
|
|
@@ -9785,29 +10325,7 @@ var zGetProcessInstanceStatisticsData = import_zod.z.object({
|
|
|
9785
10325
|
}),
|
|
9786
10326
|
query: import_zod.z.optional(import_zod.z.never())
|
|
9787
10327
|
});
|
|
9788
|
-
var zGetProcessInstanceStatisticsResponse =
|
|
9789
|
-
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
9790
|
-
elementId: import_zod.z.optional(zElementId),
|
|
9791
|
-
active: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9792
|
-
description: "The total number of active instances of the element."
|
|
9793
|
-
})),
|
|
9794
|
-
canceled: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9795
|
-
description: "The total number of canceled instances of the element."
|
|
9796
|
-
})),
|
|
9797
|
-
incidents: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9798
|
-
description: "The total number of incidents for the element."
|
|
9799
|
-
})),
|
|
9800
|
-
completed: import_zod.z.optional(import_zod.z.coerce.bigint().register(import_zod.z.globalRegistry, {
|
|
9801
|
-
description: "The total number of completed instances of the element."
|
|
9802
|
-
}))
|
|
9803
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9804
|
-
description: "Process element statistics response."
|
|
9805
|
-
})).register(import_zod.z.globalRegistry, {
|
|
9806
|
-
description: "The element statistics."
|
|
9807
|
-
}))
|
|
9808
|
-
}).register(import_zod.z.globalRegistry, {
|
|
9809
|
-
description: "Process instance element statistics query response."
|
|
9810
|
-
});
|
|
10328
|
+
var zGetProcessInstanceStatisticsResponse = zProcessInstanceElementStatisticsQueryResult;
|
|
9811
10329
|
var zGetResourceData = import_zod.z.object({
|
|
9812
10330
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
9813
10331
|
path: import_zod.z.object({
|
|
@@ -10444,9 +10962,7 @@ var zSearchUserTasksData = import_zod.z.object({
|
|
|
10444
10962
|
assignee: import_zod.z.optional(zStringFilterProperty),
|
|
10445
10963
|
priority: import_zod.z.optional(zIntegerFilterProperty),
|
|
10446
10964
|
elementId: import_zod.z.optional(zElementId),
|
|
10447
|
-
name: import_zod.z.optional(
|
|
10448
|
-
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"
|
|
10449
|
-
})),
|
|
10965
|
+
name: import_zod.z.optional(zStringFilterProperty),
|
|
10450
10966
|
candidateGroup: import_zod.z.optional(zStringFilterProperty),
|
|
10451
10967
|
candidateUser: import_zod.z.optional(zStringFilterProperty),
|
|
10452
10968
|
tenantId: import_zod.z.optional(zStringFilterProperty),
|
|
@@ -10520,6 +11036,7 @@ var zSearchUserTasksResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
|
10520
11036
|
})),
|
|
10521
11037
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10522
11038
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11039
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10523
11040
|
formKey: import_zod.z.optional(zFormKey),
|
|
10524
11041
|
tags: import_zod.z.optional(zTagSet)
|
|
10525
11042
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -10583,6 +11100,7 @@ var zGetUserTaskResponse = import_zod.z.object({
|
|
|
10583
11100
|
})),
|
|
10584
11101
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10585
11102
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11103
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10586
11104
|
formKey: import_zod.z.optional(zFormKey),
|
|
10587
11105
|
tags: import_zod.z.optional(zTagSet)
|
|
10588
11106
|
}).register(import_zod.z.globalRegistry, {
|
|
@@ -10656,6 +11174,7 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.obj
|
|
|
10656
11174
|
processDefinitionId: import_zod.z.optional(zProcessDefinitionId),
|
|
10657
11175
|
processDefinitionKey: import_zod.z.optional(zProcessDefinitionKey),
|
|
10658
11176
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11177
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
10659
11178
|
elementInstanceKey: import_zod.z.optional(zElementInstanceKey),
|
|
10660
11179
|
jobKey: import_zod.z.optional(zJobKey),
|
|
10661
11180
|
userTaskKey: import_zod.z.optional(zUserTaskKey),
|
|
@@ -10668,7 +11187,12 @@ var zSearchUserTaskAuditLogsResponse = zSearchQueryResponse.and(import_zod.z.obj
|
|
|
10668
11187
|
decisionEvaluationKey: import_zod.z.optional(zDecisionEvaluationKey),
|
|
10669
11188
|
deploymentKey: import_zod.z.optional(zDeploymentKey),
|
|
10670
11189
|
formKey: import_zod.z.optional(zFormKey),
|
|
10671
|
-
resourceKey: import_zod.z.optional(zResourceKey)
|
|
11190
|
+
resourceKey: import_zod.z.optional(zResourceKey),
|
|
11191
|
+
relatedEntityKey: import_zod.z.optional(zAuditLogEntityKey),
|
|
11192
|
+
relatedEntityType: import_zod.z.optional(zAuditLogEntityTypeEnum),
|
|
11193
|
+
entityDescription: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11194
|
+
description: "Additional description of the entity affected by the operation.\nFor example, for variable operations, this will contain the variable name.\n"
|
|
11195
|
+
}))
|
|
10672
11196
|
}).register(import_zod.z.globalRegistry, {
|
|
10673
11197
|
description: "Audit log item."
|
|
10674
11198
|
})).register(import_zod.z.globalRegistry, {
|
|
@@ -10746,7 +11270,33 @@ var zSearchUserTaskVariablesData = import_zod.z.object({
|
|
|
10746
11270
|
}))
|
|
10747
11271
|
}))
|
|
10748
11272
|
});
|
|
10749
|
-
var zSearchUserTaskVariablesResponse =
|
|
11273
|
+
var zSearchUserTaskVariablesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
11274
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
11275
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11276
|
+
description: "Name of this variable."
|
|
11277
|
+
})),
|
|
11278
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11279
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11280
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11281
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11282
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11283
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11284
|
+
description: "Variable response item."
|
|
11285
|
+
}).and(import_zod.z.object({
|
|
11286
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11287
|
+
description: "Value of this variable. Can be truncated."
|
|
11288
|
+
})),
|
|
11289
|
+
isTruncated: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
11290
|
+
description: "Whether the value is truncated or not."
|
|
11291
|
+
}))
|
|
11292
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11293
|
+
description: "Variable search response item."
|
|
11294
|
+
}))).register(import_zod.z.globalRegistry, {
|
|
11295
|
+
description: "The matching variables."
|
|
11296
|
+
}))
|
|
11297
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11298
|
+
description: "Variable search query response."
|
|
11299
|
+
}));
|
|
10750
11300
|
var zSearchVariablesData = import_zod.z.object({
|
|
10751
11301
|
body: import_zod.z.optional(zSearchQueryRequest.and(import_zod.z.object({
|
|
10752
11302
|
sort: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
@@ -10772,24 +11322,7 @@ var zSearchVariablesData = import_zod.z.object({
|
|
|
10772
11322
|
description: "Whether the value is truncated or not."
|
|
10773
11323
|
})),
|
|
10774
11324
|
variableKey: import_zod.z.optional(zVariableKeyFilterProperty),
|
|
10775
|
-
scopeKey: import_zod.z.optional(
|
|
10776
|
-
zScopeKey,
|
|
10777
|
-
import_zod.z.object({
|
|
10778
|
-
"$eq": import_zod.z.optional(zScopeKey),
|
|
10779
|
-
"$neq": import_zod.z.optional(zScopeKey),
|
|
10780
|
-
"$exists": import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
10781
|
-
description: "Checks if the current property exists."
|
|
10782
|
-
})),
|
|
10783
|
-
"$in": import_zod.z.optional(import_zod.z.array(zScopeKey).register(import_zod.z.globalRegistry, {
|
|
10784
|
-
description: "Checks if the property matches any of the provided values."
|
|
10785
|
-
})),
|
|
10786
|
-
"$notIn": import_zod.z.optional(import_zod.z.array(zScopeKey).register(import_zod.z.globalRegistry, {
|
|
10787
|
-
description: "Checks if the property matches none of the provided values."
|
|
10788
|
-
}))
|
|
10789
|
-
}).register(import_zod.z.globalRegistry, {
|
|
10790
|
-
description: "Advanced ScopeKey filter."
|
|
10791
|
-
})
|
|
10792
|
-
])),
|
|
11325
|
+
scopeKey: import_zod.z.optional(zScopeKeyFilterProperty),
|
|
10793
11326
|
processInstanceKey: import_zod.z.optional(zProcessInstanceKeyFilterProperty)
|
|
10794
11327
|
}).register(import_zod.z.globalRegistry, {
|
|
10795
11328
|
description: "Variable filter request."
|
|
@@ -10803,8 +11336,34 @@ var zSearchVariablesData = import_zod.z.object({
|
|
|
10803
11336
|
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
10804
11337
|
}))
|
|
10805
11338
|
}))
|
|
10806
|
-
});
|
|
10807
|
-
var zSearchVariablesResponse =
|
|
11339
|
+
});
|
|
11340
|
+
var zSearchVariablesResponse = zSearchQueryResponse.and(import_zod.z.object({
|
|
11341
|
+
items: import_zod.z.optional(import_zod.z.array(import_zod.z.object({
|
|
11342
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11343
|
+
description: "Name of this variable."
|
|
11344
|
+
})),
|
|
11345
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11346
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11347
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11348
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11349
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11350
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11351
|
+
description: "Variable response item."
|
|
11352
|
+
}).and(import_zod.z.object({
|
|
11353
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11354
|
+
description: "Value of this variable. Can be truncated."
|
|
11355
|
+
})),
|
|
11356
|
+
isTruncated: import_zod.z.optional(import_zod.z.boolean().register(import_zod.z.globalRegistry, {
|
|
11357
|
+
description: "Whether the value is truncated or not."
|
|
11358
|
+
}))
|
|
11359
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11360
|
+
description: "Variable search response item."
|
|
11361
|
+
}))).register(import_zod.z.globalRegistry, {
|
|
11362
|
+
description: "The matching variables."
|
|
11363
|
+
}))
|
|
11364
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11365
|
+
description: "Variable search query response."
|
|
11366
|
+
}));
|
|
10808
11367
|
var zGetVariableData = import_zod.z.object({
|
|
10809
11368
|
body: import_zod.z.optional(import_zod.z.never()),
|
|
10810
11369
|
path: import_zod.z.object({
|
|
@@ -10812,7 +11371,24 @@ var zGetVariableData = import_zod.z.object({
|
|
|
10812
11371
|
}),
|
|
10813
11372
|
query: import_zod.z.optional(import_zod.z.never())
|
|
10814
11373
|
});
|
|
10815
|
-
var zGetVariableResponse =
|
|
11374
|
+
var zGetVariableResponse = import_zod.z.object({
|
|
11375
|
+
name: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11376
|
+
description: "Name of this variable."
|
|
11377
|
+
})),
|
|
11378
|
+
tenantId: import_zod.z.optional(zTenantId),
|
|
11379
|
+
variableKey: import_zod.z.optional(zVariableKey),
|
|
11380
|
+
scopeKey: import_zod.z.optional(zScopeKey),
|
|
11381
|
+
processInstanceKey: import_zod.z.optional(zProcessInstanceKey),
|
|
11382
|
+
rootProcessInstanceKey: import_zod.z.optional(zProcessInstanceKey)
|
|
11383
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11384
|
+
description: "Variable response item."
|
|
11385
|
+
}).and(import_zod.z.object({
|
|
11386
|
+
value: import_zod.z.optional(import_zod.z.string().register(import_zod.z.globalRegistry, {
|
|
11387
|
+
description: "Full value of this variable."
|
|
11388
|
+
}))
|
|
11389
|
+
}).register(import_zod.z.globalRegistry, {
|
|
11390
|
+
description: "Variable search response item."
|
|
11391
|
+
}));
|
|
10816
11392
|
|
|
10817
11393
|
// src/runtime/auth.ts
|
|
10818
11394
|
var CamundaAuthError = class extends Error {
|
|
@@ -12230,7 +12806,7 @@ function createLogger(opts = {}) {
|
|
|
12230
12806
|
}
|
|
12231
12807
|
|
|
12232
12808
|
// src/runtime/version.ts
|
|
12233
|
-
var packageVersion = "8.9.0-alpha.
|
|
12809
|
+
var packageVersion = "8.9.0-alpha.3";
|
|
12234
12810
|
|
|
12235
12811
|
// src/runtime/supportLogger.ts
|
|
12236
12812
|
var NoopSupportLogger = class {
|
|
@@ -15809,6 +16385,116 @@ var CamundaClient = class {
|
|
|
15809
16385
|
return this._invokeWithRetry(() => call(), { opId: "deleteAuthorization", exempt: false });
|
|
15810
16386
|
});
|
|
15811
16387
|
}
|
|
16388
|
+
deleteDecisionInstance(arg, consistencyManagement) {
|
|
16389
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16390
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16391
|
+
return toCancelable2(async (signal) => {
|
|
16392
|
+
const { decisionInstanceKey, ..._body } = arg || {};
|
|
16393
|
+
let envelope = {};
|
|
16394
|
+
envelope.path = { decisionInstanceKey };
|
|
16395
|
+
envelope.body = _body;
|
|
16396
|
+
if (this._validation.settings.req !== "none") {
|
|
16397
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstance", zDeleteDecisionInstanceData, envelope);
|
|
16398
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16399
|
+
}
|
|
16400
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16401
|
+
if (envelope.path) opts.path = envelope.path;
|
|
16402
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16403
|
+
const call = async () => {
|
|
16404
|
+
try {
|
|
16405
|
+
const _raw = await deleteDecisionInstance(opts);
|
|
16406
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstance", (resp) => {
|
|
16407
|
+
const st = resp.status ?? resp.response?.status;
|
|
16408
|
+
if (!st) return void 0;
|
|
16409
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16410
|
+
if (!candidate) return void 0;
|
|
16411
|
+
let prob = void 0;
|
|
16412
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16413
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16414
|
+
err.status = st;
|
|
16415
|
+
err.name = "HttpSdkError";
|
|
16416
|
+
if (prob) {
|
|
16417
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16418
|
+
}
|
|
16419
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16420
|
+
if (!isBp) err.nonRetryable = true;
|
|
16421
|
+
return err;
|
|
16422
|
+
});
|
|
16423
|
+
const _respSchemaName = "zDeleteDecisionInstanceResponse";
|
|
16424
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16425
|
+
data = void 0;
|
|
16426
|
+
}
|
|
16427
|
+
if (this._validation.settings.res !== "none") {
|
|
16428
|
+
const _schema = zDeleteDecisionInstanceResponse;
|
|
16429
|
+
if (_schema) {
|
|
16430
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstance", _schema, data);
|
|
16431
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16432
|
+
}
|
|
16433
|
+
}
|
|
16434
|
+
return data;
|
|
16435
|
+
} catch (e) {
|
|
16436
|
+
throw e;
|
|
16437
|
+
}
|
|
16438
|
+
};
|
|
16439
|
+
const invoke = () => toCancelable2(() => call());
|
|
16440
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstance", false, invoke, { ...useConsistency, logger: this._log });
|
|
16441
|
+
return invoke();
|
|
16442
|
+
});
|
|
16443
|
+
}
|
|
16444
|
+
deleteDecisionInstancesBatchOperation(arg, consistencyManagement) {
|
|
16445
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16446
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16447
|
+
return toCancelable2(async (signal) => {
|
|
16448
|
+
const _body = arg;
|
|
16449
|
+
let envelope = {};
|
|
16450
|
+
envelope.body = _body;
|
|
16451
|
+
if (this._validation.settings.req !== "none") {
|
|
16452
|
+
const maybe = await this._validation.gateRequest("deleteDecisionInstancesBatchOperation", zDeleteDecisionInstancesBatchOperationData, envelope);
|
|
16453
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
16454
|
+
}
|
|
16455
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16456
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16457
|
+
const call = async () => {
|
|
16458
|
+
try {
|
|
16459
|
+
const _raw = await deleteDecisionInstancesBatchOperation(opts);
|
|
16460
|
+
let data = this._evaluateResponse(_raw, "deleteDecisionInstancesBatchOperation", (resp) => {
|
|
16461
|
+
const st = resp.status ?? resp.response?.status;
|
|
16462
|
+
if (!st) return void 0;
|
|
16463
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16464
|
+
if (!candidate) return void 0;
|
|
16465
|
+
let prob = void 0;
|
|
16466
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16467
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16468
|
+
err.status = st;
|
|
16469
|
+
err.name = "HttpSdkError";
|
|
16470
|
+
if (prob) {
|
|
16471
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16472
|
+
}
|
|
16473
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16474
|
+
if (!isBp) err.nonRetryable = true;
|
|
16475
|
+
return err;
|
|
16476
|
+
});
|
|
16477
|
+
const _respSchemaName = "zDeleteDecisionInstancesBatchOperationResponse";
|
|
16478
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16479
|
+
data = void 0;
|
|
16480
|
+
}
|
|
16481
|
+
if (this._validation.settings.res !== "none") {
|
|
16482
|
+
const _schema = zDeleteDecisionInstancesBatchOperationResponse;
|
|
16483
|
+
if (_schema) {
|
|
16484
|
+
const maybeR = await this._validation.gateResponse("deleteDecisionInstancesBatchOperation", _schema, data);
|
|
16485
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16486
|
+
}
|
|
16487
|
+
}
|
|
16488
|
+
return data;
|
|
16489
|
+
} catch (e) {
|
|
16490
|
+
throw e;
|
|
16491
|
+
}
|
|
16492
|
+
};
|
|
16493
|
+
const invoke = () => toCancelable2(() => call());
|
|
16494
|
+
if (useConsistency) return eventualPoll("deleteDecisionInstancesBatchOperation", false, invoke, { ...useConsistency, logger: this._log });
|
|
16495
|
+
return invoke();
|
|
16496
|
+
});
|
|
16497
|
+
}
|
|
15812
16498
|
deleteDocument(arg) {
|
|
15813
16499
|
return toCancelable2(async (signal) => {
|
|
15814
16500
|
const { documentId, storeId } = arg || {};
|
|
@@ -17225,6 +17911,60 @@ var CamundaClient = class {
|
|
|
17225
17911
|
return invoke();
|
|
17226
17912
|
});
|
|
17227
17913
|
}
|
|
17914
|
+
getGlobalJobStatistics(arg, consistencyManagement) {
|
|
17915
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17916
|
+
const useConsistency = consistencyManagement.consistency;
|
|
17917
|
+
return toCancelable2(async (signal) => {
|
|
17918
|
+
const { from, to, jobType } = arg || {};
|
|
17919
|
+
let envelope = {};
|
|
17920
|
+
envelope.query = { from, to, jobType };
|
|
17921
|
+
if (this._validation.settings.req !== "none") {
|
|
17922
|
+
const maybe = await this._validation.gateRequest("getGlobalJobStatistics", zGetGlobalJobStatisticsData, envelope);
|
|
17923
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17924
|
+
}
|
|
17925
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
17926
|
+
if (envelope.query) opts.query = envelope.query;
|
|
17927
|
+
const call = async () => {
|
|
17928
|
+
try {
|
|
17929
|
+
const _raw = await getGlobalJobStatistics(opts);
|
|
17930
|
+
let data = this._evaluateResponse(_raw, "getGlobalJobStatistics", (resp) => {
|
|
17931
|
+
const st = resp.status ?? resp.response?.status;
|
|
17932
|
+
if (!st) return void 0;
|
|
17933
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
17934
|
+
if (!candidate) return void 0;
|
|
17935
|
+
let prob = void 0;
|
|
17936
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
17937
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
17938
|
+
err.status = st;
|
|
17939
|
+
err.name = "HttpSdkError";
|
|
17940
|
+
if (prob) {
|
|
17941
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
17942
|
+
}
|
|
17943
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
17944
|
+
if (!isBp) err.nonRetryable = true;
|
|
17945
|
+
return err;
|
|
17946
|
+
});
|
|
17947
|
+
const _respSchemaName = "zGetGlobalJobStatisticsResponse";
|
|
17948
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
17949
|
+
data = void 0;
|
|
17950
|
+
}
|
|
17951
|
+
if (this._validation.settings.res !== "none") {
|
|
17952
|
+
const _schema = zGetGlobalJobStatisticsResponse;
|
|
17953
|
+
if (_schema) {
|
|
17954
|
+
const maybeR = await this._validation.gateResponse("getGlobalJobStatistics", _schema, data);
|
|
17955
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
17956
|
+
}
|
|
17957
|
+
}
|
|
17958
|
+
return data;
|
|
17959
|
+
} catch (e) {
|
|
17960
|
+
throw e;
|
|
17961
|
+
}
|
|
17962
|
+
};
|
|
17963
|
+
const invoke = () => toCancelable2(() => call());
|
|
17964
|
+
if (useConsistency) return eventualPoll("getGlobalJobStatistics", true, invoke, { ...useConsistency, logger: this._log });
|
|
17965
|
+
return invoke();
|
|
17966
|
+
});
|
|
17967
|
+
}
|
|
17228
17968
|
getGroup(arg, consistencyManagement) {
|
|
17229
17969
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17230
17970
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -17541,16 +18281,14 @@ var CamundaClient = class {
|
|
|
17541
18281
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17542
18282
|
const useConsistency = consistencyManagement.consistency;
|
|
17543
18283
|
return toCancelable2(async (signal) => {
|
|
17544
|
-
const
|
|
18284
|
+
const _body = arg;
|
|
17545
18285
|
let envelope = {};
|
|
17546
|
-
envelope.path = { processDefinitionId };
|
|
17547
18286
|
envelope.body = _body;
|
|
17548
18287
|
if (this._validation.settings.req !== "none") {
|
|
17549
18288
|
const maybe = await this._validation.gateRequest("getProcessDefinitionInstanceVersionStatistics", zGetProcessDefinitionInstanceVersionStatisticsData, envelope);
|
|
17550
18289
|
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17551
18290
|
}
|
|
17552
18291
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17553
|
-
if (envelope.path) opts.path = envelope.path;
|
|
17554
18292
|
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
17555
18293
|
const call = async () => {
|
|
17556
18294
|
try {
|
|
@@ -22281,6 +23019,58 @@ var CamundaClient = class {
|
|
|
22281
23019
|
return this._invokeWithRetry(() => call(), { opId: "updateAuthorization", exempt: false });
|
|
22282
23020
|
});
|
|
22283
23021
|
}
|
|
23022
|
+
updateGlobalClusterVariable(arg) {
|
|
23023
|
+
return toCancelable2(async (signal) => {
|
|
23024
|
+
const { name, ..._body } = arg || {};
|
|
23025
|
+
let envelope = {};
|
|
23026
|
+
envelope.path = { name };
|
|
23027
|
+
envelope.body = _body;
|
|
23028
|
+
if (this._validation.settings.req !== "none") {
|
|
23029
|
+
const maybe = await this._validation.gateRequest("updateGlobalClusterVariable", zUpdateGlobalClusterVariableData, envelope);
|
|
23030
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
23031
|
+
}
|
|
23032
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
23033
|
+
if (envelope.path) opts.path = envelope.path;
|
|
23034
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
23035
|
+
const call = async () => {
|
|
23036
|
+
try {
|
|
23037
|
+
const _raw = await updateGlobalClusterVariable(opts);
|
|
23038
|
+
let data = this._evaluateResponse(_raw, "updateGlobalClusterVariable", (resp) => {
|
|
23039
|
+
const st = resp.status ?? resp.response?.status;
|
|
23040
|
+
if (!st) return void 0;
|
|
23041
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
23042
|
+
if (!candidate) return void 0;
|
|
23043
|
+
let prob = void 0;
|
|
23044
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
23045
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
23046
|
+
err.status = st;
|
|
23047
|
+
err.name = "HttpSdkError";
|
|
23048
|
+
if (prob) {
|
|
23049
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
23050
|
+
}
|
|
23051
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
23052
|
+
if (!isBp) err.nonRetryable = true;
|
|
23053
|
+
return err;
|
|
23054
|
+
});
|
|
23055
|
+
const _respSchemaName = "zUpdateGlobalClusterVariableResponse";
|
|
23056
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
23057
|
+
data = void 0;
|
|
23058
|
+
}
|
|
23059
|
+
if (this._validation.settings.res !== "none") {
|
|
23060
|
+
const _schema = zUpdateGlobalClusterVariableResponse;
|
|
23061
|
+
if (_schema) {
|
|
23062
|
+
const maybeR = await this._validation.gateResponse("updateGlobalClusterVariable", _schema, data);
|
|
23063
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
23064
|
+
}
|
|
23065
|
+
}
|
|
23066
|
+
return data;
|
|
23067
|
+
} catch (e) {
|
|
23068
|
+
throw e;
|
|
23069
|
+
}
|
|
23070
|
+
};
|
|
23071
|
+
return this._invokeWithRetry(() => call(), { opId: "updateGlobalClusterVariable", exempt: false });
|
|
23072
|
+
});
|
|
23073
|
+
}
|
|
22284
23074
|
updateGroup(arg) {
|
|
22285
23075
|
return toCancelable2(async (signal) => {
|
|
22286
23076
|
const { groupId, ..._body } = arg || {};
|
|
@@ -22541,6 +23331,58 @@ var CamundaClient = class {
|
|
|
22541
23331
|
return this._invokeWithRetry(() => call(), { opId: "updateTenant", exempt: false });
|
|
22542
23332
|
});
|
|
22543
23333
|
}
|
|
23334
|
+
updateTenantClusterVariable(arg) {
|
|
23335
|
+
return toCancelable2(async (signal) => {
|
|
23336
|
+
const { tenantId, name, ..._body } = arg || {};
|
|
23337
|
+
let envelope = {};
|
|
23338
|
+
envelope.path = { tenantId, name };
|
|
23339
|
+
envelope.body = _body;
|
|
23340
|
+
if (this._validation.settings.req !== "none") {
|
|
23341
|
+
const maybe = await this._validation.gateRequest("updateTenantClusterVariable", zUpdateTenantClusterVariableData, envelope);
|
|
23342
|
+
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
23343
|
+
}
|
|
23344
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
23345
|
+
if (envelope.path) opts.path = envelope.path;
|
|
23346
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
23347
|
+
const call = async () => {
|
|
23348
|
+
try {
|
|
23349
|
+
const _raw = await updateTenantClusterVariable(opts);
|
|
23350
|
+
let data = this._evaluateResponse(_raw, "updateTenantClusterVariable", (resp) => {
|
|
23351
|
+
const st = resp.status ?? resp.response?.status;
|
|
23352
|
+
if (!st) return void 0;
|
|
23353
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
23354
|
+
if (!candidate) return void 0;
|
|
23355
|
+
let prob = void 0;
|
|
23356
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
23357
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
23358
|
+
err.status = st;
|
|
23359
|
+
err.name = "HttpSdkError";
|
|
23360
|
+
if (prob) {
|
|
23361
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
23362
|
+
}
|
|
23363
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
23364
|
+
if (!isBp) err.nonRetryable = true;
|
|
23365
|
+
return err;
|
|
23366
|
+
});
|
|
23367
|
+
const _respSchemaName = "zUpdateTenantClusterVariableResponse";
|
|
23368
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
23369
|
+
data = void 0;
|
|
23370
|
+
}
|
|
23371
|
+
if (this._validation.settings.res !== "none") {
|
|
23372
|
+
const _schema = zUpdateTenantClusterVariableResponse;
|
|
23373
|
+
if (_schema) {
|
|
23374
|
+
const maybeR = await this._validation.gateResponse("updateTenantClusterVariable", _schema, data);
|
|
23375
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
23376
|
+
}
|
|
23377
|
+
}
|
|
23378
|
+
return data;
|
|
23379
|
+
} catch (e) {
|
|
23380
|
+
throw e;
|
|
23381
|
+
}
|
|
23382
|
+
};
|
|
23383
|
+
return this._invokeWithRetry(() => call(), { opId: "updateTenantClusterVariable", exempt: false });
|
|
23384
|
+
});
|
|
23385
|
+
}
|
|
22544
23386
|
updateUser(arg, consistencyManagement) {
|
|
22545
23387
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
22546
23388
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -23265,6 +24107,27 @@ var ProcessInstanceKey;
|
|
|
23265
24107
|
}
|
|
23266
24108
|
ProcessInstanceKey2.isValid = isValid;
|
|
23267
24109
|
})(ProcessInstanceKey || (ProcessInstanceKey = {}));
|
|
24110
|
+
var RootProcessInstanceKey;
|
|
24111
|
+
((RootProcessInstanceKey2) => {
|
|
24112
|
+
function assumeExists(value) {
|
|
24113
|
+
assertConstraint(value, "RootProcessInstanceKey", { pattern: "^-?[0-9]+$", minLength: 1, maxLength: 25 });
|
|
24114
|
+
return value;
|
|
24115
|
+
}
|
|
24116
|
+
RootProcessInstanceKey2.assumeExists = assumeExists;
|
|
24117
|
+
function getValue(key) {
|
|
24118
|
+
return key;
|
|
24119
|
+
}
|
|
24120
|
+
RootProcessInstanceKey2.getValue = getValue;
|
|
24121
|
+
function isValid(value) {
|
|
24122
|
+
try {
|
|
24123
|
+
assertConstraint(value, "RootProcessInstanceKey", { pattern: "^-?[0-9]+$", minLength: 1, maxLength: 25 });
|
|
24124
|
+
return true;
|
|
24125
|
+
} catch {
|
|
24126
|
+
return false;
|
|
24127
|
+
}
|
|
24128
|
+
}
|
|
24129
|
+
RootProcessInstanceKey2.isValid = isValid;
|
|
24130
|
+
})(RootProcessInstanceKey || (RootProcessInstanceKey = {}));
|
|
23268
24131
|
var ScopeKey;
|
|
23269
24132
|
((ScopeKey2) => {
|
|
23270
24133
|
function assumeExists(value) {
|
|
@@ -23461,6 +24324,7 @@ var index_default = createCamundaClient;
|
|
|
23461
24324
|
ProcessDefinitionId,
|
|
23462
24325
|
ProcessDefinitionKey,
|
|
23463
24326
|
ProcessInstanceKey,
|
|
24327
|
+
RootProcessInstanceKey,
|
|
23464
24328
|
ScopeKey,
|
|
23465
24329
|
SignalKey,
|
|
23466
24330
|
StartCursor,
|