@camunda8/orchestration-cluster-api 1.2.3 → 8.8.0
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/CHANGELOG.md +1 -2
- package/dist/{chunk-C4KMECWH.js → chunk-CTXSQJWB.js} +26 -17
- package/dist/chunk-CTXSQJWB.js.map +1 -0
- package/dist/fp/index.cjs +25 -16
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-BozZ_h8n.d.ts → index-DIV5cZE7.d.ts} +36 -22
- package/dist/{index-4i6euXtC.d.cts → index-DWFqsKHD.d.cts} +36 -22
- package/dist/index.cjs +25 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -23
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-C4KMECWH.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
## [1.2.3](https://github.com/camunda/orchestration-cluster-api-js/compare/v1.2.2...v1.2.3) (2025-12-05)
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
### Bug Fixes
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
- support fetchVariables in job worker ([b672d8d](https://github.com/camunda/orchestration-cluster-api-js/commit/b672d8d3ec499624a58d1db2b8e920f3ccc77ebc))
|
|
7
6
|
|
|
8
7
|
## [1.2.2](https://github.com/camunda/orchestration-cluster-api-js/compare/v1.2.1...v1.2.2) (2025-12-01)
|
|
9
8
|
|
|
@@ -2984,7 +2984,6 @@ __export(zod_gen_exports, {
|
|
|
2984
2984
|
zMappingRuleUpdateRequest: () => zMappingRuleUpdateRequest,
|
|
2985
2985
|
zMappingRuleUpdateResult: () => zMappingRuleUpdateResult,
|
|
2986
2986
|
zMatchedDecisionRuleItem: () => zMatchedDecisionRuleItem,
|
|
2987
|
-
zMessageCorrelationKey: () => zMessageCorrelationKey,
|
|
2988
2987
|
zMessageCorrelationRequest: () => zMessageCorrelationRequest,
|
|
2989
2988
|
zMessageCorrelationResult: () => zMessageCorrelationResult,
|
|
2990
2989
|
zMessageKey: () => zMessageKey,
|
|
@@ -3324,7 +3323,6 @@ var zScopeKey = zLongKey;
|
|
|
3324
3323
|
var zIncidentKey = zLongKey;
|
|
3325
3324
|
var zJobKey = zLongKey;
|
|
3326
3325
|
var zMessageSubscriptionKey = zLongKey;
|
|
3327
|
-
var zMessageCorrelationKey = zLongKey;
|
|
3328
3326
|
var zDecisionDefinitionId = z.string().min(1).max(256).regex(/^[A-Za-z0-9_@.+-]+$/).register(z.globalRegistry, {
|
|
3329
3327
|
description: "Id of a decision definition, from the model. Only ids of decision definitions that are deployed are useful."
|
|
3330
3328
|
});
|
|
@@ -4512,9 +4510,7 @@ var zIncidentFilter = z.object({
|
|
|
4512
4510
|
description: "Error message which describes the error in more detail."
|
|
4513
4511
|
})),
|
|
4514
4512
|
elementId: z.optional(zElementId),
|
|
4515
|
-
creationTime: z.optional(
|
|
4516
|
-
description: "Date of incident creation."
|
|
4517
|
-
})),
|
|
4513
|
+
creationTime: z.optional(zDateTimeFilterProperty),
|
|
4518
4514
|
state: z.optional(z.enum([
|
|
4519
4515
|
"ACTIVE",
|
|
4520
4516
|
"MIGRATED",
|
|
@@ -4679,7 +4675,9 @@ var zMessageSubscriptionResult = z.object({
|
|
|
4679
4675
|
messageName: z.optional(z.string().register(z.globalRegistry, {
|
|
4680
4676
|
description: "The name of the message associated with the message subscription."
|
|
4681
4677
|
})),
|
|
4682
|
-
correlationKey: z.optional(
|
|
4678
|
+
correlationKey: z.optional(z.string().register(z.globalRegistry, {
|
|
4679
|
+
description: "The correlation key of the message subscription."
|
|
4680
|
+
})),
|
|
4683
4681
|
tenantId: z.optional(zTenantId)
|
|
4684
4682
|
});
|
|
4685
4683
|
var zMessageSubscriptionSearchQueryResult = zSearchQueryResponse.and(z.object({
|
|
@@ -5863,7 +5861,6 @@ var zJobSearchQuerySortRequest = z.object({
|
|
|
5863
5861
|
"endTime",
|
|
5864
5862
|
"errorCode",
|
|
5865
5863
|
"errorMessage",
|
|
5866
|
-
"hasFailedWithRetriesLeft",
|
|
5867
5864
|
"isDenied",
|
|
5868
5865
|
"jobKey",
|
|
5869
5866
|
"kind",
|
|
@@ -6009,9 +6006,9 @@ var zJobSearchResult = z.object({
|
|
|
6009
6006
|
z.string(),
|
|
6010
6007
|
z.null()
|
|
6011
6008
|
])),
|
|
6012
|
-
hasFailedWithRetriesLeft: z.
|
|
6009
|
+
hasFailedWithRetriesLeft: z.boolean().register(z.globalRegistry, {
|
|
6013
6010
|
description: "Indicates whether the job has failed with retries left."
|
|
6014
|
-
})
|
|
6011
|
+
}),
|
|
6015
6012
|
isDenied: z.optional(z.union([
|
|
6016
6013
|
z.boolean(),
|
|
6017
6014
|
z.null()
|
|
@@ -6054,7 +6051,7 @@ var zProblemDetail = z.object({
|
|
|
6054
6051
|
detail: z.optional(z.string().register(z.globalRegistry, {
|
|
6055
6052
|
description: "An explanation of the problem in more detail."
|
|
6056
6053
|
})),
|
|
6057
|
-
instance: z.optional(z.
|
|
6054
|
+
instance: z.optional(z.url().register(z.globalRegistry, {
|
|
6058
6055
|
description: "A URI path identifying the origin of the problem."
|
|
6059
6056
|
}))
|
|
6060
6057
|
}).register(z.globalRegistry, {
|
|
@@ -6348,7 +6345,7 @@ var zMessageCorrelationRequest = z.object({
|
|
|
6348
6345
|
});
|
|
6349
6346
|
var zMessageCorrelationResult = z.object({
|
|
6350
6347
|
tenantId: z.optional(zTenantId),
|
|
6351
|
-
messageKey: z.optional(
|
|
6348
|
+
messageKey: z.optional(zMessageKey),
|
|
6352
6349
|
processInstanceKey: z.optional(zProcessInstanceKey)
|
|
6353
6350
|
}).register(z.globalRegistry, {
|
|
6354
6351
|
description: "The message key of the correlated message, as well as the first process instance key it\ncorrelated with.\n"
|
|
@@ -7371,13 +7368,21 @@ var zSearchUserTaskVariablesData = z.object({
|
|
|
7371
7368
|
path: z.object({
|
|
7372
7369
|
userTaskKey: zUserTaskKey
|
|
7373
7370
|
}),
|
|
7374
|
-
query: z.optional(z.
|
|
7371
|
+
query: z.optional(z.object({
|
|
7372
|
+
truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
|
|
7373
|
+
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
7374
|
+
}))
|
|
7375
|
+
}))
|
|
7375
7376
|
});
|
|
7376
7377
|
var zSearchUserTaskVariablesResponse = zVariableSearchQueryResult;
|
|
7377
7378
|
var zSearchVariablesData = z.object({
|
|
7378
7379
|
body: z.optional(zVariableSearchQuery),
|
|
7379
7380
|
path: z.optional(z.never()),
|
|
7380
|
-
query: z.optional(z.
|
|
7381
|
+
query: z.optional(z.object({
|
|
7382
|
+
truncateValues: z.optional(z.boolean().register(z.globalRegistry, {
|
|
7383
|
+
description: "When true (default), long variable values in the response are truncated. When false, full variable values are returned."
|
|
7384
|
+
}))
|
|
7385
|
+
}))
|
|
7381
7386
|
});
|
|
7382
7387
|
var zSearchVariablesResponse = zVariableSearchQueryResult;
|
|
7383
7388
|
var zGetVariableData = z.object({
|
|
@@ -9626,7 +9631,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
9626
9631
|
}
|
|
9627
9632
|
|
|
9628
9633
|
// src/runtime/version.ts
|
|
9629
|
-
var packageVersion = "
|
|
9634
|
+
var packageVersion = "8.8.0";
|
|
9630
9635
|
|
|
9631
9636
|
// src/runtime/supportLogger.ts
|
|
9632
9637
|
var NoopSupportLogger = class {
|
|
@@ -17398,9 +17403,10 @@ var CamundaClient = class {
|
|
|
17398
17403
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17399
17404
|
const useConsistency = consistencyManagement.consistency;
|
|
17400
17405
|
return toCancelable2(async (signal) => {
|
|
17401
|
-
const { userTaskKey, ..._body } = arg || {};
|
|
17406
|
+
const { userTaskKey, truncateValues, ..._body } = arg || {};
|
|
17402
17407
|
let envelope = {};
|
|
17403
17408
|
envelope.path = { userTaskKey };
|
|
17409
|
+
envelope.query = { truncateValues };
|
|
17404
17410
|
envelope.body = _body;
|
|
17405
17411
|
if (this._validation.settings.req !== "none") {
|
|
17406
17412
|
const maybe = await this._validation.gateRequest("searchUserTaskVariables", zSearchUserTaskVariablesData, envelope);
|
|
@@ -17408,6 +17414,7 @@ var CamundaClient = class {
|
|
|
17408
17414
|
}
|
|
17409
17415
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17410
17416
|
if (envelope.path) opts.path = envelope.path;
|
|
17417
|
+
if (envelope.query) opts.query = envelope.query;
|
|
17411
17418
|
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
17412
17419
|
const call = async () => {
|
|
17413
17420
|
try {
|
|
@@ -17454,14 +17461,16 @@ var CamundaClient = class {
|
|
|
17454
17461
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
17455
17462
|
const useConsistency = consistencyManagement.consistency;
|
|
17456
17463
|
return toCancelable2(async (signal) => {
|
|
17457
|
-
const _body = arg;
|
|
17464
|
+
const { truncateValues, ..._body } = arg || {};
|
|
17458
17465
|
let envelope = {};
|
|
17466
|
+
envelope.query = { truncateValues };
|
|
17459
17467
|
envelope.body = _body;
|
|
17460
17468
|
if (this._validation.settings.req !== "none") {
|
|
17461
17469
|
const maybe = await this._validation.gateRequest("searchVariables", zSearchVariablesData, envelope);
|
|
17462
17470
|
if (this._validation.settings.req === "strict") envelope = maybe;
|
|
17463
17471
|
}
|
|
17464
17472
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17473
|
+
if (envelope.query) opts.query = envelope.query;
|
|
17465
17474
|
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
17466
17475
|
const call = async () => {
|
|
17467
17476
|
try {
|
|
@@ -18882,4 +18891,4 @@ export {
|
|
|
18882
18891
|
withTimeoutTE,
|
|
18883
18892
|
eventuallyTE
|
|
18884
18893
|
};
|
|
18885
|
-
//# sourceMappingURL=chunk-
|
|
18894
|
+
//# sourceMappingURL=chunk-CTXSQJWB.js.map
|