@opengeni/sdk 0.44.0 → 0.44.6

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-UD2DNDSS.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-SLJ33Y7V.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-UD2DNDSS.js";
8
+ } from "./chunk-V5F253OG.js";
9
9
 
10
10
  // src/sse.ts
11
11
  async function* parseSseStream(stream) {
@@ -2604,7 +2604,23 @@ var OpenGeniClient = class {
2604
2604
  `/v1/workspaces/${workspaceId}/codex/accounts/${accountId}/activate`
2605
2605
  );
2606
2606
  }
2607
- /** P3: enable/disable Codex auto-rotation and/or pick the strategy. Returns the effective settings. */
2607
+ /** Designate one owner-connected subscription for Apps only. */
2608
+ async designateCodexAppsAccount(workspaceId, accountId, expectedVersion) {
2609
+ return await this.requestJson(
2610
+ "POST",
2611
+ `/v1/workspaces/${workspaceId}/codex/apps`,
2612
+ { accountId, expectedVersion }
2613
+ );
2614
+ }
2615
+ /** Clear the Apps credential without changing any inference selection. */
2616
+ async clearCodexAppsAccount(workspaceId, expectedVersion) {
2617
+ return await this.requestJson(
2618
+ "DELETE",
2619
+ `/v1/workspaces/${workspaceId}/codex/apps`,
2620
+ { expectedVersion }
2621
+ );
2622
+ }
2623
+ /** Enable or disable Codex auto-rotation. Returns the effective settings. */
2608
2624
  async setCodexRotationSettings(workspaceId, patch) {
2609
2625
  return await this.requestJson(
2610
2626
  "PATCH",
@@ -3078,4 +3094,4 @@ export {
3078
3094
  authorizeTranscriptionAdapter,
3079
3095
  createTranscriptionSessionRequest
3080
3096
  };
3081
- //# sourceMappingURL=chunk-74LY67W7.js.map
3097
+ //# sourceMappingURL=chunk-ONKUBP7A.js.map