@camunda8/orchestration-cluster-api 10.0.0-alpha.11 → 10.0.0-alpha.13
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 +16 -0
- package/dist/{chunk-KNIFT3MW.js → chunk-DXAJ2KS4.js} +133 -7
- package/dist/chunk-DXAJ2KS4.js.map +1 -0
- package/dist/fp/index.cjs +250 -16
- 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-BvcNReIq.d.cts → index-D-gpJ9NR.d.cts} +248 -13
- package/dist/{index-EZJB3buU.d.ts → index-DVAV_u0f.d.ts} +248 -13
- package/dist/index.cjs +259 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-OZQ2MXOA.js → zod.gen-E45JJSLK.js} +119 -11
- package/dist/zod.gen-E45JJSLK.js.map +1 -0
- package/package.json +11 -10
- package/dist/chunk-KNIFT3MW.js.map +0 -1
- package/dist/zod.gen-OZQ2MXOA.js.map +0 -1
|
@@ -282,6 +282,7 @@ var zPermissionTypeEnum = z.enum([
|
|
|
282
282
|
"CREATE_BATCH_OPERATION_MIGRATE_PROCESS_INSTANCE",
|
|
283
283
|
"CREATE_BATCH_OPERATION_MODIFY_PROCESS_INSTANCE",
|
|
284
284
|
"CREATE_BATCH_OPERATION_RESOLVE_INCIDENT",
|
|
285
|
+
"CREATE_BATCH_OPERATION_UPDATE_JOB",
|
|
285
286
|
"CREATE_DECISION_INSTANCE",
|
|
286
287
|
"CREATE_PROCESS_INSTANCE",
|
|
287
288
|
"CREATE_TASK_LISTENER",
|
|
@@ -433,6 +434,7 @@ var zBatchOperationTypeEnum = z.enum([
|
|
|
433
434
|
"MIGRATE_PROCESS_INSTANCE",
|
|
434
435
|
"MODIFY_PROCESS_INSTANCE",
|
|
435
436
|
"RESOLVE_INCIDENT",
|
|
437
|
+
"UPDATE_JOB",
|
|
436
438
|
"UPDATE_VARIABLE"
|
|
437
439
|
]).register(z.globalRegistry, {
|
|
438
440
|
description: "The type of the batch operation."
|
|
@@ -658,7 +660,11 @@ var zWaitStateElementTypeEnum = z.enum([
|
|
|
658
660
|
});
|
|
659
661
|
var zWaitStateTypeEnum = z.enum([
|
|
660
662
|
"JOB",
|
|
661
|
-
"MESSAGE"
|
|
663
|
+
"MESSAGE",
|
|
664
|
+
"USER_TASK",
|
|
665
|
+
"TIMER",
|
|
666
|
+
"SIGNAL",
|
|
667
|
+
"CONDITION"
|
|
662
668
|
]).register(z.globalRegistry, {
|
|
663
669
|
description: "The type of waiting state an element instance is in."
|
|
664
670
|
});
|
|
@@ -681,6 +687,41 @@ var zMessageWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
|
681
687
|
description: "The wait state type discriminator."
|
|
682
688
|
})
|
|
683
689
|
}));
|
|
690
|
+
var zTimerWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
691
|
+
dueDate: z.union([
|
|
692
|
+
z.coerce.number().int(),
|
|
693
|
+
z.null()
|
|
694
|
+
]),
|
|
695
|
+
repetitions: z.union([
|
|
696
|
+
z.int(),
|
|
697
|
+
z.null()
|
|
698
|
+
]),
|
|
699
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
700
|
+
description: "The wait state type discriminator."
|
|
701
|
+
})
|
|
702
|
+
}));
|
|
703
|
+
var zSignalWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
704
|
+
signalName: z.string().register(z.globalRegistry, {
|
|
705
|
+
description: "The name of the signal being awaited."
|
|
706
|
+
}),
|
|
707
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
708
|
+
description: "The wait state type discriminator."
|
|
709
|
+
})
|
|
710
|
+
}));
|
|
711
|
+
var zConditionWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
712
|
+
expression: z.string().register(z.globalRegistry, {
|
|
713
|
+
description: "The condition expression that must evaluate to true to proceed."
|
|
714
|
+
}),
|
|
715
|
+
events: z.array(z.enum([
|
|
716
|
+
"create",
|
|
717
|
+
"update"
|
|
718
|
+
])).register(z.globalRegistry, {
|
|
719
|
+
description: "The variable events that trigger condition re-evaluation. Empty means all events."
|
|
720
|
+
}),
|
|
721
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
722
|
+
description: "The wait state type discriminator."
|
|
723
|
+
})
|
|
724
|
+
}));
|
|
684
725
|
var zExpressionEvaluationWarningItem = z.object({
|
|
685
726
|
message: z.string().register(z.globalRegistry, {
|
|
686
727
|
description: "The warning message"
|
|
@@ -1583,6 +1624,10 @@ var zJobChangeset = z.object({
|
|
|
1583
1624
|
timeout: z.optional(z.union([
|
|
1584
1625
|
z.coerce.number().int(),
|
|
1585
1626
|
z.null()
|
|
1627
|
+
])),
|
|
1628
|
+
priority: z.optional(z.union([
|
|
1629
|
+
z.int(),
|
|
1630
|
+
z.null()
|
|
1586
1631
|
]))
|
|
1587
1632
|
}).register(z.globalRegistry, {
|
|
1588
1633
|
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."
|
|
@@ -1624,6 +1669,7 @@ var zJobStateEnum = z.enum([
|
|
|
1624
1669
|
"ERROR_THROWN",
|
|
1625
1670
|
"FAILED",
|
|
1626
1671
|
"MIGRATED",
|
|
1672
|
+
"PRIORITY_UPDATED",
|
|
1627
1673
|
"RETRIES_UPDATED",
|
|
1628
1674
|
"TIMED_OUT"
|
|
1629
1675
|
]).register(z.globalRegistry, {
|
|
@@ -1892,6 +1938,16 @@ var zAgentInstanceUpdateRequest = z.object({
|
|
|
1892
1938
|
description: "Request to update the mutable state of an agent instance.\n"
|
|
1893
1939
|
});
|
|
1894
1940
|
var zUserTaskKey = zLongKey;
|
|
1941
|
+
var zUserTaskWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
1942
|
+
taskKey: zUserTaskKey,
|
|
1943
|
+
dueDate: z.union([
|
|
1944
|
+
z.iso.datetime(),
|
|
1945
|
+
z.null()
|
|
1946
|
+
]),
|
|
1947
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
1948
|
+
description: "The wait state type discriminator."
|
|
1949
|
+
})
|
|
1950
|
+
}));
|
|
1895
1951
|
var zFormKey = zLongKey;
|
|
1896
1952
|
var zDeploymentFormResult = z.object({
|
|
1897
1953
|
formId: zFormId,
|
|
@@ -2090,7 +2146,19 @@ var zWaitStateDetails = z.union([
|
|
|
2090
2146
|
}).and(zJobWaitStateDetails),
|
|
2091
2147
|
z.object({
|
|
2092
2148
|
waitStateType: z.literal("MESSAGE")
|
|
2093
|
-
}).and(zMessageWaitStateDetails)
|
|
2149
|
+
}).and(zMessageWaitStateDetails),
|
|
2150
|
+
z.object({
|
|
2151
|
+
waitStateType: z.literal("USER_TASK")
|
|
2152
|
+
}).and(zUserTaskWaitStateDetails),
|
|
2153
|
+
z.object({
|
|
2154
|
+
waitStateType: z.literal("TIMER")
|
|
2155
|
+
}).and(zTimerWaitStateDetails),
|
|
2156
|
+
z.object({
|
|
2157
|
+
waitStateType: z.literal("SIGNAL")
|
|
2158
|
+
}).and(zSignalWaitStateDetails),
|
|
2159
|
+
z.object({
|
|
2160
|
+
waitStateType: z.literal("CONDITION")
|
|
2161
|
+
}).and(zConditionWaitStateDetails)
|
|
2094
2162
|
]);
|
|
2095
2163
|
var zElementInstanceWaitStateResult = z.object({
|
|
2096
2164
|
rootProcessInstanceKey: z.union([
|
|
@@ -2102,6 +2170,9 @@ var zElementInstanceWaitStateResult = z.object({
|
|
|
2102
2170
|
elementId: zElementId,
|
|
2103
2171
|
elementType: zWaitStateElementTypeEnum,
|
|
2104
2172
|
tenantId: zTenantId,
|
|
2173
|
+
bpmnProcessId: z.string().register(z.globalRegistry, {
|
|
2174
|
+
description: "The BPMN process ID of the process definition associated to this element instance."
|
|
2175
|
+
}),
|
|
2105
2176
|
details: zWaitStateDetails
|
|
2106
2177
|
}).register(z.globalRegistry, {
|
|
2107
2178
|
description: "An element instance waiting state."
|
|
@@ -2294,6 +2365,10 @@ var zEvaluatedDecisionResult = z.object({
|
|
|
2294
2365
|
});
|
|
2295
2366
|
var zDecisionEvaluationKey = zLongKey;
|
|
2296
2367
|
var zDecisionInstanceResult = z.object({
|
|
2368
|
+
businessId: z.union([
|
|
2369
|
+
zBusinessId,
|
|
2370
|
+
z.null()
|
|
2371
|
+
]),
|
|
2297
2372
|
decisionDefinitionId: zDecisionDefinitionId,
|
|
2298
2373
|
decisionDefinitionKey: zDecisionDefinitionKey,
|
|
2299
2374
|
decisionDefinitionName: z.string().register(z.globalRegistry, {
|
|
@@ -2747,10 +2822,7 @@ var zAgentInstanceHistoryItemResult = z.object({
|
|
|
2747
2822
|
toolCalls: z.array(zAgentInstanceToolCall).register(z.globalRegistry, {
|
|
2748
2823
|
description: "Tool calls for this item. Empty for USER items and ASSISTANT items with no tool dispatches.\nASSISTANT items: dispatched tool calls with arguments populated.\nTOOL_RESULT items: single-entry array referencing the originating tool call (arguments null).\n"
|
|
2749
2824
|
}),
|
|
2750
|
-
metrics:
|
|
2751
|
-
zAgentInstanceHistoryItemMetrics,
|
|
2752
|
-
z.null()
|
|
2753
|
-
]),
|
|
2825
|
+
metrics: zAgentInstanceHistoryItemMetrics,
|
|
2754
2826
|
commitStatus: zAgentInstanceHistoryCommitStatusEnum,
|
|
2755
2827
|
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2756
2828
|
description: "The connector-side timestamp of when this message was produced."
|
|
@@ -3168,7 +3240,8 @@ var zMessageCorrelationRequest = z.object({
|
|
|
3168
3240
|
variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
3169
3241
|
description: "The message variables as JSON document"
|
|
3170
3242
|
})),
|
|
3171
|
-
tenantId: z.optional(zTenantId)
|
|
3243
|
+
tenantId: z.optional(zTenantId),
|
|
3244
|
+
businessId: z.optional(zBusinessId)
|
|
3172
3245
|
});
|
|
3173
3246
|
var zMessagePublicationRequest = z.object({
|
|
3174
3247
|
name: z.string().register(z.globalRegistry, {
|
|
@@ -3186,7 +3259,8 @@ var zMessagePublicationRequest = z.object({
|
|
|
3186
3259
|
variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
|
|
3187
3260
|
description: "The message variables as JSON document."
|
|
3188
3261
|
})),
|
|
3189
|
-
tenantId: z.optional(zTenantId)
|
|
3262
|
+
tenantId: z.optional(zTenantId),
|
|
3263
|
+
businessId: z.optional(zBusinessId)
|
|
3190
3264
|
});
|
|
3191
3265
|
var zMessageSubscriptionStateEnum = z.enum([
|
|
3192
3266
|
"CORRELATED",
|
|
@@ -3194,7 +3268,7 @@ var zMessageSubscriptionStateEnum = z.enum([
|
|
|
3194
3268
|
"DELETED",
|
|
3195
3269
|
"MIGRATED"
|
|
3196
3270
|
]).register(z.globalRegistry, {
|
|
3197
|
-
description: "The state of message subscription."
|
|
3271
|
+
description: "The state of message subscription.\n\n**Note for `START_EVENT` subscriptions:** The `CORRELATED` and `MIGRATED` states are not\ntracked for these subscriptions. To query correlation history for process start events,\nuse the `/correlated-message-subscriptions/search` endpoint.\n"
|
|
3198
3272
|
});
|
|
3199
3273
|
var zMessageSubscriptionTypeEnum = z.enum([
|
|
3200
3274
|
"START_EVENT",
|
|
@@ -3312,6 +3386,10 @@ var zMessagePublicationResult = z.object({
|
|
|
3312
3386
|
description: "The message key of the published message."
|
|
3313
3387
|
});
|
|
3314
3388
|
var zCorrelatedMessageSubscriptionResult = z.object({
|
|
3389
|
+
businessId: z.union([
|
|
3390
|
+
zBusinessId,
|
|
3391
|
+
z.null()
|
|
3392
|
+
]),
|
|
3315
3393
|
correlationKey: z.union([
|
|
3316
3394
|
z.string(),
|
|
3317
3395
|
z.null()
|
|
@@ -4097,6 +4175,7 @@ var zDecisionDefinitionSearchQuery = zSearchQueryRequest.and(z.object({
|
|
|
4097
4175
|
}));
|
|
4098
4176
|
var zDecisionInstanceSearchQuerySortRequest = z.object({
|
|
4099
4177
|
field: z.enum([
|
|
4178
|
+
"businessId",
|
|
4100
4179
|
"decisionDefinitionId",
|
|
4101
4180
|
"decisionDefinitionKey",
|
|
4102
4181
|
"decisionDefinitionName",
|
|
@@ -4353,6 +4432,7 @@ var zMessageSubscriptionSearchQuerySortRequest = z.object({
|
|
|
4353
4432
|
});
|
|
4354
4433
|
var zCorrelatedMessageSubscriptionSearchQuerySortRequest = z.object({
|
|
4355
4434
|
field: z.enum([
|
|
4435
|
+
"businessId",
|
|
4356
4436
|
"correlationKey",
|
|
4357
4437
|
"correlationTime",
|
|
4358
4438
|
"elementId",
|
|
@@ -5064,7 +5144,8 @@ var zUserTaskSearchQuerySortRequest = z.object({
|
|
|
5064
5144
|
"followUpDate",
|
|
5065
5145
|
"dueDate",
|
|
5066
5146
|
"priority",
|
|
5067
|
-
"name"
|
|
5147
|
+
"name",
|
|
5148
|
+
"businessId"
|
|
5068
5149
|
]).register(z.globalRegistry, {
|
|
5069
5150
|
description: "The field to sort by."
|
|
5070
5151
|
}),
|
|
@@ -5210,6 +5291,10 @@ var zUserTaskResult = z.object({
|
|
|
5210
5291
|
zProcessInstanceKey,
|
|
5211
5292
|
z.null()
|
|
5212
5293
|
]),
|
|
5294
|
+
businessId: z.union([
|
|
5295
|
+
zBusinessId,
|
|
5296
|
+
z.null()
|
|
5297
|
+
]),
|
|
5213
5298
|
formKey: z.union([
|
|
5214
5299
|
zFormKey,
|
|
5215
5300
|
z.null()
|
|
@@ -5841,6 +5926,13 @@ var zJobSearchQuery = zSearchQueryRequest.and(z.object({
|
|
|
5841
5926
|
}).register(z.globalRegistry, {
|
|
5842
5927
|
description: "Job search request."
|
|
5843
5928
|
}));
|
|
5929
|
+
var zJobBatchUpdateRequest = z.object({
|
|
5930
|
+
filter: zJobFilter,
|
|
5931
|
+
changeset: zJobChangeset,
|
|
5932
|
+
operationReference: z.optional(zOperationReference)
|
|
5933
|
+
}).register(z.globalRegistry, {
|
|
5934
|
+
description: "The filter and changeset for a batch job update operation. The filter defines which jobs are updated; the changeset defines what to update. At least one changeset field must be non-null.\n"
|
|
5935
|
+
});
|
|
5844
5936
|
var zDecisionDefinitionKeyExactMatch = zDecisionDefinitionKey;
|
|
5845
5937
|
var zDecisionDefinitionKeyFilterProperty = z.union([
|
|
5846
5938
|
zDecisionDefinitionKeyExactMatch,
|
|
@@ -6021,6 +6113,7 @@ var zDecisionInstanceFilter = z.object({
|
|
|
6021
6113
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKey),
|
|
6022
6114
|
processDefinitionKey: z.optional(zProcessDefinitionKey),
|
|
6023
6115
|
processInstanceKey: z.optional(zProcessInstanceKey),
|
|
6116
|
+
businessId: z.optional(zStringFilterProperty),
|
|
6024
6117
|
decisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
6025
6118
|
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
6026
6119
|
rootDecisionDefinitionKey: z.optional(zDecisionDefinitionKeyFilterProperty),
|
|
@@ -6082,6 +6175,7 @@ var zMessageSubscriptionSearchQuery = zSearchQueryRequest.and(z.object({
|
|
|
6082
6175
|
filter: z.optional(zMessageSubscriptionFilter)
|
|
6083
6176
|
}));
|
|
6084
6177
|
var zCorrelatedMessageSubscriptionFilter = z.object({
|
|
6178
|
+
businessId: z.optional(zStringFilterProperty),
|
|
6085
6179
|
correlationKey: z.optional(zStringFilterProperty),
|
|
6086
6180
|
correlationTime: z.optional(zDateTimeFilterProperty),
|
|
6087
6181
|
elementId: z.optional(zStringFilterProperty),
|
|
@@ -6215,6 +6309,7 @@ var zUserTaskStateFilterProperty = z.union([
|
|
|
6215
6309
|
var zUserTaskFilter = z.object({
|
|
6216
6310
|
state: z.optional(zUserTaskStateFilterProperty),
|
|
6217
6311
|
assignee: z.optional(zStringFilterProperty),
|
|
6312
|
+
businessId: z.optional(zStringFilterProperty),
|
|
6218
6313
|
priority: z.optional(zIntegerFilterProperty),
|
|
6219
6314
|
elementId: z.optional(zElementId),
|
|
6220
6315
|
name: z.optional(zStringFilterProperty),
|
|
@@ -7010,6 +7105,12 @@ var zFailJobData = z.object({
|
|
|
7010
7105
|
var zFailJobResponse = z.void().register(z.globalRegistry, {
|
|
7011
7106
|
description: "The job is failed."
|
|
7012
7107
|
});
|
|
7108
|
+
var zUpdateJobsBatchOperationData = z.object({
|
|
7109
|
+
body: zJobBatchUpdateRequest,
|
|
7110
|
+
path: z.optional(z.never()),
|
|
7111
|
+
query: z.optional(z.never())
|
|
7112
|
+
});
|
|
7113
|
+
var zUpdateJobsBatchOperationResponse = zBatchOperationCreatedResult;
|
|
7013
7114
|
var zGetGlobalJobStatisticsData = z.object({
|
|
7014
7115
|
body: z.optional(z.never()),
|
|
7015
7116
|
path: z.optional(z.never()),
|
|
@@ -8127,6 +8228,7 @@ export {
|
|
|
8127
8228
|
zCompleteUserTaskData,
|
|
8128
8229
|
zCompleteUserTaskResponse,
|
|
8129
8230
|
zComponentsConfigurationResponse,
|
|
8231
|
+
zConditionWaitStateDetails,
|
|
8130
8232
|
zConditionalEvaluationInstruction,
|
|
8131
8233
|
zConditionalEvaluationKey,
|
|
8132
8234
|
zCorrelateMessageData,
|
|
@@ -8479,6 +8581,7 @@ export {
|
|
|
8479
8581
|
zIterationId,
|
|
8480
8582
|
zJobActivationRequest,
|
|
8481
8583
|
zJobActivationResult,
|
|
8584
|
+
zJobBatchUpdateRequest,
|
|
8482
8585
|
zJobChangeset,
|
|
8483
8586
|
zJobCompletionRequest,
|
|
8484
8587
|
zJobErrorRequest,
|
|
@@ -8790,6 +8893,7 @@ export {
|
|
|
8790
8893
|
zSignalBroadcastRequest,
|
|
8791
8894
|
zSignalBroadcastResult,
|
|
8792
8895
|
zSignalKey,
|
|
8896
|
+
zSignalWaitStateDetails,
|
|
8793
8897
|
zSortOrderEnum,
|
|
8794
8898
|
zSourceElementIdInstruction,
|
|
8795
8899
|
zSourceElementInstanceKeyInstruction,
|
|
@@ -8829,6 +8933,7 @@ export {
|
|
|
8829
8933
|
zTenantUserSearchResult,
|
|
8830
8934
|
zThrowJobErrorData,
|
|
8831
8935
|
zThrowJobErrorResponse,
|
|
8936
|
+
zTimerWaitStateDetails,
|
|
8832
8937
|
zTopologyResponse,
|
|
8833
8938
|
zUnassignClientFromGroupData,
|
|
8834
8939
|
zUnassignClientFromGroupResponse,
|
|
@@ -8870,6 +8975,8 @@ export {
|
|
|
8870
8975
|
zUpdateGroupResponse,
|
|
8871
8976
|
zUpdateJobData,
|
|
8872
8977
|
zUpdateJobResponse,
|
|
8978
|
+
zUpdateJobsBatchOperationData,
|
|
8979
|
+
zUpdateJobsBatchOperationResponse,
|
|
8873
8980
|
zUpdateMappingRuleData,
|
|
8874
8981
|
zUpdateMappingRuleResponse,
|
|
8875
8982
|
zUpdateRoleData,
|
|
@@ -8911,6 +9018,7 @@ export {
|
|
|
8911
9018
|
zUserTaskVariableFilter,
|
|
8912
9019
|
zUserTaskVariableSearchQueryRequest,
|
|
8913
9020
|
zUserTaskVariableSearchQuerySortRequest,
|
|
9021
|
+
zUserTaskWaitStateDetails,
|
|
8914
9022
|
zUserUpdateRequest,
|
|
8915
9023
|
zUserUpdateResult,
|
|
8916
9024
|
zUsername,
|
|
@@ -8934,4 +9042,4 @@ export {
|
|
|
8934
9042
|
zWaitStateTypeFilterProperty,
|
|
8935
9043
|
zWebappComponent
|
|
8936
9044
|
};
|
|
8937
|
-
//# sourceMappingURL=zod.gen-
|
|
9045
|
+
//# sourceMappingURL=zod.gen-E45JJSLK.js.map
|