@camunda8/orchestration-cluster-api 10.0.0-alpha.10 → 10.0.0-alpha.12
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-35C35RRO.js → chunk-5MVQWZJT.js} +3 -3
- package/dist/chunk-5MVQWZJT.js.map +1 -0
- package/dist/fp/index.cjs +98 -24
- 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-DiQH0k_q.d.cts → index-D5QMBVou.d.cts} +118 -17
- package/dist/{index-CeCL9PcH.d.ts → index-DMHMquxl.d.ts} +118 -17
- package/dist/index.cjs +104 -26
- 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 +7 -3
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-LWXJEF77.js → zod.gen-RVXPM54Y.js} +97 -23
- package/dist/zod.gen-RVXPM54Y.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-35C35RRO.js.map +0 -1
- package/dist/zod.gen-LWXJEF77.js.map +0 -1
|
@@ -658,19 +658,53 @@ var zWaitStateElementTypeEnum = z.enum([
|
|
|
658
658
|
});
|
|
659
659
|
var zWaitStateTypeEnum = z.enum([
|
|
660
660
|
"JOB",
|
|
661
|
-
"MESSAGE"
|
|
661
|
+
"MESSAGE",
|
|
662
|
+
"USER_TASK",
|
|
663
|
+
"TIMER",
|
|
664
|
+
"SIGNAL"
|
|
662
665
|
]).register(z.globalRegistry, {
|
|
663
666
|
description: "The type of waiting state an element instance is in."
|
|
664
667
|
});
|
|
665
|
-
var
|
|
668
|
+
var zBaseWaitStateDetails = z.object({
|
|
669
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
670
|
+
description: "The wait state type discriminator."
|
|
671
|
+
})
|
|
672
|
+
}).register(z.globalRegistry, {
|
|
673
|
+
description: "Common fields shared by all wait-state details variants."
|
|
674
|
+
});
|
|
675
|
+
var zMessageWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
666
676
|
messageName: z.string().register(z.globalRegistry, {
|
|
667
677
|
description: "The name of the message being awaited."
|
|
668
678
|
}),
|
|
669
679
|
correlationKey: z.union([
|
|
670
680
|
z.string(),
|
|
671
681
|
z.null()
|
|
672
|
-
])
|
|
673
|
-
|
|
682
|
+
]),
|
|
683
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
684
|
+
description: "The wait state type discriminator."
|
|
685
|
+
})
|
|
686
|
+
}));
|
|
687
|
+
var zTimerWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
688
|
+
dueDate: z.union([
|
|
689
|
+
z.coerce.number().int(),
|
|
690
|
+
z.null()
|
|
691
|
+
]),
|
|
692
|
+
repetitions: z.union([
|
|
693
|
+
z.int(),
|
|
694
|
+
z.null()
|
|
695
|
+
]),
|
|
696
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
697
|
+
description: "The wait state type discriminator."
|
|
698
|
+
})
|
|
699
|
+
}));
|
|
700
|
+
var zSignalWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
701
|
+
signalName: z.string().register(z.globalRegistry, {
|
|
702
|
+
description: "The name of the signal being awaited."
|
|
703
|
+
}),
|
|
704
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
705
|
+
description: "The wait state type discriminator."
|
|
706
|
+
})
|
|
707
|
+
}));
|
|
674
708
|
var zExpressionEvaluationWarningItem = z.object({
|
|
675
709
|
message: z.string().register(z.globalRegistry, {
|
|
676
710
|
description: "The warning message"
|
|
@@ -1614,6 +1648,7 @@ var zJobStateEnum = z.enum([
|
|
|
1614
1648
|
"ERROR_THROWN",
|
|
1615
1649
|
"FAILED",
|
|
1616
1650
|
"MIGRATED",
|
|
1651
|
+
"PRIORITY_UPDATED",
|
|
1617
1652
|
"RETRIES_UPDATED",
|
|
1618
1653
|
"TIMED_OUT"
|
|
1619
1654
|
]).register(z.globalRegistry, {
|
|
@@ -1882,6 +1917,16 @@ var zAgentInstanceUpdateRequest = z.object({
|
|
|
1882
1917
|
description: "Request to update the mutable state of an agent instance.\n"
|
|
1883
1918
|
});
|
|
1884
1919
|
var zUserTaskKey = zLongKey;
|
|
1920
|
+
var zUserTaskWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
1921
|
+
taskKey: zUserTaskKey,
|
|
1922
|
+
dueDate: z.union([
|
|
1923
|
+
z.iso.datetime(),
|
|
1924
|
+
z.null()
|
|
1925
|
+
]),
|
|
1926
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
1927
|
+
description: "The wait state type discriminator."
|
|
1928
|
+
})
|
|
1929
|
+
}));
|
|
1885
1930
|
var zFormKey = zLongKey;
|
|
1886
1931
|
var zDeploymentFormResult = z.object({
|
|
1887
1932
|
formId: zFormId,
|
|
@@ -2056,7 +2101,7 @@ var zAgentInstanceHistoryItemRequest = z.object({
|
|
|
2056
2101
|
}).register(z.globalRegistry, {
|
|
2057
2102
|
description: "Request to append a single history item to an agent instance's conversation history."
|
|
2058
2103
|
});
|
|
2059
|
-
var zJobWaitStateDetails = z.object({
|
|
2104
|
+
var zJobWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
2060
2105
|
jobKey: zJobKey,
|
|
2061
2106
|
jobType: z.string().register(z.globalRegistry, {
|
|
2062
2107
|
description: "The job type (worker subscription identifier)."
|
|
@@ -2069,10 +2114,29 @@ var zJobWaitStateDetails = z.object({
|
|
|
2069
2114
|
retries: z.union([
|
|
2070
2115
|
z.int(),
|
|
2071
2116
|
z.null()
|
|
2072
|
-
])
|
|
2073
|
-
|
|
2117
|
+
]),
|
|
2118
|
+
waitStateType: z.string().register(z.globalRegistry, {
|
|
2119
|
+
description: "The wait state type discriminator."
|
|
2120
|
+
})
|
|
2121
|
+
}));
|
|
2122
|
+
var zWaitStateDetails = z.union([
|
|
2123
|
+
z.object({
|
|
2124
|
+
waitStateType: z.literal("JOB")
|
|
2125
|
+
}).and(zJobWaitStateDetails),
|
|
2126
|
+
z.object({
|
|
2127
|
+
waitStateType: z.literal("MESSAGE")
|
|
2128
|
+
}).and(zMessageWaitStateDetails),
|
|
2129
|
+
z.object({
|
|
2130
|
+
waitStateType: z.literal("USER_TASK")
|
|
2131
|
+
}).and(zUserTaskWaitStateDetails),
|
|
2132
|
+
z.object({
|
|
2133
|
+
waitStateType: z.literal("TIMER")
|
|
2134
|
+
}).and(zTimerWaitStateDetails),
|
|
2135
|
+
z.object({
|
|
2136
|
+
waitStateType: z.literal("SIGNAL")
|
|
2137
|
+
}).and(zSignalWaitStateDetails)
|
|
2138
|
+
]);
|
|
2074
2139
|
var zElementInstanceWaitStateResult = z.object({
|
|
2075
|
-
waitStateType: zWaitStateTypeEnum,
|
|
2076
2140
|
rootProcessInstanceKey: z.union([
|
|
2077
2141
|
zProcessInstanceKey,
|
|
2078
2142
|
z.null()
|
|
@@ -2082,14 +2146,10 @@ var zElementInstanceWaitStateResult = z.object({
|
|
|
2082
2146
|
elementId: zElementId,
|
|
2083
2147
|
elementType: zWaitStateElementTypeEnum,
|
|
2084
2148
|
tenantId: zTenantId,
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
messageDetails: z.union([
|
|
2090
|
-
zMessageWaitStateDetails,
|
|
2091
|
-
z.null()
|
|
2092
|
-
])
|
|
2149
|
+
bpmnProcessId: z.string().register(z.globalRegistry, {
|
|
2150
|
+
description: "The BPMN process ID of the process definition associated to this element instance."
|
|
2151
|
+
}),
|
|
2152
|
+
details: zWaitStateDetails
|
|
2093
2153
|
}).register(z.globalRegistry, {
|
|
2094
2154
|
description: "An element instance waiting state."
|
|
2095
2155
|
});
|
|
@@ -2734,10 +2794,7 @@ var zAgentInstanceHistoryItemResult = z.object({
|
|
|
2734
2794
|
toolCalls: z.array(zAgentInstanceToolCall).register(z.globalRegistry, {
|
|
2735
2795
|
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"
|
|
2736
2796
|
}),
|
|
2737
|
-
metrics:
|
|
2738
|
-
zAgentInstanceHistoryItemMetrics,
|
|
2739
|
-
z.null()
|
|
2740
|
-
]),
|
|
2797
|
+
metrics: zAgentInstanceHistoryItemMetrics,
|
|
2741
2798
|
commitStatus: zAgentInstanceHistoryCommitStatusEnum,
|
|
2742
2799
|
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2743
2800
|
description: "The connector-side timestamp of when this message was produced."
|
|
@@ -2851,6 +2908,14 @@ var zAuditLogResult = z.object({
|
|
|
2851
2908
|
entityDescription: z.union([
|
|
2852
2909
|
z.string(),
|
|
2853
2910
|
z.null()
|
|
2911
|
+
]),
|
|
2912
|
+
inboundChannelType: z.union([
|
|
2913
|
+
z.string(),
|
|
2914
|
+
z.null()
|
|
2915
|
+
]),
|
|
2916
|
+
inboundChannelToolName: z.union([
|
|
2917
|
+
z.string(),
|
|
2918
|
+
z.null()
|
|
2854
2919
|
])
|
|
2855
2920
|
}).register(z.globalRegistry, {
|
|
2856
2921
|
description: "Audit log item."
|
|
@@ -3173,7 +3238,7 @@ var zMessageSubscriptionStateEnum = z.enum([
|
|
|
3173
3238
|
"DELETED",
|
|
3174
3239
|
"MIGRATED"
|
|
3175
3240
|
]).register(z.globalRegistry, {
|
|
3176
|
-
description: "The state of message subscription."
|
|
3241
|
+
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"
|
|
3177
3242
|
});
|
|
3178
3243
|
var zMessageSubscriptionTypeEnum = z.enum([
|
|
3179
3244
|
"START_EVENT",
|
|
@@ -3986,6 +4051,8 @@ var zAuditLogSearchQuerySortRequest = z.object({
|
|
|
3986
4051
|
"processDefinitionId",
|
|
3987
4052
|
"processDefinitionKey",
|
|
3988
4053
|
"processInstanceKey",
|
|
4054
|
+
"inboundChannelType",
|
|
4055
|
+
"inboundChannelToolName",
|
|
3989
4056
|
"result",
|
|
3990
4057
|
"tenantId",
|
|
3991
4058
|
"timestamp",
|
|
@@ -5965,7 +6032,9 @@ var zAuditLogFilter = z.object({
|
|
|
5965
6032
|
decisionEvaluationKey: z.optional(zDecisionEvaluationKeyFilterProperty),
|
|
5966
6033
|
relatedEntityKey: z.optional(zAuditLogEntityKeyFilterProperty),
|
|
5967
6034
|
relatedEntityType: z.optional(zEntityTypeFilterProperty),
|
|
5968
|
-
entityDescription: z.optional(zStringFilterProperty)
|
|
6035
|
+
entityDescription: z.optional(zStringFilterProperty),
|
|
6036
|
+
inboundChannelType: z.optional(zStringFilterProperty),
|
|
6037
|
+
inboundChannelToolName: z.optional(zStringFilterProperty)
|
|
5969
6038
|
}).register(z.globalRegistry, {
|
|
5970
6039
|
description: "Audit log filter request"
|
|
5971
6040
|
});
|
|
@@ -8042,6 +8111,7 @@ export {
|
|
|
8042
8111
|
zAuthorizationSearchQuerySortRequest,
|
|
8043
8112
|
zAuthorizationSearchResult,
|
|
8044
8113
|
zBaseProcessInstanceFilterFields,
|
|
8114
|
+
zBaseWaitStateDetails,
|
|
8045
8115
|
zBasicStringFilter,
|
|
8046
8116
|
zBasicStringFilterProperty,
|
|
8047
8117
|
zBatchOperationCreatedResult,
|
|
@@ -8764,6 +8834,7 @@ export {
|
|
|
8764
8834
|
zSignalBroadcastRequest,
|
|
8765
8835
|
zSignalBroadcastResult,
|
|
8766
8836
|
zSignalKey,
|
|
8837
|
+
zSignalWaitStateDetails,
|
|
8767
8838
|
zSortOrderEnum,
|
|
8768
8839
|
zSourceElementIdInstruction,
|
|
8769
8840
|
zSourceElementInstanceKeyInstruction,
|
|
@@ -8803,6 +8874,7 @@ export {
|
|
|
8803
8874
|
zTenantUserSearchResult,
|
|
8804
8875
|
zThrowJobErrorData,
|
|
8805
8876
|
zThrowJobErrorResponse,
|
|
8877
|
+
zTimerWaitStateDetails,
|
|
8806
8878
|
zTopologyResponse,
|
|
8807
8879
|
zUnassignClientFromGroupData,
|
|
8808
8880
|
zUnassignClientFromGroupResponse,
|
|
@@ -8885,6 +8957,7 @@ export {
|
|
|
8885
8957
|
zUserTaskVariableFilter,
|
|
8886
8958
|
zUserTaskVariableSearchQueryRequest,
|
|
8887
8959
|
zUserTaskVariableSearchQuerySortRequest,
|
|
8960
|
+
zUserTaskWaitStateDetails,
|
|
8888
8961
|
zUserUpdateRequest,
|
|
8889
8962
|
zUserUpdateResult,
|
|
8890
8963
|
zUsername,
|
|
@@ -8899,6 +8972,7 @@ export {
|
|
|
8899
8972
|
zVariableSearchQuerySortRequest,
|
|
8900
8973
|
zVariableSearchResult,
|
|
8901
8974
|
zVariableValueFilterProperty,
|
|
8975
|
+
zWaitStateDetails,
|
|
8902
8976
|
zWaitStateElementTypeEnum,
|
|
8903
8977
|
zWaitStateElementTypeExactMatch,
|
|
8904
8978
|
zWaitStateElementTypeFilterProperty,
|
|
@@ -8907,4 +8981,4 @@ export {
|
|
|
8907
8981
|
zWaitStateTypeFilterProperty,
|
|
8908
8982
|
zWebappComponent
|
|
8909
8983
|
};
|
|
8910
|
-
//# sourceMappingURL=zod.gen-
|
|
8984
|
+
//# sourceMappingURL=zod.gen-RVXPM54Y.js.map
|