runbios-sdk 0.2.1-dev.78 → 0.2.1-dev.81

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.d.ts CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export declare const VERSION = "0.2.1-dev.78";
37
+ export declare const VERSION = "0.2.1-dev.81";
38
38
  export declare class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  readonly models: Models;
package/dist/index.js CHANGED
@@ -34,7 +34,7 @@ import { Inference } from './resources/inference.js';
34
34
  * SDK version. Sent as part of the User-Agent header.
35
35
  * Must match package.json "version" -- enforced by a contract test.
36
36
  */
37
- export const VERSION = '0.2.1-dev.78';
37
+ export const VERSION = '0.2.1-dev.81';
38
38
  export class RunBiOS {
39
39
  /** Search models, fetch configs, check adapter compatibility. */
40
40
  models;
package/dist/types.d.ts CHANGED
@@ -1805,8 +1805,15 @@ export interface ApiKey {
1805
1805
  expires_at?: string | null;
1806
1806
  status: 'active' | 'revoked' | 'expired';
1807
1807
  }
1808
- /** Valid API key permission scope. */
1809
- export type ApiKeyScope = 'models:read' | 'datasets:read' | 'datasets:write' | 'training:read' | 'training:write' | 'billing:read' | 'deployments:read' | 'deployments:write' | 'analytics:read' | 'integrations:read' | 'integrations:write' | 'serverless';
1808
+ /**
1809
+ * Valid API key permission scope.
1810
+ *
1811
+ * Mirrors the IAM catalog (services/iam-service/internal/handler/apikey_scopes.go),
1812
+ * which `GET /api/api-keys/scopes` serves at runtime. The union is open-ended
1813
+ * on purpose: a scope added to the catalog must not make an existing SDK build
1814
+ * reject a key it just read back from the API.
1815
+ */
1816
+ export type ApiKeyScope = 'models:read' | 'datasets:read' | 'datasets:write' | 'training:read' | 'training:write' | 'billing:read' | 'deployments:read' | 'deployments:write' | 'analytics:read' | 'integrations:read' | 'integrations:write' | 'skills:read' | 'skills:write' | 'serverless' | (string & {});
1810
1817
  /** Result of introspecting an API key — shows what it can do. */
1811
1818
  export interface ApiKeyIntrospection {
1812
1819
  auth_type: 'api_key' | 'jwt';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runbios-sdk",
3
- "version": "0.2.1-dev.78",
3
+ "version": "0.2.1-dev.81",
4
4
  "description": "Official TypeScript SDK for the Run BiOS training and deployment platform API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",