@opengeni/sdk 0.42.1 → 0.44.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,6 +1,6 @@
1
1
  import {
2
2
  OpenGeniApiError
3
- } from "./chunk-OINSI33U.js";
3
+ } from "./chunk-V5F253OG.js";
4
4
 
5
5
  // src/codex-realtime-v3-wire.ts
6
6
  var CODEX_REALTIME_INITIAL_ITEMS_MAX_COUNT = 128;
@@ -2015,4 +2015,4 @@ export {
2015
2015
  hasStoredSessionRealtimeOwnerProof,
2016
2016
  createCodexRealtimeController
2017
2017
  };
2018
- //# sourceMappingURL=chunk-XBBPYTI5.js.map
2018
+ //# sourceMappingURL=chunk-KIHGPM7H.js.map
@@ -5,7 +5,7 @@ import {
5
5
  OpenGeniStreamError,
6
6
  isAbortError,
7
7
  isRetryableStreamError
8
- } from "./chunk-OINSI33U.js";
8
+ } from "./chunk-V5F253OG.js";
9
9
 
10
10
  // src/sse.ts
11
11
  async function* parseSseStream(stream) {
@@ -1527,6 +1527,16 @@ var OpenGeniClient = class {
1527
1527
  `/v1/workspaces/${workspaceId}/workspace-state${query}`
1528
1528
  );
1529
1529
  }
1530
+ /** Download the canonical, explicitly sanitized Workspace State export. */
1531
+ async exportWorkspaceState(workspaceId, options = {}) {
1532
+ const params = new URLSearchParams();
1533
+ if (options.attemptId) params.set("attemptId", options.attemptId);
1534
+ const query = params.size > 0 ? `?${params.toString()}` : "";
1535
+ return await this.requestJson(
1536
+ "GET",
1537
+ `/v1/workspaces/${workspaceId}/workspace-state/export${query}`
1538
+ );
1539
+ }
1530
1540
  async updateWorkspace(workspaceId, request) {
1531
1541
  return await this.requestJson("PATCH", `/v1/workspaces/${workspaceId}`, request);
1532
1542
  }
@@ -3068,4 +3078,4 @@ export {
3068
3078
  authorizeTranscriptionAdapter,
3069
3079
  createTranscriptionSessionRequest
3070
3080
  };
3071
- //# sourceMappingURL=chunk-M7TPZ3ED.js.map
3081
+ //# sourceMappingURL=chunk-UZNQOMWX.js.map