@camunda8/orchestration-cluster-api 10.0.0-alpha.3 → 10.0.0-alpha.5

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,58 @@ 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 zAgentInstanceMetrics = z.object({
19
+ inputTokens: z.coerce.number().int().register(z.globalRegistry, {
20
+ description: "Total input tokens consumed across all model calls."
21
+ }),
22
+ outputTokens: z.coerce.number().int().register(z.globalRegistry, {
23
+ description: "Total output tokens produced across all model calls."
24
+ }),
25
+ modelCalls: z.coerce.number().int().register(z.globalRegistry, {
26
+ description: "Total number of LLM calls made."
27
+ }),
28
+ toolCalls: z.coerce.number().int().register(z.globalRegistry, {
29
+ description: "Total number of tool calls made."
30
+ })
31
+ }).register(z.globalRegistry, {
32
+ description: "Aggregated metrics for an agent instance across all model calls."
33
+ });
34
+ var zAgentInstanceLimits = z.object({
35
+ maxModelCalls: z.coerce.number().int().register(z.globalRegistry, {
36
+ description: "Maximum LLM calls allowed. -1 if no limit is configured."
37
+ }),
38
+ maxToolCalls: z.coerce.number().int().register(z.globalRegistry, {
39
+ description: "Maximum tool calls allowed. -1 if no limit is configured."
40
+ }),
41
+ maxTokens: z.coerce.number().int().register(z.globalRegistry, {
42
+ description: "Maximum total tokens allowed. -1 if no limit is configured."
43
+ })
44
+ }).register(z.globalRegistry, {
45
+ description: "The configured limits for an agent instance, set once at creation."
46
+ });
47
+ var zAgentInstanceStatusEnum = z.enum([
48
+ "COMPLETED",
49
+ "IDLE",
50
+ "INITIALIZING",
51
+ "THINKING",
52
+ "TOOL_CALLING",
53
+ "TOOL_DISCOVERY"
54
+ ]).register(z.globalRegistry, {
55
+ description: "The current status of an agent instance."
56
+ });
5
57
  var zAuditLogEntityKey = z.string().register(z.globalRegistry, {
6
58
  description: "System-generated entity key for an audit log entry."
7
59
  });
@@ -260,46 +312,11 @@ var zClusterVariableScopeEnum = z.enum([
260
312
  ]).register(z.globalRegistry, {
261
313
  description: "The scope of a cluster variable."
262
314
  });
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
315
  var zUpdateClusterVariableRequest = z.object({
272
316
  value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
273
317
  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
318
  })
275
319
  });
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
320
  var zPartition = z.object({
304
321
  partitionId: z.int().register(z.globalRegistry, {
305
322
  description: "The unique ID of this partition."
@@ -503,6 +520,19 @@ var zExpressionEvaluationResult = z.object({
503
520
  var zLikeFilter = z.string().register(z.globalRegistry, {
504
521
  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
522
  });
523
+ var zAdvancedAgentInstanceStatusFilter = z.object({
524
+ "$eq": z.optional(zAgentInstanceStatusEnum),
525
+ "$neq": z.optional(zAgentInstanceStatusEnum),
526
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
527
+ description: "Checks if the current property exists."
528
+ })),
529
+ "$in": z.optional(z.array(zAgentInstanceStatusEnum).register(z.globalRegistry, {
530
+ description: "Checks if the property matches any of the provided values."
531
+ })),
532
+ "$like": z.optional(zLikeFilter)
533
+ }).register(z.globalRegistry, {
534
+ description: "Advanced AgentInstanceStatusEnum filter."
535
+ });
506
536
  var zAdvancedEntityTypeFilter = z.object({
507
537
  "$eq": z.optional(zAuditLogEntityTypeEnum),
508
538
  "$neq": z.optional(zAuditLogEntityTypeEnum),
@@ -814,29 +844,6 @@ var zAdvancedGlobalTaskListenerEventTypeFilter = z.object({
814
844
  }).register(z.globalRegistry, {
815
845
  description: "Advanced global listener event type filter."
816
846
  });
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
847
  var zGroupUpdateRequest = z.object({
841
848
  name: z.string().register(z.globalRegistry, {
842
849
  description: "The new name of the group."
@@ -845,32 +852,6 @@ var zGroupUpdateRequest = z.object({
845
852
  description: "The new description of the group."
846
853
  }))
847
854
  });
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
855
  var zGroupFilter = z.object({
875
856
  groupId: z.optional(zStringFilterProperty),
876
857
  name: z.optional(z.string().register(z.globalRegistry, {
@@ -879,11 +860,6 @@ var zGroupFilter = z.object({
879
860
  }).register(z.globalRegistry, {
880
861
  description: "Group filter request"
881
862
  });
882
- var zGroupClientResult = z.object({
883
- clientId: z.string().register(z.globalRegistry, {
884
- description: "The ID of the client."
885
- })
886
- });
887
863
  var zProcessDefinitionId = z.string().min(1).regex(/^[\p{L}_][\p{L}\p{N}_\-\.]*$/u).register(z.globalRegistry, {
888
864
  description: "Id of a process definition, from the model. Only ids of process definitions that are deployed are useful."
889
865
  });
@@ -916,7 +892,7 @@ var zFormId = z.string().register(z.globalRegistry, {
916
892
  var zDecisionDefinitionId = z.string().min(1).regex(/^[\p{L}_][\p{L}\p{N}_\-\.]*$/u).register(z.globalRegistry, {
917
893
  description: "Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful."
918
894
  });
919
- var zGlobalListenerId = z.string().register(z.globalRegistry, {
895
+ var zGlobalListenerId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+\-]+$/).register(z.globalRegistry, {
920
896
  description: "The user-defined id for the global listener"
921
897
  });
922
898
  var zCreateGlobalTaskListenerRequest = zGlobalTaskListenerBase.and(z.object({
@@ -928,7 +904,7 @@ var zGlobalTaskListenerResult = zGlobalTaskListenerBase.and(z.object({
928
904
  source: zGlobalListenerSourceEnum,
929
905
  eventTypes: zGlobalTaskListenerEventTypes
930
906
  }));
931
- var zTenantId = z.string().min(1).max(256).regex(/^(<default>|[A-Za-z0-9_@.+-]+)$/).register(z.globalRegistry, {
907
+ var zTenantId = z.string().min(1).max(31).regex(/^(<default>|[\w\.\-]{1,31})$/).register(z.globalRegistry, {
932
908
  description: "The unique identifier of the tenant."
933
909
  });
934
910
  var zDecisionEvaluationById = z.object({
@@ -938,12 +914,102 @@ var zDecisionEvaluationById = z.object({
938
914
  })),
939
915
  tenantId: z.optional(zTenantId)
940
916
  });
941
- var zUsername = z.string().min(1).max(256).regex(/^(<default>|[A-Za-z0-9_@.+-]+)$/).register(z.globalRegistry, {
917
+ var zUsername = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
942
918
  description: "The unique name of a user."
943
919
  });
944
920
  var zGroupUserResult = z.object({
945
921
  username: zUsername
946
922
  });
923
+ var zRoleId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
924
+ description: "The unique identifier of a role."
925
+ });
926
+ var zGroupId = z.string().min(1).max(256).register(z.globalRegistry, {
927
+ description: "The unique identifier of a group."
928
+ });
929
+ var zGroupCreateRequest = z.object({
930
+ groupId: zGroupId,
931
+ name: z.string().register(z.globalRegistry, {
932
+ description: "The display name of the new group."
933
+ }),
934
+ description: z.optional(z.string().register(z.globalRegistry, {
935
+ description: "The description of the new group."
936
+ }))
937
+ });
938
+ var zGroupCreateResult = z.object({
939
+ groupId: zGroupId,
940
+ name: z.string().register(z.globalRegistry, {
941
+ description: "The display name of the created group."
942
+ }),
943
+ description: z.union([
944
+ z.string(),
945
+ z.null()
946
+ ])
947
+ });
948
+ var zGroupUpdateResult = z.object({
949
+ groupId: zGroupId,
950
+ name: z.string().register(z.globalRegistry, {
951
+ description: "The name of the group."
952
+ }),
953
+ description: z.union([
954
+ z.string(),
955
+ z.null()
956
+ ])
957
+ });
958
+ var zGroupResult = z.object({
959
+ name: z.string().register(z.globalRegistry, {
960
+ description: "The group name."
961
+ }),
962
+ groupId: zGroupId,
963
+ description: z.union([
964
+ z.string(),
965
+ z.null()
966
+ ])
967
+ }).register(z.globalRegistry, {
968
+ description: "Group search response item."
969
+ });
970
+ var zMappingRuleId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
971
+ description: "The unique identifier of a mapping rule."
972
+ });
973
+ var zClientId = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
974
+ 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"
975
+ });
976
+ var zGroupClientResult = z.object({
977
+ clientId: zClientId
978
+ });
979
+ var zClusterVariableName = z.string().min(1).max(256).regex(/^[a-zA-Z0-9_~@.+-]+$/).register(z.globalRegistry, {
980
+ description: "The name of a cluster variable. Unique within its scope (global or tenant-specific)."
981
+ });
982
+ var zCreateClusterVariableRequest = z.object({
983
+ name: zClusterVariableName,
984
+ value: z.record(z.string(), z.unknown()).register(z.globalRegistry, {
985
+ description: "The value of the cluster variable. Can be any JSON object or primitive value. Will be serialized as a JSON string in responses."
986
+ })
987
+ });
988
+ var zClusterVariableResultBase = z.object({
989
+ name: zClusterVariableName,
990
+ scope: zClusterVariableScopeEnum,
991
+ tenantId: z.union([
992
+ z.string(),
993
+ z.null()
994
+ ])
995
+ }).register(z.globalRegistry, {
996
+ description: "Cluster variable response item."
997
+ });
998
+ var zClusterVariableResult = zClusterVariableResultBase.and(z.object({
999
+ value: z.string().register(z.globalRegistry, {
1000
+ description: "Full value of this cluster variable."
1001
+ })
1002
+ }));
1003
+ var zClusterVariableSearchResult = zClusterVariableResultBase.and(z.object({
1004
+ value: z.string().register(z.globalRegistry, {
1005
+ description: "Value of this cluster variable. Can be truncated."
1006
+ }),
1007
+ isTruncated: z.boolean().register(z.globalRegistry, {
1008
+ description: "Whether the value is truncated or not."
1009
+ })
1010
+ }).register(z.globalRegistry, {
1011
+ description: "Cluster variable search response item."
1012
+ }));
947
1013
  var zTag = z.string().min(1).max(100).regex(/^[A-Za-z][A-Za-z0-9_\-:.]{0,99}$/).register(z.globalRegistry, {
948
1014
  description: "A tag. Needs to start with a letter; then alphanumerics, `_`, `-`, `:`, or `.`; length \u2264 100."
949
1015
  });
@@ -2280,6 +2346,28 @@ var zJobUpdateRequest = z.object({
2280
2346
  changeset: zJobChangeset,
2281
2347
  operationReference: z.optional(zOperationReference)
2282
2348
  });
2349
+ var zAgentInstanceKey = zLongKey;
2350
+ var zAgentInstanceResult = z.object({
2351
+ agentInstanceKey: zAgentInstanceKey,
2352
+ status: zAgentInstanceStatusEnum,
2353
+ definition: zAgentInstanceDefinition,
2354
+ metrics: zAgentInstanceMetrics,
2355
+ limits: zAgentInstanceLimits,
2356
+ elementId: zElementId,
2357
+ processInstanceKey: zProcessInstanceKey,
2358
+ processDefinitionKey: zProcessDefinitionKey,
2359
+ tenantId: zTenantId,
2360
+ creationDate: z.iso.datetime().register(z.globalRegistry, {
2361
+ description: "The date when this agent instance was created."
2362
+ }),
2363
+ lastUpdatedDate: z.iso.datetime().register(z.globalRegistry, {
2364
+ description: "The date when this agent instance was last updated."
2365
+ }),
2366
+ completionDate: z.union([
2367
+ z.iso.datetime(),
2368
+ z.null()
2369
+ ])
2370
+ });
2283
2371
  var zAuditLogKey = zLongKey;
2284
2372
  var zAuditLogResult = z.object({
2285
2373
  auditLogKey: zAuditLogKey,
@@ -2510,6 +2598,21 @@ var zAdvancedDecisionEvaluationInstanceKeyFilter = z.object({
2510
2598
  }).register(z.globalRegistry, {
2511
2599
  description: "Advanced DecisionEvaluationInstanceKey filter."
2512
2600
  });
2601
+ var zAdvancedAgentInstanceKeyFilter = z.object({
2602
+ "$eq": z.optional(zAgentInstanceKey),
2603
+ "$neq": z.optional(zAgentInstanceKey),
2604
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
2605
+ description: "Checks if the current property exists."
2606
+ })),
2607
+ "$in": z.optional(z.array(zAgentInstanceKey).register(z.globalRegistry, {
2608
+ description: "Checks if the property matches any of the provided values."
2609
+ })),
2610
+ "$notIn": z.optional(z.array(zAgentInstanceKey).register(z.globalRegistry, {
2611
+ description: "Checks if the property matches none of the provided values."
2612
+ }))
2613
+ }).register(z.globalRegistry, {
2614
+ description: "Advanced AgentInstanceKey filter."
2615
+ });
2513
2616
  var zAdvancedAuditLogKeyFilter = z.object({
2514
2617
  "$eq": z.optional(zAuditLogKey),
2515
2618
  "$neq": z.optional(zAuditLogKey),
@@ -2599,9 +2702,7 @@ var zMappingRuleCreateUpdateRequest = z.object({
2599
2702
  })
2600
2703
  });
2601
2704
  var zMappingRuleCreateRequest = zMappingRuleCreateUpdateRequest.and(z.object({
2602
- mappingRuleId: z.string().register(z.globalRegistry, {
2603
- description: "The unique ID of the mapping rule."
2604
- })
2705
+ mappingRuleId: zMappingRuleId
2605
2706
  }));
2606
2707
  var zMappingRuleUpdateRequest = zMappingRuleCreateUpdateRequest;
2607
2708
  var zMappingRuleCreateUpdateResult = z.object({
@@ -2614,9 +2715,7 @@ var zMappingRuleCreateUpdateResult = z.object({
2614
2715
  name: z.string().register(z.globalRegistry, {
2615
2716
  description: "The name of the mapping rule."
2616
2717
  }),
2617
- mappingRuleId: z.string().register(z.globalRegistry, {
2618
- description: "The unique ID of the mapping rule."
2619
- })
2718
+ mappingRuleId: zMappingRuleId
2620
2719
  });
2621
2720
  var zMappingRuleCreateResult = zMappingRuleCreateUpdateResult;
2622
2721
  var zMappingRuleUpdateResult = zMappingRuleCreateUpdateResult;
@@ -2630,9 +2729,7 @@ var zMappingRuleResult = z.object({
2630
2729
  name: z.string().register(z.globalRegistry, {
2631
2730
  description: "The name of the mapping rule."
2632
2731
  }),
2633
- mappingRuleId: z.string().register(z.globalRegistry, {
2634
- description: "The ID of the mapping rule."
2635
- })
2732
+ mappingRuleId: zMappingRuleId
2636
2733
  });
2637
2734
  var zMappingRuleFilter = z.object({
2638
2735
  claimName: z.optional(z.string().register(z.globalRegistry, {
@@ -2644,9 +2741,7 @@ var zMappingRuleFilter = z.object({
2644
2741
  name: z.optional(z.string().register(z.globalRegistry, {
2645
2742
  description: "The name of the mapping rule."
2646
2743
  })),
2647
- mappingRuleId: z.optional(z.string().register(z.globalRegistry, {
2648
- description: "The ID of the mapping rule."
2649
- }))
2744
+ mappingRuleId: z.optional(zMappingRuleId)
2650
2745
  }).register(z.globalRegistry, {
2651
2746
  description: "Mapping rule search filter."
2652
2747
  });
@@ -3322,9 +3417,7 @@ var zAdvancedProcessInstanceStateFilter = z.object({
3322
3417
  description: "Advanced ProcessInstanceStateEnum filter."
3323
3418
  });
3324
3419
  var zRoleCreateRequest = z.object({
3325
- roleId: z.string().register(z.globalRegistry, {
3326
- description: "The ID of the new role."
3327
- }),
3420
+ roleId: zRoleId,
3328
3421
  name: z.string().register(z.globalRegistry, {
3329
3422
  description: "The display name of the new role."
3330
3423
  }),
@@ -3333,9 +3426,7 @@ var zRoleCreateRequest = z.object({
3333
3426
  }))
3334
3427
  });
3335
3428
  var zRoleCreateResult = z.object({
3336
- roleId: z.string().register(z.globalRegistry, {
3337
- description: "The ID of the created role."
3338
- }),
3429
+ roleId: zRoleId,
3339
3430
  name: z.string().register(z.globalRegistry, {
3340
3431
  description: "The display name of the created role."
3341
3432
  }),
@@ -3360,17 +3451,13 @@ var zRoleUpdateResult = z.object({
3360
3451
  z.string(),
3361
3452
  z.null()
3362
3453
  ]),
3363
- roleId: z.string().register(z.globalRegistry, {
3364
- description: "The ID of the updated role."
3365
- })
3454
+ roleId: zRoleId
3366
3455
  });
3367
3456
  var zRoleResult = z.object({
3368
3457
  name: z.string().register(z.globalRegistry, {
3369
3458
  description: "The role name."
3370
3459
  }),
3371
- roleId: z.string().register(z.globalRegistry, {
3372
- description: "The role id."
3373
- }),
3460
+ roleId: zRoleId,
3374
3461
  description: z.union([
3375
3462
  z.string(),
3376
3463
  z.null()
@@ -3379,9 +3466,7 @@ var zRoleResult = z.object({
3379
3466
  description: "Role search response item."
3380
3467
  });
3381
3468
  var zRoleFilter = z.object({
3382
- roleId: z.optional(z.string().register(z.globalRegistry, {
3383
- description: "The role ID search filters."
3384
- })),
3469
+ roleId: z.optional(zRoleId),
3385
3470
  name: z.optional(z.string().register(z.globalRegistry, {
3386
3471
  description: "The role name search filters."
3387
3472
  }))
@@ -3392,14 +3477,10 @@ var zRoleUserResult = z.object({
3392
3477
  username: zUsername
3393
3478
  });
3394
3479
  var zRoleClientResult = z.object({
3395
- clientId: z.string().register(z.globalRegistry, {
3396
- description: "The ID of the client."
3397
- })
3480
+ clientId: zClientId
3398
3481
  });
3399
3482
  var zRoleGroupResult = z.object({
3400
- groupId: z.string().register(z.globalRegistry, {
3401
- description: "The id of the group."
3402
- })
3483
+ groupId: zGroupId
3403
3484
  });
3404
3485
  var zLimitPagination = z.object({
3405
3486
  limit: z.optional(z.int().gte(1).lte(1e4).register(z.globalRegistry, {
@@ -3465,6 +3546,17 @@ var zSortOrderEnum = z.enum([
3465
3546
  ]).register(z.globalRegistry, {
3466
3547
  description: "The order in which to sort the related field."
3467
3548
  });
3549
+ var zAgentInstanceSearchQuerySortRequest = z.object({
3550
+ field: z.enum([
3551
+ "creationDate",
3552
+ "lastUpdatedDate",
3553
+ "completionDate",
3554
+ "status"
3555
+ ]).register(z.globalRegistry, {
3556
+ description: "The field to sort by."
3557
+ }),
3558
+ order: z.optional(zSortOrderEnum)
3559
+ });
3468
3560
  var zAuditLogSearchQuerySortRequest = z.object({
3469
3561
  field: z.enum([
3470
3562
  "actorId",
@@ -3612,6 +3704,20 @@ var zDecisionRequirementsSearchQuery = zSearchQueryRequest.and(z.object({
3612
3704
  })),
3613
3705
  filter: z.optional(zDecisionRequirementsFilter)
3614
3706
  }));
3707
+ var zResourceSearchQuerySortRequest = z.object({
3708
+ field: z.enum([
3709
+ "resourceKey",
3710
+ "resourceName",
3711
+ "resourceId",
3712
+ "version",
3713
+ "versionTag",
3714
+ "deploymentKey",
3715
+ "tenantId"
3716
+ ]).register(z.globalRegistry, {
3717
+ description: "The field to sort by."
3718
+ }),
3719
+ order: z.optional(zSortOrderEnum)
3720
+ });
3615
3721
  var zElementInstanceSearchQuerySortRequest = z.object({
3616
3722
  field: z.enum([
3617
3723
  "elementInstanceKey",
@@ -3975,6 +4081,13 @@ var zSearchQueryPageResponse = z.object({
3975
4081
  var zSearchQueryResponse = z.object({
3976
4082
  page: zSearchQueryPageResponse
3977
4083
  });
4084
+ var zAgentInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
4085
+ items: z.array(zAgentInstanceResult).register(z.globalRegistry, {
4086
+ description: "The matching agent instances."
4087
+ })
4088
+ }).register(z.globalRegistry, {
4089
+ description: "Agent instance search response."
4090
+ }));
3978
4091
  var zAuditLogSearchQueryResult = zSearchQueryResponse.and(z.object({
3979
4092
  items: z.array(zAuditLogResult).register(z.globalRegistry, {
3980
4093
  description: "The matching audit logs."
@@ -4021,6 +4134,11 @@ var zDecisionRequirementsSearchQueryResult = zSearchQueryResponse.and(z.object({
4021
4134
  description: "The matching decision requirements."
4022
4135
  })
4023
4136
  }));
4137
+ var zResourceSearchQueryResult = zSearchQueryResponse.and(z.object({
4138
+ items: z.array(zResourceResult).register(z.globalRegistry, {
4139
+ description: "The matching resources."
4140
+ })
4141
+ }));
4024
4142
  var zElementInstanceSearchQueryResult = zSearchQueryResponse.and(z.object({
4025
4143
  items: z.array(zElementInstanceResult).register(z.globalRegistry, {
4026
4144
  description: "The matching element instances."
@@ -4244,9 +4362,7 @@ var zSystemConfigurationResponse = z.object({
4244
4362
  description: "Envelope for all system configuration sections. Each property\nrepresents a feature area.\n"
4245
4363
  });
4246
4364
  var zTenantCreateRequest = z.object({
4247
- tenantId: z.string().min(1).max(256).regex(/^[A-Za-z0-9_@.+-]+$/).register(z.globalRegistry, {
4248
- description: "The unique ID for the tenant. Must be 255 characters or less. Can contain letters, numbers, [`_`, `-`, `+`, `.`, `@`]."
4249
- }),
4365
+ tenantId: zTenantId,
4250
4366
  name: z.string().register(z.globalRegistry, {
4251
4367
  description: "The name of the tenant."
4252
4368
  }),
@@ -4382,9 +4498,7 @@ var zTenantUserSearchQueryRequest = zSearchQueryRequest.and(z.object({
4382
4498
  }))
4383
4499
  }));
4384
4500
  var zTenantClientResult = z.object({
4385
- clientId: z.string().register(z.globalRegistry, {
4386
- description: "The ID of the client."
4387
- })
4501
+ clientId: zClientId
4388
4502
  });
4389
4503
  var zTenantClientSearchResult = zSearchQueryResponse.and(z.object({
4390
4504
  items: z.array(zTenantClientResult).register(z.globalRegistry, {
@@ -4405,9 +4519,7 @@ var zTenantClientSearchQueryRequest = zSearchQueryRequest.and(z.object({
4405
4519
  }))
4406
4520
  }));
4407
4521
  var zTenantGroupResult = z.object({
4408
- groupId: z.string().register(z.globalRegistry, {
4409
- description: "The groupId of the group."
4410
- })
4522
+ groupId: zGroupId
4411
4523
  });
4412
4524
  var zTenantGroupSearchResult = zSearchQueryResponse.and(z.object({
4413
4525
  items: z.array(zTenantGroupResult).register(z.globalRegistry, {
@@ -4642,9 +4754,7 @@ var zUserRequest = z.object({
4642
4754
  password: z.string().register(z.globalRegistry, {
4643
4755
  description: "The password of the user."
4644
4756
  }),
4645
- username: z.string().register(z.globalRegistry, {
4646
- description: "The username of the user."
4647
- }),
4757
+ username: zUsername,
4648
4758
  name: z.optional(z.string().register(z.globalRegistry, {
4649
4759
  description: "The name of the user."
4650
4760
  })),
@@ -4804,6 +4914,11 @@ default, with local set to \`false\`, scope '1' will be { "foo": 5 } and scope '
4804
4914
  })).default(false),
4805
4915
  operationReference: z.optional(zOperationReference)
4806
4916
  });
4917
+ var zAgentInstanceStatusExactMatch = zAgentInstanceStatusEnum;
4918
+ var zAgentInstanceStatusFilterProperty = z.union([
4919
+ zAgentInstanceStatusExactMatch,
4920
+ zAdvancedAgentInstanceStatusFilter
4921
+ ]);
4807
4922
  var zAuditLogEntityKeyExactMatch = zAuditLogEntityKey;
4808
4923
  var zAuditLogEntityKeyFilterProperty = z.union([
4809
4924
  zAuditLogEntityKeyExactMatch,
@@ -4922,6 +5037,23 @@ var zResourceKeyFilterProperty = z.union([
4922
5037
  zResourceKeyExactMatch,
4923
5038
  zAdvancedResourceKeyFilter
4924
5039
  ]);
5040
+ var zResourceFilter = z.object({
5041
+ resourceKey: z.optional(zResourceKeyFilterProperty),
5042
+ resourceName: z.optional(zStringFilterProperty),
5043
+ resourceId: z.optional(zStringFilterProperty),
5044
+ version: z.optional(zIntegerFilterProperty),
5045
+ versionTag: z.optional(zStringFilterProperty),
5046
+ deploymentKey: z.optional(zDeploymentKeyFilterProperty),
5047
+ tenantId: z.optional(zTenantId)
5048
+ }).register(z.globalRegistry, {
5049
+ description: "Resource search filter."
5050
+ });
5051
+ var zResourceSearchQuery = zSearchQueryRequest.and(z.object({
5052
+ sort: z.optional(z.array(zResourceSearchQuerySortRequest).register(z.globalRegistry, {
5053
+ description: "Sort field criteria."
5054
+ })),
5055
+ filter: z.optional(zResourceFilter)
5056
+ }));
4925
5057
  var zElementInstanceStateExactMatch = zElementInstanceStateEnum;
4926
5058
  var zElementInstanceStateFilterProperty = z.union([
4927
5059
  zElementInstanceStateExactMatch,
@@ -5198,6 +5330,32 @@ var zDecisionEvaluationInstanceKeyFilterProperty = z.union([
5198
5330
  zDecisionEvaluationInstanceKeyExactMatch,
5199
5331
  zAdvancedDecisionEvaluationInstanceKeyFilter
5200
5332
  ]);
5333
+ var zAgentInstanceKeyExactMatch = zAgentInstanceKey;
5334
+ var zAgentInstanceKeyFilterProperty = z.union([
5335
+ zAgentInstanceKeyExactMatch,
5336
+ zAdvancedAgentInstanceKeyFilter
5337
+ ]);
5338
+ var zAgentInstanceFilter = z.object({
5339
+ agentInstanceKey: z.optional(zAgentInstanceKeyFilterProperty),
5340
+ status: z.optional(zAgentInstanceStatusFilterProperty),
5341
+ elementId: z.optional(zElementIdFilterProperty),
5342
+ processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5343
+ processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
5344
+ tenantId: z.optional(zStringFilterProperty),
5345
+ creationDate: z.optional(zDateTimeFilterProperty),
5346
+ lastUpdatedDate: z.optional(zDateTimeFilterProperty),
5347
+ completionDate: z.optional(zDateTimeFilterProperty)
5348
+ }).register(z.globalRegistry, {
5349
+ description: "Agent instance search filter."
5350
+ });
5351
+ var zAgentInstanceSearchQuery = zSearchQueryRequest.and(z.object({
5352
+ sort: z.optional(z.array(zAgentInstanceSearchQuerySortRequest).register(z.globalRegistry, {
5353
+ description: "Sort field criteria."
5354
+ })),
5355
+ filter: z.optional(zAgentInstanceFilter)
5356
+ }).register(z.globalRegistry, {
5357
+ description: "Agent instance search request."
5358
+ }));
5201
5359
  var zAuditLogKeyExactMatch = zAuditLogKey;
5202
5360
  var zAuditLogKeyFilterProperty = z.union([
5203
5361
  zAuditLogKeyExactMatch,
@@ -5505,6 +5663,20 @@ var zUserTaskSearchQuery = zSearchQueryRequest.and(z.object({
5505
5663
  }).register(z.globalRegistry, {
5506
5664
  description: "User task search query request."
5507
5665
  }));
5666
+ var zGetAgentInstanceData = z.object({
5667
+ body: z.optional(z.never()),
5668
+ path: z.object({
5669
+ agentInstanceKey: zAgentInstanceKey
5670
+ }),
5671
+ query: z.optional(z.never())
5672
+ });
5673
+ var zGetAgentInstanceResponse = zAgentInstanceResult;
5674
+ var zSearchAgentInstancesData = z.object({
5675
+ body: z.optional(zAgentInstanceSearchQuery),
5676
+ path: z.optional(z.never()),
5677
+ query: z.optional(z.never())
5678
+ });
5679
+ var zSearchAgentInstancesResponse = zAgentInstanceSearchQueryResult;
5508
5680
  var zSearchAuditLogsData = z.object({
5509
5681
  body: z.optional(zAuditLogSearchQueryRequest),
5510
5682
  path: z.optional(z.never()),
@@ -5640,9 +5812,7 @@ var zCreateGlobalClusterVariableResponse = zClusterVariableResult;
5640
5812
  var zDeleteGlobalClusterVariableData = z.object({
5641
5813
  body: z.optional(z.never()),
5642
5814
  path: z.object({
5643
- name: z.string().register(z.globalRegistry, {
5644
- description: "The name of the cluster variable"
5645
- })
5815
+ name: zClusterVariableName
5646
5816
  }),
5647
5817
  query: z.optional(z.never())
5648
5818
  });
@@ -5652,9 +5822,7 @@ var zDeleteGlobalClusterVariableResponse = z.void().register(z.globalRegistry, {
5652
5822
  var zGetGlobalClusterVariableData = z.object({
5653
5823
  body: z.optional(z.never()),
5654
5824
  path: z.object({
5655
- name: z.string().register(z.globalRegistry, {
5656
- description: "The name of the cluster variable"
5657
- })
5825
+ name: zClusterVariableName
5658
5826
  }),
5659
5827
  query: z.optional(z.never())
5660
5828
  });
@@ -5662,9 +5830,7 @@ var zGetGlobalClusterVariableResponse = zClusterVariableResult;
5662
5830
  var zUpdateGlobalClusterVariableData = z.object({
5663
5831
  body: zUpdateClusterVariableRequest,
5664
5832
  path: z.object({
5665
- name: z.string().register(z.globalRegistry, {
5666
- description: "The name of the cluster variable"
5667
- })
5833
+ name: zClusterVariableName
5668
5834
  }),
5669
5835
  query: z.optional(z.never())
5670
5836
  });
@@ -5691,9 +5857,7 @@ var zDeleteTenantClusterVariableData = z.object({
5691
5857
  body: z.optional(z.never()),
5692
5858
  path: z.object({
5693
5859
  tenantId: zTenantId,
5694
- name: z.string().register(z.globalRegistry, {
5695
- description: "The name of the cluster variable"
5696
- })
5860
+ name: zClusterVariableName
5697
5861
  }),
5698
5862
  query: z.optional(z.never())
5699
5863
  });
@@ -5704,9 +5868,7 @@ var zGetTenantClusterVariableData = z.object({
5704
5868
  body: z.optional(z.never()),
5705
5869
  path: z.object({
5706
5870
  tenantId: zTenantId,
5707
- name: z.string().register(z.globalRegistry, {
5708
- description: "The name of the cluster variable"
5709
- })
5871
+ name: zClusterVariableName
5710
5872
  }),
5711
5873
  query: z.optional(z.never())
5712
5874
  });
@@ -5715,9 +5877,7 @@ var zUpdateTenantClusterVariableData = z.object({
5715
5877
  body: zUpdateClusterVariableRequest,
5716
5878
  path: z.object({
5717
5879
  tenantId: zTenantId,
5718
- name: z.string().register(z.globalRegistry, {
5719
- description: "The name of the cluster variable"
5720
- })
5880
+ name: zClusterVariableName
5721
5881
  }),
5722
5882
  query: z.optional(z.never())
5723
5883
  });
@@ -5779,12 +5939,7 @@ var zGetDecisionInstanceData = z.object({
5779
5939
  });
5780
5940
  var zGetDecisionInstanceResponse = zDecisionInstanceGetQueryResult;
5781
5941
  var zDeleteDecisionInstanceData = z.object({
5782
- body: z.optional(z.union([
5783
- z.object({
5784
- operationReference: z.optional(zOperationReference)
5785
- }),
5786
- z.null()
5787
- ])),
5942
+ body: z.optional(zDeleteDecisionInstanceRequest),
5788
5943
  path: z.object({
5789
5944
  decisionEvaluationKey: zDecisionEvaluationKey
5790
5945
  }),
@@ -6015,9 +6170,7 @@ var zSearchGroupsResponse = zGroupSearchQueryResult;
6015
6170
  var zDeleteGroupData = z.object({
6016
6171
  body: z.optional(z.never()),
6017
6172
  path: z.object({
6018
- groupId: z.string().register(z.globalRegistry, {
6019
- description: "The group ID."
6020
- })
6173
+ groupId: zGroupId
6021
6174
  }),
6022
6175
  query: z.optional(z.never())
6023
6176
  });
@@ -6027,9 +6180,7 @@ var zDeleteGroupResponse = z.void().register(z.globalRegistry, {
6027
6180
  var zGetGroupData = z.object({
6028
6181
  body: z.optional(z.never()),
6029
6182
  path: z.object({
6030
- groupId: z.string().register(z.globalRegistry, {
6031
- description: "The group ID."
6032
- })
6183
+ groupId: zGroupId
6033
6184
  }),
6034
6185
  query: z.optional(z.never())
6035
6186
  });
@@ -6037,53 +6188,24 @@ var zGetGroupResponse = zGroupResult;
6037
6188
  var zUpdateGroupData = z.object({
6038
6189
  body: zGroupUpdateRequest,
6039
6190
  path: z.object({
6040
- groupId: z.string().register(z.globalRegistry, {
6041
- description: "The group ID."
6042
- })
6191
+ groupId: zGroupId
6043
6192
  }),
6044
6193
  query: z.optional(z.never())
6045
6194
  });
6046
6195
  var zUpdateGroupResponse = zGroupUpdateResult;
6047
6196
  var zSearchClientsForGroupData = z.object({
6048
- body: z.optional(zSearchQueryRequest.and(z.object({
6049
- sort: z.optional(z.array(z.object({
6050
- field: z.enum([
6051
- "clientId"
6052
- ]).register(z.globalRegistry, {
6053
- description: "The field to sort by."
6054
- }),
6055
- order: z.optional(zSortOrderEnum)
6056
- })).register(z.globalRegistry, {
6057
- description: "Sort field criteria."
6058
- }))
6059
- }))),
6197
+ body: z.optional(zGroupClientSearchQueryRequest),
6060
6198
  path: z.object({
6061
- groupId: z.string().register(z.globalRegistry, {
6062
- description: "The group ID."
6063
- })
6199
+ groupId: zGroupId
6064
6200
  }),
6065
6201
  query: z.optional(z.never())
6066
6202
  });
6067
- var zSearchClientsForGroupResponse = zSearchQueryResponse.and(z.object({
6068
- items: z.array(z.object({
6069
- clientId: z.string().register(z.globalRegistry, {
6070
- description: "The ID of the client."
6071
- })
6072
- })).register(z.globalRegistry, {
6073
- description: "The matching client IDs."
6074
- })
6075
- }).register(z.globalRegistry, {
6076
- description: "The clients assigned to the group."
6077
- }));
6203
+ var zSearchClientsForGroupResponse = zGroupClientSearchResult;
6078
6204
  var zUnassignClientFromGroupData = z.object({
6079
6205
  body: z.optional(z.never()),
6080
6206
  path: z.object({
6081
- groupId: z.string().register(z.globalRegistry, {
6082
- description: "The group ID."
6083
- }),
6084
- clientId: z.string().register(z.globalRegistry, {
6085
- description: "The client ID."
6086
- })
6207
+ groupId: zGroupId,
6208
+ clientId: zClientId
6087
6209
  }),
6088
6210
  query: z.optional(z.never())
6089
6211
  });
@@ -6093,12 +6215,8 @@ var zUnassignClientFromGroupResponse = z.void().register(z.globalRegistry, {
6093
6215
  var zAssignClientToGroupData = z.object({
6094
6216
  body: z.optional(z.never()),
6095
6217
  path: z.object({
6096
- groupId: z.string().register(z.globalRegistry, {
6097
- description: "The group ID."
6098
- }),
6099
- clientId: z.string().register(z.globalRegistry, {
6100
- description: "The client ID."
6101
- })
6218
+ groupId: zGroupId,
6219
+ clientId: zClientId
6102
6220
  }),
6103
6221
  query: z.optional(z.never())
6104
6222
  });
@@ -6108,28 +6226,16 @@ var zAssignClientToGroupResponse = z.void().register(z.globalRegistry, {
6108
6226
  var zSearchMappingRulesForGroupData = z.object({
6109
6227
  body: z.optional(zMappingRuleSearchQueryRequest),
6110
6228
  path: z.object({
6111
- groupId: z.string().register(z.globalRegistry, {
6112
- description: "The group ID."
6113
- })
6229
+ groupId: zGroupId
6114
6230
  }),
6115
6231
  query: z.optional(z.never())
6116
6232
  });
6117
- var zSearchMappingRulesForGroupResponse = zSearchQueryResponse.and(z.object({
6118
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6119
- description: "The matching mapping rules."
6120
- })
6121
- }).register(z.globalRegistry, {
6122
- description: "The mapping rules assigned to the group."
6123
- }));
6233
+ var zSearchMappingRulesForGroupResponse = zGroupMappingRuleSearchResult;
6124
6234
  var zUnassignMappingRuleFromGroupData = z.object({
6125
6235
  body: z.optional(z.never()),
6126
6236
  path: z.object({
6127
- groupId: z.string().register(z.globalRegistry, {
6128
- description: "The group ID."
6129
- }),
6130
- mappingRuleId: z.string().register(z.globalRegistry, {
6131
- description: "The mapping rule ID."
6132
- })
6237
+ groupId: zGroupId,
6238
+ mappingRuleId: zMappingRuleId
6133
6239
  }),
6134
6240
  query: z.optional(z.never())
6135
6241
  });
@@ -6139,12 +6245,8 @@ var zUnassignMappingRuleFromGroupResponse = z.void().register(z.globalRegistry,
6139
6245
  var zAssignMappingRuleToGroupData = z.object({
6140
6246
  body: z.optional(z.never()),
6141
6247
  path: z.object({
6142
- groupId: z.string().register(z.globalRegistry, {
6143
- description: "The group ID."
6144
- }),
6145
- mappingRuleId: z.string().register(z.globalRegistry, {
6146
- description: "The mapping rule ID."
6147
- })
6248
+ groupId: zGroupId,
6249
+ mappingRuleId: zMappingRuleId
6148
6250
  }),
6149
6251
  query: z.optional(z.never())
6150
6252
  });
@@ -6154,54 +6256,23 @@ var zAssignMappingRuleToGroupResponse = z.void().register(z.globalRegistry, {
6154
6256
  var zSearchRolesForGroupData = z.object({
6155
6257
  body: z.optional(zRoleSearchQueryRequest),
6156
6258
  path: z.object({
6157
- groupId: z.string().register(z.globalRegistry, {
6158
- description: "The group ID."
6159
- })
6259
+ groupId: zGroupId
6160
6260
  }),
6161
6261
  query: z.optional(z.never())
6162
6262
  });
6163
- var zSearchRolesForGroupResponse = zSearchQueryResponse.and(z.object({
6164
- items: z.array(zRoleResult).register(z.globalRegistry, {
6165
- description: "The matching roles."
6166
- })
6167
- }).register(z.globalRegistry, {
6168
- description: "The roles assigned to the group."
6169
- }));
6263
+ var zSearchRolesForGroupResponse = zGroupRoleSearchResult;
6170
6264
  var zSearchUsersForGroupData = z.object({
6171
- body: z.optional(zSearchQueryRequest.and(z.object({
6172
- sort: z.optional(z.array(z.object({
6173
- field: z.enum([
6174
- "username"
6175
- ]).register(z.globalRegistry, {
6176
- description: "The field to sort by."
6177
- }),
6178
- order: z.optional(zSortOrderEnum)
6179
- })).register(z.globalRegistry, {
6180
- description: "Sort field criteria."
6181
- }))
6182
- }))),
6265
+ body: z.optional(zGroupUserSearchQueryRequest),
6183
6266
  path: z.object({
6184
- groupId: z.string().register(z.globalRegistry, {
6185
- description: "The group ID."
6186
- })
6267
+ groupId: zGroupId
6187
6268
  }),
6188
6269
  query: z.optional(z.never())
6189
6270
  });
6190
- var zSearchUsersForGroupResponse = zSearchQueryResponse.and(z.object({
6191
- items: z.array(z.object({
6192
- username: zUsername
6193
- })).register(z.globalRegistry, {
6194
- description: "The matching members."
6195
- })
6196
- }).register(z.globalRegistry, {
6197
- description: "The users assigned to the group."
6198
- }));
6271
+ var zSearchUsersForGroupResponse = zGroupUserSearchResult;
6199
6272
  var zUnassignUserFromGroupData = z.object({
6200
6273
  body: z.optional(z.never()),
6201
6274
  path: z.object({
6202
- groupId: z.string().register(z.globalRegistry, {
6203
- description: "The group ID."
6204
- }),
6275
+ groupId: zGroupId,
6205
6276
  username: zUsername
6206
6277
  }),
6207
6278
  query: z.optional(z.never())
@@ -6212,9 +6283,7 @@ var zUnassignUserFromGroupResponse = z.void().register(z.globalRegistry, {
6212
6283
  var zAssignUserToGroupData = z.object({
6213
6284
  body: z.optional(z.never()),
6214
6285
  path: z.object({
6215
- groupId: z.string().register(z.globalRegistry, {
6216
- description: "The group ID."
6217
- }),
6286
+ groupId: zGroupId,
6218
6287
  username: zUsername
6219
6288
  }),
6220
6289
  query: z.optional(z.never())
@@ -6361,25 +6430,17 @@ var zCreateMappingRuleData = z.object({
6361
6430
  path: z.optional(z.never()),
6362
6431
  query: z.optional(z.never())
6363
6432
  });
6364
- var zCreateMappingRuleResponse = zMappingRuleCreateUpdateResult;
6433
+ var zCreateMappingRuleResponse = zMappingRuleCreateResult;
6365
6434
  var zSearchMappingRuleData = z.object({
6366
6435
  body: z.optional(zMappingRuleSearchQueryRequest),
6367
6436
  path: z.optional(z.never()),
6368
6437
  query: z.optional(z.never())
6369
6438
  });
6370
- var zSearchMappingRuleResponse = zSearchQueryResponse.and(z.object({
6371
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6372
- description: "The matching mapping rules."
6373
- })
6374
- }).register(z.globalRegistry, {
6375
- description: "The mapping rule search result."
6376
- }));
6439
+ var zSearchMappingRuleResponse = zMappingRuleSearchQueryResult;
6377
6440
  var zDeleteMappingRuleData = z.object({
6378
6441
  body: z.optional(z.never()),
6379
6442
  path: z.object({
6380
- mappingRuleId: z.string().register(z.globalRegistry, {
6381
- description: "The ID of the mapping rule to delete."
6382
- })
6443
+ mappingRuleId: zMappingRuleId
6383
6444
  }),
6384
6445
  query: z.optional(z.never())
6385
6446
  });
@@ -6389,9 +6450,7 @@ var zDeleteMappingRuleResponse = z.void().register(z.globalRegistry, {
6389
6450
  var zGetMappingRuleData = z.object({
6390
6451
  body: z.optional(z.never()),
6391
6452
  path: z.object({
6392
- mappingRuleId: z.string().register(z.globalRegistry, {
6393
- description: "The ID of the mapping rule to get."
6394
- })
6453
+ mappingRuleId: zMappingRuleId
6395
6454
  }),
6396
6455
  query: z.optional(z.never())
6397
6456
  });
@@ -6399,13 +6458,11 @@ var zGetMappingRuleResponse = zMappingRuleResult;
6399
6458
  var zUpdateMappingRuleData = z.object({
6400
6459
  body: z.optional(zMappingRuleUpdateRequest),
6401
6460
  path: z.object({
6402
- mappingRuleId: z.string().register(z.globalRegistry, {
6403
- description: "The ID of the mapping rule to update."
6404
- })
6461
+ mappingRuleId: zMappingRuleId
6405
6462
  }),
6406
6463
  query: z.optional(z.never())
6407
6464
  });
6408
- var zUpdateMappingRuleResponse = zMappingRuleCreateUpdateResult;
6465
+ var zUpdateMappingRuleResponse = zMappingRuleUpdateResult;
6409
6466
  var zSearchMessageSubscriptionsData = z.object({
6410
6467
  body: z.optional(zMessageSubscriptionSearchQuery),
6411
6468
  path: z.optional(z.never()),
@@ -6548,12 +6605,7 @@ var zGetProcessInstanceCallHierarchyResponse = z.array(zProcessInstanceCallHiera
6548
6605
  description: "The call hierarchy is successfully returned."
6549
6606
  });
6550
6607
  var zCancelProcessInstanceData = z.object({
6551
- body: z.optional(z.union([
6552
- z.object({
6553
- operationReference: z.optional(zOperationReference)
6554
- }),
6555
- z.null()
6556
- ])),
6608
+ body: z.optional(zCancelProcessInstanceRequest),
6557
6609
  path: z.object({
6558
6610
  processInstanceKey: zProcessInstanceKey
6559
6611
  }),
@@ -6563,12 +6615,7 @@ var zCancelProcessInstanceResponse = z.void().register(z.globalRegistry, {
6563
6615
  description: "The process instance is canceled."
6564
6616
  });
6565
6617
  var zDeleteProcessInstanceData = z.object({
6566
- body: z.optional(z.union([
6567
- z.object({
6568
- operationReference: z.optional(zOperationReference)
6569
- }),
6570
- z.null()
6571
- ])),
6618
+ body: z.optional(zDeleteProcessInstanceRequest),
6572
6619
  path: z.object({
6573
6620
  processInstanceKey: zProcessInstanceKey
6574
6621
  }),
@@ -6629,6 +6676,12 @@ var zGetProcessInstanceStatisticsData = z.object({
6629
6676
  query: z.optional(z.never())
6630
6677
  });
6631
6678
  var zGetProcessInstanceStatisticsResponse = zProcessInstanceElementStatisticsQueryResult;
6679
+ var zSearchResourcesData = z.object({
6680
+ body: z.optional(zResourceSearchQuery),
6681
+ path: z.optional(z.never()),
6682
+ query: z.optional(z.never())
6683
+ });
6684
+ var zSearchResourcesResponse = zResourceSearchQueryResult;
6632
6685
  var zGetResourceData = z.object({
6633
6686
  body: z.optional(z.never()),
6634
6687
  path: z.object({
@@ -6670,9 +6723,7 @@ var zSearchRolesResponse = zRoleSearchQueryResult;
6670
6723
  var zDeleteRoleData = z.object({
6671
6724
  body: z.optional(z.never()),
6672
6725
  path: z.object({
6673
- roleId: z.string().register(z.globalRegistry, {
6674
- description: "The role ID."
6675
- })
6726
+ roleId: zRoleId
6676
6727
  }),
6677
6728
  query: z.optional(z.never())
6678
6729
  });
@@ -6682,9 +6733,7 @@ var zDeleteRoleResponse = z.void().register(z.globalRegistry, {
6682
6733
  var zGetRoleData = z.object({
6683
6734
  body: z.optional(z.never()),
6684
6735
  path: z.object({
6685
- roleId: z.string().register(z.globalRegistry, {
6686
- description: "The role ID."
6687
- })
6736
+ roleId: zRoleId
6688
6737
  }),
6689
6738
  query: z.optional(z.never())
6690
6739
  });
@@ -6692,53 +6741,24 @@ var zGetRoleResponse = zRoleResult;
6692
6741
  var zUpdateRoleData = z.object({
6693
6742
  body: zRoleUpdateRequest,
6694
6743
  path: z.object({
6695
- roleId: z.string().register(z.globalRegistry, {
6696
- description: "The role ID."
6697
- })
6744
+ roleId: zRoleId
6698
6745
  }),
6699
6746
  query: z.optional(z.never())
6700
6747
  });
6701
6748
  var zUpdateRoleResponse = zRoleUpdateResult;
6702
6749
  var zSearchClientsForRoleData = z.object({
6703
- body: z.optional(zSearchQueryRequest.and(z.object({
6704
- sort: z.optional(z.array(z.object({
6705
- field: z.enum([
6706
- "clientId"
6707
- ]).register(z.globalRegistry, {
6708
- description: "The field to sort by."
6709
- }),
6710
- order: z.optional(zSortOrderEnum)
6711
- })).register(z.globalRegistry, {
6712
- description: "Sort field criteria."
6713
- }))
6714
- }))),
6750
+ body: z.optional(zRoleClientSearchQueryRequest),
6715
6751
  path: z.object({
6716
- roleId: z.string().register(z.globalRegistry, {
6717
- description: "The role ID."
6718
- })
6752
+ roleId: zRoleId
6719
6753
  }),
6720
6754
  query: z.optional(z.never())
6721
6755
  });
6722
- var zSearchClientsForRoleResponse = zSearchQueryResponse.and(z.object({
6723
- items: z.array(z.object({
6724
- clientId: z.string().register(z.globalRegistry, {
6725
- description: "The ID of the client."
6726
- })
6727
- })).register(z.globalRegistry, {
6728
- description: "The matching clients."
6729
- })
6730
- }).register(z.globalRegistry, {
6731
- description: "The clients with the assigned role."
6732
- }));
6756
+ var zSearchClientsForRoleResponse = zRoleClientSearchResult;
6733
6757
  var zUnassignRoleFromClientData = z.object({
6734
6758
  body: z.optional(z.never()),
6735
6759
  path: z.object({
6736
- roleId: z.string().register(z.globalRegistry, {
6737
- description: "The role ID."
6738
- }),
6739
- clientId: z.string().register(z.globalRegistry, {
6740
- description: "The client ID."
6741
- })
6760
+ roleId: zRoleId,
6761
+ clientId: zClientId
6742
6762
  }),
6743
6763
  query: z.optional(z.never())
6744
6764
  });
@@ -6748,12 +6768,8 @@ var zUnassignRoleFromClientResponse = z.void().register(z.globalRegistry, {
6748
6768
  var zAssignRoleToClientData = z.object({
6749
6769
  body: z.optional(z.never()),
6750
6770
  path: z.object({
6751
- roleId: z.string().register(z.globalRegistry, {
6752
- description: "The role ID."
6753
- }),
6754
- clientId: z.string().register(z.globalRegistry, {
6755
- description: "The client ID."
6756
- })
6771
+ roleId: zRoleId,
6772
+ clientId: zClientId
6757
6773
  }),
6758
6774
  query: z.optional(z.never())
6759
6775
  });
@@ -6763,9 +6779,7 @@ var zAssignRoleToClientResponse = z.void().register(z.globalRegistry, {
6763
6779
  var zSearchGroupsForRoleData = z.object({
6764
6780
  body: z.optional(zRoleGroupSearchQueryRequest),
6765
6781
  path: z.object({
6766
- roleId: z.string().register(z.globalRegistry, {
6767
- description: "The role ID."
6768
- })
6782
+ roleId: zRoleId
6769
6783
  }),
6770
6784
  query: z.optional(z.never())
6771
6785
  });
@@ -6773,12 +6787,8 @@ var zSearchGroupsForRoleResponse = zRoleGroupSearchResult;
6773
6787
  var zUnassignRoleFromGroupData = z.object({
6774
6788
  body: z.optional(z.never()),
6775
6789
  path: z.object({
6776
- roleId: z.string().register(z.globalRegistry, {
6777
- description: "The role ID."
6778
- }),
6779
- groupId: z.string().register(z.globalRegistry, {
6780
- description: "The group ID."
6781
- })
6790
+ roleId: zRoleId,
6791
+ groupId: zGroupId
6782
6792
  }),
6783
6793
  query: z.optional(z.never())
6784
6794
  });
@@ -6788,12 +6798,8 @@ var zUnassignRoleFromGroupResponse = z.void().register(z.globalRegistry, {
6788
6798
  var zAssignRoleToGroupData = z.object({
6789
6799
  body: z.optional(z.never()),
6790
6800
  path: z.object({
6791
- roleId: z.string().register(z.globalRegistry, {
6792
- description: "The role ID."
6793
- }),
6794
- groupId: z.string().register(z.globalRegistry, {
6795
- description: "The group ID."
6796
- })
6801
+ roleId: zRoleId,
6802
+ groupId: zGroupId
6797
6803
  }),
6798
6804
  query: z.optional(z.never())
6799
6805
  });
@@ -6803,28 +6809,16 @@ var zAssignRoleToGroupResponse = z.void().register(z.globalRegistry, {
6803
6809
  var zSearchMappingRulesForRoleData = z.object({
6804
6810
  body: z.optional(zMappingRuleSearchQueryRequest),
6805
6811
  path: z.object({
6806
- roleId: z.string().register(z.globalRegistry, {
6807
- description: "The role ID."
6808
- })
6812
+ roleId: zRoleId
6809
6813
  }),
6810
6814
  query: z.optional(z.never())
6811
6815
  });
6812
- var zSearchMappingRulesForRoleResponse = zSearchQueryResponse.and(z.object({
6813
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
6814
- description: "The matching mapping rules."
6815
- })
6816
- }).register(z.globalRegistry, {
6817
- description: "The mapping rules with assigned role."
6818
- }));
6816
+ var zSearchMappingRulesForRoleResponse = zRoleMappingRuleSearchResult;
6819
6817
  var zUnassignRoleFromMappingRuleData = z.object({
6820
6818
  body: z.optional(z.never()),
6821
6819
  path: z.object({
6822
- roleId: z.string().register(z.globalRegistry, {
6823
- description: "The role ID."
6824
- }),
6825
- mappingRuleId: z.string().register(z.globalRegistry, {
6826
- description: "The mapping rule ID."
6827
- })
6820
+ roleId: zRoleId,
6821
+ mappingRuleId: zMappingRuleId
6828
6822
  }),
6829
6823
  query: z.optional(z.never())
6830
6824
  });
@@ -6834,12 +6828,8 @@ var zUnassignRoleFromMappingRuleResponse = z.void().register(z.globalRegistry, {
6834
6828
  var zAssignRoleToMappingRuleData = z.object({
6835
6829
  body: z.optional(z.never()),
6836
6830
  path: z.object({
6837
- roleId: z.string().register(z.globalRegistry, {
6838
- description: "The role ID."
6839
- }),
6840
- mappingRuleId: z.string().register(z.globalRegistry, {
6841
- description: "The mapping rule ID."
6842
- })
6831
+ roleId: zRoleId,
6832
+ mappingRuleId: zMappingRuleId
6843
6833
  }),
6844
6834
  query: z.optional(z.never())
6845
6835
  });
@@ -6847,40 +6837,17 @@ var zAssignRoleToMappingRuleResponse = z.void().register(z.globalRegistry, {
6847
6837
  description: "The role was assigned successfully to the mapping rule."
6848
6838
  });
6849
6839
  var zSearchUsersForRoleData = z.object({
6850
- body: z.optional(zSearchQueryRequest.and(z.object({
6851
- sort: z.optional(z.array(z.object({
6852
- field: z.enum([
6853
- "username"
6854
- ]).register(z.globalRegistry, {
6855
- description: "The field to sort by."
6856
- }),
6857
- order: z.optional(zSortOrderEnum)
6858
- })).register(z.globalRegistry, {
6859
- description: "Sort field criteria."
6860
- }))
6861
- }))),
6840
+ body: z.optional(zRoleUserSearchQueryRequest),
6862
6841
  path: z.object({
6863
- roleId: z.string().register(z.globalRegistry, {
6864
- description: "The role ID."
6865
- })
6842
+ roleId: zRoleId
6866
6843
  }),
6867
6844
  query: z.optional(z.never())
6868
6845
  });
6869
- var zSearchUsersForRoleResponse = zSearchQueryResponse.and(z.object({
6870
- items: z.array(z.object({
6871
- username: zUsername
6872
- })).register(z.globalRegistry, {
6873
- description: "The matching users."
6874
- })
6875
- }).register(z.globalRegistry, {
6876
- description: "The users with the assigned role."
6877
- }));
6846
+ var zSearchUsersForRoleResponse = zRoleUserSearchResult;
6878
6847
  var zUnassignRoleFromUserData = z.object({
6879
6848
  body: z.optional(z.never()),
6880
6849
  path: z.object({
6881
- roleId: z.string().register(z.globalRegistry, {
6882
- description: "The role ID."
6883
- }),
6850
+ roleId: zRoleId,
6884
6851
  username: zUsername
6885
6852
  }),
6886
6853
  query: z.optional(z.never())
@@ -6891,9 +6858,7 @@ var zUnassignRoleFromUserResponse = z.void().register(z.globalRegistry, {
6891
6858
  var zAssignRoleToUserData = z.object({
6892
6859
  body: z.optional(z.never()),
6893
6860
  path: z.object({
6894
- roleId: z.string().register(z.globalRegistry, {
6895
- description: "The role ID."
6896
- }),
6861
+ roleId: zRoleId,
6897
6862
  username: zUsername
6898
6863
  }),
6899
6864
  query: z.optional(z.never())
@@ -6983,41 +6948,18 @@ var zUpdateTenantData = z.object({
6983
6948
  });
6984
6949
  var zUpdateTenantResponse = zTenantUpdateResult;
6985
6950
  var zSearchClientsForTenantData = z.object({
6986
- body: z.optional(zSearchQueryRequest.and(z.object({
6987
- sort: z.optional(z.array(z.object({
6988
- field: z.enum([
6989
- "clientId"
6990
- ]).register(z.globalRegistry, {
6991
- description: "The field to sort by."
6992
- }),
6993
- order: z.optional(zSortOrderEnum)
6994
- })).register(z.globalRegistry, {
6995
- description: "Sort field criteria."
6996
- }))
6997
- }))),
6951
+ body: z.optional(zTenantClientSearchQueryRequest),
6998
6952
  path: z.object({
6999
6953
  tenantId: zTenantId
7000
6954
  }),
7001
6955
  query: z.optional(z.never())
7002
6956
  });
7003
- var zSearchClientsForTenantResponse = zSearchQueryResponse.and(z.object({
7004
- items: z.array(z.object({
7005
- clientId: z.string().register(z.globalRegistry, {
7006
- description: "The ID of the client."
7007
- })
7008
- })).register(z.globalRegistry, {
7009
- description: "The matching clients."
7010
- })
7011
- }).register(z.globalRegistry, {
7012
- description: "The search result of users for the tenant."
7013
- }));
6957
+ var zSearchClientsForTenantResponse = zTenantClientSearchResult;
7014
6958
  var zUnassignClientFromTenantData = z.object({
7015
6959
  body: z.optional(z.never()),
7016
6960
  path: z.object({
7017
6961
  tenantId: zTenantId,
7018
- clientId: z.string().register(z.globalRegistry, {
7019
- description: "The unique identifier of the application."
7020
- })
6962
+ clientId: zClientId
7021
6963
  }),
7022
6964
  query: z.optional(z.never())
7023
6965
  });
@@ -7028,9 +6970,7 @@ var zAssignClientToTenantData = z.object({
7028
6970
  body: z.optional(z.never()),
7029
6971
  path: z.object({
7030
6972
  tenantId: zTenantId,
7031
- clientId: z.string().register(z.globalRegistry, {
7032
- description: "The unique identifier of the application."
7033
- })
6973
+ clientId: zClientId
7034
6974
  }),
7035
6975
  query: z.optional(z.never())
7036
6976
  });
@@ -7049,9 +6989,7 @@ var zUnassignGroupFromTenantData = z.object({
7049
6989
  body: z.optional(z.never()),
7050
6990
  path: z.object({
7051
6991
  tenantId: zTenantId,
7052
- groupId: z.string().register(z.globalRegistry, {
7053
- description: "The unique identifier of the group."
7054
- })
6992
+ groupId: zGroupId
7055
6993
  }),
7056
6994
  query: z.optional(z.never())
7057
6995
  });
@@ -7062,9 +7000,7 @@ var zAssignGroupToTenantData = z.object({
7062
7000
  body: z.optional(z.never()),
7063
7001
  path: z.object({
7064
7002
  tenantId: zTenantId,
7065
- groupId: z.string().register(z.globalRegistry, {
7066
- description: "The unique identifier of the group."
7067
- })
7003
+ groupId: zGroupId
7068
7004
  }),
7069
7005
  query: z.optional(z.never())
7070
7006
  });
@@ -7078,20 +7014,12 @@ var zSearchMappingRulesForTenantData = z.object({
7078
7014
  }),
7079
7015
  query: z.optional(z.never())
7080
7016
  });
7081
- var zSearchMappingRulesForTenantResponse = zSearchQueryResponse.and(z.object({
7082
- items: z.array(zMappingRuleResult).register(z.globalRegistry, {
7083
- description: "The matching mapping rules."
7084
- })
7085
- }).register(z.globalRegistry, {
7086
- description: "The search result of MappingRules for the tenant."
7087
- }));
7017
+ var zSearchMappingRulesForTenantResponse = zTenantMappingRuleSearchResult;
7088
7018
  var zUnassignMappingRuleFromTenantData = z.object({
7089
7019
  body: z.optional(z.never()),
7090
7020
  path: z.object({
7091
7021
  tenantId: zTenantId,
7092
- mappingRuleId: z.string().register(z.globalRegistry, {
7093
- description: "The unique identifier of the mapping rule."
7094
- })
7022
+ mappingRuleId: zMappingRuleId
7095
7023
  }),
7096
7024
  query: z.optional(z.never())
7097
7025
  });
@@ -7102,9 +7030,7 @@ var zAssignMappingRuleToTenantData = z.object({
7102
7030
  body: z.optional(z.never()),
7103
7031
  path: z.object({
7104
7032
  tenantId: zTenantId,
7105
- mappingRuleId: z.string().register(z.globalRegistry, {
7106
- description: "The unique identifier of the mapping rule."
7107
- })
7033
+ mappingRuleId: zMappingRuleId
7108
7034
  }),
7109
7035
  query: z.optional(z.never())
7110
7036
  });
@@ -7118,20 +7044,12 @@ var zSearchRolesForTenantData = z.object({
7118
7044
  }),
7119
7045
  query: z.optional(z.never())
7120
7046
  });
7121
- var zSearchRolesForTenantResponse = zSearchQueryResponse.and(z.object({
7122
- items: z.array(zRoleResult).register(z.globalRegistry, {
7123
- description: "The matching roles."
7124
- })
7125
- }).register(z.globalRegistry, {
7126
- description: "The search result of roles for the tenant."
7127
- }));
7047
+ var zSearchRolesForTenantResponse = zTenantRoleSearchResult;
7128
7048
  var zUnassignRoleFromTenantData = z.object({
7129
7049
  body: z.optional(z.never()),
7130
7050
  path: z.object({
7131
7051
  tenantId: zTenantId,
7132
- roleId: z.string().register(z.globalRegistry, {
7133
- description: "The unique identifier of the role."
7134
- })
7052
+ roleId: zRoleId
7135
7053
  }),
7136
7054
  query: z.optional(z.never())
7137
7055
  });
@@ -7142,9 +7060,7 @@ var zAssignRoleToTenantData = z.object({
7142
7060
  body: z.optional(z.never()),
7143
7061
  path: z.object({
7144
7062
  tenantId: zTenantId,
7145
- roleId: z.string().register(z.globalRegistry, {
7146
- description: "The unique identifier of the role."
7147
- })
7063
+ roleId: zRoleId
7148
7064
  }),
7149
7065
  query: z.optional(z.never())
7150
7066
  });
@@ -7152,32 +7068,13 @@ var zAssignRoleToTenantResponse = z.void().register(z.globalRegistry, {
7152
7068
  description: "The role was successfully assigned to the tenant."
7153
7069
  });
7154
7070
  var zSearchUsersForTenantData = z.object({
7155
- body: z.optional(zSearchQueryRequest.and(z.object({
7156
- sort: z.optional(z.array(z.object({
7157
- field: z.enum([
7158
- "username"
7159
- ]).register(z.globalRegistry, {
7160
- description: "The field to sort by."
7161
- }),
7162
- order: z.optional(zSortOrderEnum)
7163
- })).register(z.globalRegistry, {
7164
- description: "Sort field criteria."
7165
- }))
7166
- }))),
7071
+ body: z.optional(zTenantUserSearchQueryRequest),
7167
7072
  path: z.object({
7168
7073
  tenantId: zTenantId
7169
7074
  }),
7170
7075
  query: z.optional(z.never())
7171
7076
  });
7172
- var zSearchUsersForTenantResponse = zSearchQueryResponse.and(z.object({
7173
- items: z.array(z.object({
7174
- username: zUsername
7175
- })).register(z.globalRegistry, {
7176
- description: "The matching users."
7177
- })
7178
- }).register(z.globalRegistry, {
7179
- description: "The search result of users for the tenant."
7180
- }));
7077
+ var zSearchUsersForTenantResponse = zTenantUserSearchResult;
7181
7078
  var zUnassignUserFromTenantData = z.object({
7182
7079
  body: z.optional(z.never()),
7183
7080
  path: z.object({
@@ -7217,23 +7114,7 @@ var zSearchUsersData = z.object({
7217
7114
  path: z.optional(z.never()),
7218
7115
  query: z.optional(z.never())
7219
7116
  });
7220
- var zSearchUsersResponse = zSearchQueryResponse.and(z.object({
7221
- items: z.array(z.object({
7222
- username: zUsername,
7223
- name: z.union([
7224
- z.string(),
7225
- z.null()
7226
- ]),
7227
- email: z.union([
7228
- z.string(),
7229
- z.null()
7230
- ])
7231
- })).register(z.globalRegistry, {
7232
- description: "The matching users."
7233
- })
7234
- }).register(z.globalRegistry, {
7235
- description: "The user search result."
7236
- }));
7117
+ var zSearchUsersResponse = zUserSearchResult;
7237
7118
  var zDeleteUserData = z.object({
7238
7119
  body: z.optional(z.never()),
7239
7120
  path: z.object({
@@ -7251,19 +7132,7 @@ var zGetUserData = z.object({
7251
7132
  }),
7252
7133
  query: z.optional(z.never())
7253
7134
  });
7254
- var zGetUserResponse = z.object({
7255
- username: zUsername,
7256
- name: z.union([
7257
- z.string(),
7258
- z.null()
7259
- ]),
7260
- email: z.union([
7261
- z.string(),
7262
- z.null()
7263
- ])
7264
- }).register(z.globalRegistry, {
7265
- description: "The user is successfully returned."
7266
- });
7135
+ var zGetUserResponse = zUserResult;
7267
7136
  var zUpdateUserData = z.object({
7268
7137
  body: zUserUpdateRequest,
7269
7138
  path: z.object({
@@ -7271,19 +7140,7 @@ var zUpdateUserData = z.object({
7271
7140
  }),
7272
7141
  query: z.optional(z.never())
7273
7142
  });
7274
- var zUpdateUserResponse = z.object({
7275
- username: zUsername,
7276
- name: z.union([
7277
- z.string(),
7278
- z.null()
7279
- ]),
7280
- email: z.union([
7281
- z.string(),
7282
- z.null()
7283
- ])
7284
- }).register(z.globalRegistry, {
7285
- description: "The user was updated successfully."
7286
- });
7143
+ var zUpdateUserResponse = zUserUpdateResult;
7287
7144
  var zSearchUserTasksData = z.object({
7288
7145
  body: z.optional(zUserTaskSearchQuery),
7289
7146
  path: z.optional(z.never()),
@@ -7349,19 +7206,7 @@ var zCompleteUserTaskResponse = z.void().register(z.globalRegistry, {
7349
7206
  var zSearchUserTaskEffectiveVariablesData = z.object({
7350
7207
  body: z.optional(z.object({
7351
7208
  page: z.optional(zOffsetPagination),
7352
- sort: z.optional(z.array(z.object({
7353
- field: z.enum([
7354
- "value",
7355
- "name",
7356
- "tenantId",
7357
- "variableKey",
7358
- "scopeKey",
7359
- "processInstanceKey"
7360
- ]).register(z.globalRegistry, {
7361
- description: "The field to sort by."
7362
- }),
7363
- order: z.optional(zSortOrderEnum)
7364
- })).register(z.globalRegistry, {
7209
+ sort: z.optional(z.array(zUserTaskVariableSearchQuerySortRequest).register(z.globalRegistry, {
7365
7210
  description: "Sort field criteria."
7366
7211
  })),
7367
7212
  filter: z.optional(zUserTaskVariableFilter)
@@ -7392,26 +7237,7 @@ var zGetUserTaskFormResponse = z.union([
7392
7237
  })
7393
7238
  ]);
7394
7239
  var zSearchUserTaskVariablesData = z.object({
7395
- body: z.optional(zSearchQueryRequest.and(z.object({
7396
- sort: z.optional(z.array(z.object({
7397
- field: z.enum([
7398
- "value",
7399
- "name",
7400
- "tenantId",
7401
- "variableKey",
7402
- "scopeKey",
7403
- "processInstanceKey"
7404
- ]).register(z.globalRegistry, {
7405
- description: "The field to sort by."
7406
- }),
7407
- order: z.optional(zSortOrderEnum)
7408
- })).register(z.globalRegistry, {
7409
- description: "Sort field criteria."
7410
- })),
7411
- filter: z.optional(zUserTaskVariableFilter)
7412
- }).register(z.globalRegistry, {
7413
- description: "User task search query request."
7414
- }))),
7240
+ body: z.optional(zUserTaskVariableSearchQueryRequest),
7415
7241
  path: z.object({
7416
7242
  userTaskKey: zUserTaskKey
7417
7243
  }),
@@ -7423,26 +7249,7 @@ var zSearchUserTaskVariablesData = z.object({
7423
7249
  });
7424
7250
  var zSearchUserTaskVariablesResponse = zVariableSearchQueryResult;
7425
7251
  var zSearchVariablesData = z.object({
7426
- body: z.optional(zSearchQueryRequest.and(z.object({
7427
- sort: z.optional(z.array(z.object({
7428
- field: z.enum([
7429
- "value",
7430
- "name",
7431
- "tenantId",
7432
- "variableKey",
7433
- "scopeKey",
7434
- "processInstanceKey"
7435
- ]).register(z.globalRegistry, {
7436
- description: "The field to sort by."
7437
- }),
7438
- order: z.optional(zSortOrderEnum)
7439
- })).register(z.globalRegistry, {
7440
- description: "Sort field criteria."
7441
- })),
7442
- filter: z.optional(zVariableFilter)
7443
- }).register(z.globalRegistry, {
7444
- description: "Variable search query request."
7445
- }))),
7252
+ body: z.optional(zVariableSearchQuery),
7446
7253
  path: z.optional(z.never()),
7447
7254
  query: z.optional(z.object({
7448
7255
  truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
@@ -7468,6 +7275,8 @@ export {
7468
7275
  zAdHocSubProcessActivateActivitiesInstruction,
7469
7276
  zAdHocSubProcessActivateActivityReference,
7470
7277
  zAdvancedActorTypeFilter,
7278
+ zAdvancedAgentInstanceKeyFilter,
7279
+ zAdvancedAgentInstanceStatusFilter,
7471
7280
  zAdvancedAuditLogEntityKeyFilter,
7472
7281
  zAdvancedAuditLogKeyFilter,
7473
7282
  zAdvancedBatchOperationItemStateFilter,
@@ -7510,6 +7319,20 @@ export {
7510
7319
  zAdvancedStringFilter,
7511
7320
  zAdvancedUserTaskStateFilter,
7512
7321
  zAdvancedVariableKeyFilter,
7322
+ zAgentInstanceDefinition,
7323
+ zAgentInstanceFilter,
7324
+ zAgentInstanceKey,
7325
+ zAgentInstanceKeyExactMatch,
7326
+ zAgentInstanceKeyFilterProperty,
7327
+ zAgentInstanceLimits,
7328
+ zAgentInstanceMetrics,
7329
+ zAgentInstanceResult,
7330
+ zAgentInstanceSearchQuery,
7331
+ zAgentInstanceSearchQueryResult,
7332
+ zAgentInstanceSearchQuerySortRequest,
7333
+ zAgentInstanceStatusEnum,
7334
+ zAgentInstanceStatusExactMatch,
7335
+ zAgentInstanceStatusFilterProperty,
7513
7336
  zAncestorScopeInstruction,
7514
7337
  zAssignClientToGroupData,
7515
7338
  zAssignClientToGroupResponse,
@@ -7607,7 +7430,9 @@ export {
7607
7430
  zCategoryExactMatch,
7608
7431
  zCategoryFilterProperty,
7609
7432
  zChangeset,
7433
+ zClientId,
7610
7434
  zClockPinRequest,
7435
+ zClusterVariableName,
7611
7436
  zClusterVariableResult,
7612
7437
  zClusterVariableResultBase,
7613
7438
  zClusterVariableScopeEnum,
@@ -7798,6 +7623,8 @@ export {
7798
7623
  zFormKeyExactMatch,
7799
7624
  zFormKeyFilterProperty,
7800
7625
  zFormResult,
7626
+ zGetAgentInstanceData,
7627
+ zGetAgentInstanceResponse,
7801
7628
  zGetAuditLogData,
7802
7629
  zGetAuditLogResponse,
7803
7630
  zGetAuthenticationData,
@@ -7917,6 +7744,7 @@ export {
7917
7744
  zGroupCreateRequest,
7918
7745
  zGroupCreateResult,
7919
7746
  zGroupFilter,
7747
+ zGroupId,
7920
7748
  zGroupMappingRuleSearchResult,
7921
7749
  zGroupResult,
7922
7750
  zGroupRoleSearchResult,
@@ -8008,6 +7836,7 @@ export {
8008
7836
  zMappingRuleCreateUpdateRequest,
8009
7837
  zMappingRuleCreateUpdateResult,
8010
7838
  zMappingRuleFilter,
7839
+ zMappingRuleId,
8011
7840
  zMappingRuleResult,
8012
7841
  zMappingRuleSearchQueryRequest,
8013
7842
  zMappingRuleSearchQueryResult,
@@ -8128,10 +7957,14 @@ export {
8128
7957
  zResolveIncidentsBatchOperationResponse,
8129
7958
  zResolveProcessInstanceIncidentsData,
8130
7959
  zResolveProcessInstanceIncidentsResponse,
7960
+ zResourceFilter,
8131
7961
  zResourceKey,
8132
7962
  zResourceKeyExactMatch,
8133
7963
  zResourceKeyFilterProperty,
8134
7964
  zResourceResult,
7965
+ zResourceSearchQuery,
7966
+ zResourceSearchQueryResult,
7967
+ zResourceSearchQuerySortRequest,
8135
7968
  zResourceTypeEnum,
8136
7969
  zResumeBatchOperationData,
8137
7970
  zResumeBatchOperationResponse,
@@ -8146,6 +7979,7 @@ export {
8146
7979
  zRoleGroupSearchQueryRequest,
8147
7980
  zRoleGroupSearchQuerySortRequest,
8148
7981
  zRoleGroupSearchResult,
7982
+ zRoleId,
8149
7983
  zRoleMappingRuleSearchResult,
8150
7984
  zRoleResult,
8151
7985
  zRoleSearchQueryRequest,
@@ -8160,6 +7994,8 @@ export {
8160
7994
  zScopeKey,
8161
7995
  zScopeKeyExactMatch,
8162
7996
  zScopeKeyFilterProperty,
7997
+ zSearchAgentInstancesData,
7998
+ zSearchAgentInstancesResponse,
8163
7999
  zSearchAuditLogsData,
8164
8000
  zSearchAuditLogsResponse,
8165
8001
  zSearchAuthorizationsData,
@@ -8220,6 +8056,8 @@ export {
8220
8056
  zSearchQueryPageResponse,
8221
8057
  zSearchQueryRequest,
8222
8058
  zSearchQueryResponse,
8059
+ zSearchResourcesData,
8060
+ zSearchResourcesResponse,
8223
8061
  zSearchRolesData,
8224
8062
  zSearchRolesForGroupData,
8225
8063
  zSearchRolesForGroupResponse,
@@ -8384,4 +8222,4 @@ export {
8384
8222
  zVariableSearchResult,
8385
8223
  zVariableValueFilterProperty
8386
8224
  };
8387
- //# sourceMappingURL=zod.gen-WZT74U4Q.js.map
8225
+ //# sourceMappingURL=zod.gen-UJLBQNEH.js.map