@camunda8/orchestration-cluster-api 10.0.0-alpha.26 → 10.0.0-alpha.27
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-UXIQXURB.js → chunk-JXLQEQ7J.js} +142 -4
- package/dist/chunk-JXLQEQ7J.js.map +1 -0
- package/dist/fp/index.cjs +355 -20
- 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-BBCo5RdH.d.cts → index-BM6Qesi8.d.cts} +558 -27
- package/dist/{index-DUyZASqV.d.ts → index-k-KjzBzJ.d.ts} +558 -27
- package/dist/index.cjs +388 -22
- 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 +32 -3
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-4DQL5SMC.js → zod.gen-MZNYXG52.js} +215 -18
- package/dist/zod.gen-MZNYXG52.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-UXIQXURB.js.map +0 -1
- package/dist/zod.gen-4DQL5SMC.js.map +0 -1
|
@@ -2,6 +2,13 @@ import "./chunk-DGUM43GV.js";
|
|
|
2
2
|
|
|
3
3
|
// src/gen/zod.gen.ts
|
|
4
4
|
import * as z from "zod";
|
|
5
|
+
var zAgentDefinitionTypeEnum = z.enum([
|
|
6
|
+
"AI_AGENT_SUB_PROCESS",
|
|
7
|
+
"AI_AGENT_TASK",
|
|
8
|
+
"EXTERNAL_AGENT"
|
|
9
|
+
]).register(z.globalRegistry, {
|
|
10
|
+
description: "The kind of agent an agent definition describes."
|
|
11
|
+
});
|
|
5
12
|
var zAgentInstanceDefinition = z.object({
|
|
6
13
|
model: z.string().register(z.globalRegistry, {
|
|
7
14
|
description: "The LLM model identifier (for example, gpt-4o)."
|
|
@@ -91,7 +98,8 @@ var zAgentInstanceMetricsDelta = z.object({
|
|
|
91
98
|
var zAgentInstanceHistoryRoleEnum = z.enum([
|
|
92
99
|
"USER",
|
|
93
100
|
"ASSISTANT",
|
|
94
|
-
"TOOL_RESULT"
|
|
101
|
+
"TOOL_RESULT",
|
|
102
|
+
"CONFIGURATION"
|
|
95
103
|
]).register(z.globalRegistry, {
|
|
96
104
|
description: "The role of a history item in the agent conversation."
|
|
97
105
|
});
|
|
@@ -139,7 +147,7 @@ var zAgentInstanceToolCall = z.object({
|
|
|
139
147
|
elementId: z.string().nullable(),
|
|
140
148
|
arguments: z.record(z.string(), z.unknown()).nullable()
|
|
141
149
|
}).register(z.globalRegistry, {
|
|
142
|
-
description: "A tool call associated with a history item. Used in both ASSISTANT and TOOL_RESULT items.\
|
|
150
|
+
description: "A tool call associated with a history item. Used in both ASSISTANT and TOOL_RESULT items.\n"
|
|
143
151
|
});
|
|
144
152
|
var zAgentInstanceHistoryItemMetrics = z.object({
|
|
145
153
|
inputTokens: z.coerce.number().int().min(-9223372036854776e3, { error: "Invalid value: Expected int64 to be >= -9223372036854775808" }).max(9223372036854776e3, { error: "Invalid value: Expected int64 to be <= 9223372036854775807" }).nullable(),
|
|
@@ -945,6 +953,22 @@ var zExpressionEvaluationResult = z.object({
|
|
|
945
953
|
var zLikeFilter = z.string().register(z.globalRegistry, {
|
|
946
954
|
description: "Checks if the property matches the provided like value.\n\nSupported wildcard characters are:\n\n* `*`: matches zero, one, or multiple characters.\n* `?`: matches one, single character.\n\nWildcard characters can be escaped with backslash, for instance: `\\*`.\n"
|
|
947
955
|
});
|
|
956
|
+
var zAdvancedAgentDefinitionTypeFilter = z.object({
|
|
957
|
+
$eq: zAgentDefinitionTypeEnum.optional(),
|
|
958
|
+
$neq: zAgentDefinitionTypeEnum.optional(),
|
|
959
|
+
$exists: z.boolean().register(z.globalRegistry, {
|
|
960
|
+
description: "Checks if the current property exists."
|
|
961
|
+
}).optional(),
|
|
962
|
+
$in: z.array(zAgentDefinitionTypeEnum).register(z.globalRegistry, {
|
|
963
|
+
description: "Checks if the property matches any of the provided values."
|
|
964
|
+
}).optional(),
|
|
965
|
+
$notIn: z.array(zAgentDefinitionTypeEnum).register(z.globalRegistry, {
|
|
966
|
+
description: "Checks if the property matches none of the provided values."
|
|
967
|
+
}).optional(),
|
|
968
|
+
$like: zLikeFilter.optional()
|
|
969
|
+
}).register(z.globalRegistry, {
|
|
970
|
+
description: "Advanced AgentDefinitionTypeEnum filter."
|
|
971
|
+
});
|
|
948
972
|
var zAdvancedAgentInstanceStatusFilter = z.object({
|
|
949
973
|
$eq: zAgentInstanceStatusEnum.optional(),
|
|
950
974
|
$neq: zAgentInstanceStatusEnum.optional(),
|
|
@@ -1514,7 +1538,7 @@ var zBusinessId = z.string().min(1).max(256).register(z.globalRegistry, {
|
|
|
1514
1538
|
description: "An optional, user-defined string identifier that identifies the process instance\nwithin the scope of a process definition (scoped by tenant). If provided and uniqueness\nenforcement is enabled, the engine will reject creation if another root process instance\nwith the same business id is already active for the same process definition.\nNote that any active child process instances with the same business id are not taken into account.\n"
|
|
1515
1539
|
});
|
|
1516
1540
|
var zLoopIterationId = z.int().gte(1).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).register(z.globalRegistry, {
|
|
1517
|
-
description: "A client-provided sequential integer identifying one pass
|
|
1541
|
+
description: "A client-provided sequential integer identifying a loop iteration: one pass\nthrough an AI agent's loop, during which the model reasons, selects tools,\nevaluates the result, and decides whether to continue. One iteration covers\nthe input for the LLM call, the call itself, and the tools it dispatches;\nthe results of those tool calls are input to the next iteration. Must be a\npositive integer, increasing with each loopIteration. Established by the\nconnector when appending the first history item of a loopIteration.\n"
|
|
1518
1542
|
});
|
|
1519
1543
|
var zAdvancedElementIdFilter = z.object({
|
|
1520
1544
|
$eq: zElementId.optional(),
|
|
@@ -2032,6 +2056,23 @@ var zAgentInstanceMessageContent = z.discriminatedUnion("contentType", [
|
|
|
2032
2056
|
zAgentInstanceDocumentContent.extend({ contentType: z.literal("DOCUMENT") }),
|
|
2033
2057
|
zAgentInstanceObjectContent.extend({ contentType: z.literal("OBJECT") })
|
|
2034
2058
|
]);
|
|
2059
|
+
var zAgentInstanceHistoryItem = z.object({
|
|
2060
|
+
historyItemId: z.string().register(z.globalRegistry, {
|
|
2061
|
+
description: "Caller-assigned identifier used to detect and dedupe retries of the same\nitem. For example, when a retried job activation resubmits history items\nit already sent in an earlier attempt, those items are not rejected; they\nare flagged via isDuplicate in the response instead. Must be non-blank.\n"
|
|
2062
|
+
}),
|
|
2063
|
+
loopIteration: zLoopIterationId,
|
|
2064
|
+
role: zAgentInstanceHistoryRoleEnum,
|
|
2065
|
+
content: z.array(zAgentInstanceMessageContent).register(z.globalRegistry, {
|
|
2066
|
+
description: "The content blocks of this history item."
|
|
2067
|
+
}),
|
|
2068
|
+
toolCalls: z.array(zAgentInstanceToolCall).nullish(),
|
|
2069
|
+
metrics: zAgentInstanceHistoryItemMetrics.nullish(),
|
|
2070
|
+
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2071
|
+
description: "The agent-side timestamp of when this message was produced."
|
|
2072
|
+
})
|
|
2073
|
+
}).register(z.globalRegistry, {
|
|
2074
|
+
description: "A single history item to append to the agent instance's conversation history,\nsubmitted as part of the batch on an agent instance update request.\n"
|
|
2075
|
+
});
|
|
2035
2076
|
var zDocumentCreationBatchResponse = z.object({
|
|
2036
2077
|
failedDocuments: z.array(zDocumentCreationFailureDetail).register(z.globalRegistry, {
|
|
2037
2078
|
description: "Documents that were successfully created."
|
|
@@ -2094,14 +2135,6 @@ var zAgentInstanceCreationRequest = z.object({
|
|
|
2094
2135
|
}).register(z.globalRegistry, {
|
|
2095
2136
|
description: "Request to create a new agent instance."
|
|
2096
2137
|
});
|
|
2097
|
-
var zAgentInstanceUpdateRequest = z.object({
|
|
2098
|
-
elementInstanceKey: zElementInstanceKey,
|
|
2099
|
-
status: zAgentInstanceUpdateStatusEnum.optional(),
|
|
2100
|
-
metrics: zAgentInstanceMetricsDelta.optional(),
|
|
2101
|
-
tools: z.array(zAgentTool).nullish()
|
|
2102
|
-
}).register(z.globalRegistry, {
|
|
2103
|
-
description: "Request to update the mutable state of an agent instance.\n"
|
|
2104
|
-
});
|
|
2105
2138
|
var zUserTaskKey = zLongKey;
|
|
2106
2139
|
var zUserTaskWaitStateDetails = zBaseWaitStateDetails.and(z.object({
|
|
2107
2140
|
taskKey: zUserTaskKey,
|
|
@@ -2226,6 +2259,17 @@ var zElementInstanceResult = z.object({
|
|
|
2226
2259
|
incidentKey: zIncidentKey.nullable()
|
|
2227
2260
|
});
|
|
2228
2261
|
var zJobKey = zLongKey;
|
|
2262
|
+
var zAgentInstanceUpdateRequest = z.object({
|
|
2263
|
+
elementInstanceKey: zElementInstanceKey,
|
|
2264
|
+
status: zAgentInstanceUpdateStatusEnum.optional(),
|
|
2265
|
+
metrics: zAgentInstanceMetricsDelta.optional(),
|
|
2266
|
+
tools: z.array(zAgentTool).nullish(),
|
|
2267
|
+
jobKey: zJobKey.nullish(),
|
|
2268
|
+
jobLease: z.string().nullish(),
|
|
2269
|
+
history: z.array(zAgentInstanceHistoryItem).nullish()
|
|
2270
|
+
}).register(z.globalRegistry, {
|
|
2271
|
+
description: "Request to update the mutable state of an agent instance.\n"
|
|
2272
|
+
});
|
|
2229
2273
|
var zAgentInstanceHistoryItemRequest = z.object({
|
|
2230
2274
|
elementInstanceKey: zElementInstanceKey,
|
|
2231
2275
|
jobKey: zJobKey,
|
|
@@ -2240,7 +2284,7 @@ var zAgentInstanceHistoryItemRequest = z.object({
|
|
|
2240
2284
|
toolCalls: z.array(zAgentInstanceToolCall).nullish(),
|
|
2241
2285
|
metrics: zAgentInstanceHistoryItemMetrics.nullish(),
|
|
2242
2286
|
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2243
|
-
description: "The
|
|
2287
|
+
description: "The agent-side timestamp of when this message was produced."
|
|
2244
2288
|
})
|
|
2245
2289
|
}).register(z.globalRegistry, {
|
|
2246
2290
|
description: "Request to append a single history item to an agent instance's conversation history."
|
|
@@ -2759,6 +2803,24 @@ var zJobUpdateRequest = z.object({
|
|
|
2759
2803
|
operationReference: zOperationReference.optional(),
|
|
2760
2804
|
leaseToken: z.string().nullish()
|
|
2761
2805
|
});
|
|
2806
|
+
var zAgentDefinitionKey = zLongKey;
|
|
2807
|
+
var zAgentDefinitionResult = z.object({
|
|
2808
|
+
agentDefinitionKey: zAgentDefinitionKey,
|
|
2809
|
+
agentType: zAgentDefinitionTypeEnum,
|
|
2810
|
+
name: z.string().register(z.globalRegistry, {
|
|
2811
|
+
description: "The human-readable name of the process element that owns the agent definition. Falls\nback to elementId when the element has no BPMN name configured.\n"
|
|
2812
|
+
}),
|
|
2813
|
+
elementId: zElementId,
|
|
2814
|
+
processDefinitionId: zProcessDefinitionId,
|
|
2815
|
+
processDefinitionKey: zProcessDefinitionKey,
|
|
2816
|
+
processDefinitionVersion: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).register(z.globalRegistry, {
|
|
2817
|
+
description: "The version of the process definition that owns the agent definition."
|
|
2818
|
+
}),
|
|
2819
|
+
processDefinitionVersionTag: z.string().nullable(),
|
|
2820
|
+
tenantId: zTenantId
|
|
2821
|
+
}).register(z.globalRegistry, {
|
|
2822
|
+
description: "An agent definition, created at deploy time for the process element it belongs to."
|
|
2823
|
+
});
|
|
2762
2824
|
var zAgentInstanceKey = zLongKey;
|
|
2763
2825
|
var zAgentInstanceResult = z.object({
|
|
2764
2826
|
agentInstanceKey: zAgentInstanceKey,
|
|
@@ -2796,6 +2858,24 @@ var zAgentInstanceCreationResult = z.object({
|
|
|
2796
2858
|
description: "Response returned after successfully creating an agent instance."
|
|
2797
2859
|
});
|
|
2798
2860
|
var zAgentHistoryItemKey = zLongKey;
|
|
2861
|
+
var zAgentInstanceCreatedHistoryItem = z.object({
|
|
2862
|
+
historyItemId: z.string().register(z.globalRegistry, {
|
|
2863
|
+
description: "The historyItemId of the corresponding item in the request, echoed back\nso callers can correlate response entries with request items by id.\n"
|
|
2864
|
+
}),
|
|
2865
|
+
historyItemKey: zAgentHistoryItemKey,
|
|
2866
|
+
isDuplicate: z.boolean().register(z.globalRegistry, {
|
|
2867
|
+
description: "True if this item had already been recorded and no new AGENT_HISTORY event\nwas created for it; false if a new event was created.\n"
|
|
2868
|
+
})
|
|
2869
|
+
}).register(z.globalRegistry, {
|
|
2870
|
+
description: "The outcome of appending a single history item from an update request's\nhistory batch.\n"
|
|
2871
|
+
});
|
|
2872
|
+
var zAgentInstanceUpdateResult = z.object({
|
|
2873
|
+
createdHistory: z.array(zAgentInstanceCreatedHistoryItem).register(z.globalRegistry, {
|
|
2874
|
+
description: "One entry per history item submitted in the request, in request order.\nEmpty when no history items were submitted.\n"
|
|
2875
|
+
})
|
|
2876
|
+
}).register(z.globalRegistry, {
|
|
2877
|
+
description: "Response returned after successfully updating an agent instance."
|
|
2878
|
+
});
|
|
2799
2879
|
var zAgentInstanceHistoryItemCreationResult = z.object({
|
|
2800
2880
|
historyItemKey: zAgentHistoryItemKey
|
|
2801
2881
|
}).register(z.globalRegistry, {
|
|
@@ -2803,6 +2883,9 @@ var zAgentInstanceHistoryItemCreationResult = z.object({
|
|
|
2803
2883
|
});
|
|
2804
2884
|
var zAgentInstanceHistoryItemResult = z.object({
|
|
2805
2885
|
historyItemKey: zAgentHistoryItemKey,
|
|
2886
|
+
historyItemId: z.string().register(z.globalRegistry, {
|
|
2887
|
+
description: "The client-supplied identifier this item was created with. Empty for items that don't\ncarry one.\n"
|
|
2888
|
+
}),
|
|
2806
2889
|
agentInstanceKey: zAgentInstanceKey,
|
|
2807
2890
|
elementInstanceKey: zElementInstanceKey,
|
|
2808
2891
|
jobKey: zJobKey,
|
|
@@ -2815,12 +2898,21 @@ var zAgentInstanceHistoryItemResult = z.object({
|
|
|
2815
2898
|
description: "The content blocks of this history item."
|
|
2816
2899
|
}),
|
|
2817
2900
|
toolCalls: z.array(zAgentInstanceToolCall).register(z.globalRegistry, {
|
|
2818
|
-
description: "Tool calls for this item. Empty for USER items and ASSISTANT items with no tool dispatches.\nASSISTANT items: dispatched tool calls
|
|
2901
|
+
description: "Tool calls for this item. Empty for USER items and ASSISTANT items with no tool dispatches.\nASSISTANT items: dispatched tool calls.\nTOOL_RESULT items: single-entry array referencing the originating tool call.\n"
|
|
2819
2902
|
}),
|
|
2820
2903
|
metrics: zAgentInstanceHistoryItemMetrics.nullable(),
|
|
2821
2904
|
commitStatus: zAgentInstanceHistoryCommitStatusEnum,
|
|
2822
2905
|
producedAt: z.iso.datetime().register(z.globalRegistry, {
|
|
2823
|
-
description: "The
|
|
2906
|
+
description: "The agent-side timestamp of when this message was produced."
|
|
2907
|
+
}),
|
|
2908
|
+
tools: z.array(zAgentTool).register(z.globalRegistry, {
|
|
2909
|
+
description: "The complete list of tools available to the agent as of this entry. CONFIGURATION\nitems only; empty for other roles.\n"
|
|
2910
|
+
}),
|
|
2911
|
+
model: z.string().nullable(),
|
|
2912
|
+
provider: z.string().nullable(),
|
|
2913
|
+
limits: zAgentInstanceLimits,
|
|
2914
|
+
systemPrompt: z.array(zAgentInstanceMessageContent).register(z.globalRegistry, {
|
|
2915
|
+
description: "The system prompt, as content blocks, as of this entry. CONFIGURATION items only;\nempty for other roles.\n"
|
|
2824
2916
|
})
|
|
2825
2917
|
}).register(z.globalRegistry, {
|
|
2826
2918
|
description: "A single conversation history item belonging to an agent instance."
|
|
@@ -2985,6 +3077,21 @@ var zAdvancedDecisionEvaluationInstanceKeyFilter = z.object({
|
|
|
2985
3077
|
}).register(z.globalRegistry, {
|
|
2986
3078
|
description: "Advanced DecisionEvaluationInstanceKey filter."
|
|
2987
3079
|
});
|
|
3080
|
+
var zAdvancedAgentDefinitionKeyFilter = z.object({
|
|
3081
|
+
$eq: zAgentDefinitionKey.optional(),
|
|
3082
|
+
$neq: zAgentDefinitionKey.optional(),
|
|
3083
|
+
$exists: z.boolean().register(z.globalRegistry, {
|
|
3084
|
+
description: "Checks if the current property exists."
|
|
3085
|
+
}).optional(),
|
|
3086
|
+
$in: z.array(zAgentDefinitionKey).register(z.globalRegistry, {
|
|
3087
|
+
description: "Checks if the property matches any of the provided values."
|
|
3088
|
+
}).optional(),
|
|
3089
|
+
$notIn: z.array(zAgentDefinitionKey).register(z.globalRegistry, {
|
|
3090
|
+
description: "Checks if the property matches none of the provided values."
|
|
3091
|
+
}).optional()
|
|
3092
|
+
}).register(z.globalRegistry, {
|
|
3093
|
+
description: "Advanced AgentDefinitionKey filter."
|
|
3094
|
+
});
|
|
2988
3095
|
var zAdvancedAgentInstanceKeyFilter = z.object({
|
|
2989
3096
|
$eq: zAgentInstanceKey.optional(),
|
|
2990
3097
|
$neq: zAgentInstanceKey.optional(),
|
|
@@ -3901,6 +4008,22 @@ var zProcessDefinitionVariableNameSearchQuery = zSearchQueryRequest.and(z.object
|
|
|
3901
4008
|
var zSortOrderEnum = z.enum(["ASC", "DESC"]).register(z.globalRegistry, {
|
|
3902
4009
|
description: "The order in which to sort the related field."
|
|
3903
4010
|
}).default("ASC");
|
|
4011
|
+
var zAgentDefinitionSearchQuerySortRequest = z.object({
|
|
4012
|
+
field: z.enum([
|
|
4013
|
+
"agentDefinitionKey",
|
|
4014
|
+
"agentType",
|
|
4015
|
+
"name",
|
|
4016
|
+
"elementId",
|
|
4017
|
+
"processDefinitionId",
|
|
4018
|
+
"processDefinitionKey",
|
|
4019
|
+
"processDefinitionVersion",
|
|
4020
|
+
"processDefinitionVersionTag",
|
|
4021
|
+
"tenantId"
|
|
4022
|
+
]).register(z.globalRegistry, {
|
|
4023
|
+
description: "The field to sort by."
|
|
4024
|
+
}),
|
|
4025
|
+
order: zSortOrderEnum.optional()
|
|
4026
|
+
});
|
|
3904
4027
|
var zAgentInstanceSearchQuerySortRequest = z.object({
|
|
3905
4028
|
field: z.enum([
|
|
3906
4029
|
"agentInstanceKey",
|
|
@@ -4445,6 +4568,13 @@ var zSearchQueryPageResponse = z.object({
|
|
|
4445
4568
|
var zSearchQueryResponse = z.object({
|
|
4446
4569
|
page: zSearchQueryPageResponse
|
|
4447
4570
|
});
|
|
4571
|
+
var zAgentDefinitionSearchQueryResult = zSearchQueryResponse.and(z.object({
|
|
4572
|
+
items: z.array(zAgentDefinitionResult).register(z.globalRegistry, {
|
|
4573
|
+
description: "The matching agent definitions."
|
|
4574
|
+
})
|
|
4575
|
+
}).register(z.globalRegistry, {
|
|
4576
|
+
description: "Agent definition search response."
|
|
4577
|
+
}));
|
|
4448
4578
|
var zAgentInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
|
|
4449
4579
|
items: z.array(zAgentInstanceResult).register(z.globalRegistry, {
|
|
4450
4580
|
description: "The matching agent instances."
|
|
@@ -5298,6 +5428,11 @@ default, with local set to \`false\`, scope '1' will be { "foo": 5 } and scope '
|
|
|
5298
5428
|
}).optional().default(false),
|
|
5299
5429
|
operationReference: zOperationReference.optional()
|
|
5300
5430
|
});
|
|
5431
|
+
var zAgentDefinitionTypeExactMatch = zAgentDefinitionTypeEnum;
|
|
5432
|
+
var zAgentDefinitionTypeFilterProperty = z.union([
|
|
5433
|
+
zAgentDefinitionTypeExactMatch,
|
|
5434
|
+
zAdvancedAgentDefinitionTypeFilter
|
|
5435
|
+
]);
|
|
5301
5436
|
var zAgentInstanceStatusExactMatch = zAgentInstanceStatusEnum;
|
|
5302
5437
|
var zAgentInstanceStatusFilterProperty = z.union([
|
|
5303
5438
|
zAgentInstanceStatusExactMatch,
|
|
@@ -5768,6 +5903,32 @@ var zDecisionEvaluationInstanceKeyFilterProperty = z.union([
|
|
|
5768
5903
|
zDecisionEvaluationInstanceKeyExactMatch,
|
|
5769
5904
|
zAdvancedDecisionEvaluationInstanceKeyFilter
|
|
5770
5905
|
]);
|
|
5906
|
+
var zAgentDefinitionKeyExactMatch = zAgentDefinitionKey;
|
|
5907
|
+
var zAgentDefinitionKeyFilterProperty = z.union([
|
|
5908
|
+
zAgentDefinitionKeyExactMatch,
|
|
5909
|
+
zAdvancedAgentDefinitionKeyFilter
|
|
5910
|
+
]);
|
|
5911
|
+
var zAgentDefinitionFilter = z.object({
|
|
5912
|
+
agentDefinitionKey: zAgentDefinitionKeyFilterProperty.optional(),
|
|
5913
|
+
agentType: zAgentDefinitionTypeFilterProperty.optional(),
|
|
5914
|
+
name: zStringFilterProperty.optional(),
|
|
5915
|
+
elementId: zElementIdFilterProperty.optional(),
|
|
5916
|
+
processDefinitionId: zProcessDefinitionIdFilterProperty.optional(),
|
|
5917
|
+
processDefinitionKey: zProcessDefinitionKeyFilterProperty.optional(),
|
|
5918
|
+
processDefinitionVersion: zIntegerFilterProperty.optional(),
|
|
5919
|
+
processDefinitionVersionTag: zStringFilterProperty.optional(),
|
|
5920
|
+
tenantId: zStringFilterProperty.optional()
|
|
5921
|
+
}).register(z.globalRegistry, {
|
|
5922
|
+
description: "Agent definition search filter."
|
|
5923
|
+
});
|
|
5924
|
+
var zAgentDefinitionSearchQuery = zSearchQueryRequest.and(z.object({
|
|
5925
|
+
sort: z.array(zAgentDefinitionSearchQuerySortRequest).register(z.globalRegistry, {
|
|
5926
|
+
description: "Sort field criteria."
|
|
5927
|
+
}).optional(),
|
|
5928
|
+
filter: zAgentDefinitionFilter.optional()
|
|
5929
|
+
}).register(z.globalRegistry, {
|
|
5930
|
+
description: "Agent definition search request."
|
|
5931
|
+
}));
|
|
5771
5932
|
var zAgentInstanceKeyExactMatch = zAgentInstanceKey;
|
|
5772
5933
|
var zAgentInstanceKeyFilterProperty = z.union([
|
|
5773
5934
|
zAgentInstanceKeyExactMatch,
|
|
@@ -6191,12 +6352,14 @@ var zResourceKeyWritable = z.union([
|
|
|
6191
6352
|
zDecisionDefinitionKeyWritable
|
|
6192
6353
|
]);
|
|
6193
6354
|
var zDecisionInstanceKeyWritable = zLongKey;
|
|
6355
|
+
var zAgentDefinitionKeyWritable = zLongKey;
|
|
6194
6356
|
var zAgentInstanceKeyWritable = zLongKey;
|
|
6195
6357
|
var zAgentHistoryItemKeyWritable = zLongKey;
|
|
6196
6358
|
var zAuditLogKeyWritable = zLongKey;
|
|
6197
6359
|
var zMessageSubscriptionKeyWritable = zLongKey;
|
|
6198
6360
|
var zMessageKeyWritable = zLongKey;
|
|
6199
6361
|
var zSignalKeyWritable = zLongKey;
|
|
6362
|
+
var zAgentDefinitionTypeExactMatchWritable = zAgentDefinitionTypeEnum;
|
|
6200
6363
|
var zAgentInstanceStatusExactMatchWritable = zAgentInstanceStatusEnum;
|
|
6201
6364
|
var zAgentInstanceHistoryRoleExactMatchWritable = zAgentInstanceHistoryRoleEnum;
|
|
6202
6365
|
var zAgentInstanceHistoryCommitStatusExactMatchWritable = zAgentInstanceHistoryCommitStatusEnum;
|
|
@@ -6234,6 +6397,7 @@ var zDecisionDefinitionKeyExactMatchWritable = zDecisionDefinitionKeyWritable;
|
|
|
6234
6397
|
var zScopeKeyExactMatchWritable = zScopeKeyWritable;
|
|
6235
6398
|
var zVariableKeyExactMatchWritable = zVariableKeyWritable;
|
|
6236
6399
|
var zDecisionEvaluationInstanceKeyExactMatchWritable = zDecisionEvaluationInstanceKey;
|
|
6400
|
+
var zAgentDefinitionKeyExactMatchWritable = zAgentDefinitionKeyWritable;
|
|
6237
6401
|
var zAgentInstanceKeyExactMatchWritable = zAgentInstanceKeyWritable;
|
|
6238
6402
|
var zAgentHistoryItemKeyExactMatchWritable = zAgentHistoryItemKeyWritable;
|
|
6239
6403
|
var zAuditLogKeyExactMatchWritable = zAuditLogKeyWritable;
|
|
@@ -6245,6 +6409,12 @@ var zMessageSubscriptionStateExactMatchWritable = zMessageSubscriptionStateEnum;
|
|
|
6245
6409
|
var zMessageSubscriptionKeyExactMatchWritable = zMessageSubscriptionKeyWritable;
|
|
6246
6410
|
var zProcessInstanceStateExactMatchWritable = zProcessInstanceStateEnum;
|
|
6247
6411
|
var zUserTaskStateExactMatchWritable = zUserTaskStateEnum;
|
|
6412
|
+
var zGetAgentDefinitionPath = z.object({
|
|
6413
|
+
agentDefinitionKey: zAgentDefinitionKeyWritable
|
|
6414
|
+
});
|
|
6415
|
+
var zGetAgentDefinitionResponse = zAgentDefinitionResult;
|
|
6416
|
+
var zSearchAgentDefinitionsBody = zAgentDefinitionSearchQuery;
|
|
6417
|
+
var zSearchAgentDefinitionsResponse = zAgentDefinitionSearchQueryResult;
|
|
6248
6418
|
var zCreateAgentInstanceBody = zAgentInstanceCreationRequest;
|
|
6249
6419
|
var zCreateAgentInstanceResponse = zAgentInstanceCreationResult;
|
|
6250
6420
|
var zGetAgentInstancePath = z.object({
|
|
@@ -6255,9 +6425,7 @@ var zUpdateAgentInstanceBody = zAgentInstanceUpdateRequest;
|
|
|
6255
6425
|
var zUpdateAgentInstancePath = z.object({
|
|
6256
6426
|
agentInstanceKey: zAgentInstanceKeyWritable
|
|
6257
6427
|
});
|
|
6258
|
-
var zUpdateAgentInstanceResponse =
|
|
6259
|
-
description: "The agent instance was updated successfully."
|
|
6260
|
-
});
|
|
6428
|
+
var zUpdateAgentInstanceResponse = zAgentInstanceUpdateResult;
|
|
6261
6429
|
var zSearchAgentInstancesBody = zAgentInstanceSearchQuery;
|
|
6262
6430
|
var zSearchAgentInstancesResponse = zAgentInstanceSearchQueryResult;
|
|
6263
6431
|
var zCreateAgentInstanceHistoryItemBody = zAgentInstanceHistoryItemRequest;
|
|
@@ -7169,6 +7337,11 @@ var zChangeClusterModeQuery = z.object({
|
|
|
7169
7337
|
var zChangeClusterModeResponse = zClusterModeChangeResponse;
|
|
7170
7338
|
var zGetRestoreStatusResponse = zRestoreStatusResponse;
|
|
7171
7339
|
var zRestoreBody = zRestoreRequest;
|
|
7340
|
+
var zRestoreQuery = z.object({
|
|
7341
|
+
dryRun: z.boolean().register(z.globalRegistry, {
|
|
7342
|
+
description: "If true, the requested change is only validated and the resulting plan is returned, without applying it to the cluster."
|
|
7343
|
+
}).optional().default(false)
|
|
7344
|
+
});
|
|
7172
7345
|
var zRestoreResponse = zClusterModeChangeResponse;
|
|
7173
7346
|
var zCreateUserBody = zUserRequest;
|
|
7174
7347
|
var zCreateUserResponse = zUserCreateResult;
|
|
@@ -7277,6 +7450,8 @@ export {
|
|
|
7277
7450
|
zAdHocSubProcessActivateActivitiesInstruction,
|
|
7278
7451
|
zAdHocSubProcessActivateActivityReference,
|
|
7279
7452
|
zAdvancedActorTypeFilter,
|
|
7453
|
+
zAdvancedAgentDefinitionKeyFilter,
|
|
7454
|
+
zAdvancedAgentDefinitionTypeFilter,
|
|
7280
7455
|
zAdvancedAgentHistoryItemKeyFilter,
|
|
7281
7456
|
zAdvancedAgentInstanceHistoryCommitStatusFilter,
|
|
7282
7457
|
zAdvancedAgentInstanceHistoryRoleFilter,
|
|
@@ -7328,11 +7503,26 @@ export {
|
|
|
7328
7503
|
zAdvancedVariableKeyFilter,
|
|
7329
7504
|
zAdvancedWaitStateElementTypeFilter,
|
|
7330
7505
|
zAdvancedWaitStateTypeFilter,
|
|
7506
|
+
zAgentDefinitionFilter,
|
|
7507
|
+
zAgentDefinitionKey,
|
|
7508
|
+
zAgentDefinitionKeyExactMatch,
|
|
7509
|
+
zAgentDefinitionKeyExactMatchWritable,
|
|
7510
|
+
zAgentDefinitionKeyFilterProperty,
|
|
7511
|
+
zAgentDefinitionKeyWritable,
|
|
7512
|
+
zAgentDefinitionResult,
|
|
7513
|
+
zAgentDefinitionSearchQuery,
|
|
7514
|
+
zAgentDefinitionSearchQueryResult,
|
|
7515
|
+
zAgentDefinitionSearchQuerySortRequest,
|
|
7516
|
+
zAgentDefinitionTypeEnum,
|
|
7517
|
+
zAgentDefinitionTypeExactMatch,
|
|
7518
|
+
zAgentDefinitionTypeExactMatchWritable,
|
|
7519
|
+
zAgentDefinitionTypeFilterProperty,
|
|
7331
7520
|
zAgentHistoryItemKey,
|
|
7332
7521
|
zAgentHistoryItemKeyExactMatch,
|
|
7333
7522
|
zAgentHistoryItemKeyExactMatchWritable,
|
|
7334
7523
|
zAgentHistoryItemKeyFilterProperty,
|
|
7335
7524
|
zAgentHistoryItemKeyWritable,
|
|
7525
|
+
zAgentInstanceCreatedHistoryItem,
|
|
7336
7526
|
zAgentInstanceCreationRequest,
|
|
7337
7527
|
zAgentInstanceCreationResult,
|
|
7338
7528
|
zAgentInstanceDefinition,
|
|
@@ -7343,6 +7533,7 @@ export {
|
|
|
7343
7533
|
zAgentInstanceHistoryCommitStatusExactMatchWritable,
|
|
7344
7534
|
zAgentInstanceHistoryCommitStatusFilterProperty,
|
|
7345
7535
|
zAgentInstanceHistoryFilter,
|
|
7536
|
+
zAgentInstanceHistoryItem,
|
|
7346
7537
|
zAgentInstanceHistoryItemCreationResult,
|
|
7347
7538
|
zAgentInstanceHistoryItemMetrics,
|
|
7348
7539
|
zAgentInstanceHistoryItemRequest,
|
|
@@ -7376,6 +7567,7 @@ export {
|
|
|
7376
7567
|
zAgentInstanceTextContent,
|
|
7377
7568
|
zAgentInstanceToolCall,
|
|
7378
7569
|
zAgentInstanceUpdateRequest,
|
|
7570
|
+
zAgentInstanceUpdateResult,
|
|
7379
7571
|
zAgentInstanceUpdateStatusEnum,
|
|
7380
7572
|
zAgentTool,
|
|
7381
7573
|
zAncestorScopeInstruction,
|
|
@@ -7756,6 +7948,8 @@ export {
|
|
|
7756
7948
|
zFormKeyFilterProperty,
|
|
7757
7949
|
zFormKeyWritable,
|
|
7758
7950
|
zFormResult,
|
|
7951
|
+
zGetAgentDefinitionPath,
|
|
7952
|
+
zGetAgentDefinitionResponse,
|
|
7759
7953
|
zGetAgentInstancePath,
|
|
7760
7954
|
zGetAgentInstanceResponse,
|
|
7761
7955
|
zGetAuditLogPath,
|
|
@@ -8167,6 +8361,7 @@ export {
|
|
|
8167
8361
|
zRestoreBody,
|
|
8168
8362
|
zRestoreBrokerStatus,
|
|
8169
8363
|
zRestorePartitionStatus,
|
|
8364
|
+
zRestoreQuery,
|
|
8170
8365
|
zRestoreRequest,
|
|
8171
8366
|
zRestoreResponse,
|
|
8172
8367
|
zRestoreStatusResponse,
|
|
@@ -8209,6 +8404,8 @@ export {
|
|
|
8209
8404
|
zScopeKeyExactMatchWritable,
|
|
8210
8405
|
zScopeKeyFilterProperty,
|
|
8211
8406
|
zScopeKeyWritable,
|
|
8407
|
+
zSearchAgentDefinitionsBody,
|
|
8408
|
+
zSearchAgentDefinitionsResponse,
|
|
8212
8409
|
zSearchAgentInstanceHistoryBody,
|
|
8213
8410
|
zSearchAgentInstanceHistoryPath,
|
|
8214
8411
|
zSearchAgentInstanceHistoryResponse,
|
|
@@ -8524,4 +8721,4 @@ export {
|
|
|
8524
8721
|
zWaitStateTypeFilterProperty,
|
|
8525
8722
|
zWebappComponent
|
|
8526
8723
|
};
|
|
8527
|
-
//# sourceMappingURL=zod.gen-
|
|
8724
|
+
//# sourceMappingURL=zod.gen-MZNYXG52.js.map
|