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

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.
@@ -953,6 +953,38 @@ var zTagSet = z.array(zTag).max(10).register(z.globalRegistry, {
953
953
  var zBusinessId = z.string().min(1).max(256).register(z.globalRegistry, {
954
954
  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
955
  });
956
+ var zAdvancedElementIdFilter = z.object({
957
+ "$eq": z.optional(zElementId),
958
+ "$neq": z.optional(zElementId),
959
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
960
+ description: "Checks if the current property exists."
961
+ })),
962
+ "$in": z.optional(z.array(zElementId).register(z.globalRegistry, {
963
+ description: "Checks if the property matches any of the provided values."
964
+ })),
965
+ "$notIn": z.optional(z.array(zElementId).register(z.globalRegistry, {
966
+ description: "Checks if the property matches none of the provided values."
967
+ })),
968
+ "$like": z.optional(zLikeFilter)
969
+ }).register(z.globalRegistry, {
970
+ description: "Advanced ElementId filter."
971
+ });
972
+ var zAdvancedProcessDefinitionIdFilter = z.object({
973
+ "$eq": z.optional(zProcessDefinitionId),
974
+ "$neq": z.optional(zProcessDefinitionId),
975
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
976
+ description: "Checks if the current property exists."
977
+ })),
978
+ "$in": z.optional(z.array(zProcessDefinitionId).register(z.globalRegistry, {
979
+ description: "Checks if the property matches any of the provided values."
980
+ })),
981
+ "$notIn": z.optional(z.array(zProcessDefinitionId).register(z.globalRegistry, {
982
+ description: "Checks if the property matches none of the provided values."
983
+ })),
984
+ "$like": z.optional(zLikeFilter)
985
+ }).register(z.globalRegistry, {
986
+ description: "Advanced ProcessDefinitionId filter."
987
+ });
956
988
  var zIncidentErrorTypeEnum = z.enum([
957
989
  "AD_HOC_SUB_PROCESS_NO_RETRIES",
958
990
  "CALLED_DECISION_ERROR",
@@ -1332,6 +1364,7 @@ var zJobKindEnum = z.enum([
1332
1364
  });
1333
1365
  var zJobListenerEventTypeEnum = z.enum([
1334
1366
  "ASSIGNING",
1367
+ "BEFORE_ALL",
1335
1368
  "CANCELING",
1336
1369
  "COMPLETING",
1337
1370
  "CREATING",
@@ -1830,7 +1863,9 @@ var zDecisionEvaluationInstruction = z.union([
1830
1863
  zDecisionEvaluationById,
1831
1864
  zDecisionEvaluationByKey
1832
1865
  ]);
1833
- var zDecisionEvaluationInstanceKey = zLongKey;
1866
+ var zDecisionEvaluationInstanceKey = z.string().min(3).max(30).regex(/^[0-9]+-[0-9]+$/).register(z.globalRegistry, {
1867
+ description: "System-generated identifier for a decision evaluation instance. It is composed of the\nparent decision evaluation key and the 1-based index of the evaluated decision within\nthat evaluation, joined by a hyphen (format: `<decisionEvaluationKey>-<index>`).\n"
1868
+ });
1834
1869
  var zEvaluatedDecisionResult = z.object({
1835
1870
  decisionDefinitionId: zDecisionDefinitionId,
1836
1871
  decisionDefinitionName: z.string().register(z.globalRegistry, {
@@ -2187,7 +2222,10 @@ var zBatchOperationItemResponse = z.object({
2187
2222
  itemKey: z.string().register(z.globalRegistry, {
2188
2223
  description: "Key of the item, e.g. a process instance key."
2189
2224
  }),
2190
- processInstanceKey: zProcessInstanceKey,
2225
+ processInstanceKey: z.union([
2226
+ zProcessInstanceKey,
2227
+ z.null()
2228
+ ]),
2191
2229
  rootProcessInstanceKey: z.union([
2192
2230
  zProcessInstanceKey,
2193
2231
  z.null()
@@ -2650,6 +2688,25 @@ var zMessageSubscriptionStateEnum = z.enum([
2650
2688
  ]).register(z.globalRegistry, {
2651
2689
  description: "The state of message subscription."
2652
2690
  });
2691
+ var zMessageSubscriptionTypeEnum = z.enum([
2692
+ "START_EVENT",
2693
+ "PROCESS_EVENT"
2694
+ ]).register(z.globalRegistry, {
2695
+ 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"
2696
+ });
2697
+ var zAdvancedMessageSubscriptionTypeFilter = z.object({
2698
+ "$eq": z.optional(zMessageSubscriptionTypeEnum),
2699
+ "$neq": z.optional(zMessageSubscriptionTypeEnum),
2700
+ "$exists": z.optional(z.boolean().register(z.globalRegistry, {
2701
+ description: "Checks if the current property exists."
2702
+ })),
2703
+ "$in": z.optional(z.array(zMessageSubscriptionTypeEnum).register(z.globalRegistry, {
2704
+ description: "Checks if the property matches any of the provided values."
2705
+ })),
2706
+ "$like": z.optional(zLikeFilter)
2707
+ }).register(z.globalRegistry, {
2708
+ description: "Advanced MessageSubscriptionTypeEnum filter"
2709
+ });
2653
2710
  var zAdvancedMessageSubscriptionStateFilter = z.object({
2654
2711
  "$eq": z.optional(zMessageSubscriptionStateEnum),
2655
2712
  "$neq": z.optional(zMessageSubscriptionStateEnum),
@@ -2695,6 +2752,26 @@ var zMessageSubscriptionResult = z.object({
2695
2752
  z.string(),
2696
2753
  z.null()
2697
2754
  ]),
2755
+ messageSubscriptionType: zMessageSubscriptionTypeEnum,
2756
+ extensionProperties: z.record(z.string(), z.string()).register(z.globalRegistry, {
2757
+ description: "The `zeebe:properties` extension properties extracted from the BPMN element associated\nwith this subscription. Empty object when no properties are defined.\n"
2758
+ }),
2759
+ processDefinitionName: z.union([
2760
+ z.string(),
2761
+ z.null()
2762
+ ]),
2763
+ processDefinitionVersion: z.union([
2764
+ z.int(),
2765
+ z.null()
2766
+ ]),
2767
+ toolName: z.union([
2768
+ z.string(),
2769
+ z.null()
2770
+ ]),
2771
+ inboundConnectorType: z.union([
2772
+ z.string(),
2773
+ z.null()
2774
+ ]),
2698
2775
  tenantId: zTenantId
2699
2776
  });
2700
2777
  var zAdvancedMessageSubscriptionKeyFilter = z.object({
@@ -3707,14 +3784,19 @@ var zMessageSubscriptionSearchQuerySortRequest = z.object({
3707
3784
  field: z.enum([
3708
3785
  "messageSubscriptionKey",
3709
3786
  "processDefinitionId",
3787
+ "processDefinitionName",
3788
+ "processDefinitionVersion",
3710
3789
  "processInstanceKey",
3711
3790
  "elementId",
3712
3791
  "elementInstanceKey",
3713
3792
  "messageSubscriptionState",
3793
+ "messageSubscriptionType",
3714
3794
  "lastUpdatedDate",
3715
3795
  "messageName",
3716
3796
  "correlationKey",
3717
- "tenantId"
3797
+ "tenantId",
3798
+ "toolName",
3799
+ "inboundConnectorType"
3718
3800
  ]).register(z.globalRegistry, {
3719
3801
  description: "The field to sort by."
3720
3802
  }),
@@ -4845,6 +4927,44 @@ var zElementInstanceStateFilterProperty = z.union([
4845
4927
  zElementInstanceStateExactMatch,
4846
4928
  zAdvancedElementInstanceStateFilter
4847
4929
  ]);
4930
+ var zGlobalListenerSourceExactMatch = zGlobalListenerSourceEnum;
4931
+ var zGlobalListenerSourceFilterProperty = z.union([
4932
+ zGlobalListenerSourceExactMatch,
4933
+ zAdvancedGlobalListenerSourceFilter
4934
+ ]);
4935
+ var zGlobalTaskListenerEventTypeExactMatch = zGlobalTaskListenerEventTypeEnum;
4936
+ var zGlobalTaskListenerEventTypeFilterProperty = z.union([
4937
+ zGlobalTaskListenerEventTypeExactMatch,
4938
+ zAdvancedGlobalTaskListenerEventTypeFilter
4939
+ ]);
4940
+ var zGlobalTaskListenerSearchQueryFilterRequest = z.object({
4941
+ id: z.optional(zStringFilterProperty),
4942
+ type: z.optional(zStringFilterProperty),
4943
+ retries: z.optional(zIntegerFilterProperty),
4944
+ eventTypes: z.optional(z.array(zGlobalTaskListenerEventTypeFilterProperty).register(z.globalRegistry, {
4945
+ description: "Event types of the global listener."
4946
+ })),
4947
+ afterNonGlobal: z.optional(z.boolean().register(z.globalRegistry, {
4948
+ description: "Whether the listener runs after model-level listeners."
4949
+ })),
4950
+ priority: z.optional(zIntegerFilterProperty),
4951
+ source: z.optional(zGlobalListenerSourceFilterProperty)
4952
+ }).register(z.globalRegistry, {
4953
+ description: "Global listener filter request."
4954
+ });
4955
+ var zGlobalTaskListenerSearchQueryRequest = zSearchQueryRequest.and(z.object({
4956
+ sort: z.optional(z.array(zGlobalTaskListenerSearchQuerySortRequest).register(z.globalRegistry, {
4957
+ description: "Sort field criteria."
4958
+ })),
4959
+ filter: z.optional(zGlobalTaskListenerSearchQueryFilterRequest)
4960
+ }).register(z.globalRegistry, {
4961
+ description: "Global listener search query request."
4962
+ }));
4963
+ var zElementIdExactMatch = zElementId;
4964
+ var zElementIdFilterProperty = z.union([
4965
+ zElementIdExactMatch,
4966
+ zAdvancedElementIdFilter
4967
+ ]);
4848
4968
  var zElementInstanceFilter = z.object({
4849
4969
  processDefinitionId: z.optional(zProcessDefinitionId),
4850
4970
  state: z.optional(zElementInstanceStateFilterProperty),
@@ -4879,10 +4999,8 @@ var zElementInstanceFilter = z.object({
4879
4999
  ]).register(z.globalRegistry, {
4880
5000
  description: "Type of element as defined set of values."
4881
5001
  })),
4882
- elementId: z.optional(zElementId),
4883
- elementName: z.optional(z.string().register(z.globalRegistry, {
4884
- 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"
4885
- })),
5002
+ elementId: z.optional(zElementIdFilterProperty),
5003
+ elementName: z.optional(zStringFilterProperty),
4886
5004
  hasIncident: z.optional(z.boolean().register(z.globalRegistry, {
4887
5005
  description: "Shows whether this element instance has an incident related to."
4888
5006
  })),
@@ -4908,39 +5026,11 @@ var zElementInstanceSearchQuery = zSearchQueryRequest.and(z.object({
4908
5026
  }).register(z.globalRegistry, {
4909
5027
  description: "Element instance search request."
4910
5028
  }));
4911
- var zGlobalListenerSourceExactMatch = zGlobalListenerSourceEnum;
4912
- var zGlobalListenerSourceFilterProperty = z.union([
4913
- zGlobalListenerSourceExactMatch,
4914
- zAdvancedGlobalListenerSourceFilter
4915
- ]);
4916
- var zGlobalTaskListenerEventTypeExactMatch = zGlobalTaskListenerEventTypeEnum;
4917
- var zGlobalTaskListenerEventTypeFilterProperty = z.union([
4918
- zGlobalTaskListenerEventTypeExactMatch,
4919
- zAdvancedGlobalTaskListenerEventTypeFilter
5029
+ var zProcessDefinitionIdExactMatch = zProcessDefinitionId;
5030
+ var zProcessDefinitionIdFilterProperty = z.union([
5031
+ zProcessDefinitionIdExactMatch,
5032
+ zAdvancedProcessDefinitionIdFilter
4920
5033
  ]);
4921
- var zGlobalTaskListenerSearchQueryFilterRequest = z.object({
4922
- id: z.optional(zStringFilterProperty),
4923
- type: z.optional(zStringFilterProperty),
4924
- retries: z.optional(zIntegerFilterProperty),
4925
- eventTypes: z.optional(z.array(zGlobalTaskListenerEventTypeFilterProperty).register(z.globalRegistry, {
4926
- description: "Event types of the global listener."
4927
- })),
4928
- afterNonGlobal: z.optional(z.boolean().register(z.globalRegistry, {
4929
- description: "Whether the listener runs after model-level listeners."
4930
- })),
4931
- priority: z.optional(zIntegerFilterProperty),
4932
- source: z.optional(zGlobalListenerSourceFilterProperty)
4933
- }).register(z.globalRegistry, {
4934
- description: "Global listener filter request."
4935
- });
4936
- var zGlobalTaskListenerSearchQueryRequest = zSearchQueryRequest.and(z.object({
4937
- sort: z.optional(z.array(zGlobalTaskListenerSearchQuerySortRequest).register(z.globalRegistry, {
4938
- description: "Sort field criteria."
4939
- })),
4940
- filter: z.optional(zGlobalTaskListenerSearchQueryFilterRequest)
4941
- }).register(z.globalRegistry, {
4942
- description: "Global listener search query request."
4943
- }));
4944
5034
  var zIncidentErrorTypeExactMatch = zIncidentErrorTypeEnum;
4945
5035
  var zIncidentErrorTypeFilterProperty = z.union([
4946
5036
  zIncidentErrorTypeExactMatch,
@@ -5207,6 +5297,11 @@ var zDecisionInstanceSearchQuery = zSearchQueryRequest.and(z.object({
5207
5297
  })),
5208
5298
  filter: z.optional(zDecisionInstanceFilter)
5209
5299
  }));
5300
+ var zMessageSubscriptionTypeExactMatch = zMessageSubscriptionTypeEnum;
5301
+ var zMessageSubscriptionTypeFilterProperty = z.union([
5302
+ zMessageSubscriptionTypeExactMatch,
5303
+ zAdvancedMessageSubscriptionTypeFilter
5304
+ ]);
5210
5305
  var zMessageSubscriptionStateExactMatch = zMessageSubscriptionStateEnum;
5211
5306
  var zMessageSubscriptionStateFilterProperty = z.union([
5212
5307
  zMessageSubscriptionStateExactMatch,
@@ -5228,7 +5323,12 @@ var zMessageSubscriptionFilter = z.object({
5228
5323
  lastUpdatedDate: z.optional(zDateTimeFilterProperty),
5229
5324
  messageName: z.optional(zStringFilterProperty),
5230
5325
  correlationKey: z.optional(zStringFilterProperty),
5231
- tenantId: z.optional(zStringFilterProperty)
5326
+ tenantId: z.optional(zStringFilterProperty),
5327
+ messageSubscriptionType: z.optional(zMessageSubscriptionTypeFilterProperty),
5328
+ processDefinitionName: z.optional(zStringFilterProperty),
5329
+ processDefinitionVersion: z.optional(zIntegerFilterProperty),
5330
+ toolName: z.optional(zStringFilterProperty),
5331
+ inboundConnectorType: z.optional(zStringFilterProperty)
5232
5332
  }).register(z.globalRegistry, {
5233
5333
  description: "Message subscription search filter."
5234
5334
  });
@@ -5378,7 +5478,7 @@ var zUserTaskFilter = z.object({
5378
5478
  candidateGroup: z.optional(zStringFilterProperty),
5379
5479
  candidateUser: z.optional(zStringFilterProperty),
5380
5480
  tenantId: z.optional(zStringFilterProperty),
5381
- processDefinitionId: z.optional(zProcessDefinitionId),
5481
+ processDefinitionId: z.optional(zProcessDefinitionIdFilterProperty),
5382
5482
  creationDate: z.optional(zDateTimeFilterProperty),
5383
5483
  completionDate: z.optional(zDateTimeFilterProperty),
5384
5484
  followUpDate: z.optional(zDateTimeFilterProperty),
@@ -5390,8 +5490,8 @@ var zUserTaskFilter = z.object({
5390
5490
  description: "The local variables of the user task."
5391
5491
  })),
5392
5492
  userTaskKey: z.optional(zUserTaskKey),
5393
- processDefinitionKey: z.optional(zProcessDefinitionKey),
5394
- processInstanceKey: z.optional(zProcessInstanceKey),
5493
+ processDefinitionKey: z.optional(zProcessDefinitionKeyFilterProperty),
5494
+ processInstanceKey: z.optional(zProcessInstanceKeyFilterProperty),
5395
5495
  elementInstanceKey: z.optional(zElementInstanceKey),
5396
5496
  tags: z.optional(zTagSet)
5397
5497
  }).register(z.globalRegistry, {
@@ -7382,6 +7482,7 @@ export {
7382
7482
  zAdvancedDecisionInstanceStateFilter,
7383
7483
  zAdvancedDecisionRequirementsKeyFilter,
7384
7484
  zAdvancedDeploymentKeyFilter,
7485
+ zAdvancedElementIdFilter,
7385
7486
  zAdvancedElementInstanceKeyFilter,
7386
7487
  zAdvancedElementInstanceStateFilter,
7387
7488
  zAdvancedEntityTypeFilter,
@@ -7397,7 +7498,9 @@ export {
7397
7498
  zAdvancedJobStateFilter,
7398
7499
  zAdvancedMessageSubscriptionKeyFilter,
7399
7500
  zAdvancedMessageSubscriptionStateFilter,
7501
+ zAdvancedMessageSubscriptionTypeFilter,
7400
7502
  zAdvancedOperationTypeFilter,
7503
+ zAdvancedProcessDefinitionIdFilter,
7401
7504
  zAdvancedProcessDefinitionKeyFilter,
7402
7505
  zAdvancedProcessInstanceKeyFilter,
7403
7506
  zAdvancedProcessInstanceStateFilter,
@@ -7658,6 +7761,8 @@ export {
7658
7761
  zDocumentMetadataResponse,
7659
7762
  zDocumentReference,
7660
7763
  zElementId,
7764
+ zElementIdExactMatch,
7765
+ zElementIdFilterProperty,
7661
7766
  zElementInstanceFilter,
7662
7767
  zElementInstanceKey,
7663
7768
  zElementInstanceKeyExactMatch,
@@ -7926,6 +8031,9 @@ export {
7926
8031
  zMessageSubscriptionStateEnum,
7927
8032
  zMessageSubscriptionStateExactMatch,
7928
8033
  zMessageSubscriptionStateFilterProperty,
8034
+ zMessageSubscriptionTypeEnum,
8035
+ zMessageSubscriptionTypeExactMatch,
8036
+ zMessageSubscriptionTypeFilterProperty,
7929
8037
  zMigrateProcessInstanceData,
7930
8038
  zMigrateProcessInstanceMappingInstruction,
7931
8039
  zMigrateProcessInstanceResponse,
@@ -7950,6 +8058,8 @@ export {
7950
8058
  zProcessDefinitionElementStatisticsQueryResult,
7951
8059
  zProcessDefinitionFilter,
7952
8060
  zProcessDefinitionId,
8061
+ zProcessDefinitionIdExactMatch,
8062
+ zProcessDefinitionIdFilterProperty,
7953
8063
  zProcessDefinitionInstanceStatisticsQuery,
7954
8064
  zProcessDefinitionInstanceStatisticsQueryResult,
7955
8065
  zProcessDefinitionInstanceStatisticsQuerySortRequest,
@@ -8274,4 +8384,4 @@ export {
8274
8384
  zVariableSearchResult,
8275
8385
  zVariableValueFilterProperty
8276
8386
  };
8277
- //# sourceMappingURL=zod.gen-J3DNBFMQ.js.map
8387
+ //# sourceMappingURL=zod.gen-WZT74U4Q.js.map