@camunda8/orchestration-cluster-api 9.1.4 → 9.1.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.
@@ -2232,7 +2232,7 @@ var zDeleteResourceRequest = z.union([
2232
2232
  z.object({
2233
2233
  operationReference: z.optional(zOperationReference),
2234
2234
  deleteHistory: z.optional(z.boolean().register(z.globalRegistry, {
2235
- description: "Indicates if the historic data of a process resource should be deleted via a\nbatch operation asynchronously.\n\nThis flag is only effective for process resources. For other resource types\n(decisions, forms, generic resources), this flag is ignored and no history\nwill be deleted. In those cases, the `batchOperation` field in the response\nwill not be populated.\n"
2235
+ description: "Indicates if the historic data associated with the resource should also be deleted\nasynchronously.\n\nThis flag is effective for process definitions and decision requirements definitions.\nFor other resource types (forms, generic resources) it is ignored and no history is\ndeleted. For a decision requirements definition the `batchOperation` field in the\nresponse carries the created batch operation. For a process definition the history is\ndeleted as part of the definition's draining/deletion lifecycle and no batch operation is\nreturned.\n"
2236
2236
  })).default(false)
2237
2237
  }),
2238
2238
  z.null()
@@ -2801,9 +2801,10 @@ var zProcessDefinitionFilter = z.object({
2801
2801
  })),
2802
2802
  state: z.optional(z.enum([
2803
2803
  "ACTIVE",
2804
+ "DRAINING",
2804
2805
  "DELETED"
2805
2806
  ]).register(z.globalRegistry, {
2806
- description: "Filter by the process definition's state.\nWhen not set, process definitions in any state are returned.\nSet to `ACTIVE` to exclude deleted definitions (recommended for most use cases).\nSet to `DELETED` to return only definitions that have been deleted but are still\nretained in secondary storage.\n"
2807
+ description: "Filter by the process definition's state.\nWhen not set, process definitions in any state are returned.\nSet to `ACTIVE` to exclude draining and deleted definitions (recommended for most use cases).\nSet to `DRAINING` to return only definitions that are being deleted but still have\nactive process instances draining.\nSet to `DELETED` to return only definitions that have been deleted but are still\nretained in secondary storage.\n"
2807
2808
  }))
2808
2809
  }).register(z.globalRegistry, {
2809
2810
  description: "Process definition search filter."
@@ -2831,9 +2832,10 @@ var zProcessDefinitionResult = z.object({
2831
2832
  }),
2832
2833
  state: z.enum([
2833
2834
  "ACTIVE",
2835
+ "DRAINING",
2834
2836
  "DELETED"
2835
2837
  ]).register(z.globalRegistry, {
2836
- description: "The state of this process definition."
2838
+ description: "The state of this process definition.\n`DRAINING` indicates the definition is being deleted but still has active process\ninstances draining before it is removed.\n"
2837
2839
  })
2838
2840
  });
2839
2841
  var zProcessElementStatisticsResult = z.object({
@@ -2933,7 +2935,7 @@ var zProcessInstanceCreationRuntimeInstruction = z.object({
2933
2935
  var zProcessInstanceCreationInstructionById = z.object({
2934
2936
  processDefinitionId: zProcessDefinitionId,
2935
2937
  processDefinitionVersion: z.optional(z.int().register(z.globalRegistry, {
2936
- description: "The version of the process. By default, the latest version of the process is used.\n"
2938
+ description: "The version of the process. If omitted, the latest active version is used.\n"
2937
2939
  })).default(-1),
2938
2940
  variables: z.optional(z.record(z.string(), z.unknown()).register(z.globalRegistry, {
2939
2941
  description: "JSON object that will instantiate the variables for the root variable scope\nof the process instance.\n"
@@ -8288,4 +8290,4 @@ export {
8288
8290
  zVariableSearchResult,
8289
8291
  zVariableValueFilterProperty
8290
8292
  };
8291
- //# sourceMappingURL=zod.gen-I6G7OTVZ.js.map
8293
+ //# sourceMappingURL=zod.gen-UYZKIAHB.js.map