@runtypelabs/sdk 7.2.1 → 7.3.1

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/index.mjs CHANGED
@@ -6264,7 +6264,7 @@ var Runtype = class {
6264
6264
 
6265
6265
  // src/version.ts
6266
6266
  var FALLBACK_VERSION = "0.0.0";
6267
- var SDK_VERSION = "7.2.1".length > 0 ? "7.2.1" : FALLBACK_VERSION;
6267
+ var SDK_VERSION = "7.3.1".length > 0 ? "7.3.1" : FALLBACK_VERSION;
6268
6268
  var RUNTYPE_CLIENT_KIND = "sdk";
6269
6269
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6270
6270
 
@@ -8855,6 +8855,14 @@ var ProviderKeysEndpoint = class {
8855
8855
  async delete(id) {
8856
8856
  return this.client.delete(`/provider-keys/${id}`);
8857
8857
  }
8858
+ /**
8859
+ * Select organization-wide execution custody for a migrated model provider.
8860
+ * Pass a concrete connection ID for BYOK or `platform` for Runtype-managed
8861
+ * custody. This is an audited organization-wide action.
8862
+ */
8863
+ async selectOrganizationProviderCredential(data) {
8864
+ return this.client.put("/provider-keys/organization-policy", data);
8865
+ }
8858
8866
  /**
8859
8867
  * Discover models from an OpenAI-compatible endpoint (calls its `/v1/models`)
8860
8868
  * before a key is saved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "7.2.1",
3
+ "version": "7.3.1",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",