@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.cjs CHANGED
@@ -6452,7 +6452,7 @@ var Runtype = class {
6452
6452
 
6453
6453
  // src/version.ts
6454
6454
  var FALLBACK_VERSION = "0.0.0";
6455
- var SDK_VERSION = "7.2.1".length > 0 ? "7.2.1" : FALLBACK_VERSION;
6455
+ var SDK_VERSION = "7.3.1".length > 0 ? "7.3.1" : FALLBACK_VERSION;
6456
6456
  var RUNTYPE_CLIENT_KIND = "sdk";
6457
6457
  var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
6458
6458
 
@@ -9043,6 +9043,14 @@ var ProviderKeysEndpoint = class {
9043
9043
  async delete(id) {
9044
9044
  return this.client.delete(`/provider-keys/${id}`);
9045
9045
  }
9046
+ /**
9047
+ * Select organization-wide execution custody for a migrated model provider.
9048
+ * Pass a concrete connection ID for BYOK or `platform` for Runtype-managed
9049
+ * custody. This is an audited organization-wide action.
9050
+ */
9051
+ async selectOrganizationProviderCredential(data) {
9052
+ return this.client.put("/provider-keys/organization-policy", data);
9053
+ }
9046
9054
  /**
9047
9055
  * Discover models from an OpenAI-compatible endpoint (calls its `/v1/models`)
9048
9056
  * before a key is saved.