@camunda8/orchestration-cluster-api 9.1.0 → 9.1.2

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
@@ -2780,7 +2780,9 @@ var init_zod_gen = __esm({
2780
2780
  zDecisionEvaluationById,
2781
2781
  zDecisionEvaluationByKey
2782
2782
  ]);
2783
- zDecisionEvaluationInstanceKey = zLongKey;
2783
+ zDecisionEvaluationInstanceKey = import_zod4.z.string().min(3).max(30).regex(/^[0-9]+-[0-9]+$/).register(import_zod4.z.globalRegistry, {
2784
+ 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"
2785
+ });
2784
2786
  zEvaluatedDecisionResult = import_zod4.z.object({
2785
2787
  decisionDefinitionId: zDecisionDefinitionId,
2786
2788
  decisionDefinitionName: import_zod4.z.string().register(import_zod4.z.globalRegistry, {
@@ -12567,7 +12569,7 @@ function createLogger(opts = {}) {
12567
12569
  }
12568
12570
 
12569
12571
  // src/runtime/version.ts
12570
- var packageVersion = "9.1.0";
12572
+ var packageVersion = "9.1.2";
12571
12573
 
12572
12574
  // src/runtime/supportLogger.ts
12573
12575
  var NoopSupportLogger = class {
@@ -14910,6 +14912,10 @@ var CamundaClient = class {
14910
14912
  const _body = arg;
14911
14913
  let envelope = {};
14912
14914
  envelope.body = _body;
14915
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
14916
+ envelope.body.tenantIds = [this._config.defaultTenantId];
14917
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
14918
+ }
14913
14919
  if (this._validation.settings.req !== "none") {
14914
14920
  const _schemas = await this._loadSchemas();
14915
14921
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);