@camunda8/orchestration-cluster-api 9.1.2 → 10.0.0-alpha.10

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.
@@ -2,6 +2,194 @@ import "./chunk-DGUM43GV.js";
2
2
 
3
3
  // src/gen/zod.gen.ts
4
4
  import { z } from "zod";
5
+ var zAgentInstanceDefinition = z.object({
6
+ model: z.string().register(z.globalRegistry, {
7
+ description: "The LLM model identifier (for example, gpt-4o)."
8
+ }),
9
+ provider: z.string().register(z.globalRegistry, {
10
+ description: "The LLM provider (for example, openai or anthropic)."
11
+ }),
12
+ systemPrompt: z.string().register(z.globalRegistry, {
13
+ description: "The system prompt configured for this agent instance."
14
+ })
15
+ }).register(z.globalRegistry, {
16
+ description: "The static definition of an agent instance, set once at creation."
17
+ });
18
+ var zAgentTool = z.object({
19
+ name: z.string().register(z.globalRegistry, {
20
+ description: "The tool name as visible to the LLM."
21
+ }),
22
+ description: z.union([
23
+ z.string(),
24
+ z.null()
25
+ ]),
26
+ elementId: z.union([
27
+ z.string(),
28
+ z.null()
29
+ ])
30
+ }).register(z.globalRegistry, {
31
+ description: "A tool available to the agent."
32
+ });
33
+ var zAgentInstanceMetrics = z.object({
34
+ inputTokens: z.coerce.number().int().register(z.globalRegistry, {
35
+ description: "Total input tokens consumed across all model calls."
36
+ }),
37
+ outputTokens: z.coerce.number().int().register(z.globalRegistry, {
38
+ description: "Total output tokens produced across all model calls."
39
+ }),
40
+ modelCalls: z.int().register(z.globalRegistry, {
41
+ description: "Total number of LLM calls made."
42
+ }),
43
+ toolCalls: z.int().register(z.globalRegistry, {
44
+ description: "Total number of tool calls made."
45
+ })
46
+ }).register(z.globalRegistry, {
47
+ description: "Aggregated metrics for an agent instance across all model calls."
48
+ });
49
+ var zAgentInstanceLimits = z.object({
50
+ maxModelCalls: z.int().register(z.globalRegistry, {
51
+ description: "Maximum LLM calls allowed. -1 if no limit is configured."
52
+ }),
53
+ maxToolCalls: z.int().register(z.globalRegistry, {
54
+ description: "Maximum tool calls allowed. -1 if no limit is configured."
55
+ }),
56
+ maxTokens: z.coerce.number().int().register(z.globalRegistry, {
57
+ description: "Maximum total tokens allowed. -1 if no limit is configured."
58
+ })
59
+ }).register(z.globalRegistry, {
60
+ description: "The configured limits for an agent instance, set once at creation."
61
+ });
62
+ var zAgentInstanceStatusEnum = z.enum([
63
+ "UNKNOWN",
64
+ "COMPLETED",
65
+ "IDLE",
66
+ "INITIALIZING",
67
+ "THINKING",
68
+ "TOOL_CALLING",
69
+ "TOOL_DISCOVERY"
70
+ ]).register(z.globalRegistry, {
71
+ description: "The current status of an agent instance."
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
+ });
81
+ var zAgentInstanceMetricsDelta = z.object({
82
+ inputTokens: z.optional(z.coerce.number().int().gte(0).register(z.globalRegistry, {
83
+ description: "Increment to apply to the total input token counter."
84
+ })),
85
+ outputTokens: z.optional(z.coerce.number().int().gte(0).register(z.globalRegistry, {
86
+ description: "Increment to apply to the total output token counter."
87
+ })),
88
+ modelCalls: z.optional(z.int().gte(0).register(z.globalRegistry, {
89
+ description: "Increment to apply to the total model call counter."
90
+ })),
91
+ toolCalls: z.optional(z.int().gte(0).register(z.globalRegistry, {
92
+ description: "Increment to apply to the total tool call counter."
93
+ }))
94
+ }).register(z.globalRegistry, {
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"
96
+ });
97
+ var zAgentInstanceHistoryRoleEnum = z.enum([
98
+ "USER",
99
+ "ASSISTANT",
100
+ "TOOL_RESULT"
101
+ ]).register(z.globalRegistry, {
102
+ description: "The role of a history item in the agent conversation."
103
+ });
104
+ var zAgentInstanceHistoryCommitStatusEnum = z.enum([
105
+ "COMMITTED",
106
+ "PENDING",
107
+ "DISCARDED"
108
+ ]).register(z.globalRegistry, {
109
+ description: "The commit status of a history item.\nCOMMITTED: the producing job completed successfully.\nPENDING: the producing job is still active (in-flight).\nDISCARDED: the producing job failed; this item was superseded by a later activation.\n"
110
+ });
111
+ var zAgentInstanceTextContent = z.object({
112
+ contentType: z.string().register(z.globalRegistry, {
113
+ description: "The content type discriminator."
114
+ }),
115
+ text: z.string().register(z.globalRegistry, {
116
+ description: "The text content."
117
+ })
118
+ }).register(z.globalRegistry, {
119
+ description: "A plain-text content block."
120
+ });
121
+ var zAgentInstanceObjectContent = z.object({
122
+ contentType: z.string().register(z.globalRegistry, {
123
+ description: "The content type discriminator."
124
+ }),
125
+ object: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
126
+ description: "Arbitrary structured content."
127
+ })
128
+ }).register(z.globalRegistry, {
129
+ description: "An arbitrary structured content block."
130
+ });
131
+ var zAgentInstanceMessageContentTypeEnum = z.enum([
132
+ "TEXT",
133
+ "DOCUMENT",
134
+ "OBJECT"
135
+ ]).register(z.globalRegistry, {
136
+ description: "The content type discriminator for a history item content block."
137
+ });
138
+ var zAgentInstanceToolCall = z.object({
139
+ toolCallId: z.string().register(z.globalRegistry, {
140
+ description: "The LLM-assigned tool call ID. Correlates ASSISTANT items to their matching TOOL_RESULT items."
141
+ }),
142
+ toolName: z.string().register(z.globalRegistry, {
143
+ description: "The LLM-visible tool name."
144
+ }),
145
+ elementId: z.union([
146
+ z.string(),
147
+ z.null()
148
+ ]),
149
+ arguments: z.union([
150
+ z.record(z.string(), z.unknown()),
151
+ z.null()
152
+ ])
153
+ }).register(z.globalRegistry, {
154
+ description: "A tool call associated with a history item. Used in both ASSISTANT and TOOL_RESULT items.\nASSISTANT items carry arguments; TOOL_RESULT items carry arguments as null.\n"
155
+ });
156
+ var zAgentInstanceHistoryItemMetrics = z.object({
157
+ inputTokens: z.coerce.number().int().register(z.globalRegistry, {
158
+ description: "Input tokens consumed by this LLM call."
159
+ }),
160
+ outputTokens: z.coerce.number().int().register(z.globalRegistry, {
161
+ description: "Output tokens produced by this LLM call."
162
+ }),
163
+ durationMs: z.coerce.number().int().register(z.globalRegistry, {
164
+ description: "Wall-clock duration of the LLM call in milliseconds."
165
+ })
166
+ }).register(z.globalRegistry, {
167
+ description: "Per-call token and latency metrics for an ASSISTANT history item."
168
+ });
169
+ var zAdvancedAgentInstanceHistoryRoleFilter = z.object({
170
+ "$eq": z.optional(zAgentInstanceHistoryRoleEnum),
171
+ "$neq": z.optional(zAgentInstanceHistoryRoleEnum),
172
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
173
+ description: "Checks if the current property exists."
174
+ })),
175
+ "$in": z.optional(z.array(zAgentInstanceHistoryRoleEnum).register(z.globalRegistry, {
176
+ description: "Checks if the property matches any of the provided values."
177
+ }))
178
+ }).register(z.globalRegistry, {
179
+ description: "Advanced AgentInstanceHistoryRoleEnum filter."
180
+ });
181
+ var zAdvancedAgentInstanceHistoryCommitStatusFilter = z.object({
182
+ "$eq": z.optional(zAgentInstanceHistoryCommitStatusEnum),
183
+ "$neq": z.optional(zAgentInstanceHistoryCommitStatusEnum),
184
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
185
+ description: "Checks if the current property exists."
186
+ })),
187
+ "$in": z.optional(z.array(zAgentInstanceHistoryCommitStatusEnum).register(z.globalRegistry, {
188
+ description: "Checks if the property matches any of the provided values."
189
+ }))
190
+ }).register(z.globalRegistry, {
191
+ description: "Advanced AgentInstanceHistoryCommitStatusEnum filter."
192
+ });
5
193
  var zAuditLogEntityKey = z.string().register(z.globalRegistry, {
6
194
  description: "System-generated entity key for an audit log entry."
7
195
  });
@@ -260,46 +448,11 @@ var zClusterVariableScopeEnum = z.enum([
260
448
  ]).register(z.globalRegistry, {
261
449
  description: "The scope of a cluster variable."
262
450
  });
263
- var zCreateClusterVariableRequest = z.object({
264
- name: z.string().register(z.globalRegistry, {
265
- description: "The name of the cluster variable. Must be unique within its scope (global or tenant-specific)."
266
- }),
267
- value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
268
- description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
269
- })
270
- });
271
451
  var zUpdateClusterVariableRequest = z.object({
272
452
  value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
273
453
  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."
274
454
  })
275
455
  });
276
- var zClusterVariableResultBase = z.object({
277
- name: z.string().register(z.globalRegistry, {
278
- description: "The name of the cluster variable. Unique within its scope (global or tenant-specific)."
279
- }),
280
- scope: zClusterVariableScopeEnum,
281
- tenantId: z.union([
282
- z.string(),
283
- z.null()
284
- ])
285
- }).register(z.globalRegistry, {
286
- description: "Cluster variable response item."
287
- });
288
- var zClusterVariableResult = zClusterVariableResultBase.and(z.object({
289
- value: z.string().register(z.globalRegistry, {
290
- description: "Full value of this cluster variable."
291
- })
292
- }));
293
- var zClusterVariableSearchResult = zClusterVariableResultBase.and(z.object({
294
- value: z.string().register(z.globalRegistry, {
295
- description: "Value of this cluster variable. Can be truncated."
296
- }),
297
- isTruncated: z.boolean().register(z.globalRegistry, {
298
- description: "Whether the value is truncated or not."
299
- })
300
- }).register(z.globalRegistry, {
301
- description: "Cluster variable search response item."
302
- }));
303
456
  var zPartition = z.object({
304
457
  partitionId: z.int().register(z.globalRegistry, {
305
458
  description: "The unique ID of this partition."
@@ -472,17 +625,51 @@ var zElementInstanceStateEnum = z.enum([
472
625
  ]).register(z.globalRegistry, {
473
626
  description: "Element states"
474
627
  });
475
- var zExpressionEvaluationRequest = z.object({
476
- expression: z.string().register(z.globalRegistry, {
477
- description: 'The expression to evaluate (e.g., "=x + y")'
628
+ var zWaitStateElementTypeEnum = z.enum([
629
+ "AD_HOC_SUB_PROCESS",
630
+ "AD_HOC_SUB_PROCESS_INNER_INSTANCE",
631
+ "BOUNDARY_EVENT",
632
+ "BUSINESS_RULE_TASK",
633
+ "CALL_ACTIVITY",
634
+ "END_EVENT",
635
+ "EVENT_BASED_GATEWAY",
636
+ "EVENT_SUB_PROCESS",
637
+ "EXCLUSIVE_GATEWAY",
638
+ "INCLUSIVE_GATEWAY",
639
+ "INTERMEDIATE_CATCH_EVENT",
640
+ "INTERMEDIATE_THROW_EVENT",
641
+ "MANUAL_TASK",
642
+ "MULTI_INSTANCE_BODY",
643
+ "PARALLEL_GATEWAY",
644
+ "PROCESS",
645
+ "RECEIVE_TASK",
646
+ "SCRIPT_TASK",
647
+ "SEND_TASK",
648
+ "SEQUENCE_FLOW",
649
+ "SERVICE_TASK",
650
+ "START_EVENT",
651
+ "SUB_PROCESS",
652
+ "TASK",
653
+ "UNKNOWN",
654
+ "UNSPECIFIED",
655
+ "USER_TASK"
656
+ ]).register(z.globalRegistry, {
657
+ description: "The BPMN element type of a waiting element instance."
658
+ });
659
+ var zWaitStateTypeEnum = z.enum([
660
+ "JOB",
661
+ "MESSAGE"
662
+ ]).register(z.globalRegistry, {
663
+ description: "The type of waiting state an element instance is in."
664
+ });
665
+ var zMessageWaitStateDetails = z.object({
666
+ messageName: z.string().register(z.globalRegistry, {
667
+ description: "The name of the message being awaited."
478
668
  }),
479
- tenantId: z.optional(z.string().register(z.globalRegistry, {
480
- description: "Required when the expression references tenant-scoped cluster variables"
481
- })),
482
- variables: z.optional(z.union([
483
- z.record(z.string(), z.unknown()),
669
+ correlationKey: z.union([
670
+ z.string(),
484
671
  z.null()
485
- ]))
672
+ ])
486
673
  });
487
674
  var zExpressionEvaluationWarningItem = z.object({
488
675
  message: z.string().register(z.globalRegistry, {
@@ -503,6 +690,19 @@ var zExpressionEvaluationResult = z.object({
503
690
  var zLikeFilter = z.string().register(z.globalRegistry, {
504
691
  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"
505
692
  });
693
+ var zAdvancedAgentInstanceStatusFilter = z.object({
694
+ "$eq": z.optional(zAgentInstanceStatusEnum),
695
+ "$neq": z.optional(zAgentInstanceStatusEnum),
696
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
697
+ description: "Checks if the current property exists."
698
+ })),
699
+ "$in": z.optional(z.array(zAgentInstanceStatusEnum).register(z.globalRegistry, {
700
+ description: "Checks if the property matches any of the provided values."
701
+ })),
702
+ "$like": z.optional(zLikeFilter)
703
+ }).register(z.globalRegistry, {
704
+ description: "Advanced AgentInstanceStatusEnum filter."
705
+ });
506
706
  var zAdvancedEntityTypeFilter = z.object({
507
707
  "$eq": z.optional(zAuditLogEntityTypeEnum),
508
708
  "$neq": z.optional(zAuditLogEntityTypeEnum),
@@ -649,6 +849,32 @@ var zAdvancedElementInstanceStateFilter = z.object({
649
849
  }).register(z.globalRegistry, {
650
850
  description: "Advanced ElementInstanceStateEnum filter."
651
851
  });
852
+ var zAdvancedWaitStateElementTypeFilter = z.object({
853
+ "$eq": z.optional(zWaitStateElementTypeEnum),
854
+ "$neq": z.optional(zWaitStateElementTypeEnum),
855
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
856
+ description: "Checks if the current property exists."
857
+ })),
858
+ "$in": z.optional(z.array(zWaitStateElementTypeEnum).register(z.globalRegistry, {
859
+ description: "Checks if the property matches any of the provided values."
860
+ })),
861
+ "$like": z.optional(zLikeFilter)
862
+ }).register(z.globalRegistry, {
863
+ description: "Advanced element type filter."
864
+ });
865
+ var zAdvancedWaitStateTypeFilter = z.object({
866
+ "$eq": z.optional(zWaitStateTypeEnum),
867
+ "$neq": z.optional(zWaitStateTypeEnum),
868
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
869
+ description: "Checks if the current property exists."
870
+ })),
871
+ "$in": z.optional(z.array(zWaitStateTypeEnum).register(z.globalRegistry, {
872
+ description: "Checks if the property matches any of the provided values."
873
+ })),
874
+ "$like": z.optional(zLikeFilter)
875
+ }).register(z.globalRegistry, {
876
+ description: "Advanced wait state type filter."
877
+ });
652
878
  var zBasicStringFilter = z.object({
653
879
  "$eq": z.optional(z.string().register(z.globalRegistry, {
654
880
  description: "Checks for equality with the provided value."
@@ -814,29 +1040,6 @@ var zAdvancedGlobalTaskListenerEventTypeFilter = z.object({
814
1040
  }).register(z.globalRegistry, {
815
1041
  description: "Advanced global listener event type filter."
816
1042
  });
817
- var zGroupCreateRequest = z.object({
818
- groupId: z.string().register(z.globalRegistry, {
819
- description: "The ID of the new group."
820
- }),
821
- name: z.string().register(z.globalRegistry, {
822
- description: "The display name of the new group."
823
- }),
824
- description: z.optional(z.string().register(z.globalRegistry, {
825
- description: "The description of the new group."
826
- }))
827
- });
828
- var zGroupCreateResult = z.object({
829
- groupId: z.string().register(z.globalRegistry, {
830
- description: "The ID of the created group."
831
- }),
832
- name: z.string().register(z.globalRegistry, {
833
- description: "The display name of the created group."
834
- }),
835
- description: z.union([
836
- z.string(),
837
- z.null()
838
- ])
839
- });
840
1043
  var zGroupUpdateRequest = z.object({
841
1044
  name: z.string().register(z.globalRegistry, {
842
1045
  description: "The new name of the group."
@@ -845,32 +1048,6 @@ var zGroupUpdateRequest = z.object({
845
1048
  description: "The new description of the group."
846
1049
  }))
847
1050
  });
848
- var zGroupUpdateResult = z.object({
849
- groupId: z.string().register(z.globalRegistry, {
850
- description: "The unique external group ID."
851
- }),
852
- name: z.string().register(z.globalRegistry, {
853
- description: "The name of the group."
854
- }),
855
- description: z.union([
856
- z.string(),
857
- z.null()
858
- ])
859
- });
860
- var zGroupResult = z.object({
861
- name: z.string().register(z.globalRegistry, {
862
- description: "The group name."
863
- }),
864
- groupId: z.string().register(z.globalRegistry, {
865
- description: "The group ID."
866
- }),
867
- description: z.union([
868
- z.string(),
869
- z.null()
870
- ])
871
- }).register(z.globalRegistry, {
872
- description: "Group search response item."
873
- });
874
1051
  var zGroupFilter = z.object({
875
1052
  groupId: z.optional(zStringFilterProperty),
876
1053
  name: z.optional(z.string().register(z.globalRegistry, {
@@ -879,11 +1056,6 @@ var zGroupFilter = z.object({
879
1056
  }).register(z.globalRegistry, {
880
1057
  description: "Group filter request"
881
1058
  });
882
- var zGroupClientResult = z.object({
883
- clientId: z.string().register(z.globalRegistry, {
884
- description: "The ID of the client."
885
- })
886
- });
887
1059
  var zProcessDefinitionId = z.string().min(1).regex(/^[\p{L}_][\p{L}\p{N}_\-\.]*$/u).register(z.globalRegistry, {
888
1060
  description: "Id of a process definition, from the model. Only ids of process definitions that are deployed are useful."
889
1061
  });
@@ -916,7 +1088,7 @@ var zFormId = z.string().register(z.globalRegistry, {
916
1088
  var zDecisionDefinitionId = z.string().min(1).regex(/^[\p{L}_][\p{L}\p{N}_\-\.]*$/u).register(z.globalRegistry, {
917
1089
  description: "Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful."
918
1090
  });
919
- var zGlobalListenerId = z.string().register(z.globalRegistry, {
1091
+ var zGlobalListenerId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+\-]+$/).register(z.globalRegistry, {
920
1092
  description: "The user-defined id for the global listener"
921
1093
  });
922
1094
  var zCreateGlobalTaskListenerRequest = zGlobalTaskListenerBase.and(z.object({
@@ -928,7 +1100,7 @@ var zGlobalTaskListenerResult = zGlobalTaskListenerBase.and(z.object({
928
1100
  source: zGlobalListenerSourceEnum,
929
1101
  eventTypes: zGlobalTaskListenerEventTypes
930
1102
  }));
931
- var zTenantId = z.string().min(1).max(256).regex(/^(<default>|[A-Za-z0-9_@.+-]+)$/).register(z.globalRegistry, {
1103
+ var zTenantId = z.string().min(1).max(31).regex(/^(<default>|[\w\.\-]{1,31})$/).register(z.globalRegistry, {
932
1104
  description: "The unique identifier of the tenant."
933
1105
  });
934
1106
  var zDecisionEvaluationById = z.object({
@@ -938,12 +1110,102 @@ var zDecisionEvaluationById = z.object({
938
1110
  })),
939
1111
  tenantId: z.optional(zTenantId)
940
1112
  });
941
- var zUsername = z.string().min(1).max(256).regex(/^(<default>|[A-Za-z0-9_@.+-]+)$/).register(z.globalRegistry, {
1113
+ var zUsername = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
942
1114
  description: "The unique name of a user."
943
1115
  });
944
1116
  var zGroupUserResult = z.object({
945
1117
  username: zUsername
946
1118
  });
1119
+ var zRoleId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
1120
+ description: "The unique identifier of a role."
1121
+ });
1122
+ var zGroupId = z.string().min(1).max(256).register(z.globalRegistry, {
1123
+ description: "The unique identifier of a group."
1124
+ });
1125
+ var zGroupCreateRequest = z.object({
1126
+ groupId: zGroupId,
1127
+ name: z.string().register(z.globalRegistry, {
1128
+ description: "The display name of the new group."
1129
+ }),
1130
+ description: z.optional(z.string().register(z.globalRegistry, {
1131
+ description: "The description of the new group."
1132
+ }))
1133
+ });
1134
+ var zGroupCreateResult = z.object({
1135
+ groupId: zGroupId,
1136
+ name: z.string().register(z.globalRegistry, {
1137
+ description: "The display name of the created group."
1138
+ }),
1139
+ description: z.union([
1140
+ z.string(),
1141
+ z.null()
1142
+ ])
1143
+ });
1144
+ var zGroupUpdateResult = z.object({
1145
+ groupId: zGroupId,
1146
+ name: z.string().register(z.globalRegistry, {
1147
+ description: "The name of the group."
1148
+ }),
1149
+ description: z.union([
1150
+ z.string(),
1151
+ z.null()
1152
+ ])
1153
+ });
1154
+ var zGroupResult = z.object({
1155
+ name: z.string().register(z.globalRegistry, {
1156
+ description: "The group name."
1157
+ }),
1158
+ groupId: zGroupId,
1159
+ description: z.union([
1160
+ z.string(),
1161
+ z.null()
1162
+ ])
1163
+ }).register(z.globalRegistry, {
1164
+ description: "Group search response item."
1165
+ });
1166
+ var zMappingRuleId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
1167
+ description: "The unique identifier of a mapping rule."
1168
+ });
1169
+ var zClientId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
1170
+ description: "The unique identifier of an OAuth client.\nMinted outside the Camunda REST API: in SaaS by Console, in Self-Managed\nwith OIDC by the external identity provider (e.g. EntraID, Keycloak,\nOkta). In Self-Managed with Basic authentication, machine-to-machine\napplications are modelled as users instead \u2014 see the user identifier.\n"
1171
+ });
1172
+ var zGroupClientResult = z.object({
1173
+ clientId: zClientId
1174
+ });
1175
+ var zClusterVariableName = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
1176
+ description: "The name of a cluster variable. Unique within its scope (global or tenant-specific)."
1177
+ });
1178
+ var zCreateClusterVariableRequest = z.object({
1179
+ name: zClusterVariableName,
1180
+ value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
1181
+ description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
1182
+ })
1183
+ });
1184
+ var zClusterVariableResultBase = z.object({
1185
+ name: zClusterVariableName,
1186
+ scope: zClusterVariableScopeEnum,
1187
+ tenantId: z.union([
1188
+ z.string(),
1189
+ z.null()
1190
+ ])
1191
+ }).register(z.globalRegistry, {
1192
+ description: "Cluster variable response item."
1193
+ });
1194
+ var zClusterVariableResult = zClusterVariableResultBase.and(z.object({
1195
+ value: z.string().register(z.globalRegistry, {
1196
+ description: "Full value of this cluster variable."
1197
+ })
1198
+ }));
1199
+ var zClusterVariableSearchResult = zClusterVariableResultBase.and(z.object({
1200
+ value: z.string().register(z.globalRegistry, {
1201
+ description: "Value of this cluster variable. Can be truncated."
1202
+ }),
1203
+ isTruncated: z.boolean().register(z.globalRegistry, {
1204
+ description: "Whether the value is truncated or not."
1205
+ })
1206
+ }).register(z.globalRegistry, {
1207
+ description: "Cluster variable search response item."
1208
+ }));
947
1209
  var zTag = z.string().min(1).max(100).regex(/^[A-Za-z][A-Za-z0-9_\-:.]{0,99}$/).register(z.globalRegistry, {
948
1210
  description: "A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length \u2264 100."
949
1211
  });
@@ -953,6 +1215,41 @@ var zTagSet = z.array(zTag).max(10).register(z.globalRegistry, {
953
1215
  var zBusinessId = z.string().min(1).max(256).register(z.globalRegistry, {
954
1216
  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"
955
1217
  });
1218
+ var zIterationId = z.int().gte(1).register(z.globalRegistry, {
1219
+ description: "A client-provided sequential integer identifying a logical iteration: one LLM\ncall, its tool dispatches, and their results. Must be a positive integer,\nincreasing with each iteration. Established by the\nconnector when appending the first history item of an iteration.\n"
1220
+ });
1221
+ var zAdvancedElementIdFilter = z.object({
1222
+ "$eq": z.optional(zElementId),
1223
+ "$neq": z.optional(zElementId),
1224
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
1225
+ description: "Checks if the current property exists."
1226
+ })),
1227
+ "$in": z.optional(z.array(zElementId).register(z.globalRegistry, {
1228
+ description: "Checks if the property matches any of the provided values."
1229
+ })),
1230
+ "$notIn": z.optional(z.array(zElementId).register(z.globalRegistry, {
1231
+ description: "Checks if the property matches none of the provided values."
1232
+ })),
1233
+ "$like": z.optional(zLikeFilter)
1234
+ }).register(z.globalRegistry, {
1235
+ description: "Advanced ElementId filter."
1236
+ });
1237
+ var zAdvancedProcessDefinitionIdFilter = z.object({
1238
+ "$eq": z.optional(zProcessDefinitionId),
1239
+ "$neq": z.optional(zProcessDefinitionId),
1240
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
1241
+ description: "Checks if the current property exists."
1242
+ })),
1243
+ "$in": z.optional(z.array(zProcessDefinitionId).register(z.globalRegistry, {
1244
+ description: "Checks if the property matches any of the provided values."
1245
+ })),
1246
+ "$notIn": z.optional(z.array(zProcessDefinitionId).register(z.globalRegistry, {
1247
+ description: "Checks if the property matches none of the provided values."
1248
+ })),
1249
+ "$like": z.optional(zLikeFilter)
1250
+ }).register(z.globalRegistry, {
1251
+ description: "Advanced ProcessDefinitionId filter."
1252
+ });
956
1253
  var zIncidentErrorTypeEnum = z.enum([
957
1254
  "AD_HOC_SUB_PROCESS_NO_RETRIES",
958
1255
  "CALLED_DECISION_ERROR",
@@ -1332,6 +1629,8 @@ var zJobKindEnum = z.enum([
1332
1629
  });
1333
1630
  var zJobListenerEventTypeEnum = z.enum([
1334
1631
  "ASSIGNING",
1632
+ "BEFORE_ALL",
1633
+ "CANCEL",
1335
1634
  "CANCELING",
1336
1635
  "COMPLETING",
1337
1636
  "CREATING",
@@ -1490,6 +1789,25 @@ var zDocumentReference = z.object({
1490
1789
  ]),
1491
1790
  metadata: zDocumentMetadataResponse
1492
1791
  });
1792
+ var zAgentInstanceDocumentContent = z.object({
1793
+ contentType: z.string().register(z.globalRegistry, {
1794
+ description: "The content type discriminator."
1795
+ }),
1796
+ documentReference: zDocumentReference
1797
+ }).register(z.globalRegistry, {
1798
+ description: "A Camunda Document Store reference content block."
1799
+ });
1800
+ var zAgentInstanceMessageContent = z.union([
1801
+ z.object({
1802
+ contentType: z.literal("TEXT")
1803
+ }).and(zAgentInstanceTextContent),
1804
+ z.object({
1805
+ contentType: z.literal("DOCUMENT")
1806
+ }).and(zAgentInstanceDocumentContent),
1807
+ z.object({
1808
+ contentType: z.literal("OBJECT")
1809
+ }).and(zAgentInstanceObjectContent)
1810
+ ]);
1493
1811
  var zDocumentCreationBatchResponse = z.object({
1494
1812
  failedDocuments: z.array(zDocumentCreationFailureDetail).register(z.globalRegistry, {
1495
1813
  description: "Documents that were successfully created."
@@ -1545,6 +1863,24 @@ var zIncidentProcessInstanceStatisticsByDefinitionResult = z.object({
1545
1863
  })
1546
1864
  });
1547
1865
  var zElementInstanceKey = zLongKey;
1866
+ var zAgentInstanceCreationRequest = z.object({
1867
+ elementInstanceKey: zElementInstanceKey,
1868
+ definition: zAgentInstanceDefinition,
1869
+ limits: z.optional(zAgentInstanceLimits)
1870
+ }).register(z.globalRegistry, {
1871
+ description: "Request to create a new agent instance."
1872
+ });
1873
+ var zAgentInstanceUpdateRequest = z.object({
1874
+ elementInstanceKey: zElementInstanceKey,
1875
+ status: z.optional(zAgentInstanceUpdateStatusEnum),
1876
+ metrics: z.optional(zAgentInstanceMetricsDelta),
1877
+ tools: z.optional(z.union([
1878
+ z.array(zAgentTool),
1879
+ z.null()
1880
+ ]))
1881
+ }).register(z.globalRegistry, {
1882
+ description: "Request to update the mutable state of an agent instance.\n"
1883
+ });
1548
1884
  var zUserTaskKey = zLongKey;
1549
1885
  var zFormKey = zLongKey;
1550
1886
  var zDeploymentFormResult = z.object({
@@ -1616,6 +1952,19 @@ var zScopeKey = z.union([
1616
1952
  zProcessInstanceKey,
1617
1953
  zElementInstanceKey
1618
1954
  ]);
1955
+ var zExpressionEvaluationRequest = z.object({
1956
+ expression: z.string().register(z.globalRegistry, {
1957
+ description: 'The expression to evaluate (e.g., "=x + y")'
1958
+ }),
1959
+ tenantId: z.optional(z.string().register(z.globalRegistry, {
1960
+ description: "Required when the expression references tenant-scoped cluster variables"
1961
+ })),
1962
+ scopeKey: z.optional(zScopeKey),
1963
+ variables: z.optional(z.union([
1964
+ z.record(z.string(), z.unknown()),
1965
+ z.null()
1966
+ ]))
1967
+ });
1619
1968
  var zIncidentKey = zLongKey;
1620
1969
  var zElementInstanceResult = z.object({
1621
1970
  processDefinitionId: zProcessDefinitionId,
@@ -1661,24 +2010,89 @@ var zElementInstanceResult = z.object({
1661
2010
  ]).register(z.globalRegistry, {
1662
2011
  description: "Type of element as defined set of values."
1663
2012
  }),
1664
- state: zElementInstanceStateEnum,
1665
- hasIncident: z.boolean().register(z.globalRegistry, {
1666
- description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
2013
+ state: zElementInstanceStateEnum,
2014
+ hasIncident: z.boolean().register(z.globalRegistry, {
2015
+ description: "Shows whether this element instance has an incident. If true also an incidentKey is provided."
2016
+ }),
2017
+ tenantId: zTenantId,
2018
+ elementInstanceKey: zElementInstanceKey,
2019
+ processInstanceKey: zProcessInstanceKey,
2020
+ rootProcessInstanceKey: z.union([
2021
+ zProcessInstanceKey,
2022
+ z.null()
2023
+ ]),
2024
+ processDefinitionKey: zProcessDefinitionKey,
2025
+ incidentKey: z.union([
2026
+ zIncidentKey,
2027
+ z.null()
2028
+ ])
2029
+ });
2030
+ var zJobKey = zLongKey;
2031
+ var zAgentInstanceHistoryItemRequest = z.object({
2032
+ elementInstanceKey: zElementInstanceKey,
2033
+ jobKey: zJobKey,
2034
+ jobLease: z.string().register(z.globalRegistry, {
2035
+ description: "Opaque lease token received from the job activation response."
2036
+ }),
2037
+ iteration: z.optional(z.union([
2038
+ zIterationId,
2039
+ z.null()
2040
+ ])),
2041
+ role: zAgentInstanceHistoryRoleEnum,
2042
+ content: z.array(zAgentInstanceMessageContent).register(z.globalRegistry, {
2043
+ description: "The content blocks of this history item."
2044
+ }),
2045
+ toolCalls: z.optional(z.union([
2046
+ z.array(zAgentInstanceToolCall),
2047
+ z.null()
2048
+ ])),
2049
+ metrics: z.optional(z.union([
2050
+ zAgentInstanceHistoryItemMetrics,
2051
+ z.null()
2052
+ ])),
2053
+ producedAt: z.iso.datetime().register(z.globalRegistry, {
2054
+ description: "The connector-side timestamp of when this message was produced."
2055
+ })
2056
+ }).register(z.globalRegistry, {
2057
+ description: "Request to append a single history item to an agent instance's conversation history."
2058
+ });
2059
+ var zJobWaitStateDetails = z.object({
2060
+ jobKey: zJobKey,
2061
+ jobType: z.string().register(z.globalRegistry, {
2062
+ description: "The job type (worker subscription identifier)."
1667
2063
  }),
1668
- tenantId: zTenantId,
1669
- elementInstanceKey: zElementInstanceKey,
1670
- processInstanceKey: zProcessInstanceKey,
2064
+ jobKind: zJobKindEnum,
2065
+ listenerEventType: z.union([
2066
+ zJobListenerEventTypeEnum,
2067
+ z.null()
2068
+ ]),
2069
+ retries: z.union([
2070
+ z.int(),
2071
+ z.null()
2072
+ ])
2073
+ });
2074
+ var zElementInstanceWaitStateResult = z.object({
2075
+ waitStateType: zWaitStateTypeEnum,
1671
2076
  rootProcessInstanceKey: z.union([
1672
2077
  zProcessInstanceKey,
1673
2078
  z.null()
1674
2079
  ]),
1675
- processDefinitionKey: zProcessDefinitionKey,
1676
- incidentKey: z.union([
1677
- zIncidentKey,
2080
+ processInstanceKey: zProcessInstanceKey,
2081
+ elementInstanceKey: zElementInstanceKey,
2082
+ elementId: zElementId,
2083
+ elementType: zWaitStateElementTypeEnum,
2084
+ tenantId: zTenantId,
2085
+ jobDetails: z.union([
2086
+ zJobWaitStateDetails,
2087
+ z.null()
2088
+ ]),
2089
+ messageDetails: z.union([
2090
+ zMessageWaitStateDetails,
1678
2091
  z.null()
1679
2092
  ])
2093
+ }).register(z.globalRegistry, {
2094
+ description: "An element instance waiting state."
1680
2095
  });
1681
- var zJobKey = zLongKey;
1682
2096
  var zIncidentResult = z.object({
1683
2097
  processDefinitionId: zProcessDefinitionId,
1684
2098
  errorType: zIncidentErrorTypeEnum,
@@ -1743,7 +2157,10 @@ var zActivatedJobResult = z.object({
1743
2157
  rootProcessInstanceKey: z.union([
1744
2158
  zProcessInstanceKey,
1745
2159
  z.null()
1746
- ])
2160
+ ]),
2161
+ priority: z.int().register(z.globalRegistry, {
2162
+ 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"
2163
+ })
1747
2164
  });
1748
2165
  var zJobActivationResult = z.object({
1749
2166
  jobs: z.array(zActivatedJobResult).register(z.globalRegistry, {
@@ -1816,7 +2233,10 @@ var zJobSearchResult = z.object({
1816
2233
  lastUpdateTime: z.union([
1817
2234
  z.iso.datetime(),
1818
2235
  z.null()
1819
- ])
2236
+ ]),
2237
+ priority: z.int().register(z.globalRegistry, {
2238
+ 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"
2239
+ })
1820
2240
  });
1821
2241
  var zDecisionDefinitionKey = zLongKey;
1822
2242
  var zDecisionEvaluationByKey = z.object({
@@ -2189,7 +2609,10 @@ var zBatchOperationItemResponse = z.object({
2189
2609
  itemKey: z.string().register(z.globalRegistry, {
2190
2610
  description: "Key of the item, e.g. a process instance key."
2191
2611
  }),
2192
- processInstanceKey: zProcessInstanceKey,
2612
+ processInstanceKey: z.union([
2613
+ zProcessInstanceKey,
2614
+ z.null()
2615
+ ]),
2193
2616
  rootProcessInstanceKey: z.union([
2194
2617
  zProcessInstanceKey,
2195
2618
  z.null()
@@ -2244,6 +2667,84 @@ var zJobUpdateRequest = z.object({
2244
2667
  changeset: zJobChangeset,
2245
2668
  operationReference: z.optional(zOperationReference)
2246
2669
  });
2670
+ var zAgentInstanceKey = zLongKey;
2671
+ var zAgentInstanceResult = z.object({
2672
+ agentInstanceKey: zAgentInstanceKey,
2673
+ status: zAgentInstanceStatusEnum,
2674
+ definition: zAgentInstanceDefinition,
2675
+ metrics: zAgentInstanceMetrics,
2676
+ limits: zAgentInstanceLimits,
2677
+ tools: z.array(zAgentTool).register(z.globalRegistry, {
2678
+ description: "The tools available to the agent."
2679
+ }),
2680
+ elementId: zElementId,
2681
+ processInstanceKey: zProcessInstanceKey,
2682
+ rootProcessInstanceKey: zProcessInstanceKey,
2683
+ processDefinitionKey: zProcessDefinitionKey,
2684
+ processDefinitionId: zProcessDefinitionId,
2685
+ processDefinitionVersion: z.int().register(z.globalRegistry, {
2686
+ description: "The version of the process definition associated with this agent instance."
2687
+ }),
2688
+ processDefinitionVersionTag: z.union([
2689
+ z.string(),
2690
+ z.null()
2691
+ ]),
2692
+ tenantId: zTenantId,
2693
+ creationDate: z.iso.datetime().register(z.globalRegistry, {
2694
+ description: "The date when this agent instance was created."
2695
+ }),
2696
+ lastUpdatedDate: z.iso.datetime().register(z.globalRegistry, {
2697
+ description: "The date when this agent instance was last updated."
2698
+ }),
2699
+ completionDate: z.union([
2700
+ z.iso.datetime(),
2701
+ z.null()
2702
+ ]),
2703
+ elementInstanceKeys: z.array(zElementInstanceKey).register(z.globalRegistry, {
2704
+ description: "The keys of all element instances associated with this agent instance."
2705
+ })
2706
+ });
2707
+ var zAgentInstanceCreationResult = z.object({
2708
+ agentInstanceKey: zAgentInstanceKey
2709
+ }).register(z.globalRegistry, {
2710
+ description: "Response returned after successfully creating an agent instance."
2711
+ });
2712
+ var zAgentHistoryItemKey = zLongKey;
2713
+ var zAgentInstanceHistoryItemCreationResult = z.object({
2714
+ historyItemKey: zAgentHistoryItemKey
2715
+ }).register(z.globalRegistry, {
2716
+ description: "Response returned after successfully appending a history item."
2717
+ });
2718
+ var zAgentInstanceHistoryItemResult = z.object({
2719
+ historyItemKey: zAgentHistoryItemKey,
2720
+ agentInstanceKey: zAgentInstanceKey,
2721
+ elementInstanceKey: zElementInstanceKey,
2722
+ jobKey: zJobKey,
2723
+ jobLease: z.string().register(z.globalRegistry, {
2724
+ description: "The lease token of the activation that produced this item."
2725
+ }),
2726
+ iteration: z.union([
2727
+ zIterationId,
2728
+ z.null()
2729
+ ]),
2730
+ role: zAgentInstanceHistoryRoleEnum,
2731
+ content: z.array(zAgentInstanceMessageContent).register(z.globalRegistry, {
2732
+ description: "The content blocks of this history item."
2733
+ }),
2734
+ toolCalls: z.array(zAgentInstanceToolCall).register(z.globalRegistry, {
2735
+ 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
+ }),
2737
+ metrics: z.union([
2738
+ zAgentInstanceHistoryItemMetrics,
2739
+ z.null()
2740
+ ]),
2741
+ commitStatus: zAgentInstanceHistoryCommitStatusEnum,
2742
+ producedAt: z.iso.datetime().register(z.globalRegistry, {
2743
+ description: "The connector-side timestamp of when this message was produced."
2744
+ })
2745
+ }).register(z.globalRegistry, {
2746
+ description: "A single conversation history item belonging to an agent instance."
2747
+ });
2247
2748
  var zAuditLogKey = zLongKey;
2248
2749
  var zAuditLogResult = z.object({
2249
2750
  auditLogKey: zAuditLogKey,
@@ -2474,6 +2975,36 @@ var zAdvancedDecisionEvaluationInstanceKeyFilter = z.object({
2474
2975
  }).register(z.globalRegistry, {
2475
2976
  description: "Advanced DecisionEvaluationInstanceKey filter."
2476
2977
  });
2978
+ var zAdvancedAgentInstanceKeyFilter = z.object({
2979
+ "$eq": z.optional(zAgentInstanceKey),
2980
+ "$neq": z.optional(zAgentInstanceKey),
2981
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
2982
+ description: "Checks if the current property exists."
2983
+ })),
2984
+ "$in": z.optional(z.array(zAgentInstanceKey).register(z.globalRegistry, {
2985
+ description: "Checks if the property matches any of the provided values."
2986
+ })),
2987
+ "$notIn": z.optional(z.array(zAgentInstanceKey).register(z.globalRegistry, {
2988
+ description: "Checks if the property matches none of the provided values."
2989
+ }))
2990
+ }).register(z.globalRegistry, {
2991
+ description: "Advanced AgentInstanceKey filter."
2992
+ });
2993
+ var zAdvancedAgentHistoryItemKeyFilter = z.object({
2994
+ "$eq": z.optional(zAgentHistoryItemKey),
2995
+ "$neq": z.optional(zAgentHistoryItemKey),
2996
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
2997
+ description: "Checks if the current property exists."
2998
+ })),
2999
+ "$in": z.optional(z.array(zAgentHistoryItemKey).register(z.globalRegistry, {
3000
+ description: "Checks if the property matches any of the provided values."
3001
+ })),
3002
+ "$notIn": z.optional(z.array(zAgentHistoryItemKey).register(z.globalRegistry, {
3003
+ description: "Checks if the property matches none of the provided values."
3004
+ }))
3005
+ }).register(z.globalRegistry, {
3006
+ description: "Advanced AgentHistoryItemKey filter."
3007
+ });
2477
3008
  var zAdvancedAuditLogKeyFilter = z.object({
2478
3009
  "$eq": z.optional(zAuditLogKey),
2479
3010
  "$neq": z.optional(zAuditLogKey),
@@ -2563,9 +3094,7 @@ var zMappingRuleCreateUpdateRequest = z.object({
2563
3094
  })
2564
3095
  });
2565
3096
  var zMappingRuleCreateRequest = zMappingRuleCreateUpdateRequest.and(z.object({
2566
- mappingRuleId: z.string().register(z.globalRegistry, {
2567
- description: "The unique ID of the mapping rule."
2568
- })
3097
+ mappingRuleId: zMappingRuleId
2569
3098
  }));
2570
3099
  var zMappingRuleUpdateRequest = zMappingRuleCreateUpdateRequest;
2571
3100
  var zMappingRuleCreateUpdateResult = z.object({
@@ -2578,9 +3107,7 @@ var zMappingRuleCreateUpdateResult = z.object({
2578
3107
  name: z.string().register(z.globalRegistry, {
2579
3108
  description: "The name of the mapping rule."
2580
3109
  }),
2581
- mappingRuleId: z.string().register(z.globalRegistry, {
2582
- description: "The unique ID of the mapping rule."
2583
- })
3110
+ mappingRuleId: zMappingRuleId
2584
3111
  });
2585
3112
  var zMappingRuleCreateResult = zMappingRuleCreateUpdateResult;
2586
3113
  var zMappingRuleUpdateResult = zMappingRuleCreateUpdateResult;
@@ -2594,9 +3121,7 @@ var zMappingRuleResult = z.object({
2594
3121
  name: z.string().register(z.globalRegistry, {
2595
3122
  description: "The name of the mapping rule."
2596
3123
  }),
2597
- mappingRuleId: z.string().register(z.globalRegistry, {
2598
- description: "The ID of the mapping rule."
2599
- })
3124
+ mappingRuleId: zMappingRuleId
2600
3125
  });
2601
3126
  var zMappingRuleFilter = z.object({
2602
3127
  claimName: z.optional(z.string().register(z.globalRegistry, {
@@ -2608,9 +3133,7 @@ var zMappingRuleFilter = z.object({
2608
3133
  name: z.optional(z.string().register(z.globalRegistry, {
2609
3134
  description: "The name of the mapping rule."
2610
3135
  })),
2611
- mappingRuleId: z.optional(z.string().register(z.globalRegistry, {
2612
- description: "The ID of the mapping rule."
2613
- }))
3136
+ mappingRuleId: z.optional(zMappingRuleId)
2614
3137
  }).register(z.globalRegistry, {
2615
3138
  description: "Mapping rule search filter."
2616
3139
  });
@@ -2652,6 +3175,25 @@ var zMessageSubscriptionStateEnum = z.enum([
2652
3175
  ]).register(z.globalRegistry, {
2653
3176
  description: "The state of message subscription."
2654
3177
  });
3178
+ var zMessageSubscriptionTypeEnum = z.enum([
3179
+ "START_EVENT",
3180
+ "PROCESS_EVENT"
3181
+ ]).register(z.globalRegistry, {
3182
+ description: "The type of message subscription.\n`START_EVENT` is definition-scoped (process start events). Always has a value; only\ncaptured from Camunda 8.10 onwards.\n`PROCESS_EVENT` is instance-scoped (intermediate catch events). Pre-8.10 entries have\nno value stored; the API returns `PROCESS_EVENT` as a default for those entries.\n"
3183
+ });
3184
+ var zAdvancedMessageSubscriptionTypeFilter = z.object({
3185
+ "$eq": z.optional(zMessageSubscriptionTypeEnum),
3186
+ "$neq": z.optional(zMessageSubscriptionTypeEnum),
3187
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
3188
+ description: "Checks if the current property exists."
3189
+ })),
3190
+ "$in": z.optional(z.array(zMessageSubscriptionTypeEnum).register(z.globalRegistry, {
3191
+ description: "Checks if the property matches any of the provided values."
3192
+ })),
3193
+ "$like": z.optional(zLikeFilter)
3194
+ }).register(z.globalRegistry, {
3195
+ description: "Advanced MessageSubscriptionTypeEnum filter"
3196
+ });
2655
3197
  var zAdvancedMessageSubscriptionStateFilter = z.object({
2656
3198
  "$eq": z.optional(zMessageSubscriptionStateEnum),
2657
3199
  "$neq": z.optional(zMessageSubscriptionStateEnum),
@@ -2697,6 +3239,26 @@ var zMessageSubscriptionResult = z.object({
2697
3239
  z.string(),
2698
3240
  z.null()
2699
3241
  ]),
3242
+ messageSubscriptionType: zMessageSubscriptionTypeEnum,
3243
+ toolProperties: z.record(z.string(), z.string()).register(z.globalRegistry, {
3244
+ description: "The subset of `zeebe:properties` extension properties whose keys start with the\n`io.camunda.tool:` prefix, extracted from the BPMN element associated with this\nsubscription. Empty object when no matching properties are defined.\n"
3245
+ }),
3246
+ processDefinitionName: z.union([
3247
+ z.string(),
3248
+ z.null()
3249
+ ]),
3250
+ processDefinitionVersion: z.union([
3251
+ z.int(),
3252
+ z.null()
3253
+ ]),
3254
+ toolName: z.union([
3255
+ z.string(),
3256
+ z.null()
3257
+ ]),
3258
+ inboundConnectorType: z.union([
3259
+ z.string(),
3260
+ z.null()
3261
+ ]),
2700
3262
  tenantId: zTenantId
2701
3263
  });
2702
3264
  var zAdvancedMessageSubscriptionKeyFilter = z.object({
@@ -3247,9 +3809,7 @@ var zAdvancedProcessInstanceStateFilter = z.object({
3247
3809
  description: "Advanced ProcessInstanceStateEnum filter."
3248
3810
  });
3249
3811
  var zRoleCreateRequest = z.object({
3250
- roleId: z.string().register(z.globalRegistry, {
3251
- description: "The ID of the new role."
3252
- }),
3812
+ roleId: zRoleId,
3253
3813
  name: z.string().register(z.globalRegistry, {
3254
3814
  description: "The display name of the new role."
3255
3815
  }),
@@ -3258,9 +3818,7 @@ var zRoleCreateRequest = z.object({
3258
3818
  }))
3259
3819
  });
3260
3820
  var zRoleCreateResult = z.object({
3261
- roleId: z.string().register(z.globalRegistry, {
3262
- description: "The ID of the created role."
3263
- }),
3821
+ roleId: zRoleId,
3264
3822
  name: z.string().register(z.globalRegistry, {
3265
3823
  description: "The display name of the created role."
3266
3824
  }),
@@ -3285,17 +3843,13 @@ var zRoleUpdateResult = z.object({
3285
3843
  z.string(),
3286
3844
  z.null()
3287
3845
  ]),
3288
- roleId: z.string().register(z.globalRegistry, {
3289
- description: "The ID of the updated role."
3290
- })
3846
+ roleId: zRoleId
3291
3847
  });
3292
3848
  var zRoleResult = z.object({
3293
3849
  name: z.string().register(z.globalRegistry, {
3294
3850
  description: "The role name."
3295
3851
  }),
3296
- roleId: z.string().register(z.globalRegistry, {
3297
- description: "The role id."
3298
- }),
3852
+ roleId: zRoleId,
3299
3853
  description: z.union([
3300
3854
  z.string(),
3301
3855
  z.null()
@@ -3304,9 +3858,7 @@ var zRoleResult = z.object({
3304
3858
  description: "Role search response item."
3305
3859
  });
3306
3860
  var zRoleFilter = z.object({
3307
- roleId: z.optional(z.string().register(z.globalRegistry, {
3308
- description: "The role ID search filters."
3309
- })),
3861
+ roleId: z.optional(zRoleId),
3310
3862
  name: z.optional(z.string().register(z.globalRegistry, {
3311
3863
  description: "The role name search filters."
3312
3864
  }))
@@ -3317,14 +3869,10 @@ var zRoleUserResult = z.object({
3317
3869
  username: zUsername
3318
3870
  });
3319
3871
  var zRoleClientResult = z.object({
3320
- clientId: z.string().register(z.globalRegistry, {
3321
- description: "The ID of the client."
3322
- })
3872
+ clientId: zClientId
3323
3873
  });
3324
3874
  var zRoleGroupResult = z.object({
3325
- groupId: z.string().register(z.globalRegistry, {
3326
- description: "The id of the group."
3327
- })
3875
+ groupId: zGroupId
3328
3876
  });
3329
3877
  var zLimitPagination = z.object({
3330
3878
  limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
@@ -3340,7 +3888,7 @@ var zOffsetPagination = z.object({
3340
3888
  })).default(100)
3341
3889
  });
3342
3890
  var zCursorForwardPagination = z.object({
3343
- after: zEndCursor,
3891
+ after: z.optional(zEndCursor),
3344
3892
  limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
3345
3893
  description: "The maximum number of items to return in one request."
3346
3894
  })).default(100)
@@ -3370,7 +3918,7 @@ var zJobErrorStatisticsQuery = z.object({
3370
3918
  description: "Job error statistics query."
3371
3919
  });
3372
3920
  var zCursorBackwardPagination = z.object({
3373
- before: zStartCursor,
3921
+ before: z.optional(zStartCursor),
3374
3922
  limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
3375
3923
  description: "The maximum number of items to return in one request."
3376
3924
  })).default(100)
@@ -3390,6 +3938,33 @@ var zSortOrderEnum = z.enum([
3390
3938
  ]).register(z.globalRegistry, {
3391
3939
  description: "The order in which to sort the related field."
3392
3940
  });
3941
+ var zAgentInstanceSearchQuerySortRequest = z.object({
3942
+ field: z.enum([
3943
+ "agentInstanceKey",
3944
+ "status",
3945
+ "elementId",
3946
+ "processInstanceKey",
3947
+ "rootProcessInstanceKey",
3948
+ "processDefinitionKey",
3949
+ "tenantId",
3950
+ "creationDate",
3951
+ "lastUpdatedDate",
3952
+ "completionDate"
3953
+ ]).register(z.globalRegistry, {
3954
+ description: "The field to sort by."
3955
+ }),
3956
+ order: z.optional(zSortOrderEnum)
3957
+ });
3958
+ var zAgentInstanceHistorySearchQuerySortRequest = z.object({
3959
+ field: z.enum([
3960
+ "producedAt",
3961
+ "historyItemKey",
3962
+ "iteration"
3963
+ ]).register(z.globalRegistry, {
3964
+ description: "The field to sort by."
3965
+ }),
3966
+ order: z.optional(zSortOrderEnum)
3967
+ });
3393
3968
  var zAuditLogSearchQuerySortRequest = z.object({
3394
3969
  field: z.enum([
3395
3970
  "actorId",
@@ -3537,6 +4112,20 @@ var zDecisionRequirementsSearchQuery = zSearchQueryRequest.and(z.object({
3537
4112
  })),
3538
4113
  filter: z.optional(zDecisionRequirementsFilter)
3539
4114
  }));
4115
+ var zResourceSearchQuerySortRequest = z.object({
4116
+ field: z.enum([
4117
+ "resourceKey",
4118
+ "resourceName",
4119
+ "resourceId",
4120
+ "version",
4121
+ "versionTag",
4122
+ "deploymentKey",
4123
+ "tenantId"
4124
+ ]).register(z.globalRegistry, {
4125
+ description: "The field to sort by."
4126
+ }),
4127
+ order: z.optional(zSortOrderEnum)
4128
+ });
3540
4129
  var zElementInstanceSearchQuerySortRequest = z.object({
3541
4130
  field: z.enum([
3542
4131
  "elementInstanceKey",
@@ -3556,6 +4145,17 @@ var zElementInstanceSearchQuerySortRequest = z.object({
3556
4145
  }),
3557
4146
  order: z.optional(zSortOrderEnum)
3558
4147
  });
4148
+ var zElementInstanceWaitStateQuerySortRequest = z.object({
4149
+ field: z.enum([
4150
+ "elementInstanceKey",
4151
+ "processInstanceKey",
4152
+ "rootProcessInstanceKey",
4153
+ "elementId"
4154
+ ]).register(z.globalRegistry, {
4155
+ description: "The field to sort by."
4156
+ }),
4157
+ order: z.optional(zSortOrderEnum)
4158
+ });
3559
4159
  var zGlobalTaskListenerSearchQuerySortRequest = z.object({
3560
4160
  field: z.enum([
3561
4161
  "id",
@@ -3675,6 +4275,7 @@ var zJobSearchQuerySortRequest = z.object({
3675
4275
  "jobKey",
3676
4276
  "kind",
3677
4277
  "listenerEventType",
4278
+ "priority",
3678
4279
  "processDefinitionId",
3679
4280
  "processDefinitionKey",
3680
4281
  "processInstanceKey",
@@ -3709,14 +4310,19 @@ var zMessageSubscriptionSearchQuerySortRequest = z.object({
3709
4310
  field: z.enum([
3710
4311
  "messageSubscriptionKey",
3711
4312
  "processDefinitionId",
4313
+ "processDefinitionName",
4314
+ "processDefinitionVersion",
3712
4315
  "processInstanceKey",
3713
4316
  "elementId",
3714
4317
  "elementInstanceKey",
3715
4318
  "messageSubscriptionState",
4319
+ "messageSubscriptionType",
3716
4320
  "lastUpdatedDate",
3717
4321
  "messageName",
3718
4322
  "correlationKey",
3719
- "tenantId"
4323
+ "tenantId",
4324
+ "toolName",
4325
+ "inboundConnectorType"
3720
4326
  ]).register(z.globalRegistry, {
3721
4327
  description: "The field to sort by."
3722
4328
  }),
@@ -3895,6 +4501,20 @@ var zSearchQueryPageResponse = z.object({
3895
4501
  var zSearchQueryResponse = z.object({
3896
4502
  page: zSearchQueryPageResponse
3897
4503
  });
4504
+ var zAgentInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
4505
+ items: z.array(zAgentInstanceResult).register(z.globalRegistry, {
4506
+ description: "The matching agent instances."
4507
+ })
4508
+ }).register(z.globalRegistry, {
4509
+ description: "Agent instance search response."
4510
+ }));
4511
+ var zAgentInstanceHistorySearchQueryResult = zSearchQueryResponse.and(z.object({
4512
+ items: z.array(zAgentInstanceHistoryItemResult).register(z.globalRegistry, {
4513
+ description: "The matching history items."
4514
+ })
4515
+ }).register(z.globalRegistry, {
4516
+ description: "Agent instance history search response."
4517
+ }));
3898
4518
  var zAuditLogSearchQueryResult = zSearchQueryResponse.and(z.object({
3899
4519
  items: z.array(zAuditLogResult).register(z.globalRegistry, {
3900
4520
  description: "The matching audit logs."
@@ -3941,11 +4561,21 @@ var zDecisionRequirementsSearchQueryResult = zSearchQueryResponse.and(z.object({
3941
4561
  description: "The matching decision requirements."
3942
4562
  })
3943
4563
  }));
4564
+ var zResourceSearchQueryResult = zSearchQueryResponse.and(z.object({
4565
+ items: z.array(zResourceResult).register(z.globalRegistry, {
4566
+ description: "The matching resources."
4567
+ })
4568
+ }));
3944
4569
  var zElementInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
3945
4570
  items: z.array(zElementInstanceResult).register(z.globalRegistry, {
3946
4571
  description: "The matching element instances."
3947
4572
  })
3948
4573
  }));
4574
+ var zElementInstanceWaitStateQueryResult = zSearchQueryResponse.and(z.object({
4575
+ items: z.array(zElementInstanceWaitStateResult).register(z.globalRegistry, {
4576
+ description: "The matching waiting states."
4577
+ })
4578
+ }));
3949
4579
  var zGlobalTaskListenerSearchQueryResult = zSearchQueryResponse.and(z.object({
3950
4580
  items: z.array(zGlobalTaskListenerResult).register(z.globalRegistry, {
3951
4581
  description: "The matching global listeners."
@@ -4158,15 +4788,66 @@ var zJobMetricsConfigurationResponse = z.object({
4158
4788
  }).register(z.globalRegistry, {
4159
4789
  description: "Configuration for job metrics collection and export."
4160
4790
  });
4791
+ var zDeploymentConfigurationResponse = z.object({
4792
+ isMultiTenancyEnabled: z.boolean().register(z.globalRegistry, {
4793
+ description: "Whether multi-tenancy is enabled."
4794
+ }),
4795
+ maxRequestSize: z.coerce.number().int().register(z.globalRegistry, {
4796
+ description: "The maximum HTTP request size in bytes."
4797
+ })
4798
+ }).register(z.globalRegistry, {
4799
+ description: "Configuration for deployment characteristics."
4800
+ });
4801
+ var zAuthenticationConfigurationResponse = z.object({
4802
+ canLogout: z.boolean().register(z.globalRegistry, {
4803
+ description: "Whether users can log out (false for SaaS deployments)."
4804
+ }),
4805
+ isLoginDelegated: z.boolean().register(z.globalRegistry, {
4806
+ description: "Whether login is delegated to an external identity provider."
4807
+ })
4808
+ }).register(z.globalRegistry, {
4809
+ description: "Configuration for authentication and session management."
4810
+ });
4811
+ var zWebappComponent = z.enum([
4812
+ "operate",
4813
+ "tasklist",
4814
+ "admin"
4815
+ ]).register(z.globalRegistry, {
4816
+ description: "A Camunda webapp component name."
4817
+ });
4818
+ var zComponentsConfigurationResponse = z.object({
4819
+ active: z.array(zWebappComponent).register(z.globalRegistry, {
4820
+ description: "List of webapp components whose UI is enabled in this deployment."
4821
+ })
4822
+ }).register(z.globalRegistry, {
4823
+ description: "Configuration for active Camunda components in the deployment."
4824
+ });
4825
+ var zCloudStage = z.enum([
4826
+ "dev",
4827
+ "int",
4828
+ "prod"
4829
+ ]).register(z.globalRegistry, {
4830
+ description: "The cloud deployment stage."
4831
+ });
4832
+ var zCloudConfigurationResponse = z.object({
4833
+ stage: z.union([
4834
+ zCloudStage,
4835
+ z.null()
4836
+ ])
4837
+ }).register(z.globalRegistry, {
4838
+ description: "Configuration for SaaS/cloud-specific settings."
4839
+ });
4161
4840
  var zSystemConfigurationResponse = z.object({
4162
- jobMetrics: zJobMetricsConfigurationResponse
4841
+ jobMetrics: zJobMetricsConfigurationResponse,
4842
+ components: zComponentsConfigurationResponse,
4843
+ deployment: zDeploymentConfigurationResponse,
4844
+ authentication: zAuthenticationConfigurationResponse,
4845
+ cloud: zCloudConfigurationResponse
4163
4846
  }).register(z.globalRegistry, {
4164
4847
  description: "Envelope for all system configuration sections. Each property\nrepresents a feature area.\n"
4165
4848
  });
4166
4849
  var zTenantCreateRequest = z.object({
4167
- tenantId: z.string().min(1).max(256).regex(/^[A-Za-z0-9_@.+-]+$/).register(z.globalRegistry, {
4168
- description: "The unique ID for the tenant. Must be 255 characters or less. Can contain letters, numbers, [`_`, `-`, `+`, `.`, `@`]."
4169
- }),
4850
+ tenantId: zTenantId,
4170
4851
  name: z.string().register(z.globalRegistry, {
4171
4852
  description: "The name of the tenant."
4172
4853
  }),
@@ -4302,9 +4983,7 @@ var zTenantUserSearchQueryRequest = zSearchQueryRequest.and(z.object({
4302
4983
  }))
4303
4984
  }));
4304
4985
  var zTenantClientResult = z.object({
4305
- clientId: z.string().register(z.globalRegistry, {
4306
- description: "The ID of the client."
4307
- })
4986
+ clientId: zClientId
4308
4987
  });
4309
4988
  var zTenantClientSearchResult = zSearchQueryResponse.and(z.object({
4310
4989
  items: z.array(zTenantClientResult).register(z.globalRegistry, {
@@ -4325,9 +5004,7 @@ var zTenantClientSearchQueryRequest = zSearchQueryRequest.and(z.object({
4325
5004
  }))
4326
5005
  }));
4327
5006
  var zTenantGroupResult = z.object({
4328
- groupId: z.string().register(z.globalRegistry, {
4329
- description: "The groupId of the group."
4330
- })
5007
+ groupId: zGroupId
4331
5008
  });
4332
5009
  var zTenantGroupSearchResult = zSearchQueryResponse.and(z.object({
4333
5010
  items: z.array(zTenantGroupResult).register(z.globalRegistry, {
@@ -4562,9 +5239,7 @@ var zUserRequest = z.object({
4562
5239
  password: z.string().register(z.globalRegistry, {
4563
5240
  description: "The password of the user."
4564
5241
  }),
4565
- username: z.string().register(z.globalRegistry, {
4566
- description: "The username of the user."
4567
- }),
5242
+ username: zUsername,
4568
5243
  name: z.optional(z.string().register(z.globalRegistry, {
4569
5244
  description: "The name of the user."
4570
5245
  })),
@@ -4724,6 +5399,21 @@ default, with local set to \`false\`, scope '1' will be { "foo": 5 } and scope '
4724
5399
  })).default(false),
4725
5400
  operationReference: z.optional(zOperationReference)
4726
5401
  });
5402
+ var zAgentInstanceStatusExactMatch = zAgentInstanceStatusEnum;
5403
+ var zAgentInstanceStatusFilterProperty = z.union([
5404
+ zAgentInstanceStatusExactMatch,
5405
+ zAdvancedAgentInstanceStatusFilter
5406
+ ]);
5407
+ var zAgentInstanceHistoryRoleExactMatch = zAgentInstanceHistoryRoleEnum;
5408
+ var zAgentInstanceHistoryRoleFilterProperty = z.union([
5409
+ zAgentInstanceHistoryRoleExactMatch,
5410
+ zAdvancedAgentInstanceHistoryRoleFilter
5411
+ ]);
5412
+ var zAgentInstanceHistoryCommitStatusExactMatch = zAgentInstanceHistoryCommitStatusEnum;
5413
+ var zAgentInstanceHistoryCommitStatusFilterProperty = z.union([
5414
+ zAgentInstanceHistoryCommitStatusExactMatch,
5415
+ zAdvancedAgentInstanceHistoryCommitStatusFilter
5416
+ ]);
4727
5417
  var zAuditLogEntityKeyExactMatch = zAuditLogEntityKey;
4728
5418
  var zAuditLogEntityKeyFilterProperty = z.union([
4729
5419
  zAuditLogEntityKeyExactMatch,
@@ -4842,12 +5532,77 @@ var zResourceKeyFilterProperty = z.union([
4842
5532
  zResourceKeyExactMatch,
4843
5533
  zAdvancedResourceKeyFilter
4844
5534
  ]);
5535
+ var zResourceFilter = z.object({
5536
+ resourceKey: z.optional(zResourceKeyFilterProperty),
5537
+ resourceName: z.optional(zStringFilterProperty),
5538
+ resourceId: z.optional(zStringFilterProperty),
5539
+ version: z.optional(zIntegerFilterProperty),
5540
+ versionTag: z.optional(zStringFilterProperty),
5541
+ deploymentKey: z.optional(zDeploymentKeyFilterProperty),
5542
+ tenantId: z.optional(zTenantId)
5543
+ }).register(z.globalRegistry, {
5544
+ description: "Resource search filter."
5545
+ });
5546
+ var zResourceSearchQuery = zSearchQueryRequest.and(z.object({
5547
+ sort: z.optional(z.array(zResourceSearchQuerySortRequest).register(z.globalRegistry, {
5548
+ description: "Sort field criteria."
5549
+ })),
5550
+ filter: z.optional(zResourceFilter)
5551
+ }));
4845
5552
  var zElementInstanceStateExactMatch = zElementInstanceStateEnum;
4846
5553
  var zElementInstanceStateFilterProperty = z.union([
4847
5554
  zElementInstanceStateExactMatch,
4848
5555
  zAdvancedElementInstanceStateFilter
4849
5556
  ]);
4850
- var zElementInstanceFilter = z.object({
5557
+ var zWaitStateElementTypeExactMatch = zWaitStateElementTypeEnum;
5558
+ var zWaitStateElementTypeFilterProperty = z.union([
5559
+ zWaitStateElementTypeExactMatch,
5560
+ zAdvancedWaitStateElementTypeFilter
5561
+ ]);
5562
+ var zWaitStateTypeExactMatch = zWaitStateTypeEnum;
5563
+ var zWaitStateTypeFilterProperty = z.union([
5564
+ zWaitStateTypeExactMatch,
5565
+ zAdvancedWaitStateTypeFilter
5566
+ ]);
5567
+ var zGlobalListenerSourceExactMatch = zGlobalListenerSourceEnum;
5568
+ var zGlobalListenerSourceFilterProperty = z.union([
5569
+ zGlobalListenerSourceExactMatch,
5570
+ zAdvancedGlobalListenerSourceFilter
5571
+ ]);
5572
+ var zGlobalTaskListenerEventTypeExactMatch = zGlobalTaskListenerEventTypeEnum;
5573
+ var zGlobalTaskListenerEventTypeFilterProperty = z.union([
5574
+ zGlobalTaskListenerEventTypeExactMatch,
5575
+ zAdvancedGlobalTaskListenerEventTypeFilter
5576
+ ]);
5577
+ var zGlobalTaskListenerSearchQueryFilterRequest = z.object({
5578
+ id: z.optional(zStringFilterProperty),
5579
+ type: z.optional(zStringFilterProperty),
5580
+ retries: z.optional(zIntegerFilterProperty),
5581
+ eventTypes: z.optional(z.array(zGlobalTaskListenerEventTypeFilterProperty).register(z.globalRegistry, {
5582
+ description: "Event types of the global listener."
5583
+ })),
5584
+ afterNonGlobal: z.optional(z.boolean().register(z.globalRegistry, {
5585
+ description: "Whether the listener runs after model-level listeners."
5586
+ })),
5587
+ priority: z.optional(zIntegerFilterProperty),
5588
+ source: z.optional(zGlobalListenerSourceFilterProperty)
5589
+ }).register(z.globalRegistry, {
5590
+ description: "Global listener filter request."
5591
+ });
5592
+ var zGlobalTaskListenerSearchQueryRequest = zSearchQueryRequest.and(z.object({
5593
+ sort: z.optional(z.array(zGlobalTaskListenerSearchQuerySortRequest).register(z.globalRegistry, {
5594
+ description: "Sort field criteria."
5595
+ })),
5596
+ filter: z.optional(zGlobalTaskListenerSearchQueryFilterRequest)
5597
+ }).register(z.globalRegistry, {
5598
+ description: "Global listener search query request."
5599
+ }));
5600
+ var zElementIdExactMatch = zElementId;
5601
+ var zElementIdFilterProperty = z.union([
5602
+ zElementIdExactMatch,
5603
+ zAdvancedElementIdFilter
5604
+ ]);
5605
+ var zElementInstanceFilterFields = z.object({
4851
5606
  processDefinitionId: z.optional(zProcessDefinitionId),
4852
5607
  state: z.optional(zElementInstanceStateFilterProperty),
4853
5608
  type: z.optional(z.enum([
@@ -4881,10 +5636,8 @@ var zElementInstanceFilter = z.object({
4881
5636
  ]).register(z.globalRegistry, {
4882
5637
  description: "Type of element as defined set of values."
4883
5638
  })),
4884
- elementId: z.optional(zElementId),
4885
- elementName: z.optional(z.string().register(z.globalRegistry, {
4886
- description: "The element 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"
4887
- })),
5639
+ elementId: z.optional(zElementIdFilterProperty),
5640
+ elementName: z.optional(zStringFilterProperty),
4888
5641
  hasIncident: z.optional(z.boolean().register(z.globalRegistry, {
4889
5642
  description: "Shows whether this element instance has an incident related to."
4890
5643
  })),
@@ -4900,8 +5653,13 @@ var zElementInstanceFilter = z.object({
4900
5653
  zProcessInstanceKey
4901
5654
  ]))
4902
5655
  }).register(z.globalRegistry, {
4903
- description: "Element instance filter."
5656
+ description: "Element instance filter fields."
4904
5657
  });
5658
+ var zElementInstanceFilter = zElementInstanceFilterFields.and(z.object({
5659
+ "$or": z.optional(z.array(zElementInstanceFilterFields).register(z.globalRegistry, {
5660
+ 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'
5661
+ }))
5662
+ }));
4905
5663
  var zElementInstanceSearchQuery = zSearchQueryRequest.and(z.object({
4906
5664
  sort: z.optional(z.array(zElementInstanceSearchQuerySortRequest).register(z.globalRegistry, {
4907
5665
  description: "Sort field criteria."
@@ -4910,39 +5668,11 @@ var zElementInstanceSearchQuery = zSearchQueryRequest.and(z.object({
4910
5668
  }).register(z.globalRegistry, {
4911
5669
  description: "Element instance search request."
4912
5670
  }));
4913
- var zGlobalListenerSourceExactMatch = zGlobalListenerSourceEnum;
4914
- var zGlobalListenerSourceFilterProperty = z.union([
4915
- zGlobalListenerSourceExactMatch,
4916
- zAdvancedGlobalListenerSourceFilter
4917
- ]);
4918
- var zGlobalTaskListenerEventTypeExactMatch = zGlobalTaskListenerEventTypeEnum;
4919
- var zGlobalTaskListenerEventTypeFilterProperty = z.union([
4920
- zGlobalTaskListenerEventTypeExactMatch,
4921
- zAdvancedGlobalTaskListenerEventTypeFilter
5671
+ var zProcessDefinitionIdExactMatch = zProcessDefinitionId;
5672
+ var zProcessDefinitionIdFilterProperty = z.union([
5673
+ zProcessDefinitionIdExactMatch,
5674
+ zAdvancedProcessDefinitionIdFilter
4922
5675
  ]);
4923
- var zGlobalTaskListenerSearchQueryFilterRequest = z.object({
4924
- id: z.optional(zStringFilterProperty),
4925
- type: z.optional(zStringFilterProperty),
4926
- retries: z.optional(zIntegerFilterProperty),
4927
- eventTypes: z.optional(z.array(zGlobalTaskListenerEventTypeFilterProperty).register(z.globalRegistry, {
4928
- description: "Event types of the global listener."
4929
- })),
4930
- afterNonGlobal: z.optional(z.boolean().register(z.globalRegistry, {
4931
- description: "Whether the listener runs after model-level listeners."
4932
- })),
4933
- priority: z.optional(zIntegerFilterProperty),
4934
- source: z.optional(zGlobalListenerSourceFilterProperty)
4935
- }).register(z.globalRegistry, {
4936
- description: "Global listener filter request."
4937
- });
4938
- var zGlobalTaskListenerSearchQueryRequest = zSearchQueryRequest.and(z.object({
4939
- sort: z.optional(z.array(zGlobalTaskListenerSearchQuerySortRequest).register(z.globalRegistry, {
4940
- description: "Sort field criteria."
4941
- })),
4942
- filter: z.optional(zGlobalTaskListenerSearchQueryFilterRequest)
4943
- }).register(z.globalRegistry, {
4944
- description: "Global listener search query request."
4945
- }));
4946
5676
  var zIncidentErrorTypeExactMatch = zIncidentErrorTypeEnum;
4947
5677
  var zIncidentErrorTypeFilterProperty = z.union([
4948
5678
  zIncidentErrorTypeExactMatch,
@@ -5000,6 +5730,24 @@ var zElementInstanceKeyFilterProperty = z.union([
5000
5730
  zElementInstanceKeyExactMatch,
5001
5731
  zAdvancedElementInstanceKeyFilter
5002
5732
  ]);
5733
+ var zElementInstanceWaitStateFilter = z.object({
5734
+ elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
5735
+ processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5736
+ rootProcessInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5737
+ elementId: z.optional(zElementIdFilterProperty),
5738
+ elementType: z.optional(zWaitStateElementTypeFilterProperty),
5739
+ waitStateType: z.optional(zWaitStateTypeFilterProperty)
5740
+ }).register(z.globalRegistry, {
5741
+ description: "Filters for the element instance inspection."
5742
+ });
5743
+ var zElementInstanceWaitStateQuery = zSearchQueryRequest.and(z.object({
5744
+ sort: z.optional(z.array(zElementInstanceWaitStateQuerySortRequest).register(z.globalRegistry, {
5745
+ description: "Sort field criteria."
5746
+ })),
5747
+ filter: z.optional(zElementInstanceWaitStateFilter)
5748
+ }).register(z.globalRegistry, {
5749
+ description: "Element instance inspection request."
5750
+ }));
5003
5751
  var zJobKeyExactMatch = zJobKey;
5004
5752
  var zJobKeyFilterProperty = z.union([
5005
5753
  zJobKeyExactMatch,
@@ -5048,6 +5796,7 @@ var zJobFilter = z.object({
5048
5796
  jobKey: z.optional(zJobKeyFilterProperty),
5049
5797
  kind: z.optional(zJobKindFilterProperty),
5050
5798
  listenerEventType: z.optional(zJobListenerEventTypeFilterProperty),
5799
+ priority: z.optional(zIntegerFilterProperty),
5051
5800
  processDefinitionId: z.optional(zStringFilterProperty),
5052
5801
  processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
5053
5802
  processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
@@ -5110,6 +5859,63 @@ var zDecisionEvaluationInstanceKeyFilterProperty = z.union([
5110
5859
  zDecisionEvaluationInstanceKeyExactMatch,
5111
5860
  zAdvancedDecisionEvaluationInstanceKeyFilter
5112
5861
  ]);
5862
+ var zAgentInstanceKeyExactMatch = zAgentInstanceKey;
5863
+ var zAgentInstanceKeyFilterProperty = z.union([
5864
+ zAgentInstanceKeyExactMatch,
5865
+ zAdvancedAgentInstanceKeyFilter
5866
+ ]);
5867
+ var zAgentInstanceFilter = z.object({
5868
+ agentInstanceKey: z.optional(zAgentInstanceKeyFilterProperty),
5869
+ status: z.optional(zAgentInstanceStatusFilterProperty),
5870
+ elementId: z.optional(zElementIdFilterProperty),
5871
+ processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5872
+ rootProcessInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5873
+ processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
5874
+ tenantId: z.optional(zStringFilterProperty),
5875
+ creationDate: z.optional(zDateTimeFilterProperty),
5876
+ lastUpdatedDate: z.optional(zDateTimeFilterProperty),
5877
+ completionDate: z.optional(zDateTimeFilterProperty),
5878
+ elementInstanceKeys: z.optional(z.array(zElementInstanceKeyFilterProperty).register(z.globalRegistry, {
5879
+ 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."
5880
+ })),
5881
+ processDefinitionId: z.optional(zStringFilterProperty),
5882
+ processDefinitionVersion: z.optional(zIntegerFilterProperty),
5883
+ processDefinitionVersionTag: z.optional(zStringFilterProperty)
5884
+ }).register(z.globalRegistry, {
5885
+ description: "Agent instance search filter."
5886
+ });
5887
+ var zAgentInstanceSearchQuery = zSearchQueryRequest.and(z.object({
5888
+ sort: z.optional(z.array(zAgentInstanceSearchQuerySortRequest).register(z.globalRegistry, {
5889
+ description: "Sort field criteria."
5890
+ })),
5891
+ filter: z.optional(zAgentInstanceFilter)
5892
+ }).register(z.globalRegistry, {
5893
+ description: "Agent instance search request."
5894
+ }));
5895
+ var zAgentHistoryItemKeyExactMatch = zAgentHistoryItemKey;
5896
+ var zAgentHistoryItemKeyFilterProperty = z.union([
5897
+ zAgentHistoryItemKeyExactMatch,
5898
+ zAdvancedAgentHistoryItemKeyFilter
5899
+ ]);
5900
+ var zAgentInstanceHistoryFilter = z.object({
5901
+ historyItemKey: z.optional(zAgentHistoryItemKeyFilterProperty),
5902
+ role: z.optional(zAgentInstanceHistoryRoleFilterProperty),
5903
+ elementInstanceKey: z.optional(zElementInstanceKeyFilterProperty),
5904
+ jobKey: z.optional(zJobKeyFilterProperty),
5905
+ iteration: z.optional(zIntegerFilterProperty),
5906
+ commitStatus: z.optional(zAgentInstanceHistoryCommitStatusFilterProperty),
5907
+ producedAt: z.optional(zDateTimeFilterProperty)
5908
+ }).register(z.globalRegistry, {
5909
+ description: "Agent instance history item search filter."
5910
+ });
5911
+ var zAgentInstanceHistorySearchQuery = zSearchQueryRequest.and(z.object({
5912
+ sort: z.optional(z.array(zAgentInstanceHistorySearchQuerySortRequest).register(z.globalRegistry, {
5913
+ description: "Sort field criteria."
5914
+ })),
5915
+ filter: z.optional(zAgentInstanceHistoryFilter)
5916
+ }).register(z.globalRegistry, {
5917
+ description: "Agent instance history search request."
5918
+ }));
5113
5919
  var zAuditLogKeyExactMatch = zAuditLogKey;
5114
5920
  var zAuditLogKeyFilterProperty = z.union([
5115
5921
  zAuditLogKeyExactMatch,
@@ -5209,6 +6015,11 @@ var zDecisionInstanceSearchQuery = zSearchQueryRequest.and(z.object({
5209
6015
  })),
5210
6016
  filter: z.optional(zDecisionInstanceFilter)
5211
6017
  }));
6018
+ var zMessageSubscriptionTypeExactMatch = zMessageSubscriptionTypeEnum;
6019
+ var zMessageSubscriptionTypeFilterProperty = z.union([
6020
+ zMessageSubscriptionTypeExactMatch,
6021
+ zAdvancedMessageSubscriptionTypeFilter
6022
+ ]);
5212
6023
  var zMessageSubscriptionStateExactMatch = zMessageSubscriptionStateEnum;
5213
6024
  var zMessageSubscriptionStateFilterProperty = z.union([
5214
6025
  zMessageSubscriptionStateExactMatch,
@@ -5230,7 +6041,12 @@ var zMessageSubscriptionFilter = z.object({
5230
6041
  lastUpdatedDate: z.optional(zDateTimeFilterProperty),
5231
6042
  messageName: z.optional(zStringFilterProperty),
5232
6043
  correlationKey: z.optional(zStringFilterProperty),
5233
- tenantId: z.optional(zStringFilterProperty)
6044
+ tenantId: z.optional(zStringFilterProperty),
6045
+ messageSubscriptionType: z.optional(zMessageSubscriptionTypeFilterProperty),
6046
+ processDefinitionName: z.optional(zStringFilterProperty),
6047
+ processDefinitionVersion: z.optional(zIntegerFilterProperty),
6048
+ toolName: z.optional(zStringFilterProperty),
6049
+ inboundConnectorType: z.optional(zStringFilterProperty)
5234
6050
  }).register(z.globalRegistry, {
5235
6051
  description: "Message subscription search filter."
5236
6052
  });
@@ -5380,7 +6196,7 @@ var zUserTaskFilter = z.object({
5380
6196
  candidateGroup: z.optional(zStringFilterProperty),
5381
6197
  candidateUser: z.optional(zStringFilterProperty),
5382
6198
  tenantId: z.optional(zStringFilterProperty),
5383
- processDefinitionId: z.optional(zProcessDefinitionId),
6199
+ processDefinitionId: z.optional(zProcessDefinitionIdFilterProperty),
5384
6200
  creationDate: z.optional(zDateTimeFilterProperty),
5385
6201
  completionDate: z.optional(zDateTimeFilterProperty),
5386
6202
  followUpDate: z.optional(zDateTimeFilterProperty),
@@ -5392,8 +6208,8 @@ var zUserTaskFilter = z.object({
5392
6208
  description: "The local variables of the user task."
5393
6209
  })),
5394
6210
  userTaskKey: z.optional(zUserTaskKey),
5395
- processDefinitionKey: z.optional(zProcessDefinitionKey),
5396
- processInstanceKey: z.optional(zProcessInstanceKey),
6211
+ processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
6212
+ processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5397
6213
  elementInstanceKey: z.optional(zElementInstanceKey),
5398
6214
  tags: z.optional(zTagSet)
5399
6215
  }).register(z.globalRegistry, {
@@ -5407,6 +6223,52 @@ var zUserTaskSearchQuery = zSearchQueryRequest.and(z.object({
5407
6223
  }).register(z.globalRegistry, {
5408
6224
  description: "User task search query request."
5409
6225
  }));
6226
+ var zCreateAgentInstanceData = z.object({
6227
+ body: zAgentInstanceCreationRequest,
6228
+ path: z.optional(z.never()),
6229
+ query: z.optional(z.never())
6230
+ });
6231
+ var zCreateAgentInstanceResponse = zAgentInstanceCreationResult;
6232
+ var zGetAgentInstanceData = z.object({
6233
+ body: z.optional(z.never()),
6234
+ path: z.object({
6235
+ agentInstanceKey: zAgentInstanceKey
6236
+ }),
6237
+ query: z.optional(z.never())
6238
+ });
6239
+ var zGetAgentInstanceResponse = zAgentInstanceResult;
6240
+ var zUpdateAgentInstanceData = z.object({
6241
+ body: zAgentInstanceUpdateRequest,
6242
+ path: z.object({
6243
+ agentInstanceKey: zAgentInstanceKey
6244
+ }),
6245
+ query: z.optional(z.never())
6246
+ });
6247
+ var zUpdateAgentInstanceResponse = z.void().register(z.globalRegistry, {
6248
+ description: "The agent instance was updated successfully."
6249
+ });
6250
+ var zSearchAgentInstancesData = z.object({
6251
+ body: z.optional(zAgentInstanceSearchQuery),
6252
+ path: z.optional(z.never()),
6253
+ query: z.optional(z.never())
6254
+ });
6255
+ var zSearchAgentInstancesResponse = zAgentInstanceSearchQueryResult;
6256
+ var zCreateAgentInstanceHistoryItemData = z.object({
6257
+ body: zAgentInstanceHistoryItemRequest,
6258
+ path: z.object({
6259
+ agentInstanceKey: zAgentInstanceKey
6260
+ }),
6261
+ query: z.optional(z.never())
6262
+ });
6263
+ var zCreateAgentInstanceHistoryItemResponse = zAgentInstanceHistoryItemCreationResult;
6264
+ var zSearchAgentInstanceHistoryData = z.object({
6265
+ body: z.optional(zAgentInstanceHistorySearchQuery),
6266
+ path: z.object({
6267
+ agentInstanceKey: zAgentInstanceKey
6268
+ }),
6269
+ query: z.optional(z.never())
6270
+ });
6271
+ var zSearchAgentInstanceHistoryResponse = zAgentInstanceHistorySearchQueryResult;
5410
6272
  var zSearchAuditLogsData = z.object({
5411
6273
  body: z.optional(zAuditLogSearchQueryRequest),
5412
6274
  path: z.optional(z.never()),
@@ -5542,9 +6404,7 @@ var zCreateGlobalClusterVariableResponse = zClusterVariableResult;
5542
6404
  var zDeleteGlobalClusterVariableData = z.object({
5543
6405
  body: z.optional(z.never()),
5544
6406
  path: z.object({
5545
- name: z.string().register(z.globalRegistry, {
5546
- description: "The name of the cluster variable"
5547
- })
6407
+ name: zClusterVariableName
5548
6408
  }),
5549
6409
  query: z.optional(z.never())
5550
6410
  });
@@ -5554,9 +6414,7 @@ var zDeleteGlobalClusterVariableResponse = z.void().register(z.globalRegistry, {
5554
6414
  var zGetGlobalClusterVariableData = z.object({
5555
6415
  body: z.optional(z.never()),
5556
6416
  path: z.object({
5557
- name: z.string().register(z.globalRegistry, {
5558
- description: "The name of the cluster variable"
5559
- })
6417
+ name: zClusterVariableName
5560
6418
  }),
5561
6419
  query: z.optional(z.never())
5562
6420
  });
@@ -5564,9 +6422,7 @@ var zGetGlobalClusterVariableResponse = zClusterVariableResult;
5564
6422
  var zUpdateGlobalClusterVariableData = z.object({
5565
6423
  body: zUpdateClusterVariableRequest,
5566
6424
  path: z.object({
5567
- name: z.string().register(z.globalRegistry, {
5568
- description: "The name of the cluster variable"
5569
- })
6425
+ name: zClusterVariableName
5570
6426
  }),
5571
6427
  query: z.optional(z.never())
5572
6428
  });
@@ -5593,9 +6449,7 @@ var zDeleteTenantClusterVariableData = z.object({
5593
6449
  body: z.optional(z.never()),
5594
6450
  path: z.object({
5595
6451
  tenantId: zTenantId,
5596
- name: z.string().register(z.globalRegistry, {
5597
- description: "The name of the cluster variable"
5598
- })
6452
+ name: zClusterVariableName
5599
6453
  }),
5600
6454
  query: z.optional(z.never())
5601
6455
  });
@@ -5606,9 +6460,7 @@ var zGetTenantClusterVariableData = z.object({
5606
6460
  body: z.optional(z.never()),
5607
6461
  path: z.object({
5608
6462
  tenantId: zTenantId,
5609
- name: z.string().register(z.globalRegistry, {
5610
- description: "The name of the cluster variable"
5611
- })
6463
+ name: zClusterVariableName
5612
6464
  }),
5613
6465
  query: z.optional(z.never())
5614
6466
  });
@@ -5617,9 +6469,7 @@ var zUpdateTenantClusterVariableData = z.object({
5617
6469
  body: zUpdateClusterVariableRequest,
5618
6470
  path: z.object({
5619
6471
  tenantId: zTenantId,
5620
- name: z.string().register(z.globalRegistry, {
5621
- description: "The name of the cluster variable"
5622
- })
6472
+ name: zClusterVariableName
5623
6473
  }),
5624
6474
  query: z.optional(z.never())
5625
6475
  });
@@ -5681,12 +6531,7 @@ var zGetDecisionInstanceData = z.object({
5681
6531
  });
5682
6532
  var zGetDecisionInstanceResponse = zDecisionInstanceGetQueryResult;
5683
6533
  var zDeleteDecisionInstanceData = z.object({
5684
- body: z.optional(z.union([
5685
- z.object({
5686
- operationReference: z.optional(zOperationReference)
5687
- }),
5688
- z.null()
5689
- ])),
6534
+ body: z.optional(zDeleteDecisionInstanceRequest),
5690
6535
  path: z.object({
5691
6536
  decisionEvaluationKey: zDecisionEvaluationKey
5692
6537
  }),
@@ -5826,6 +6671,12 @@ var zActivateAdHocSubProcessActivitiesData = z.object({
5826
6671
  var zActivateAdHocSubProcessActivitiesResponse = z.void().register(z.globalRegistry, {
5827
6672
  description: "The ad-hoc sub-process instance is modified."
5828
6673
  });
6674
+ var zSearchElementInstanceWaitStatesData = z.object({
6675
+ body: z.optional(zElementInstanceWaitStateQuery),
6676
+ path: z.optional(z.never()),
6677
+ query: z.optional(z.never())
6678
+ });
6679
+ var zSearchElementInstanceWaitStatesResponse = zElementInstanceWaitStateQueryResult;
5829
6680
  var zSearchElementInstancesData = z.object({
5830
6681
  body: z.optional(zElementInstanceSearchQuery),
5831
6682
  path: z.optional(z.never()),
@@ -5864,6 +6715,14 @@ var zEvaluateExpressionData = z.object({
5864
6715
  query: z.optional(z.never())
5865
6716
  });
5866
6717
  var zEvaluateExpressionResponse = zExpressionEvaluationResult;
6718
+ var zGetFormByKeyData = z.object({
6719
+ body: z.optional(z.never()),
6720
+ path: z.object({
6721
+ formKey: zFormKey
6722
+ }),
6723
+ query: z.optional(z.never())
6724
+ });
6725
+ var zGetFormByKeyResponse = zFormResult;
5867
6726
  var zCreateGlobalTaskListenerData = z.object({
5868
6727
  body: zCreateGlobalTaskListenerRequest,
5869
6728
  path: z.optional(z.never()),
@@ -5917,9 +6776,7 @@ var zSearchGroupsResponse = zGroupSearchQueryResult;
5917
6776
  var zDeleteGroupData = z.object({
5918
6777
  body: z.optional(z.never()),
5919
6778
  path: z.object({
5920
- groupId: z.string().register(z.globalRegistry, {
5921
- description: "The group ID."
5922
- })
6779
+ groupId: zGroupId
5923
6780
  }),
5924
6781
  query: z.optional(z.never())
5925
6782
  });
@@ -5929,9 +6786,7 @@ var zDeleteGroupResponse = z.void().register(z.globalRegistry, {
5929
6786
  var zGetGroupData = z.object({
5930
6787
  body: z.optional(z.never()),
5931
6788
  path: z.object({
5932
- groupId: z.string().register(z.globalRegistry, {
5933
- description: "The group ID."
5934
- })
6789
+ groupId: zGroupId
5935
6790
  }),
5936
6791
  query: z.optional(z.never())
5937
6792
  });
@@ -5939,53 +6794,24 @@ var zGetGroupResponse = zGroupResult;
5939
6794
  var zUpdateGroupData = z.object({
5940
6795
  body: zGroupUpdateRequest,
5941
6796
  path: z.object({
5942
- groupId: z.string().register(z.globalRegistry, {
5943
- description: "The group ID."
5944
- })
6797
+ groupId: zGroupId
5945
6798
  }),
5946
6799
  query: z.optional(z.never())
5947
6800
  });
5948
6801
  var zUpdateGroupResponse = zGroupUpdateResult;
5949
6802
  var zSearchClientsForGroupData = z.object({
5950
- body: z.optional(zSearchQueryRequest.and(z.object({
5951
- sort: z.optional(z.array(z.object({
5952
- field: z.enum([
5953
- "clientId"
5954
- ]).register(z.globalRegistry, {
5955
- description: "The field to sort by."
5956
- }),
5957
- order: z.optional(zSortOrderEnum)
5958
- })).register(z.globalRegistry, {
5959
- description: "Sort field criteria."
5960
- }))
5961
- }))),
6803
+ body: z.optional(zGroupClientSearchQueryRequest),
5962
6804
  path: z.object({
5963
- groupId: z.string().register(z.globalRegistry, {
5964
- description: "The group ID."
5965
- })
6805
+ groupId: zGroupId
5966
6806
  }),
5967
6807
  query: z.optional(z.never())
5968
6808
  });
5969
- var zSearchClientsForGroupResponse = zSearchQueryResponse.and(z.object({
5970
- items: z.array(z.object({
5971
- clientId: z.string().register(z.globalRegistry, {
5972
- description: "The ID of the client."
5973
- })
5974
- })).register(z.globalRegistry, {
5975
- description: "The matching client IDs."
5976
- })
5977
- }).register(z.globalRegistry, {
5978
- description: "The clients assigned to the group."
5979
- }));
6809
+ var zSearchClientsForGroupResponse = zGroupClientSearchResult;
5980
6810
  var zUnassignClientFromGroupData = z.object({
5981
6811
  body: z.optional(z.never()),
5982
6812
  path: z.object({
5983
- groupId: z.string().register(z.globalRegistry, {
5984
- description: "The group ID."
5985
- }),
5986
- clientId: z.string().register(z.globalRegistry, {
5987
- description: "The client ID."
5988
- })
6813
+ groupId: zGroupId,
6814
+ clientId: zClientId
5989
6815
  }),
5990
6816
  query: z.optional(z.never())
5991
6817
  });
@@ -5995,12 +6821,8 @@ var zUnassignClientFromGroupResponse = z.void().register(z.globalRegistry, {
5995
6821
  var zAssignClientToGroupData = z.object({
5996
6822
  body: z.optional(z.never()),
5997
6823
  path: z.object({
5998
- groupId: z.string().register(z.globalRegistry, {
5999
- description: "The group ID."
6000
- }),
6001
- clientId: z.string().register(z.globalRegistry, {
6002
- description: "The client ID."
6003
- })
6824
+ groupId: zGroupId,
6825
+ clientId: zClientId
6004
6826
  }),
6005
6827
  query: z.optional(z.never())
6006
6828
  });
@@ -6010,28 +6832,16 @@ var zAssignClientToGroupResponse = z.void().register(z.globalRegistry, {
6010
6832
  var zSearchMappingRulesForGroupData = z.object({
6011
6833
  body: z.optional(zMappingRuleSearchQueryRequest),
6012
6834
  path: z.object({
6013
- groupId: z.string().register(z.globalRegistry, {
6014
- description: "The group ID."
6015
- })
6835
+ groupId: zGroupId
6016
6836
  }),
6017
6837
  query: z.optional(z.never())
6018
6838
  });
6019
- var zSearchMappingRulesForGroupResponse = zSearchQueryResponse.and(z.object({
6020
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6021
- description: "The matching mapping rules."
6022
- })
6023
- }).register(z.globalRegistry, {
6024
- description: "The mapping rules assigned to the group."
6025
- }));
6839
+ var zSearchMappingRulesForGroupResponse = zGroupMappingRuleSearchResult;
6026
6840
  var zUnassignMappingRuleFromGroupData = z.object({
6027
6841
  body: z.optional(z.never()),
6028
6842
  path: z.object({
6029
- groupId: z.string().register(z.globalRegistry, {
6030
- description: "The group ID."
6031
- }),
6032
- mappingRuleId: z.string().register(z.globalRegistry, {
6033
- description: "The mapping rule ID."
6034
- })
6843
+ groupId: zGroupId,
6844
+ mappingRuleId: zMappingRuleId
6035
6845
  }),
6036
6846
  query: z.optional(z.never())
6037
6847
  });
@@ -6041,12 +6851,8 @@ var zUnassignMappingRuleFromGroupResponse = z.void().register(z.globalRegistry,
6041
6851
  var zAssignMappingRuleToGroupData = z.object({
6042
6852
  body: z.optional(z.never()),
6043
6853
  path: z.object({
6044
- groupId: z.string().register(z.globalRegistry, {
6045
- description: "The group ID."
6046
- }),
6047
- mappingRuleId: z.string().register(z.globalRegistry, {
6048
- description: "The mapping rule ID."
6049
- })
6854
+ groupId: zGroupId,
6855
+ mappingRuleId: zMappingRuleId
6050
6856
  }),
6051
6857
  query: z.optional(z.never())
6052
6858
  });
@@ -6056,54 +6862,23 @@ var zAssignMappingRuleToGroupResponse = z.void().register(z.globalRegistry, {
6056
6862
  var zSearchRolesForGroupData = z.object({
6057
6863
  body: z.optional(zRoleSearchQueryRequest),
6058
6864
  path: z.object({
6059
- groupId: z.string().register(z.globalRegistry, {
6060
- description: "The group ID."
6061
- })
6865
+ groupId: zGroupId
6062
6866
  }),
6063
6867
  query: z.optional(z.never())
6064
6868
  });
6065
- var zSearchRolesForGroupResponse = zSearchQueryResponse.and(z.object({
6066
- items: z.array(zRoleResult).register(z.globalRegistry, {
6067
- description: "The matching roles."
6068
- })
6069
- }).register(z.globalRegistry, {
6070
- description: "The roles assigned to the group."
6071
- }));
6869
+ var zSearchRolesForGroupResponse = zGroupRoleSearchResult;
6072
6870
  var zSearchUsersForGroupData = z.object({
6073
- body: z.optional(zSearchQueryRequest.and(z.object({
6074
- sort: z.optional(z.array(z.object({
6075
- field: z.enum([
6076
- "username"
6077
- ]).register(z.globalRegistry, {
6078
- description: "The field to sort by."
6079
- }),
6080
- order: z.optional(zSortOrderEnum)
6081
- })).register(z.globalRegistry, {
6082
- description: "Sort field criteria."
6083
- }))
6084
- }))),
6871
+ body: z.optional(zGroupUserSearchQueryRequest),
6085
6872
  path: z.object({
6086
- groupId: z.string().register(z.globalRegistry, {
6087
- description: "The group ID."
6088
- })
6873
+ groupId: zGroupId
6089
6874
  }),
6090
6875
  query: z.optional(z.never())
6091
6876
  });
6092
- var zSearchUsersForGroupResponse = zSearchQueryResponse.and(z.object({
6093
- items: z.array(z.object({
6094
- username: zUsername
6095
- })).register(z.globalRegistry, {
6096
- description: "The matching members."
6097
- })
6098
- }).register(z.globalRegistry, {
6099
- description: "The users assigned to the group."
6100
- }));
6877
+ var zSearchUsersForGroupResponse = zGroupUserSearchResult;
6101
6878
  var zUnassignUserFromGroupData = z.object({
6102
6879
  body: z.optional(z.never()),
6103
6880
  path: z.object({
6104
- groupId: z.string().register(z.globalRegistry, {
6105
- description: "The group ID."
6106
- }),
6881
+ groupId: zGroupId,
6107
6882
  username: zUsername
6108
6883
  }),
6109
6884
  query: z.optional(z.never())
@@ -6114,9 +6889,7 @@ var zUnassignUserFromGroupResponse = z.void().register(z.globalRegistry, {
6114
6889
  var zAssignUserToGroupData = z.object({
6115
6890
  body: z.optional(z.never()),
6116
6891
  path: z.object({
6117
- groupId: z.string().register(z.globalRegistry, {
6118
- description: "The group ID."
6119
- }),
6892
+ groupId: zGroupId,
6120
6893
  username: zUsername
6121
6894
  }),
6122
6895
  query: z.optional(z.never())
@@ -6263,25 +7036,17 @@ var zCreateMappingRuleData = z.object({
6263
7036
  path: z.optional(z.never()),
6264
7037
  query: z.optional(z.never())
6265
7038
  });
6266
- var zCreateMappingRuleResponse = zMappingRuleCreateUpdateResult;
7039
+ var zCreateMappingRuleResponse = zMappingRuleCreateResult;
6267
7040
  var zSearchMappingRuleData = z.object({
6268
7041
  body: z.optional(zMappingRuleSearchQueryRequest),
6269
7042
  path: z.optional(z.never()),
6270
7043
  query: z.optional(z.never())
6271
7044
  });
6272
- var zSearchMappingRuleResponse = zSearchQueryResponse.and(z.object({
6273
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6274
- description: "The matching mapping rules."
6275
- })
6276
- }).register(z.globalRegistry, {
6277
- description: "The mapping rule search result."
6278
- }));
7045
+ var zSearchMappingRuleResponse = zMappingRuleSearchQueryResult;
6279
7046
  var zDeleteMappingRuleData = z.object({
6280
7047
  body: z.optional(z.never()),
6281
7048
  path: z.object({
6282
- mappingRuleId: z.string().register(z.globalRegistry, {
6283
- description: "The ID of the mapping rule to delete."
6284
- })
7049
+ mappingRuleId: zMappingRuleId
6285
7050
  }),
6286
7051
  query: z.optional(z.never())
6287
7052
  });
@@ -6291,9 +7056,7 @@ var zDeleteMappingRuleResponse = z.void().register(z.globalRegistry, {
6291
7056
  var zGetMappingRuleData = z.object({
6292
7057
  body: z.optional(z.never()),
6293
7058
  path: z.object({
6294
- mappingRuleId: z.string().register(z.globalRegistry, {
6295
- description: "The ID of the mapping rule to get."
6296
- })
7059
+ mappingRuleId: zMappingRuleId
6297
7060
  }),
6298
7061
  query: z.optional(z.never())
6299
7062
  });
@@ -6301,13 +7064,11 @@ var zGetMappingRuleResponse = zMappingRuleResult;
6301
7064
  var zUpdateMappingRuleData = z.object({
6302
7065
  body: z.optional(zMappingRuleUpdateRequest),
6303
7066
  path: z.object({
6304
- mappingRuleId: z.string().register(z.globalRegistry, {
6305
- description: "The ID of the mapping rule to update."
6306
- })
7067
+ mappingRuleId: zMappingRuleId
6307
7068
  }),
6308
7069
  query: z.optional(z.never())
6309
7070
  });
6310
- var zUpdateMappingRuleResponse = zMappingRuleCreateUpdateResult;
7071
+ var zUpdateMappingRuleResponse = zMappingRuleUpdateResult;
6311
7072
  var zSearchMessageSubscriptionsData = z.object({
6312
7073
  body: z.optional(zMessageSubscriptionSearchQuery),
6313
7074
  path: z.optional(z.never()),
@@ -6450,12 +7211,7 @@ var zGetProcessInstanceCallHierarchyResponse = z.array(zProcessInstanceCallHiera
6450
7211
  description: "The call hierarchy is successfully returned."
6451
7212
  });
6452
7213
  var zCancelProcessInstanceData = z.object({
6453
- body: z.optional(z.union([
6454
- z.object({
6455
- operationReference: z.optional(zOperationReference)
6456
- }),
6457
- z.null()
6458
- ])),
7214
+ body: z.optional(zCancelProcessInstanceRequest),
6459
7215
  path: z.object({
6460
7216
  processInstanceKey: zProcessInstanceKey
6461
7217
  }),
@@ -6465,12 +7221,7 @@ var zCancelProcessInstanceResponse = z.void().register(z.globalRegistry, {
6465
7221
  description: "The process instance is canceled."
6466
7222
  });
6467
7223
  var zDeleteProcessInstanceData = z.object({
6468
- body: z.optional(z.union([
6469
- z.object({
6470
- operationReference: z.optional(zOperationReference)
6471
- }),
6472
- z.null()
6473
- ])),
7224
+ body: z.optional(zDeleteProcessInstanceRequest),
6474
7225
  path: z.object({
6475
7226
  processInstanceKey: zProcessInstanceKey
6476
7227
  }),
@@ -6531,6 +7282,12 @@ var zGetProcessInstanceStatisticsData = z.object({
6531
7282
  query: z.optional(z.never())
6532
7283
  });
6533
7284
  var zGetProcessInstanceStatisticsResponse = zProcessInstanceElementStatisticsQueryResult;
7285
+ var zSearchResourcesData = z.object({
7286
+ body: z.optional(zResourceSearchQuery),
7287
+ path: z.optional(z.never()),
7288
+ query: z.optional(z.never())
7289
+ });
7290
+ var zSearchResourcesResponse = zResourceSearchQueryResult;
6534
7291
  var zGetResourceData = z.object({
6535
7292
  body: z.optional(z.never()),
6536
7293
  path: z.object({
@@ -6546,7 +7303,17 @@ var zGetResourceContentData = z.object({
6546
7303
  }),
6547
7304
  query: z.optional(z.never())
6548
7305
  });
6549
- var zGetResourceContentResponse = z.string().register(z.globalRegistry, {
7306
+ var zGetResourceContentResponse = z.record(z.string(), z.unknown()).register(z.globalRegistry, {
7307
+ description: "The resource content is successfully returned."
7308
+ });
7309
+ var zGetResourceContentBinaryData = z.object({
7310
+ body: z.optional(z.never()),
7311
+ path: z.object({
7312
+ resourceKey: zResourceKey
7313
+ }),
7314
+ query: z.optional(z.never())
7315
+ });
7316
+ var zGetResourceContentBinaryResponse = z.string().register(z.globalRegistry, {
6550
7317
  description: "The resource content is successfully returned."
6551
7318
  });
6552
7319
  var zDeleteResourceData = z.object({
@@ -6572,9 +7339,7 @@ var zSearchRolesResponse = zRoleSearchQueryResult;
6572
7339
  var zDeleteRoleData = z.object({
6573
7340
  body: z.optional(z.never()),
6574
7341
  path: z.object({
6575
- roleId: z.string().register(z.globalRegistry, {
6576
- description: "The role ID."
6577
- })
7342
+ roleId: zRoleId
6578
7343
  }),
6579
7344
  query: z.optional(z.never())
6580
7345
  });
@@ -6584,9 +7349,7 @@ var zDeleteRoleResponse = z.void().register(z.globalRegistry, {
6584
7349
  var zGetRoleData = z.object({
6585
7350
  body: z.optional(z.never()),
6586
7351
  path: z.object({
6587
- roleId: z.string().register(z.globalRegistry, {
6588
- description: "The role ID."
6589
- })
7352
+ roleId: zRoleId
6590
7353
  }),
6591
7354
  query: z.optional(z.never())
6592
7355
  });
@@ -6594,53 +7357,24 @@ var zGetRoleResponse = zRoleResult;
6594
7357
  var zUpdateRoleData = z.object({
6595
7358
  body: zRoleUpdateRequest,
6596
7359
  path: z.object({
6597
- roleId: z.string().register(z.globalRegistry, {
6598
- description: "The role ID."
6599
- })
7360
+ roleId: zRoleId
6600
7361
  }),
6601
7362
  query: z.optional(z.never())
6602
7363
  });
6603
7364
  var zUpdateRoleResponse = zRoleUpdateResult;
6604
7365
  var zSearchClientsForRoleData = z.object({
6605
- body: z.optional(zSearchQueryRequest.and(z.object({
6606
- sort: z.optional(z.array(z.object({
6607
- field: z.enum([
6608
- "clientId"
6609
- ]).register(z.globalRegistry, {
6610
- description: "The field to sort by."
6611
- }),
6612
- order: z.optional(zSortOrderEnum)
6613
- })).register(z.globalRegistry, {
6614
- description: "Sort field criteria."
6615
- }))
6616
- }))),
7366
+ body: z.optional(zRoleClientSearchQueryRequest),
6617
7367
  path: z.object({
6618
- roleId: z.string().register(z.globalRegistry, {
6619
- description: "The role ID."
6620
- })
7368
+ roleId: zRoleId
6621
7369
  }),
6622
7370
  query: z.optional(z.never())
6623
7371
  });
6624
- var zSearchClientsForRoleResponse = zSearchQueryResponse.and(z.object({
6625
- items: z.array(z.object({
6626
- clientId: z.string().register(z.globalRegistry, {
6627
- description: "The ID of the client."
6628
- })
6629
- })).register(z.globalRegistry, {
6630
- description: "The matching clients."
6631
- })
6632
- }).register(z.globalRegistry, {
6633
- description: "The clients with the assigned role."
6634
- }));
7372
+ var zSearchClientsForRoleResponse = zRoleClientSearchResult;
6635
7373
  var zUnassignRoleFromClientData = z.object({
6636
7374
  body: z.optional(z.never()),
6637
7375
  path: z.object({
6638
- roleId: z.string().register(z.globalRegistry, {
6639
- description: "The role ID."
6640
- }),
6641
- clientId: z.string().register(z.globalRegistry, {
6642
- description: "The client ID."
6643
- })
7376
+ roleId: zRoleId,
7377
+ clientId: zClientId
6644
7378
  }),
6645
7379
  query: z.optional(z.never())
6646
7380
  });
@@ -6650,12 +7384,8 @@ var zUnassignRoleFromClientResponse = z.void().register(z.globalRegistry, {
6650
7384
  var zAssignRoleToClientData = z.object({
6651
7385
  body: z.optional(z.never()),
6652
7386
  path: z.object({
6653
- roleId: z.string().register(z.globalRegistry, {
6654
- description: "The role ID."
6655
- }),
6656
- clientId: z.string().register(z.globalRegistry, {
6657
- description: "The client ID."
6658
- })
7387
+ roleId: zRoleId,
7388
+ clientId: zClientId
6659
7389
  }),
6660
7390
  query: z.optional(z.never())
6661
7391
  });
@@ -6665,9 +7395,7 @@ var zAssignRoleToClientResponse = z.void().register(z.globalRegistry, {
6665
7395
  var zSearchGroupsForRoleData = z.object({
6666
7396
  body: z.optional(zRoleGroupSearchQueryRequest),
6667
7397
  path: z.object({
6668
- roleId: z.string().register(z.globalRegistry, {
6669
- description: "The role ID."
6670
- })
7398
+ roleId: zRoleId
6671
7399
  }),
6672
7400
  query: z.optional(z.never())
6673
7401
  });
@@ -6675,12 +7403,8 @@ var zSearchGroupsForRoleResponse = zRoleGroupSearchResult;
6675
7403
  var zUnassignRoleFromGroupData = z.object({
6676
7404
  body: z.optional(z.never()),
6677
7405
  path: z.object({
6678
- roleId: z.string().register(z.globalRegistry, {
6679
- description: "The role ID."
6680
- }),
6681
- groupId: z.string().register(z.globalRegistry, {
6682
- description: "The group ID."
6683
- })
7406
+ roleId: zRoleId,
7407
+ groupId: zGroupId
6684
7408
  }),
6685
7409
  query: z.optional(z.never())
6686
7410
  });
@@ -6690,12 +7414,8 @@ var zUnassignRoleFromGroupResponse = z.void().register(z.globalRegistry, {
6690
7414
  var zAssignRoleToGroupData = z.object({
6691
7415
  body: z.optional(z.never()),
6692
7416
  path: z.object({
6693
- roleId: z.string().register(z.globalRegistry, {
6694
- description: "The role ID."
6695
- }),
6696
- groupId: z.string().register(z.globalRegistry, {
6697
- description: "The group ID."
6698
- })
7417
+ roleId: zRoleId,
7418
+ groupId: zGroupId
6699
7419
  }),
6700
7420
  query: z.optional(z.never())
6701
7421
  });
@@ -6705,28 +7425,16 @@ var zAssignRoleToGroupResponse = z.void().register(z.globalRegistry, {
6705
7425
  var zSearchMappingRulesForRoleData = z.object({
6706
7426
  body: z.optional(zMappingRuleSearchQueryRequest),
6707
7427
  path: z.object({
6708
- roleId: z.string().register(z.globalRegistry, {
6709
- description: "The role ID."
6710
- })
7428
+ roleId: zRoleId
6711
7429
  }),
6712
7430
  query: z.optional(z.never())
6713
7431
  });
6714
- var zSearchMappingRulesForRoleResponse = zSearchQueryResponse.and(z.object({
6715
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6716
- description: "The matching mapping rules."
6717
- })
6718
- }).register(z.globalRegistry, {
6719
- description: "The mapping rules with assigned role."
6720
- }));
7432
+ var zSearchMappingRulesForRoleResponse = zRoleMappingRuleSearchResult;
6721
7433
  var zUnassignRoleFromMappingRuleData = z.object({
6722
7434
  body: z.optional(z.never()),
6723
7435
  path: z.object({
6724
- roleId: z.string().register(z.globalRegistry, {
6725
- description: "The role ID."
6726
- }),
6727
- mappingRuleId: z.string().register(z.globalRegistry, {
6728
- description: "The mapping rule ID."
6729
- })
7436
+ roleId: zRoleId,
7437
+ mappingRuleId: zMappingRuleId
6730
7438
  }),
6731
7439
  query: z.optional(z.never())
6732
7440
  });
@@ -6736,12 +7444,8 @@ var zUnassignRoleFromMappingRuleResponse = z.void().register(z.globalRegistry, {
6736
7444
  var zAssignRoleToMappingRuleData = z.object({
6737
7445
  body: z.optional(z.never()),
6738
7446
  path: z.object({
6739
- roleId: z.string().register(z.globalRegistry, {
6740
- description: "The role ID."
6741
- }),
6742
- mappingRuleId: z.string().register(z.globalRegistry, {
6743
- description: "The mapping rule ID."
6744
- })
7447
+ roleId: zRoleId,
7448
+ mappingRuleId: zMappingRuleId
6745
7449
  }),
6746
7450
  query: z.optional(z.never())
6747
7451
  });
@@ -6749,40 +7453,17 @@ var zAssignRoleToMappingRuleResponse = z.void().register(z.globalRegistry, {
6749
7453
  description: "The role was assigned successfully to the mapping rule."
6750
7454
  });
6751
7455
  var zSearchUsersForRoleData = z.object({
6752
- body: z.optional(zSearchQueryRequest.and(z.object({
6753
- sort: z.optional(z.array(z.object({
6754
- field: z.enum([
6755
- "username"
6756
- ]).register(z.globalRegistry, {
6757
- description: "The field to sort by."
6758
- }),
6759
- order: z.optional(zSortOrderEnum)
6760
- })).register(z.globalRegistry, {
6761
- description: "Sort field criteria."
6762
- }))
6763
- }))),
7456
+ body: z.optional(zRoleUserSearchQueryRequest),
6764
7457
  path: z.object({
6765
- roleId: z.string().register(z.globalRegistry, {
6766
- description: "The role ID."
6767
- })
7458
+ roleId: zRoleId
6768
7459
  }),
6769
7460
  query: z.optional(z.never())
6770
7461
  });
6771
- var zSearchUsersForRoleResponse = zSearchQueryResponse.and(z.object({
6772
- items: z.array(z.object({
6773
- username: zUsername
6774
- })).register(z.globalRegistry, {
6775
- description: "The matching users."
6776
- })
6777
- }).register(z.globalRegistry, {
6778
- description: "The users with the assigned role."
6779
- }));
7462
+ var zSearchUsersForRoleResponse = zRoleUserSearchResult;
6780
7463
  var zUnassignRoleFromUserData = z.object({
6781
7464
  body: z.optional(z.never()),
6782
7465
  path: z.object({
6783
- roleId: z.string().register(z.globalRegistry, {
6784
- description: "The role ID."
6785
- }),
7466
+ roleId: zRoleId,
6786
7467
  username: zUsername
6787
7468
  }),
6788
7469
  query: z.optional(z.never())
@@ -6793,9 +7474,7 @@ var zUnassignRoleFromUserResponse = z.void().register(z.globalRegistry, {
6793
7474
  var zAssignRoleToUserData = z.object({
6794
7475
  body: z.optional(z.never()),
6795
7476
  path: z.object({
6796
- roleId: z.string().register(z.globalRegistry, {
6797
- description: "The role ID."
6798
- }),
7477
+ roleId: zRoleId,
6799
7478
  username: zUsername
6800
7479
  }),
6801
7480
  query: z.optional(z.never())
@@ -6885,41 +7564,18 @@ var zUpdateTenantData = z.object({
6885
7564
  });
6886
7565
  var zUpdateTenantResponse = zTenantUpdateResult;
6887
7566
  var zSearchClientsForTenantData = z.object({
6888
- body: z.optional(zSearchQueryRequest.and(z.object({
6889
- sort: z.optional(z.array(z.object({
6890
- field: z.enum([
6891
- "clientId"
6892
- ]).register(z.globalRegistry, {
6893
- description: "The field to sort by."
6894
- }),
6895
- order: z.optional(zSortOrderEnum)
6896
- })).register(z.globalRegistry, {
6897
- description: "Sort field criteria."
6898
- }))
6899
- }))),
7567
+ body: z.optional(zTenantClientSearchQueryRequest),
6900
7568
  path: z.object({
6901
7569
  tenantId: zTenantId
6902
7570
  }),
6903
7571
  query: z.optional(z.never())
6904
7572
  });
6905
- var zSearchClientsForTenantResponse = zSearchQueryResponse.and(z.object({
6906
- items: z.array(z.object({
6907
- clientId: z.string().register(z.globalRegistry, {
6908
- description: "The ID of the client."
6909
- })
6910
- })).register(z.globalRegistry, {
6911
- description: "The matching clients."
6912
- })
6913
- }).register(z.globalRegistry, {
6914
- description: "The search result of users for the tenant."
6915
- }));
7573
+ var zSearchClientsForTenantResponse = zTenantClientSearchResult;
6916
7574
  var zUnassignClientFromTenantData = z.object({
6917
7575
  body: z.optional(z.never()),
6918
7576
  path: z.object({
6919
7577
  tenantId: zTenantId,
6920
- clientId: z.string().register(z.globalRegistry, {
6921
- description: "The unique identifier of the application."
6922
- })
7578
+ clientId: zClientId
6923
7579
  }),
6924
7580
  query: z.optional(z.never())
6925
7581
  });
@@ -6930,9 +7586,7 @@ var zAssignClientToTenantData = z.object({
6930
7586
  body: z.optional(z.never()),
6931
7587
  path: z.object({
6932
7588
  tenantId: zTenantId,
6933
- clientId: z.string().register(z.globalRegistry, {
6934
- description: "The unique identifier of the application."
6935
- })
7589
+ clientId: zClientId
6936
7590
  }),
6937
7591
  query: z.optional(z.never())
6938
7592
  });
@@ -6951,9 +7605,7 @@ var zUnassignGroupFromTenantData = z.object({
6951
7605
  body: z.optional(z.never()),
6952
7606
  path: z.object({
6953
7607
  tenantId: zTenantId,
6954
- groupId: z.string().register(z.globalRegistry, {
6955
- description: "The unique identifier of the group."
6956
- })
7608
+ groupId: zGroupId
6957
7609
  }),
6958
7610
  query: z.optional(z.never())
6959
7611
  });
@@ -6964,9 +7616,7 @@ var zAssignGroupToTenantData = z.object({
6964
7616
  body: z.optional(z.never()),
6965
7617
  path: z.object({
6966
7618
  tenantId: zTenantId,
6967
- groupId: z.string().register(z.globalRegistry, {
6968
- description: "The unique identifier of the group."
6969
- })
7619
+ groupId: zGroupId
6970
7620
  }),
6971
7621
  query: z.optional(z.never())
6972
7622
  });
@@ -6980,20 +7630,12 @@ var zSearchMappingRulesForTenantData = z.object({
6980
7630
  }),
6981
7631
  query: z.optional(z.never())
6982
7632
  });
6983
- var zSearchMappingRulesForTenantResponse = zSearchQueryResponse.and(z.object({
6984
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6985
- description: "The matching mapping rules."
6986
- })
6987
- }).register(z.globalRegistry, {
6988
- description: "The search result of MappingRules for the tenant."
6989
- }));
7633
+ var zSearchMappingRulesForTenantResponse = zTenantMappingRuleSearchResult;
6990
7634
  var zUnassignMappingRuleFromTenantData = z.object({
6991
7635
  body: z.optional(z.never()),
6992
7636
  path: z.object({
6993
7637
  tenantId: zTenantId,
6994
- mappingRuleId: z.string().register(z.globalRegistry, {
6995
- description: "The unique identifier of the mapping rule."
6996
- })
7638
+ mappingRuleId: zMappingRuleId
6997
7639
  }),
6998
7640
  query: z.optional(z.never())
6999
7641
  });
@@ -7004,9 +7646,7 @@ var zAssignMappingRuleToTenantData = z.object({
7004
7646
  body: z.optional(z.never()),
7005
7647
  path: z.object({
7006
7648
  tenantId: zTenantId,
7007
- mappingRuleId: z.string().register(z.globalRegistry, {
7008
- description: "The unique identifier of the mapping rule."
7009
- })
7649
+ mappingRuleId: zMappingRuleId
7010
7650
  }),
7011
7651
  query: z.optional(z.never())
7012
7652
  });
@@ -7020,20 +7660,12 @@ var zSearchRolesForTenantData = z.object({
7020
7660
  }),
7021
7661
  query: z.optional(z.never())
7022
7662
  });
7023
- var zSearchRolesForTenantResponse = zSearchQueryResponse.and(z.object({
7024
- items: z.array(zRoleResult).register(z.globalRegistry, {
7025
- description: "The matching roles."
7026
- })
7027
- }).register(z.globalRegistry, {
7028
- description: "The search result of roles for the tenant."
7029
- }));
7663
+ var zSearchRolesForTenantResponse = zTenantRoleSearchResult;
7030
7664
  var zUnassignRoleFromTenantData = z.object({
7031
7665
  body: z.optional(z.never()),
7032
7666
  path: z.object({
7033
7667
  tenantId: zTenantId,
7034
- roleId: z.string().register(z.globalRegistry, {
7035
- description: "The unique identifier of the role."
7036
- })
7668
+ roleId: zRoleId
7037
7669
  }),
7038
7670
  query: z.optional(z.never())
7039
7671
  });
@@ -7044,9 +7676,7 @@ var zAssignRoleToTenantData = z.object({
7044
7676
  body: z.optional(z.never()),
7045
7677
  path: z.object({
7046
7678
  tenantId: zTenantId,
7047
- roleId: z.string().register(z.globalRegistry, {
7048
- description: "The unique identifier of the role."
7049
- })
7679
+ roleId: zRoleId
7050
7680
  }),
7051
7681
  query: z.optional(z.never())
7052
7682
  });
@@ -7054,32 +7684,13 @@ var zAssignRoleToTenantResponse = z.void().register(z.globalRegistry, {
7054
7684
  description: "The role was successfully assigned to the tenant."
7055
7685
  });
7056
7686
  var zSearchUsersForTenantData = z.object({
7057
- body: z.optional(zSearchQueryRequest.and(z.object({
7058
- sort: z.optional(z.array(z.object({
7059
- field: z.enum([
7060
- "username"
7061
- ]).register(z.globalRegistry, {
7062
- description: "The field to sort by."
7063
- }),
7064
- order: z.optional(zSortOrderEnum)
7065
- })).register(z.globalRegistry, {
7066
- description: "Sort field criteria."
7067
- }))
7068
- }))),
7687
+ body: z.optional(zTenantUserSearchQueryRequest),
7069
7688
  path: z.object({
7070
7689
  tenantId: zTenantId
7071
7690
  }),
7072
7691
  query: z.optional(z.never())
7073
7692
  });
7074
- var zSearchUsersForTenantResponse = zSearchQueryResponse.and(z.object({
7075
- items: z.array(z.object({
7076
- username: zUsername
7077
- })).register(z.globalRegistry, {
7078
- description: "The matching users."
7079
- })
7080
- }).register(z.globalRegistry, {
7081
- description: "The search result of users for the tenant."
7082
- }));
7693
+ var zSearchUsersForTenantResponse = zTenantUserSearchResult;
7083
7694
  var zUnassignUserFromTenantData = z.object({
7084
7695
  body: z.optional(z.never()),
7085
7696
  path: z.object({
@@ -7119,23 +7730,7 @@ var zSearchUsersData = z.object({
7119
7730
  path: z.optional(z.never()),
7120
7731
  query: z.optional(z.never())
7121
7732
  });
7122
- var zSearchUsersResponse = zSearchQueryResponse.and(z.object({
7123
- items: z.array(z.object({
7124
- username: zUsername,
7125
- name: z.union([
7126
- z.string(),
7127
- z.null()
7128
- ]),
7129
- email: z.union([
7130
- z.string(),
7131
- z.null()
7132
- ])
7133
- })).register(z.globalRegistry, {
7134
- description: "The matching users."
7135
- })
7136
- }).register(z.globalRegistry, {
7137
- description: "The user search result."
7138
- }));
7733
+ var zSearchUsersResponse = zUserSearchResult;
7139
7734
  var zDeleteUserData = z.object({
7140
7735
  body: z.optional(z.never()),
7141
7736
  path: z.object({
@@ -7153,19 +7748,7 @@ var zGetUserData = z.object({
7153
7748
  }),
7154
7749
  query: z.optional(z.never())
7155
7750
  });
7156
- var zGetUserResponse = z.object({
7157
- username: zUsername,
7158
- name: z.union([
7159
- z.string(),
7160
- z.null()
7161
- ]),
7162
- email: z.union([
7163
- z.string(),
7164
- z.null()
7165
- ])
7166
- }).register(z.globalRegistry, {
7167
- description: "The user is successfully returned."
7168
- });
7751
+ var zGetUserResponse = zUserResult;
7169
7752
  var zUpdateUserData = z.object({
7170
7753
  body: zUserUpdateRequest,
7171
7754
  path: z.object({
@@ -7173,19 +7756,7 @@ var zUpdateUserData = z.object({
7173
7756
  }),
7174
7757
  query: z.optional(z.never())
7175
7758
  });
7176
- var zUpdateUserResponse = z.object({
7177
- username: zUsername,
7178
- name: z.union([
7179
- z.string(),
7180
- z.null()
7181
- ]),
7182
- email: z.union([
7183
- z.string(),
7184
- z.null()
7185
- ])
7186
- }).register(z.globalRegistry, {
7187
- description: "The user was updated successfully."
7188
- });
7759
+ var zUpdateUserResponse = zUserUpdateResult;
7189
7760
  var zSearchUserTasksData = z.object({
7190
7761
  body: z.optional(zUserTaskSearchQuery),
7191
7762
  path: z.optional(z.never()),
@@ -7251,19 +7822,7 @@ var zCompleteUserTaskResponse = z.void().register(z.globalRegistry, {
7251
7822
  var zSearchUserTaskEffectiveVariablesData = z.object({
7252
7823
  body: z.optional(z.object({
7253
7824
  page: z.optional(zOffsetPagination),
7254
- sort: z.optional(z.array(z.object({
7255
- field: z.enum([
7256
- "value",
7257
- "name",
7258
- "tenantId",
7259
- "variableKey",
7260
- "scopeKey",
7261
- "processInstanceKey"
7262
- ]).register(z.globalRegistry, {
7263
- description: "The field to sort by."
7264
- }),
7265
- order: z.optional(zSortOrderEnum)
7266
- })).register(z.globalRegistry, {
7825
+ sort: z.optional(z.array(zUserTaskVariableSearchQuerySortRequest).register(z.globalRegistry, {
7267
7826
  description: "Sort field criteria."
7268
7827
  })),
7269
7828
  filter: z.optional(zUserTaskVariableFilter)
@@ -7294,26 +7853,7 @@ var zGetUserTaskFormResponse = z.union([
7294
7853
  })
7295
7854
  ]);
7296
7855
  var zSearchUserTaskVariablesData = z.object({
7297
- body: z.optional(zSearchQueryRequest.and(z.object({
7298
- sort: z.optional(z.array(z.object({
7299
- field: z.enum([
7300
- "value",
7301
- "name",
7302
- "tenantId",
7303
- "variableKey",
7304
- "scopeKey",
7305
- "processInstanceKey"
7306
- ]).register(z.globalRegistry, {
7307
- description: "The field to sort by."
7308
- }),
7309
- order: z.optional(zSortOrderEnum)
7310
- })).register(z.globalRegistry, {
7311
- description: "Sort field criteria."
7312
- })),
7313
- filter: z.optional(zUserTaskVariableFilter)
7314
- }).register(z.globalRegistry, {
7315
- description: "User task search query request."
7316
- }))),
7856
+ body: z.optional(zUserTaskVariableSearchQueryRequest),
7317
7857
  path: z.object({
7318
7858
  userTaskKey: zUserTaskKey
7319
7859
  }),
@@ -7325,26 +7865,7 @@ var zSearchUserTaskVariablesData = z.object({
7325
7865
  });
7326
7866
  var zSearchUserTaskVariablesResponse = zVariableSearchQueryResult;
7327
7867
  var zSearchVariablesData = z.object({
7328
- body: z.optional(zSearchQueryRequest.and(z.object({
7329
- sort: z.optional(z.array(z.object({
7330
- field: z.enum([
7331
- "value",
7332
- "name",
7333
- "tenantId",
7334
- "variableKey",
7335
- "scopeKey",
7336
- "processInstanceKey"
7337
- ]).register(z.globalRegistry, {
7338
- description: "The field to sort by."
7339
- }),
7340
- order: z.optional(zSortOrderEnum)
7341
- })).register(z.globalRegistry, {
7342
- description: "Sort field criteria."
7343
- })),
7344
- filter: z.optional(zVariableFilter)
7345
- }).register(z.globalRegistry, {
7346
- description: "Variable search query request."
7347
- }))),
7868
+ body: z.optional(zVariableSearchQuery),
7348
7869
  path: z.optional(z.never()),
7349
7870
  query: z.optional(z.object({
7350
7871
  truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
@@ -7370,6 +7891,11 @@ export {
7370
7891
  zAdHocSubProcessActivateActivitiesInstruction,
7371
7892
  zAdHocSubProcessActivateActivityReference,
7372
7893
  zAdvancedActorTypeFilter,
7894
+ zAdvancedAgentHistoryItemKeyFilter,
7895
+ zAdvancedAgentInstanceHistoryCommitStatusFilter,
7896
+ zAdvancedAgentInstanceHistoryRoleFilter,
7897
+ zAdvancedAgentInstanceKeyFilter,
7898
+ zAdvancedAgentInstanceStatusFilter,
7373
7899
  zAdvancedAuditLogEntityKeyFilter,
7374
7900
  zAdvancedAuditLogKeyFilter,
7375
7901
  zAdvancedBatchOperationItemStateFilter,
@@ -7384,6 +7910,7 @@ export {
7384
7910
  zAdvancedDecisionInstanceStateFilter,
7385
7911
  zAdvancedDecisionRequirementsKeyFilter,
7386
7912
  zAdvancedDeploymentKeyFilter,
7913
+ zAdvancedElementIdFilter,
7387
7914
  zAdvancedElementInstanceKeyFilter,
7388
7915
  zAdvancedElementInstanceStateFilter,
7389
7916
  zAdvancedEntityTypeFilter,
@@ -7399,7 +7926,9 @@ export {
7399
7926
  zAdvancedJobStateFilter,
7400
7927
  zAdvancedMessageSubscriptionKeyFilter,
7401
7928
  zAdvancedMessageSubscriptionStateFilter,
7929
+ zAdvancedMessageSubscriptionTypeFilter,
7402
7930
  zAdvancedOperationTypeFilter,
7931
+ zAdvancedProcessDefinitionIdFilter,
7403
7932
  zAdvancedProcessDefinitionKeyFilter,
7404
7933
  zAdvancedProcessInstanceKeyFilter,
7405
7934
  zAdvancedProcessInstanceStateFilter,
@@ -7409,6 +7938,51 @@ export {
7409
7938
  zAdvancedStringFilter,
7410
7939
  zAdvancedUserTaskStateFilter,
7411
7940
  zAdvancedVariableKeyFilter,
7941
+ zAdvancedWaitStateElementTypeFilter,
7942
+ zAdvancedWaitStateTypeFilter,
7943
+ zAgentHistoryItemKey,
7944
+ zAgentHistoryItemKeyExactMatch,
7945
+ zAgentHistoryItemKeyFilterProperty,
7946
+ zAgentInstanceCreationRequest,
7947
+ zAgentInstanceCreationResult,
7948
+ zAgentInstanceDefinition,
7949
+ zAgentInstanceDocumentContent,
7950
+ zAgentInstanceFilter,
7951
+ zAgentInstanceHistoryCommitStatusEnum,
7952
+ zAgentInstanceHistoryCommitStatusExactMatch,
7953
+ zAgentInstanceHistoryCommitStatusFilterProperty,
7954
+ zAgentInstanceHistoryFilter,
7955
+ zAgentInstanceHistoryItemCreationResult,
7956
+ zAgentInstanceHistoryItemMetrics,
7957
+ zAgentInstanceHistoryItemRequest,
7958
+ zAgentInstanceHistoryItemResult,
7959
+ zAgentInstanceHistoryRoleEnum,
7960
+ zAgentInstanceHistoryRoleExactMatch,
7961
+ zAgentInstanceHistoryRoleFilterProperty,
7962
+ zAgentInstanceHistorySearchQuery,
7963
+ zAgentInstanceHistorySearchQueryResult,
7964
+ zAgentInstanceHistorySearchQuerySortRequest,
7965
+ zAgentInstanceKey,
7966
+ zAgentInstanceKeyExactMatch,
7967
+ zAgentInstanceKeyFilterProperty,
7968
+ zAgentInstanceLimits,
7969
+ zAgentInstanceMessageContent,
7970
+ zAgentInstanceMessageContentTypeEnum,
7971
+ zAgentInstanceMetrics,
7972
+ zAgentInstanceMetricsDelta,
7973
+ zAgentInstanceObjectContent,
7974
+ zAgentInstanceResult,
7975
+ zAgentInstanceSearchQuery,
7976
+ zAgentInstanceSearchQueryResult,
7977
+ zAgentInstanceSearchQuerySortRequest,
7978
+ zAgentInstanceStatusEnum,
7979
+ zAgentInstanceStatusExactMatch,
7980
+ zAgentInstanceStatusFilterProperty,
7981
+ zAgentInstanceTextContent,
7982
+ zAgentInstanceToolCall,
7983
+ zAgentInstanceUpdateRequest,
7984
+ zAgentInstanceUpdateStatusEnum,
7985
+ zAgentTool,
7412
7986
  zAncestorScopeInstruction,
7413
7987
  zAssignClientToGroupData,
7414
7988
  zAssignClientToGroupResponse,
@@ -7456,6 +8030,7 @@ export {
7456
8030
  zAuditLogSearchQueryRequest,
7457
8031
  zAuditLogSearchQueryResult,
7458
8032
  zAuditLogSearchQuerySortRequest,
8033
+ zAuthenticationConfigurationResponse,
7459
8034
  zAuthorizationCreateResult,
7460
8035
  zAuthorizationFilter,
7461
8036
  zAuthorizationIdBasedRequest,
@@ -7506,7 +8081,11 @@ export {
7506
8081
  zCategoryExactMatch,
7507
8082
  zCategoryFilterProperty,
7508
8083
  zChangeset,
8084
+ zClientId,
7509
8085
  zClockPinRequest,
8086
+ zCloudConfigurationResponse,
8087
+ zCloudStage,
8088
+ zClusterVariableName,
7510
8089
  zClusterVariableResult,
7511
8090
  zClusterVariableResultBase,
7512
8091
  zClusterVariableScopeEnum,
@@ -7521,6 +8100,7 @@ export {
7521
8100
  zCompleteJobResponse,
7522
8101
  zCompleteUserTaskData,
7523
8102
  zCompleteUserTaskResponse,
8103
+ zComponentsConfigurationResponse,
7524
8104
  zConditionalEvaluationInstruction,
7525
8105
  zConditionalEvaluationKey,
7526
8106
  zCorrelateMessageData,
@@ -7532,6 +8112,10 @@ export {
7532
8112
  zCorrelatedMessageSubscriptionSearchQuerySortRequest,
7533
8113
  zCreateAdminUserData,
7534
8114
  zCreateAdminUserResponse,
8115
+ zCreateAgentInstanceData,
8116
+ zCreateAgentInstanceHistoryItemData,
8117
+ zCreateAgentInstanceHistoryItemResponse,
8118
+ zCreateAgentInstanceResponse,
7535
8119
  zCreateAuthorizationData,
7536
8120
  zCreateAuthorizationResponse,
7537
8121
  zCreateClusterVariableRequest,
@@ -7640,6 +8224,7 @@ export {
7640
8224
  zDeleteTenantResponse,
7641
8225
  zDeleteUserData,
7642
8226
  zDeleteUserResponse,
8227
+ zDeploymentConfigurationResponse,
7643
8228
  zDeploymentDecisionRequirementsResult,
7644
8229
  zDeploymentDecisionResult,
7645
8230
  zDeploymentFormResult,
@@ -7660,7 +8245,10 @@ export {
7660
8245
  zDocumentMetadataResponse,
7661
8246
  zDocumentReference,
7662
8247
  zElementId,
8248
+ zElementIdExactMatch,
8249
+ zElementIdFilterProperty,
7663
8250
  zElementInstanceFilter,
8251
+ zElementInstanceFilterFields,
7664
8252
  zElementInstanceKey,
7665
8253
  zElementInstanceKeyExactMatch,
7666
8254
  zElementInstanceKeyFilterProperty,
@@ -7671,6 +8259,11 @@ export {
7671
8259
  zElementInstanceStateEnum,
7672
8260
  zElementInstanceStateExactMatch,
7673
8261
  zElementInstanceStateFilterProperty,
8262
+ zElementInstanceWaitStateFilter,
8263
+ zElementInstanceWaitStateQuery,
8264
+ zElementInstanceWaitStateQueryResult,
8265
+ zElementInstanceWaitStateQuerySortRequest,
8266
+ zElementInstanceWaitStateResult,
7674
8267
  zEndCursor,
7675
8268
  zEntityTypeExactMatch,
7676
8269
  zEntityTypeFilterProperty,
@@ -7695,6 +8288,8 @@ export {
7695
8288
  zFormKeyExactMatch,
7696
8289
  zFormKeyFilterProperty,
7697
8290
  zFormResult,
8291
+ zGetAgentInstanceData,
8292
+ zGetAgentInstanceResponse,
7698
8293
  zGetAuditLogData,
7699
8294
  zGetAuditLogResponse,
7700
8295
  zGetAuthenticationData,
@@ -7717,6 +8312,8 @@ export {
7717
8312
  zGetDocumentResponse,
7718
8313
  zGetElementInstanceData,
7719
8314
  zGetElementInstanceResponse,
8315
+ zGetFormByKeyData,
8316
+ zGetFormByKeyResponse,
7720
8317
  zGetGlobalClusterVariableData,
7721
8318
  zGetGlobalClusterVariableResponse,
7722
8319
  zGetGlobalJobStatisticsData,
@@ -7763,6 +8360,8 @@ export {
7763
8360
  zGetProcessInstanceStatisticsByErrorResponse,
7764
8361
  zGetProcessInstanceStatisticsData,
7765
8362
  zGetProcessInstanceStatisticsResponse,
8363
+ zGetResourceContentBinaryData,
8364
+ zGetResourceContentBinaryResponse,
7766
8365
  zGetResourceContentData,
7767
8366
  zGetResourceContentResponse,
7768
8367
  zGetResourceData,
@@ -7814,6 +8413,7 @@ export {
7814
8413
  zGroupCreateRequest,
7815
8414
  zGroupCreateResult,
7816
8415
  zGroupFilter,
8416
+ zGroupId,
7817
8417
  zGroupMappingRuleSearchResult,
7818
8418
  zGroupResult,
7819
8419
  zGroupRoleSearchResult,
@@ -7850,6 +8450,7 @@ export {
7850
8450
  zIncidentStateFilterProperty,
7851
8451
  zInferredAncestorKeyInstruction,
7852
8452
  zIntegerFilterProperty,
8453
+ zIterationId,
7853
8454
  zJobActivationRequest,
7854
8455
  zJobActivationResult,
7855
8456
  zJobChangeset,
@@ -7892,6 +8493,7 @@ export {
7892
8493
  zJobTypeStatisticsQuery,
7893
8494
  zJobTypeStatisticsQueryResult,
7894
8495
  zJobUpdateRequest,
8496
+ zJobWaitStateDetails,
7895
8497
  zJobWorkerStatisticsFilter,
7896
8498
  zJobWorkerStatisticsItem,
7897
8499
  zJobWorkerStatisticsQuery,
@@ -7905,6 +8507,7 @@ export {
7905
8507
  zMappingRuleCreateUpdateRequest,
7906
8508
  zMappingRuleCreateUpdateResult,
7907
8509
  zMappingRuleFilter,
8510
+ zMappingRuleId,
7908
8511
  zMappingRuleResult,
7909
8512
  zMappingRuleSearchQueryRequest,
7910
8513
  zMappingRuleSearchQueryResult,
@@ -7928,6 +8531,10 @@ export {
7928
8531
  zMessageSubscriptionStateEnum,
7929
8532
  zMessageSubscriptionStateExactMatch,
7930
8533
  zMessageSubscriptionStateFilterProperty,
8534
+ zMessageSubscriptionTypeEnum,
8535
+ zMessageSubscriptionTypeExactMatch,
8536
+ zMessageSubscriptionTypeFilterProperty,
8537
+ zMessageWaitStateDetails,
7931
8538
  zMigrateProcessInstanceData,
7932
8539
  zMigrateProcessInstanceMappingInstruction,
7933
8540
  zMigrateProcessInstanceResponse,
@@ -7952,6 +8559,8 @@ export {
7952
8559
  zProcessDefinitionElementStatisticsQueryResult,
7953
8560
  zProcessDefinitionFilter,
7954
8561
  zProcessDefinitionId,
8562
+ zProcessDefinitionIdExactMatch,
8563
+ zProcessDefinitionIdFilterProperty,
7955
8564
  zProcessDefinitionInstanceStatisticsQuery,
7956
8565
  zProcessDefinitionInstanceStatisticsQueryResult,
7957
8566
  zProcessDefinitionInstanceStatisticsQuerySortRequest,
@@ -8020,10 +8629,14 @@ export {
8020
8629
  zResolveIncidentsBatchOperationResponse,
8021
8630
  zResolveProcessInstanceIncidentsData,
8022
8631
  zResolveProcessInstanceIncidentsResponse,
8632
+ zResourceFilter,
8023
8633
  zResourceKey,
8024
8634
  zResourceKeyExactMatch,
8025
8635
  zResourceKeyFilterProperty,
8026
8636
  zResourceResult,
8637
+ zResourceSearchQuery,
8638
+ zResourceSearchQueryResult,
8639
+ zResourceSearchQuerySortRequest,
8027
8640
  zResourceTypeEnum,
8028
8641
  zResumeBatchOperationData,
8029
8642
  zResumeBatchOperationResponse,
@@ -8038,6 +8651,7 @@ export {
8038
8651
  zRoleGroupSearchQueryRequest,
8039
8652
  zRoleGroupSearchQuerySortRequest,
8040
8653
  zRoleGroupSearchResult,
8654
+ zRoleId,
8041
8655
  zRoleMappingRuleSearchResult,
8042
8656
  zRoleResult,
8043
8657
  zRoleSearchQueryRequest,
@@ -8052,6 +8666,10 @@ export {
8052
8666
  zScopeKey,
8053
8667
  zScopeKeyExactMatch,
8054
8668
  zScopeKeyFilterProperty,
8669
+ zSearchAgentInstanceHistoryData,
8670
+ zSearchAgentInstanceHistoryResponse,
8671
+ zSearchAgentInstancesData,
8672
+ zSearchAgentInstancesResponse,
8055
8673
  zSearchAuditLogsData,
8056
8674
  zSearchAuditLogsResponse,
8057
8675
  zSearchAuthorizationsData,
@@ -8078,6 +8696,8 @@ export {
8078
8696
  zSearchDecisionRequirementsResponse,
8079
8697
  zSearchElementInstanceIncidentsData,
8080
8698
  zSearchElementInstanceIncidentsResponse,
8699
+ zSearchElementInstanceWaitStatesData,
8700
+ zSearchElementInstanceWaitStatesResponse,
8081
8701
  zSearchElementInstancesData,
8082
8702
  zSearchElementInstancesResponse,
8083
8703
  zSearchGlobalTaskListenersData,
@@ -8112,6 +8732,8 @@ export {
8112
8732
  zSearchQueryPageResponse,
8113
8733
  zSearchQueryRequest,
8114
8734
  zSearchQueryResponse,
8735
+ zSearchResourcesData,
8736
+ zSearchResourcesResponse,
8115
8737
  zSearchRolesData,
8116
8738
  zSearchRolesForGroupData,
8117
8739
  zSearchRolesForGroupResponse,
@@ -8208,6 +8830,8 @@ export {
8208
8830
  zUnassignUserFromTenantResponse,
8209
8831
  zUnassignUserTaskData,
8210
8832
  zUnassignUserTaskResponse,
8833
+ zUpdateAgentInstanceData,
8834
+ zUpdateAgentInstanceResponse,
8211
8835
  zUpdateAuthorizationData,
8212
8836
  zUpdateAuthorizationResponse,
8213
8837
  zUpdateClusterVariableRequest,
@@ -8274,6 +8898,13 @@ export {
8274
8898
  zVariableSearchQueryResult,
8275
8899
  zVariableSearchQuerySortRequest,
8276
8900
  zVariableSearchResult,
8277
- zVariableValueFilterProperty
8901
+ zVariableValueFilterProperty,
8902
+ zWaitStateElementTypeEnum,
8903
+ zWaitStateElementTypeExactMatch,
8904
+ zWaitStateElementTypeFilterProperty,
8905
+ zWaitStateTypeEnum,
8906
+ zWaitStateTypeExactMatch,
8907
+ zWaitStateTypeFilterProperty,
8908
+ zWebappComponent
8278
8909
  };
8279
- //# sourceMappingURL=zod.gen-BU5BWYUA.js.map
8910
+ //# sourceMappingURL=zod.gen-LWXJEF77.js.map