@camunda8/orchestration-cluster-api 10.0.0-alpha.19 → 10.0.0-alpha.20

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 CHANGED
@@ -1,3 +1,10 @@
1
+ # [10.0.0-alpha.20](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.19...v10.0.0-alpha.20) (2026-08-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **runtime:** keep node:worker_threads out of the public type surface ([685ee15](https://github.com/camunda/orchestration-cluster-api-js/commit/685ee15d86982251eb2c02ec3c01d809fc2eb9a9))
7
+
1
8
  # [10.0.0-alpha.19](https://github.com/camunda/orchestration-cluster-api-js/compare/v10.0.0-alpha.18...v10.0.0-alpha.19) (2026-07-31)
2
9
 
3
10
 
@@ -2006,6 +2006,13 @@ var createElementInstanceVariables = (options) => (options.client ?? client).put
2006
2006
  ...options.headers
2007
2007
  }
2008
2008
  });
2009
+ var getExportingStatus = (options) => (options?.client ?? client).get({
2010
+ requestValidator: void 0,
2011
+ responseValidator: void 0,
2012
+ security: [{ scheme: "bearer", type: "http" }, { scheme: "basic", type: "http" }],
2013
+ url: "/exporting",
2014
+ ...options
2015
+ });
2009
2016
  var pauseExporting = (options) => (options?.client ?? client).post({
2010
2017
  requestValidator: void 0,
2011
2018
  responseValidator: void 0,
@@ -4776,7 +4783,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
4776
4783
  }
4777
4784
 
4778
4785
  // src/runtime/version.ts
4779
- var packageVersion = "10.0.0-alpha.19";
4786
+ var packageVersion = "10.0.0-alpha.20";
4780
4787
 
4781
4788
  // src/runtime/supportLogger.ts
4782
4789
  var NoopSupportLogger = class {
@@ -6754,7 +6761,7 @@ var CamundaClient = class {
6754
6761
  _schemasPromise = null;
6755
6762
  _loadSchemas() {
6756
6763
  if (!this._schemasPromise) {
6757
- this._schemasPromise = import("./zod.gen-GEVQP4MW.js");
6764
+ this._schemasPromise = import("./zod.gen-BT6O3SVH.js");
6758
6765
  }
6759
6766
  return this._schemasPromise;
6760
6767
  }
@@ -10927,6 +10934,49 @@ var CamundaClient = class {
10927
10934
  return invoke();
10928
10935
  });
10929
10936
  }
10937
+ getExportingStatus(arg, options) {
10938
+ return toCancelable2(async (signal) => {
10939
+ const opts = { client: this._client, signal, throwOnError: false };
10940
+ const call = async () => {
10941
+ try {
10942
+ const _raw = await getExportingStatus(opts);
10943
+ let data = this._evaluateResponse(_raw, "getExportingStatus", (resp) => {
10944
+ const st = resp.status ?? resp.response?.status;
10945
+ if (!st) return void 0;
10946
+ const candidate = st === 429 || st === 503 || st === 500;
10947
+ if (!candidate) return void 0;
10948
+ let prob = void 0;
10949
+ if (resp.error && typeof resp.error === "object") prob = resp.error;
10950
+ const err = new Error(prob && (prob.title || prob.detail) ? prob.title || prob.detail : "HTTP " + st);
10951
+ err.status = st;
10952
+ err.name = "HttpSdkError";
10953
+ if (prob) {
10954
+ for (const k of ["type", "title", "detail", "instance"]) if (prob[k] !== void 0) err[k] = prob[k];
10955
+ }
10956
+ const isBp = st === 429 || st === 503 && err.title === "RESOURCE_EXHAUSTED" || st === 500 && (typeof err.detail === "string" && /RESOURCE_EXHAUSTED/.test(err.detail));
10957
+ if (!isBp) err.nonRetryable = true;
10958
+ return err;
10959
+ });
10960
+ const _respSchemaName = "zGetExportingStatusResponse";
10961
+ if (this._isVoidResponse(_respSchemaName)) {
10962
+ data = void 0;
10963
+ }
10964
+ if (this._validation.settings.res !== "none") {
10965
+ const _schemas = await this._loadSchemas();
10966
+ const _schema = _schemas.zGetExportingStatusResponse;
10967
+ if (_schema) {
10968
+ const maybeR = await this._validation.gateResponse("getExportingStatus", _schema, data);
10969
+ if (this._validation.settings.res === "strict") data = maybeR;
10970
+ }
10971
+ }
10972
+ return data;
10973
+ } catch (e) {
10974
+ throw e;
10975
+ }
10976
+ };
10977
+ return this._invokeWithRetry(() => call(), { opId: "getExportingStatus", exempt: false, retryOverride: options?.retry });
10978
+ });
10979
+ }
10930
10980
  getFormByKey(arg, consistencyManagement, options) {
10931
10981
  if (!consistencyManagement) throw new Error("Missing consistencyManagement parameter for eventually consistent endpoint");
10932
10982
  const useConsistency = consistencyManagement.consistency;
@@ -19053,4 +19103,4 @@ export {
19053
19103
  withTimeoutTE,
19054
19104
  eventuallyTE
19055
19105
  };
19056
- //# sourceMappingURL=chunk-JC6LSKNN.js.map
19106
+ //# sourceMappingURL=chunk-QZDJRG7I.js.map