@camunda8/orchestration-cluster-api 10.0.0-alpha.7 → 10.0.0-alpha.9
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 +15 -0
- package/dist/{chunk-BCNWWIBI.js → chunk-J347UUZV.js} +1945 -7
- package/dist/chunk-J347UUZV.js.map +1 -0
- package/dist/fp/index.cjs +2177 -60
- 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-BU0clzK-.d.ts → index-CEnwJEm0.d.ts} +465 -42
- package/dist/{index-B-q0QFAh.d.cts → index-DzLN45Gx.d.cts} +465 -42
- package/dist/index.cjs +2225 -61
- 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 +46 -2
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-SZE2T4QF.js → zod.gen-6GOHR6NK.js} +233 -54
- package/dist/zod.gen-6GOHR6NK.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-BCNWWIBI.js.map +0 -1
- package/dist/zod.gen-SZE2T4QF.js.map +0 -1
|
@@ -37,20 +37,20 @@ var zAgentInstanceMetrics = z.object({
|
|
|
37
37
|
outputTokens: z.coerce.number().int().register(z.globalRegistry, {
|
|
38
38
|
description: "Total output tokens produced across all model calls."
|
|
39
39
|
}),
|
|
40
|
-
modelCalls: z.
|
|
40
|
+
modelCalls: z.int().register(z.globalRegistry, {
|
|
41
41
|
description: "Total number of LLM calls made."
|
|
42
42
|
}),
|
|
43
|
-
toolCalls: z.
|
|
43
|
+
toolCalls: z.int().register(z.globalRegistry, {
|
|
44
44
|
description: "Total number of tool calls made."
|
|
45
45
|
})
|
|
46
46
|
}).register(z.globalRegistry, {
|
|
47
47
|
description: "Aggregated metrics for an agent instance across all model calls."
|
|
48
48
|
});
|
|
49
49
|
var zAgentInstanceLimits = z.object({
|
|
50
|
-
maxModelCalls: z.
|
|
50
|
+
maxModelCalls: z.int().register(z.globalRegistry, {
|
|
51
51
|
description: "Maximum LLM calls allowed. -1 if no limit is configured."
|
|
52
52
|
}),
|
|
53
|
-
maxToolCalls: z.
|
|
53
|
+
maxToolCalls: z.int().register(z.globalRegistry, {
|
|
54
54
|
description: "Maximum tool calls allowed. -1 if no limit is configured."
|
|
55
55
|
}),
|
|
56
56
|
maxTokens: z.coerce.number().int().register(z.globalRegistry, {
|
|
@@ -60,6 +60,7 @@ var zAgentInstanceLimits = z.object({
|
|
|
60
60
|
description: "The configured limits for an agent instance, set once at creation."
|
|
61
61
|
});
|
|
62
62
|
var zAgentInstanceStatusEnum = z.enum([
|
|
63
|
+
"UNKNOWN",
|
|
63
64
|
"COMPLETED",
|
|
64
65
|
"IDLE",
|
|
65
66
|
"INITIALIZING",
|
|
@@ -69,6 +70,14 @@ var zAgentInstanceStatusEnum = z.enum([
|
|
|
69
70
|
]).register(z.globalRegistry, {
|
|
70
71
|
description: "The current status of an agent instance."
|
|
71
72
|
});
|
|
73
|
+
var zAgentInstanceUpdateStatusEnum = z.enum([
|
|
74
|
+
"IDLE",
|
|
75
|
+
"THINKING",
|
|
76
|
+
"TOOL_CALLING",
|
|
77
|
+
"TOOL_DISCOVERY"
|
|
78
|
+
]).register(z.globalRegistry, {
|
|
79
|
+
description: "The status values that can be set on an agent instance via an update request.\n"
|
|
80
|
+
});
|
|
72
81
|
var zAgentInstanceMetricsDelta = z.object({
|
|
73
82
|
inputTokens: z.optional(z.coerce.number().int().gte(0).register(z.globalRegistry, {
|
|
74
83
|
description: "Increment to apply to the total input token counter."
|
|
@@ -76,24 +85,15 @@ var zAgentInstanceMetricsDelta = z.object({
|
|
|
76
85
|
outputTokens: z.optional(z.coerce.number().int().gte(0).register(z.globalRegistry, {
|
|
77
86
|
description: "Increment to apply to the total output token counter."
|
|
78
87
|
})),
|
|
79
|
-
modelCalls: z.optional(z.
|
|
88
|
+
modelCalls: z.optional(z.int().gte(0).register(z.globalRegistry, {
|
|
80
89
|
description: "Increment to apply to the total model call counter."
|
|
81
90
|
})),
|
|
82
|
-
toolCalls: z.optional(z.
|
|
91
|
+
toolCalls: z.optional(z.int().gte(0).register(z.globalRegistry, {
|
|
83
92
|
description: "Increment to apply to the total tool call counter."
|
|
84
93
|
}))
|
|
85
94
|
}).register(z.globalRegistry, {
|
|
86
95
|
description: "Metric increments to apply to the agent instance aggregate counters. The engine\naccumulates these deltas into running totals on each UPDATED event. All fields\nare optional; omit a field to leave the corresponding counter unchanged.\n"
|
|
87
96
|
});
|
|
88
|
-
var zAgentInstanceUpdateRequest = z.object({
|
|
89
|
-
status: z.optional(zAgentInstanceStatusEnum),
|
|
90
|
-
metrics: z.optional(zAgentInstanceMetricsDelta),
|
|
91
|
-
tools: z.optional(z.array(zAgentTool).register(z.globalRegistry, {
|
|
92
|
-
description: "The complete list of tools available to the agent, replacing any previously\nstored tools. When provided, the engine replaces the existing tool list with\nthis value.\n"
|
|
93
|
-
}))
|
|
94
|
-
}).register(z.globalRegistry, {
|
|
95
|
-
description: "Request to update the mutable state of an agent instance. At least one of\nstatus, metrics, or tools must be provided.\n"
|
|
96
|
-
});
|
|
97
97
|
var zAuditLogEntityKey = z.string().register(z.globalRegistry, {
|
|
98
98
|
description: "System-generated entity key for an audit log entry."
|
|
99
99
|
});
|
|
@@ -529,17 +529,51 @@ var zElementInstanceStateEnum = z.enum([
|
|
|
529
529
|
]).register(z.globalRegistry, {
|
|
530
530
|
description: "Element states"
|
|
531
531
|
});
|
|
532
|
-
var
|
|
533
|
-
|
|
534
|
-
|
|
532
|
+
var zWaitStateElementTypeEnum = z.enum([
|
|
533
|
+
"AD_HOC_SUB_PROCESS",
|
|
534
|
+
"AD_HOC_SUB_PROCESS_INNER_INSTANCE",
|
|
535
|
+
"BOUNDARY_EVENT",
|
|
536
|
+
"BUSINESS_RULE_TASK",
|
|
537
|
+
"CALL_ACTIVITY",
|
|
538
|
+
"END_EVENT",
|
|
539
|
+
"EVENT_BASED_GATEWAY",
|
|
540
|
+
"EVENT_SUB_PROCESS",
|
|
541
|
+
"EXCLUSIVE_GATEWAY",
|
|
542
|
+
"INCLUSIVE_GATEWAY",
|
|
543
|
+
"INTERMEDIATE_CATCH_EVENT",
|
|
544
|
+
"INTERMEDIATE_THROW_EVENT",
|
|
545
|
+
"MANUAL_TASK",
|
|
546
|
+
"MULTI_INSTANCE_BODY",
|
|
547
|
+
"PARALLEL_GATEWAY",
|
|
548
|
+
"PROCESS",
|
|
549
|
+
"RECEIVE_TASK",
|
|
550
|
+
"SCRIPT_TASK",
|
|
551
|
+
"SEND_TASK",
|
|
552
|
+
"SEQUENCE_FLOW",
|
|
553
|
+
"SERVICE_TASK",
|
|
554
|
+
"START_EVENT",
|
|
555
|
+
"SUB_PROCESS",
|
|
556
|
+
"TASK",
|
|
557
|
+
"UNKNOWN",
|
|
558
|
+
"UNSPECIFIED",
|
|
559
|
+
"USER_TASK"
|
|
560
|
+
]).register(z.globalRegistry, {
|
|
561
|
+
description: "The BPMN element type of a waiting element instance."
|
|
562
|
+
});
|
|
563
|
+
var zWaitStateTypeEnum = z.enum([
|
|
564
|
+
"JOB",
|
|
565
|
+
"MESSAGE"
|
|
566
|
+
]).register(z.globalRegistry, {
|
|
567
|
+
description: "The type of waiting state an element instance is in."
|
|
568
|
+
});
|
|
569
|
+
var zMessageWaitStateDetails = z.object({
|
|
570
|
+
messageName: z.string().register(z.globalRegistry, {
|
|
571
|
+
description: "The name of the message being awaited."
|
|
535
572
|
}),
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
})),
|
|
539
|
-
variables: z.optional(z.union([
|
|
540
|
-
z.record(z.string(), z.unknown()),
|
|
573
|
+
correlationKey: z.union([
|
|
574
|
+
z.string(),
|
|
541
575
|
z.null()
|
|
542
|
-
])
|
|
576
|
+
])
|
|
543
577
|
});
|
|
544
578
|
var zExpressionEvaluationWarningItem = z.object({
|
|
545
579
|
message: z.string().register(z.globalRegistry, {
|
|
@@ -719,6 +753,32 @@ var zAdvancedElementInstanceStateFilter = z.object({
|
|
|
719
753
|
}).register(z.globalRegistry, {
|
|
720
754
|
description: "Advanced ElementInstanceStateEnum filter."
|
|
721
755
|
});
|
|
756
|
+
var zAdvancedWaitStateElementTypeFilter = z.object({
|
|
757
|
+
"$eq": z.optional(zWaitStateElementTypeEnum),
|
|
758
|
+
"$neq": z.optional(zWaitStateElementTypeEnum),
|
|
759
|
+
"$exists": z.optional(z.boolean().register(z.globalRegistry, {
|
|
760
|
+
description: "Checks if the current property exists."
|
|
761
|
+
})),
|
|
762
|
+
"$in": z.optional(z.array(zWaitStateElementTypeEnum).register(z.globalRegistry, {
|
|
763
|
+
description: "Checks if the property matches any of the provided values."
|
|
764
|
+
})),
|
|
765
|
+
"$like": z.optional(zLikeFilter)
|
|
766
|
+
}).register(z.globalRegistry, {
|
|
767
|
+
description: "Advanced element type filter."
|
|
768
|
+
});
|
|
769
|
+
var zAdvancedWaitStateTypeFilter = z.object({
|
|
770
|
+
"$eq": z.optional(zWaitStateTypeEnum),
|
|
771
|
+
"$neq": z.optional(zWaitStateTypeEnum),
|
|
772
|
+
"$exists": z.optional(z.boolean().register(z.globalRegistry, {
|
|
773
|
+
description: "Checks if the current property exists."
|
|
774
|
+
})),
|
|
775
|
+
"$in": z.optional(z.array(zWaitStateTypeEnum).register(z.globalRegistry, {
|
|
776
|
+
description: "Checks if the property matches any of the provided values."
|
|
777
|
+
})),
|
|
778
|
+
"$like": z.optional(zLikeFilter)
|
|
779
|
+
}).register(z.globalRegistry, {
|
|
780
|
+
description: "Advanced wait state type filter."
|
|
781
|
+
});
|
|
722
782
|
var zBasicStringFilter = z.object({
|
|
723
783
|
"$eq": z.optional(z.string().register(z.globalRegistry, {
|
|
724
784
|
description: "Checks for equality with the provided value."
|
|
@@ -1471,6 +1531,7 @@ var zJobKindEnum = z.enum([
|
|
|
1471
1531
|
var zJobListenerEventTypeEnum = z.enum([
|
|
1472
1532
|
"ASSIGNING",
|
|
1473
1533
|
"BEFORE_ALL",
|
|
1534
|
+
"CANCEL",
|
|
1474
1535
|
"CANCELING",
|
|
1475
1536
|
"COMPLETING",
|
|
1476
1537
|
"CREATING",
|
|
@@ -1691,6 +1752,17 @@ var zAgentInstanceCreationRequest = z.object({
|
|
|
1691
1752
|
}).register(z.globalRegistry, {
|
|
1692
1753
|
description: "Request to create a new agent instance."
|
|
1693
1754
|
});
|
|
1755
|
+
var zAgentInstanceUpdateRequest = z.object({
|
|
1756
|
+
elementInstanceKey: zElementInstanceKey,
|
|
1757
|
+
status: z.optional(zAgentInstanceUpdateStatusEnum),
|
|
1758
|
+
metrics: z.optional(zAgentInstanceMetricsDelta),
|
|
1759
|
+
tools: z.optional(z.union([
|
|
1760
|
+
z.array(zAgentTool),
|
|
1761
|
+
z.null()
|
|
1762
|
+
]))
|
|
1763
|
+
}).register(z.globalRegistry, {
|
|
1764
|
+
description: "Request to update the mutable state of an agent instance.\n"
|
|
1765
|
+
});
|
|
1694
1766
|
var zUserTaskKey = zLongKey;
|
|
1695
1767
|
var zFormKey = zLongKey;
|
|
1696
1768
|
var zDeploymentFormResult = z.object({
|
|
@@ -1762,6 +1834,19 @@ var zScopeKey = z.union([
|
|
|
1762
1834
|
zProcessInstanceKey,
|
|
1763
1835
|
zElementInstanceKey
|
|
1764
1836
|
]);
|
|
1837
|
+
var zExpressionEvaluationRequest = z.object({
|
|
1838
|
+
expression: z.string().register(z.globalRegistry, {
|
|
1839
|
+
description: 'The expression to evaluate (e.g., "=x + y")'
|
|
1840
|
+
}),
|
|
1841
|
+
tenantId: z.optional(z.string().register(z.globalRegistry, {
|
|
1842
|
+
description: "Required when the expression references tenant-scoped cluster variables"
|
|
1843
|
+
})),
|
|
1844
|
+
scopeKey: z.optional(zScopeKey),
|
|
1845
|
+
variables: z.optional(z.union([
|
|
1846
|
+
z.record(z.string(), z.unknown()),
|
|
1847
|
+
z.null()
|
|
1848
|
+
]))
|
|
1849
|
+
});
|
|
1765
1850
|
var zIncidentKey = zLongKey;
|
|
1766
1851
|
var zElementInstanceResult = z.object({
|
|
1767
1852
|
processDefinitionId: zProcessDefinitionId,
|
|
@@ -1825,6 +1910,43 @@ var zElementInstanceResult = z.object({
|
|
|
1825
1910
|
])
|
|
1826
1911
|
});
|
|
1827
1912
|
var zJobKey = zLongKey;
|
|
1913
|
+
var zJobWaitStateDetails = z.object({
|
|
1914
|
+
jobKey: zJobKey,
|
|
1915
|
+
jobType: z.string().register(z.globalRegistry, {
|
|
1916
|
+
description: "The job type (worker subscription identifier)."
|
|
1917
|
+
}),
|
|
1918
|
+
jobKind: zJobKindEnum,
|
|
1919
|
+
listenerEventType: z.union([
|
|
1920
|
+
zJobListenerEventTypeEnum,
|
|
1921
|
+
z.null()
|
|
1922
|
+
]),
|
|
1923
|
+
retries: z.union([
|
|
1924
|
+
z.int(),
|
|
1925
|
+
z.null()
|
|
1926
|
+
])
|
|
1927
|
+
});
|
|
1928
|
+
var zElementInstanceWaitStateResult = z.object({
|
|
1929
|
+
waitStateType: zWaitStateTypeEnum,
|
|
1930
|
+
rootProcessInstanceKey: z.union([
|
|
1931
|
+
zProcessInstanceKey,
|
|
1932
|
+
z.null()
|
|
1933
|
+
]),
|
|
1934
|
+
processInstanceKey: zProcessInstanceKey,
|
|
1935
|
+
elementInstanceKey: zElementInstanceKey,
|
|
1936
|
+
elementId: zElementId,
|
|
1937
|
+
elementType: zWaitStateElementTypeEnum,
|
|
1938
|
+
tenantId: zTenantId,
|
|
1939
|
+
jobDetails: z.union([
|
|
1940
|
+
zJobWaitStateDetails,
|
|
1941
|
+
z.null()
|
|
1942
|
+
]),
|
|
1943
|
+
messageDetails: z.union([
|
|
1944
|
+
zMessageWaitStateDetails,
|
|
1945
|
+
z.null()
|
|
1946
|
+
])
|
|
1947
|
+
}).register(z.globalRegistry, {
|
|
1948
|
+
description: "An element instance waiting state."
|
|
1949
|
+
});
|
|
1828
1950
|
var zIncidentResult = z.object({
|
|
1829
1951
|
processDefinitionId: zProcessDefinitionId,
|
|
1830
1952
|
errorType: zIncidentErrorTypeEnum,
|
|
@@ -1889,7 +2011,10 @@ var zActivatedJobResult = z.object({
|
|
|
1889
2011
|
rootProcessInstanceKey: z.union([
|
|
1890
2012
|
zProcessInstanceKey,
|
|
1891
2013
|
z.null()
|
|
1892
|
-
])
|
|
2014
|
+
]),
|
|
2015
|
+
priority: z.int().register(z.globalRegistry, {
|
|
2016
|
+
description: "The priority of the job. Higher values indicate higher priority. Jobs created before 8.10 have no stored priority; the API returns 0 for such jobs.\n"
|
|
2017
|
+
})
|
|
1893
2018
|
});
|
|
1894
2019
|
var zJobActivationResult = z.object({
|
|
1895
2020
|
jobs: z.array(zActivatedJobResult).register(z.globalRegistry, {
|
|
@@ -1962,7 +2087,10 @@ var zJobSearchResult = z.object({
|
|
|
1962
2087
|
lastUpdateTime: z.union([
|
|
1963
2088
|
z.iso.datetime(),
|
|
1964
2089
|
z.null()
|
|
1965
|
-
])
|
|
2090
|
+
]),
|
|
2091
|
+
priority: z.int().register(z.globalRegistry, {
|
|
2092
|
+
description: "The priority of the job. Higher values indicate higher priority. Jobs created before 8.10 have no stored priority; they appear last when sorting by this field and are excluded when filtering by this field. The API returns 0 for such jobs.\n"
|
|
2093
|
+
})
|
|
1966
2094
|
});
|
|
1967
2095
|
var zDecisionDefinitionKey = zLongKey;
|
|
1968
2096
|
var zDecisionEvaluationByKey = z.object({
|
|
@@ -2405,7 +2533,16 @@ var zAgentInstanceResult = z.object({
|
|
|
2405
2533
|
}),
|
|
2406
2534
|
elementId: zElementId,
|
|
2407
2535
|
processInstanceKey: zProcessInstanceKey,
|
|
2536
|
+
rootProcessInstanceKey: zProcessInstanceKey,
|
|
2408
2537
|
processDefinitionKey: zProcessDefinitionKey,
|
|
2538
|
+
processDefinitionId: zProcessDefinitionId,
|
|
2539
|
+
processDefinitionVersion: z.int().register(z.globalRegistry, {
|
|
2540
|
+
description: "The version of the process definition associated with this agent instance."
|
|
2541
|
+
}),
|
|
2542
|
+
processDefinitionVersionTag: z.union([
|
|
2543
|
+
z.string(),
|
|
2544
|
+
z.null()
|
|
2545
|
+
]),
|
|
2409
2546
|
tenantId: zTenantId,
|
|
2410
2547
|
creationDate: z.iso.datetime().register(z.globalRegistry, {
|
|
2411
2548
|
description: "The date when this agent instance was created."
|
|
@@ -3554,7 +3691,7 @@ var zOffsetPagination = z.object({
|
|
|
3554
3691
|
})).default(100)
|
|
3555
3692
|
});
|
|
3556
3693
|
var zCursorForwardPagination = z.object({
|
|
3557
|
-
after: zEndCursor,
|
|
3694
|
+
after: z.optional(zEndCursor),
|
|
3558
3695
|
limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
|
|
3559
3696
|
description: "The maximum number of items to return in one request."
|
|
3560
3697
|
})).default(100)
|
|
@@ -3584,7 +3721,7 @@ var zJobErrorStatisticsQuery = z.object({
|
|
|
3584
3721
|
description: "Job error statistics query."
|
|
3585
3722
|
});
|
|
3586
3723
|
var zCursorBackwardPagination = z.object({
|
|
3587
|
-
before: zStartCursor,
|
|
3724
|
+
before: z.optional(zStartCursor),
|
|
3588
3725
|
limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
|
|
3589
3726
|
description: "The maximum number of items to return in one request."
|
|
3590
3727
|
})).default(100)
|
|
@@ -3914,6 +4051,7 @@ var zJobSearchQuerySortRequest = z.object({
|
|
|
3914
4051
|
"jobKey",
|
|
3915
4052
|
"kind",
|
|
3916
4053
|
"listenerEventType",
|
|
4054
|
+
"priority",
|
|
3917
4055
|
"processDefinitionId",
|
|
3918
4056
|
"processDefinitionKey",
|
|
3919
4057
|
"processInstanceKey",
|
|
@@ -4202,6 +4340,11 @@ var zElementInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
|
|
|
4202
4340
|
description: "The matching element instances."
|
|
4203
4341
|
})
|
|
4204
4342
|
}));
|
|
4343
|
+
var zElementInstanceWaitStateQueryResult = zSearchQueryResponse.and(z.object({
|
|
4344
|
+
items: z.array(zElementInstanceWaitStateResult).register(z.globalRegistry, {
|
|
4345
|
+
description: "The matching waiting states."
|
|
4346
|
+
})
|
|
4347
|
+
}));
|
|
4205
4348
|
var zGlobalTaskListenerSearchQueryResult = zSearchQueryResponse.and(z.object({
|
|
4206
4349
|
items: z.array(zGlobalTaskListenerResult).register(z.globalRegistry, {
|
|
4207
4350
|
description: "The matching global listeners."
|
|
@@ -4415,15 +4558,9 @@ var zJobMetricsConfigurationResponse = z.object({
|
|
|
4415
4558
|
description: "Configuration for job metrics collection and export."
|
|
4416
4559
|
});
|
|
4417
4560
|
var zDeploymentConfigurationResponse = z.object({
|
|
4418
|
-
isEnterprise: z.boolean().register(z.globalRegistry, {
|
|
4419
|
-
description: "Whether this is an enterprise deployment."
|
|
4420
|
-
}),
|
|
4421
4561
|
isMultiTenancyEnabled: z.boolean().register(z.globalRegistry, {
|
|
4422
4562
|
description: "Whether multi-tenancy is enabled."
|
|
4423
4563
|
}),
|
|
4424
|
-
contextPath: z.string().register(z.globalRegistry, {
|
|
4425
|
-
description: "The servlet context path for the deployment."
|
|
4426
|
-
}),
|
|
4427
4564
|
maxRequestSize: z.coerce.number().int().register(z.globalRegistry, {
|
|
4428
4565
|
description: "The maximum HTTP request size in bytes."
|
|
4429
4566
|
})
|
|
@@ -4462,25 +4599,9 @@ var zCloudStage = z.enum([
|
|
|
4462
4599
|
description: "The cloud deployment stage."
|
|
4463
4600
|
});
|
|
4464
4601
|
var zCloudConfigurationResponse = z.object({
|
|
4465
|
-
organizationId: z.union([
|
|
4466
|
-
z.string(),
|
|
4467
|
-
z.null()
|
|
4468
|
-
]),
|
|
4469
|
-
clusterId: z.union([
|
|
4470
|
-
z.string(),
|
|
4471
|
-
z.null()
|
|
4472
|
-
]),
|
|
4473
4602
|
stage: z.union([
|
|
4474
4603
|
zCloudStage,
|
|
4475
4604
|
z.null()
|
|
4476
|
-
]),
|
|
4477
|
-
mixpanelToken: z.union([
|
|
4478
|
-
z.string(),
|
|
4479
|
-
z.null()
|
|
4480
|
-
]),
|
|
4481
|
-
mixpanelAPIHost: z.union([
|
|
4482
|
-
z.string(),
|
|
4483
|
-
z.null()
|
|
4484
4605
|
])
|
|
4485
4606
|
}).register(z.globalRegistry, {
|
|
4486
4607
|
description: "Configuration for SaaS/cloud-specific settings."
|
|
@@ -5192,6 +5313,16 @@ var zElementInstanceStateFilterProperty = z.union([
|
|
|
5192
5313
|
zElementInstanceStateExactMatch,
|
|
5193
5314
|
zAdvancedElementInstanceStateFilter
|
|
5194
5315
|
]);
|
|
5316
|
+
var zWaitStateElementTypeExactMatch = zWaitStateElementTypeEnum;
|
|
5317
|
+
var zWaitStateElementTypeFilterProperty = z.union([
|
|
5318
|
+
zWaitStateElementTypeExactMatch,
|
|
5319
|
+
zAdvancedWaitStateElementTypeFilter
|
|
5320
|
+
]);
|
|
5321
|
+
var zWaitStateTypeExactMatch = zWaitStateTypeEnum;
|
|
5322
|
+
var zWaitStateTypeFilterProperty = z.union([
|
|
5323
|
+
zWaitStateTypeExactMatch,
|
|
5324
|
+
zAdvancedWaitStateTypeFilter
|
|
5325
|
+
]);
|
|
5195
5326
|
var zGlobalListenerSourceExactMatch = zGlobalListenerSourceEnum;
|
|
5196
5327
|
var zGlobalListenerSourceFilterProperty = z.union([
|
|
5197
5328
|
zGlobalListenerSourceExactMatch,
|
|
@@ -5230,7 +5361,7 @@ var zElementIdFilterProperty = z.union([
|
|
|
5230
5361
|
zElementIdExactMatch,
|
|
5231
5362
|
zAdvancedElementIdFilter
|
|
5232
5363
|
]);
|
|
5233
|
-
var
|
|
5364
|
+
var zElementInstanceFilterFields = z.object({
|
|
5234
5365
|
processDefinitionId: z.optional(zProcessDefinitionId),
|
|
5235
5366
|
state: z.optional(zElementInstanceStateFilterProperty),
|
|
5236
5367
|
type: z.optional(z.enum([
|
|
@@ -5281,8 +5412,13 @@ var zElementInstanceFilter = z.object({
|
|
|
5281
5412
|
zProcessInstanceKey
|
|
5282
5413
|
]))
|
|
5283
5414
|
}).register(z.globalRegistry, {
|
|
5284
|
-
description: "Element instance filter."
|
|
5415
|
+
description: "Element instance filter fields."
|
|
5285
5416
|
});
|
|
5417
|
+
var zElementInstanceFilter = zElementInstanceFilterFields.and(z.object({
|
|
5418
|
+
"$or": z.optional(z.array(zElementInstanceFilterFields).register(z.globalRegistry, {
|
|
5419
|
+
description: 'Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied.\n\nTop-level fields and the `$or` clause are combined using AND logic \u2014 meaning: (top-level filters) AND (any of the `$or` filters) must match.\n<br>\n<em>Example:</em>\n\n```json\n{\n "processInstanceKey": "2251799813685323",\n "$or": [\n { "elementName": { "$like": "*Order*" } },\n { "elementId": { "$like": "*Order*" } }\n ]\n}\n```\nThis matches element instances scoped to the given process instance whose:\n\n<ul style="padding-left: 20px; margin-left: 20px;">\n <li style="list-style-type: disc;"><code>elementName</code> contains <em>Order</em>, or</li>\n <li style="list-style-type: disc;"><code>elementId</code> contains <em>Order</em></li>\n</ul>\n<br>\n<p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.\n'
|
|
5420
|
+
}))
|
|
5421
|
+
}));
|
|
5286
5422
|
var zElementInstanceSearchQuery = zSearchQueryRequest.and(z.object({
|
|
5287
5423
|
sort: z.optional(z.array(zElementInstanceSearchQuerySortRequest).register(z.globalRegistry, {
|
|
5288
5424
|
description: "Sort field criteria."
|
|
@@ -5353,6 +5489,21 @@ var zElementInstanceKeyFilterProperty = z.union([
|
|
|
5353
5489
|
zElementInstanceKeyExactMatch,
|
|
5354
5490
|
zAdvancedElementInstanceKeyFilter
|
|
5355
5491
|
]);
|
|
5492
|
+
var zElementInstanceWaitStateFilter = z.object({
|
|
5493
|
+
elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
|
|
5494
|
+
processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
|
|
5495
|
+
rootProcessInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
|
|
5496
|
+
elementId: z.optional(zElementIdFilterProperty),
|
|
5497
|
+
elementType: z.optional(zWaitStateElementTypeFilterProperty),
|
|
5498
|
+
waitStateType: z.optional(zWaitStateTypeFilterProperty)
|
|
5499
|
+
}).register(z.globalRegistry, {
|
|
5500
|
+
description: "Filters for the element instance inspection."
|
|
5501
|
+
});
|
|
5502
|
+
var zElementInstanceWaitStateQuery = zSearchQueryRequest.and(z.object({
|
|
5503
|
+
filter: z.optional(zElementInstanceWaitStateFilter)
|
|
5504
|
+
}).register(z.globalRegistry, {
|
|
5505
|
+
description: "Element instance inspection request."
|
|
5506
|
+
}));
|
|
5356
5507
|
var zJobKeyExactMatch = zJobKey;
|
|
5357
5508
|
var zJobKeyFilterProperty = z.union([
|
|
5358
5509
|
zJobKeyExactMatch,
|
|
@@ -5401,6 +5552,7 @@ var zJobFilter = z.object({
|
|
|
5401
5552
|
jobKey: z.optional(zJobKeyFilterProperty),
|
|
5402
5553
|
kind: z.optional(zJobKindFilterProperty),
|
|
5403
5554
|
listenerEventType: z.optional(zJobListenerEventTypeFilterProperty),
|
|
5555
|
+
priority: z.optional(zIntegerFilterProperty),
|
|
5404
5556
|
processDefinitionId: z.optional(zStringFilterProperty),
|
|
5405
5557
|
processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
|
|
5406
5558
|
processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
|
|
@@ -5480,7 +5632,10 @@ var zAgentInstanceFilter = z.object({
|
|
|
5480
5632
|
completionDate: z.optional(zDateTimeFilterProperty),
|
|
5481
5633
|
elementInstanceKeys: z.optional(z.array(zElementInstanceKeyFilterProperty).register(z.globalRegistry, {
|
|
5482
5634
|
description: "The keys of element instances associated with this agent instance.\nIf multiple keys are provided, the filter matches agent instances associated with all of the provided keys at the same time."
|
|
5483
|
-
}))
|
|
5635
|
+
})),
|
|
5636
|
+
processDefinitionId: z.optional(zStringFilterProperty),
|
|
5637
|
+
processDefinitionVersion: z.optional(zIntegerFilterProperty),
|
|
5638
|
+
processDefinitionVersionTag: z.optional(zStringFilterProperty)
|
|
5484
5639
|
}).register(z.globalRegistry, {
|
|
5485
5640
|
description: "Agent instance search filter."
|
|
5486
5641
|
});
|
|
@@ -6231,6 +6386,12 @@ var zActivateAdHocSubProcessActivitiesData = z.object({
|
|
|
6231
6386
|
var zActivateAdHocSubProcessActivitiesResponse = z.void().register(z.globalRegistry, {
|
|
6232
6387
|
description: "The ad-hoc sub-process instance is modified."
|
|
6233
6388
|
});
|
|
6389
|
+
var zSearchElementInstanceWaitStatesData = z.object({
|
|
6390
|
+
body: z.optional(zElementInstanceWaitStateQuery),
|
|
6391
|
+
path: z.optional(z.never()),
|
|
6392
|
+
query: z.optional(z.never())
|
|
6393
|
+
});
|
|
6394
|
+
var zSearchElementInstanceWaitStatesResponse = zElementInstanceWaitStateQueryResult;
|
|
6234
6395
|
var zSearchElementInstancesData = z.object({
|
|
6235
6396
|
body: z.optional(zElementInstanceSearchQuery),
|
|
6236
6397
|
path: z.optional(z.never()),
|
|
@@ -7489,6 +7650,8 @@ export {
|
|
|
7489
7650
|
zAdvancedStringFilter,
|
|
7490
7651
|
zAdvancedUserTaskStateFilter,
|
|
7491
7652
|
zAdvancedVariableKeyFilter,
|
|
7653
|
+
zAdvancedWaitStateElementTypeFilter,
|
|
7654
|
+
zAdvancedWaitStateTypeFilter,
|
|
7492
7655
|
zAgentInstanceCreationRequest,
|
|
7493
7656
|
zAgentInstanceCreationResult,
|
|
7494
7657
|
zAgentInstanceDefinition,
|
|
@@ -7507,6 +7670,7 @@ export {
|
|
|
7507
7670
|
zAgentInstanceStatusExactMatch,
|
|
7508
7671
|
zAgentInstanceStatusFilterProperty,
|
|
7509
7672
|
zAgentInstanceUpdateRequest,
|
|
7673
|
+
zAgentInstanceUpdateStatusEnum,
|
|
7510
7674
|
zAgentTool,
|
|
7511
7675
|
zAncestorScopeInstruction,
|
|
7512
7676
|
zAssignClientToGroupData,
|
|
@@ -7771,6 +7935,7 @@ export {
|
|
|
7771
7935
|
zElementIdExactMatch,
|
|
7772
7936
|
zElementIdFilterProperty,
|
|
7773
7937
|
zElementInstanceFilter,
|
|
7938
|
+
zElementInstanceFilterFields,
|
|
7774
7939
|
zElementInstanceKey,
|
|
7775
7940
|
zElementInstanceKeyExactMatch,
|
|
7776
7941
|
zElementInstanceKeyFilterProperty,
|
|
@@ -7781,6 +7946,10 @@ export {
|
|
|
7781
7946
|
zElementInstanceStateEnum,
|
|
7782
7947
|
zElementInstanceStateExactMatch,
|
|
7783
7948
|
zElementInstanceStateFilterProperty,
|
|
7949
|
+
zElementInstanceWaitStateFilter,
|
|
7950
|
+
zElementInstanceWaitStateQuery,
|
|
7951
|
+
zElementInstanceWaitStateQueryResult,
|
|
7952
|
+
zElementInstanceWaitStateResult,
|
|
7784
7953
|
zEndCursor,
|
|
7785
7954
|
zEntityTypeExactMatch,
|
|
7786
7955
|
zEntityTypeFilterProperty,
|
|
@@ -8009,6 +8178,7 @@ export {
|
|
|
8009
8178
|
zJobTypeStatisticsQuery,
|
|
8010
8179
|
zJobTypeStatisticsQueryResult,
|
|
8011
8180
|
zJobUpdateRequest,
|
|
8181
|
+
zJobWaitStateDetails,
|
|
8012
8182
|
zJobWorkerStatisticsFilter,
|
|
8013
8183
|
zJobWorkerStatisticsItem,
|
|
8014
8184
|
zJobWorkerStatisticsQuery,
|
|
@@ -8049,6 +8219,7 @@ export {
|
|
|
8049
8219
|
zMessageSubscriptionTypeEnum,
|
|
8050
8220
|
zMessageSubscriptionTypeExactMatch,
|
|
8051
8221
|
zMessageSubscriptionTypeFilterProperty,
|
|
8222
|
+
zMessageWaitStateDetails,
|
|
8052
8223
|
zMigrateProcessInstanceData,
|
|
8053
8224
|
zMigrateProcessInstanceMappingInstruction,
|
|
8054
8225
|
zMigrateProcessInstanceResponse,
|
|
@@ -8208,6 +8379,8 @@ export {
|
|
|
8208
8379
|
zSearchDecisionRequirementsResponse,
|
|
8209
8380
|
zSearchElementInstanceIncidentsData,
|
|
8210
8381
|
zSearchElementInstanceIncidentsResponse,
|
|
8382
|
+
zSearchElementInstanceWaitStatesData,
|
|
8383
|
+
zSearchElementInstanceWaitStatesResponse,
|
|
8211
8384
|
zSearchElementInstancesData,
|
|
8212
8385
|
zSearchElementInstancesResponse,
|
|
8213
8386
|
zSearchGlobalTaskListenersData,
|
|
@@ -8409,6 +8582,12 @@ export {
|
|
|
8409
8582
|
zVariableSearchQuerySortRequest,
|
|
8410
8583
|
zVariableSearchResult,
|
|
8411
8584
|
zVariableValueFilterProperty,
|
|
8585
|
+
zWaitStateElementTypeEnum,
|
|
8586
|
+
zWaitStateElementTypeExactMatch,
|
|
8587
|
+
zWaitStateElementTypeFilterProperty,
|
|
8588
|
+
zWaitStateTypeEnum,
|
|
8589
|
+
zWaitStateTypeExactMatch,
|
|
8590
|
+
zWaitStateTypeFilterProperty,
|
|
8412
8591
|
zWebappComponent
|
|
8413
8592
|
};
|
|
8414
|
-
//# sourceMappingURL=zod.gen-
|
|
8593
|
+
//# sourceMappingURL=zod.gen-6GOHR6NK.js.map
|