@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.
@@ -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-BKWpoAzp.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-DKqh2mnN.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-DcisxmIq.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-CJBSKpFZ.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-ZHIFAOE5.js";
10
+ } from "../chunk-UZY4K3NZ.js";
11
11
  import "../chunk-KQ4UL2WX.js";
12
12
  import "../chunk-DGUM43GV.js";
13
13
  export {
@@ -6293,6 +6293,15 @@ type ProcessDefinitionFilter = {
6293
6293
  * Indicates whether the start event of the process has an associated Form Key.
6294
6294
  */
6295
6295
  hasStartForm?: boolean;
6296
+ /**
6297
+ * Filter by the process definition's state.
6298
+ * When not set, process definitions in any state are returned.
6299
+ * Set to `ACTIVE` to exclude deleted definitions (recommended for most use cases).
6300
+ * Set to `DELETED` to return only definitions that have been deleted but are still
6301
+ * retained in secondary storage.
6302
+ *
6303
+ */
6304
+ state?: 'ACTIVE' | 'DELETED';
6296
6305
  };
6297
6306
  type ProcessDefinitionSearchQueryResult = SearchQueryResponse & {
6298
6307
  /**
@@ -6333,6 +6342,10 @@ type ProcessDefinitionResult = {
6333
6342
  * Indicates whether the start event of the process has an associated Form Key.
6334
6343
  */
6335
6344
  hasStartForm: boolean;
6345
+ /**
6346
+ * The state of this process definition.
6347
+ */
6348
+ state: 'ACTIVE' | 'DELETED';
6336
6349
  };
6337
6350
  /**
6338
6351
  * Process definition element statistics request.
@@ -9368,6 +9381,10 @@ type CreateGlobalClusterVariableErrors = {
9368
9381
  * Forbidden. The request is not allowed.
9369
9382
  */
9370
9383
  403: ProblemDetail;
9384
+ /**
9385
+ * A cluster variable with this name already exists.
9386
+ */
9387
+ 409: ProblemDetail;
9371
9388
  /**
9372
9389
  * An internal error occurred while processing the request.
9373
9390
  */
@@ -9569,6 +9586,10 @@ type CreateTenantClusterVariableErrors = {
9569
9586
  * The tenant with the given ID was not found.
9570
9587
  */
9571
9588
  404: ProblemDetail;
9589
+ /**
9590
+ * A cluster variable with this name already exists for the given tenant.
9591
+ */
9592
+ 409: ProblemDetail;
9572
9593
  /**
9573
9594
  * An internal error occurred while processing the request.
9574
9595
  */
@@ -6293,6 +6293,15 @@ type ProcessDefinitionFilter = {
6293
6293
  * Indicates whether the start event of the process has an associated Form Key.
6294
6294
  */
6295
6295
  hasStartForm?: boolean;
6296
+ /**
6297
+ * Filter by the process definition's state.
6298
+ * When not set, process definitions in any state are returned.
6299
+ * Set to `ACTIVE` to exclude deleted definitions (recommended for most use cases).
6300
+ * Set to `DELETED` to return only definitions that have been deleted but are still
6301
+ * retained in secondary storage.
6302
+ *
6303
+ */
6304
+ state?: 'ACTIVE' | 'DELETED';
6296
6305
  };
6297
6306
  type ProcessDefinitionSearchQueryResult = SearchQueryResponse & {
6298
6307
  /**
@@ -6333,6 +6342,10 @@ type ProcessDefinitionResult = {
6333
6342
  * Indicates whether the start event of the process has an associated Form Key.
6334
6343
  */
6335
6344
  hasStartForm: boolean;
6345
+ /**
6346
+ * The state of this process definition.
6347
+ */
6348
+ state: 'ACTIVE' | 'DELETED';
6336
6349
  };
6337
6350
  /**
6338
6351
  * Process definition element statistics request.
@@ -9368,6 +9381,10 @@ type CreateGlobalClusterVariableErrors = {
9368
9381
  * Forbidden. The request is not allowed.
9369
9382
  */
9370
9383
  403: ProblemDetail;
9384
+ /**
9385
+ * A cluster variable with this name already exists.
9386
+ */
9387
+ 409: ProblemDetail;
9371
9388
  /**
9372
9389
  * An internal error occurred while processing the request.
9373
9390
  */
@@ -9569,6 +9586,10 @@ type CreateTenantClusterVariableErrors = {
9569
9586
  * The tenant with the given ID was not found.
9570
9587
  */
9571
9588
  404: ProblemDetail;
9589
+ /**
9590
+ * A cluster variable with this name already exists for the given tenant.
9591
+ */
9592
+ 409: ProblemDetail;
9572
9593
  /**
9573
9594
  * An internal error occurred while processing the request.
9574
9595
  */
package/dist/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({
@@ -12639,7 +12651,7 @@ function createLogger(opts = {}) {
12639
12651
  }
12640
12652
 
12641
12653
  // src/runtime/version.ts
12642
- var packageVersion = "9.1.1";
12654
+ var packageVersion = "9.1.3";
12643
12655
 
12644
12656
  // src/runtime/supportLogger.ts
12645
12657
  var NoopSupportLogger = class {
@@ -14988,6 +15000,10 @@ var CamundaClient = class {
14988
15000
  const _body = arg;
14989
15001
  let envelope = {};
14990
15002
  envelope.body = _body;
15003
+ if (envelope.body && this._config.defaultTenantId !== void 0 && this._config.defaultTenantId !== null && (!Array.isArray(envelope.body.tenantIds) || envelope.body.tenantIds.length === 0)) {
15004
+ envelope.body.tenantIds = [this._config.defaultTenantId];
15005
+ this._log.trace(() => ["tenant.default.inject", { op: "activateJobs", tenantIds: [this._config.defaultTenantId] }]);
15006
+ }
14991
15007
  if (this._validation.settings.req !== "none") {
14992
15008
  const _schemas = await this._loadSchemas();
14993
15009
  const maybe = await this._validation.gateRequest("activateJobs", _schemas.zActivateJobsData, envelope);
@@ -25094,7 +25110,7 @@ function createCamundaFpClient(options) {
25094
25110
  }
25095
25111
 
25096
25112
  // src/gen/specHash.ts
25097
- var SPEC_HASH = "sha256:fe524536c89d236f85a390f5877becc6d497fe83c039dcb2f58f8805269bcd44";
25113
+ var SPEC_HASH = "sha256:186417ed34bb227df96548b0cdeeaa8e8941ebf743d209ba75717a39ac06ef76";
25098
25114
 
25099
25115
  // src/gen/types.gen.ts
25100
25116
  var AuditLogEntityTypeEnum = {