@opengeni/sdk 0.44.3 → 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.
- package/dist/{chunk-UZNQOMWX.js → chunk-ONKUBP7A.js} +18 -2
- package/dist/chunk-ONKUBP7A.js.map +1 -0
- package/dist/client.d.ts +7 -2
- package/dist/core.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types.d.ts +21 -4
- package/package.json +1 -1
- package/src/client.ts +28 -1
- package/src/types.ts +21 -7
- package/dist/chunk-UZNQOMWX.js.map +0 -1
|
@@ -2604,7 +2604,23 @@ var OpenGeniClient = class {
|
|
|
2604
2604
|
`/v1/workspaces/${workspaceId}/codex/accounts/${accountId}/activate`
|
|
2605
2605
|
);
|
|
2606
2606
|
}
|
|
2607
|
-
/**
|
|
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-
|
|
3097
|
+
//# sourceMappingURL=chunk-ONKUBP7A.js.map
|