@camunda8/orchestration-cluster-api 9.1.1 → 9.1.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.
package/dist/fp/index.cjs CHANGED
@@ -3748,6 +3748,12 @@ var init_zod_gen = __esm({
3748
3748
  processDefinitionKey: import_zod4.z.optional(zProcessDefinitionKey),
3749
3749
  hasStartForm: import_zod4.z.optional(import_zod4.z.boolean().register(import_zod4.z.globalRegistry, {
3750
3750
  description: "Indicates whether the start event of the process has an associated Form Key."
3751
+ })),
3752
+ state: import_zod4.z.optional(import_zod4.z.enum([
3753
+ "ACTIVE",
3754
+ "DELETED"
3755
+ ]).register(import_zod4.z.globalRegistry, {
3756
+ 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"
3751
3757
  }))
3752
3758
  }).register(import_zod4.z.globalRegistry, {
3753
3759
  description: "Process definition search filter."
@@ -3772,6 +3778,12 @@ var init_zod_gen = __esm({
3772
3778
  processDefinitionKey: zProcessDefinitionKey,
3773
3779
  hasStartForm: import_zod4.z.boolean().register(import_zod4.z.globalRegistry, {
3774
3780
  description: "Indicates whether the start event of the process has an associated Form Key."
3781
+ }),
3782
+ state: import_zod4.z.enum([
3783
+ "ACTIVE",
3784
+ "DELETED"
3785
+ ]).register(import_zod4.z.globalRegistry, {
3786
+ description: "The state of this process definition."
3775
3787
  })
3776
3788
  });
3777
3789
  zProcessElementStatisticsResult = import_zod4.z.object({
@@ -12569,7 +12581,7 @@ function createLogger(opts = {}) {
12569
12581
  }
12570
12582
 
12571
12583
  // src/runtime/version.ts
12572
- var packageVersion = "9.1.1";
12584
+ var packageVersion = "9.1.3";
12573
12585
 
12574
12586
  // src/runtime/supportLogger.ts
12575
12587
  var NoopSupportLogger = class {
@@ -14912,6 +14924,10 @@ var CamundaClient = class {
14912
14924
  const _body = arg;
14913
14925
  let envelope = {};
14914
14926
  envelope.body = _body;
14927
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
14928
+ envelope.body.tenantIds = [this._config.defaultTenantId];
14929
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
14930
+ }
14915
14931
  if (this._validation.settings.req !== "none") {
14916
14932
  const _schemas = await this._loadSchemas();
14917
14933
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);