@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.
@@ -1,4 +1,4 @@
1
- export { d as CamundaFpClient, AB as DomainError, AC as DomainErrorTag, E as Either, AE as FnKeys, AF as Fpify, AH as HttpError, AI as Left, AJ as Right, AL as TaskEither, AA as classifyDomainError, e as createCamundaFpClient, AD as eventuallyTE, AG as foldDomainError, i as isLeft, f as isRight, AK as retryTE, AM as withTimeoutTE } from '../index-iQD-RC8z.cjs';
1
+ export { d as CamundaFpClient, AB as DomainError, AC as DomainErrorTag, E as Either, AE as FnKeys, AF as Fpify, AH as HttpError, AI as Left, AJ as Right, AL as TaskEither, AA as classifyDomainError, e as createCamundaFpClient, AD as eventuallyTE, AG as foldDomainError, i as isLeft, f as isRight, AK as retryTE, AM as withTimeoutTE } from '../index-BKWpoAzp.cjs';
2
2
  import 'zod';
3
3
  import '../logger-D-p21VHo.cjs';
4
4
  import 'node:worker_threads';
@@ -1,4 +1,4 @@
1
- export { d as CamundaFpClient, AB as DomainError, AC as DomainErrorTag, E as Either, AE as FnKeys, AF as Fpify, AH as HttpError, AI as Left, AJ as Right, AL as TaskEither, AA as classifyDomainError, e as createCamundaFpClient, AD as eventuallyTE, AG as foldDomainError, i as isLeft, f as isRight, AK as retryTE, AM as withTimeoutTE } from '../index-C-cbKqyy.js';
1
+ export { d as CamundaFpClient, AB as DomainError, AC as DomainErrorTag, E as Either, AE as FnKeys, AF as Fpify, AH as HttpError, AI as Left, AJ as Right, AL as TaskEither, AA as classifyDomainError, e as createCamundaFpClient, AD as eventuallyTE, AG as foldDomainError, i as isLeft, f as isRight, AK as retryTE, AM as withTimeoutTE } from '../index-DcisxmIq.js';
2
2
  import 'zod';
3
3
  import '../logger-D-p21VHo.js';
4
4
  import 'node:worker_threads';
package/dist/fp/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  isRight,
8
8
  retryTE,
9
9
  withTimeoutTE
10
- } from "../chunk-HITO27AC.js";
10
+ } from "../chunk-WSCXETVI.js";
11
11
  import "../chunk-KQ4UL2WX.js";
12
12
  import "../chunk-DGUM43GV.js";
13
13
  export {
@@ -9565,6 +9565,10 @@ type CreateTenantClusterVariableErrors = {
9565
9565
  * Forbidden. The request is not allowed.
9566
9566
  */
9567
9567
  403: ProblemDetail;
9568
+ /**
9569
+ * The tenant with the given ID was not found.
9570
+ */
9571
+ 404: ProblemDetail;
9568
9572
  /**
9569
9573
  * An internal error occurred while processing the request.
9570
9574
  */
@@ -16127,7 +16131,10 @@ declare namespace DecisionDefinitionKey {
16127
16131
  function isValid(value: string): boolean;
16128
16132
  }
16129
16133
  /**
16130
- * System-generated key for a decision evaluation instance.
16134
+ * System-generated identifier for a decision evaluation instance. It is composed of the
16135
+ * parent decision evaluation key and the 1-based index of the evaluated decision within
16136
+ * that evaluation, joined by a hyphen (format: `<decisionEvaluationKey>-<index>`).
16137
+ *
16131
16138
  */
16132
16139
  type DecisionEvaluationInstanceKey = CamundaKey<'DecisionEvaluationInstanceKey'>;
16133
16140
  declare namespace DecisionEvaluationInstanceKey {
@@ -9565,6 +9565,10 @@ type CreateTenantClusterVariableErrors = {
9565
9565
  * Forbidden. The request is not allowed.
9566
9566
  */
9567
9567
  403: ProblemDetail;
9568
+ /**
9569
+ * The tenant with the given ID was not found.
9570
+ */
9571
+ 404: ProblemDetail;
9568
9572
  /**
9569
9573
  * An internal error occurred while processing the request.
9570
9574
  */
@@ -16127,7 +16131,10 @@ declare namespace DecisionDefinitionKey {
16127
16131
  function isValid(value: string): boolean;
16128
16132
  }
16129
16133
  /**
16130
- * System-generated key for a decision evaluation instance.
16134
+ * System-generated identifier for a decision evaluation instance. It is composed of the
16135
+ * parent decision evaluation key and the 1-based index of the evaluated decision within
16136
+ * that evaluation, joined by a hyphen (format: `<decisionEvaluationKey>-<index>`).
16137
+ *
16131
16138
  */
16132
16139
  type DecisionEvaluationInstanceKey = CamundaKey<'DecisionEvaluationInstanceKey'>;
16133
16140
  declare namespace DecisionEvaluationInstanceKey {
package/dist/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, {
@@ -12637,7 +12639,7 @@ function createLogger(opts = {}) {
12637
12639
  }
12638
12640
 
12639
12641
  // src/runtime/version.ts
12640
- var packageVersion = "9.1.0";
12642
+ var packageVersion = "9.1.2";
12641
12643
 
12642
12644
  // src/runtime/supportLogger.ts
12643
12645
  var NoopSupportLogger = class {
@@ -14986,6 +14988,10 @@ var CamundaClient = class {
14986
14988
  const _body = arg;
14987
14989
  let envelope = {};
14988
14990
  envelope.body = _body;
14991
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
14992
+ envelope.body.tenantIds = [this._config.defaultTenantId];
14993
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
14994
+ }
14989
14995
  if (this._validation.settings.req !== "none") {
14990
14996
  const _schemas = await this._loadSchemas();
14991
14997
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);
@@ -25092,7 +25098,7 @@ function createCamundaFpClient(options) {
25092
25098
  }
25093
25099
 
25094
25100
  // src/gen/specHash.ts
25095
- var SPEC_HASH = "sha256:5de81e6b2d3f152265e6f6f042a776f0bc2ca73572e9f5a8c54eee460f5c6161";
25101
+ var SPEC_HASH = "sha256:fe524536c89d236f85a390f5877becc6d497fe83c039dcb2f58f8805269bcd44";
25096
25102
 
25097
25103
  // src/gen/types.gen.ts
25098
25104
  var AuditLogEntityTypeEnum = {
@@ -25525,7 +25531,7 @@ var DecisionDefinitionKey;
25525
25531
  var DecisionEvaluationInstanceKey;
25526
25532
  ((DecisionEvaluationInstanceKey2) => {
25527
25533
  function assumeExists(value) {
25528
- assertConstraint(value, "DecisionEvaluationInstanceKey", { pattern: "^-?[0-9]+$", minLength: 1, maxLength: 25 });
25534
+ assertConstraint(value, "DecisionEvaluationInstanceKey", { pattern: "^[0-9]+-[0-9]+$", minLength: 3, maxLength: 30 });
25529
25535
  return value;
25530
25536
  }
25531
25537
  DecisionEvaluationInstanceKey2.assumeExists = assumeExists;
@@ -25535,7 +25541,7 @@ var DecisionEvaluationInstanceKey;
25535
25541
  DecisionEvaluationInstanceKey2.getValue = getValue;
25536
25542
  function isValid(value) {
25537
25543
  try {
25538
- assertConstraint(value, "DecisionEvaluationInstanceKey", { pattern: "^-?[0-9]+$", minLength: 1, maxLength: 25 });
25544
+ assertConstraint(value, "DecisionEvaluationInstanceKey", { pattern: "^[0-9]+-[0-9]+$", minLength: 3, maxLength: 30 });
25539
25545
  return true;
25540
25546
  } catch {
25541
25547
  return false;