@camunda8/orchestration-cluster-api 10.0.0-alpha.25 → 10.0.0-alpha.26
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 +7 -0
- package/dist/{chunk-5T5DTO7V.js → chunk-UXIQXURB.js} +72 -3
- package/dist/chunk-UXIQXURB.js.map +1 -0
- package/dist/fp/index.cjs +87 -6
- 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-1CFuY8zI.d.cts → index-BBCo5RdH.d.cts} +89 -4
- package/dist/{index-PMp1qCax.d.ts → index-DUyZASqV.d.ts} +89 -4
- package/dist/index.cjs +88 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-OIU26R2L.js → zod.gen-4DQL5SMC.js} +17 -5
- package/dist/zod.gen-4DQL5SMC.js.map +1 -0
- package/package.json +2 -1
- package/dist/chunk-5T5DTO7V.js.map +0 -1
- package/dist/zod.gen-OIU26R2L.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [10.0.0-alpha.26](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.25...v10.0.0-alpha.26) (2026-08-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **examples:** add searchOwnAuthorizations example coverage ([a3749c3](https://github.com/camunda/orchestration-cluster-api-js/commit/a3749c392e725957ad22d7627b2161a6a4866165))
|
|
7
|
+
|
|
1
8
|
# [10.0.0-alpha.25](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.24...v10.0.0-alpha.25) (2026-08-04)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -1602,6 +1602,17 @@ var getAuthentication = (options) => (options?.client ?? client).get({
|
|
|
1602
1602
|
url: "/authentication/me",
|
|
1603
1603
|
...options
|
|
1604
1604
|
});
|
|
1605
|
+
var searchOwnAuthorizations = (options) => (options?.client ?? client).post({
|
|
1606
|
+
requestValidator: void 0,
|
|
1607
|
+
responseValidator: void 0,
|
|
1608
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1609
|
+
url: "/authentication/me/authorizations/search",
|
|
1610
|
+
...options,
|
|
1611
|
+
headers: {
|
|
1612
|
+
"Content-Type": "application/json",
|
|
1613
|
+
...options?.headers
|
|
1614
|
+
}
|
|
1615
|
+
});
|
|
1605
1616
|
var createAuthorization = (options) => (options.client ?? client).post({
|
|
1606
1617
|
requestValidator: void 0,
|
|
1607
1618
|
responseValidator: void 0,
|
|
@@ -4888,7 +4899,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
4888
4899
|
}
|
|
4889
4900
|
|
|
4890
4901
|
// src/runtime/version.ts
|
|
4891
|
-
var packageVersion = "10.0.0-alpha.
|
|
4902
|
+
var packageVersion = "10.0.0-alpha.26";
|
|
4892
4903
|
|
|
4893
4904
|
// src/runtime/supportLogger.ts
|
|
4894
4905
|
var NoopSupportLogger = class {
|
|
@@ -6907,7 +6918,7 @@ var CamundaClient = class {
|
|
|
6907
6918
|
_schemasPromise = null;
|
|
6908
6919
|
_loadSchemas() {
|
|
6909
6920
|
if (!this._schemasPromise) {
|
|
6910
|
-
this._schemasPromise = import("./zod.gen-
|
|
6921
|
+
this._schemasPromise = import("./zod.gen-4DQL5SMC.js");
|
|
6911
6922
|
}
|
|
6912
6923
|
return this._schemasPromise;
|
|
6913
6924
|
}
|
|
@@ -16442,6 +16453,64 @@ var CamundaClient = class {
|
|
|
16442
16453
|
return invoke();
|
|
16443
16454
|
});
|
|
16444
16455
|
}
|
|
16456
|
+
searchOwnAuthorizations(arg, consistencyManagement, options) {
|
|
16457
|
+
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16458
|
+
const useConsistency = consistencyManagement.consistency;
|
|
16459
|
+
return toCancelable2(async (signal) => {
|
|
16460
|
+
const _body = arg;
|
|
16461
|
+
let envelope = {};
|
|
16462
|
+
envelope.body = _body;
|
|
16463
|
+
if (this._validation.settings.req !== "none") {
|
|
16464
|
+
const _schemas = await this._loadSchemas();
|
|
16465
|
+
if (envelope.body !== void 0) {
|
|
16466
|
+
const maybeBody = await this._validation.gateRequest("searchOwnAuthorizations", _schemas.zSearchOwnAuthorizationsBody, envelope.body);
|
|
16467
|
+
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16468
|
+
}
|
|
16469
|
+
}
|
|
16470
|
+
const opts = { client: this._client, signal, throwOnError: false };
|
|
16471
|
+
if (envelope.body !== void 0) opts.body = envelope.body;
|
|
16472
|
+
const call = async () => {
|
|
16473
|
+
try {
|
|
16474
|
+
const _raw = await searchOwnAuthorizations(opts);
|
|
16475
|
+
let data = this._evaluateResponse(_raw, "searchOwnAuthorizations", (resp) => {
|
|
16476
|
+
const st = resp.status ?? resp.response?.status;
|
|
16477
|
+
if (!st) return void 0;
|
|
16478
|
+
const candidate = st === 429 || st === 503 || st === 500;
|
|
16479
|
+
if (!candidate) return void 0;
|
|
16480
|
+
let prob = void 0;
|
|
16481
|
+
if (resp.error && typeof resp.error === "object") prob = resp.error;
|
|
16482
|
+
const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
|
|
16483
|
+
err.status = st;
|
|
16484
|
+
err.name = "HttpSdkError";
|
|
16485
|
+
if (prob) {
|
|
16486
|
+
for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
|
|
16487
|
+
}
|
|
16488
|
+
const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
|
|
16489
|
+
if (!isBp) err.nonRetryable = true;
|
|
16490
|
+
return err;
|
|
16491
|
+
});
|
|
16492
|
+
const _respSchemaName = "zSearchOwnAuthorizationsResponse";
|
|
16493
|
+
if (this._isVoidResponse(_respSchemaName)) {
|
|
16494
|
+
data = void 0;
|
|
16495
|
+
}
|
|
16496
|
+
if (this._validation.settings.res !== "none") {
|
|
16497
|
+
const _schemas = await this._loadSchemas();
|
|
16498
|
+
const _schema = _schemas.zSearchOwnAuthorizationsResponse;
|
|
16499
|
+
if (_schema) {
|
|
16500
|
+
const maybeR = await this._validation.gateResponse("searchOwnAuthorizations", _schema, data);
|
|
16501
|
+
if (this._validation.settings.res === "strict") data = maybeR;
|
|
16502
|
+
}
|
|
16503
|
+
}
|
|
16504
|
+
return data;
|
|
16505
|
+
} catch (e) {
|
|
16506
|
+
throw e;
|
|
16507
|
+
}
|
|
16508
|
+
};
|
|
16509
|
+
const invoke = () => toCancelable2(() => call());
|
|
16510
|
+
if (useConsistency) return eventualPoll("searchOwnAuthorizations", false, invoke, { ...useConsistency, logger: this._log });
|
|
16511
|
+
return invoke();
|
|
16512
|
+
});
|
|
16513
|
+
}
|
|
16445
16514
|
searchProcessDefinitions(arg, consistencyManagement, options) {
|
|
16446
16515
|
if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
|
|
16447
16516
|
const useConsistency = consistencyManagement.consistency;
|
|
@@ -19743,4 +19812,4 @@ export {
|
|
|
19743
19812
|
withTimeoutTE,
|
|
19744
19813
|
eventuallyTE
|
|
19745
19814
|
};
|
|
19746
|
-
//# sourceMappingURL=chunk-
|
|
19815
|
+
//# sourceMappingURL=chunk-UXIQXURB.js.map
|