@runtypelabs/sdk 11.15.1 → 11.18.0
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 +6 -4
- package/dist/index.d.cts +1186 -94
- package/dist/index.d.ts +1186 -94
- package/dist/index.mjs +6 -4
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -5254,10 +5254,11 @@ var ModelConfigsEndpoint = class {
|
|
|
5254
5254
|
this.client = client;
|
|
5255
5255
|
}
|
|
5256
5256
|
/**
|
|
5257
|
-
* Get the available models catalog, followed by the account's custom models (`uiCategory: 'custom'`)
|
|
5257
|
+
* Get the available models catalog, followed by the account's custom models (`uiCategory: 'custom'`).
|
|
5258
|
+
* Pass `q` to search by name, id, creator, provider or tag; results are then ordered by relevance.
|
|
5258
5259
|
*/
|
|
5259
|
-
async getAvailable() {
|
|
5260
|
-
const response = await this.client.get("/model-configs/available");
|
|
5260
|
+
async getAvailable(params) {
|
|
5261
|
+
const response = await this.client.get("/model-configs/available", params?.q ? { q: params.q } : void 0);
|
|
5261
5262
|
return Array.isArray(response) ? response : response.data || [];
|
|
5262
5263
|
}
|
|
5263
5264
|
/**
|
|
@@ -13281,6 +13282,7 @@ const SURFACE_DEFINITION_TYPES = /* @__PURE__ */ new Set([
|
|
|
13281
13282
|
"chat",
|
|
13282
13283
|
"mcp",
|
|
13283
13284
|
"mcp_code",
|
|
13285
|
+
"cli",
|
|
13284
13286
|
"api",
|
|
13285
13287
|
"webhook",
|
|
13286
13288
|
"schedule",
|
|
@@ -14744,7 +14746,7 @@ function transformQueryParams(params) {
|
|
|
14744
14746
|
return result;
|
|
14745
14747
|
}
|
|
14746
14748
|
// src/version.ts
|
|
14747
|
-
const SDK_VERSION = "11.
|
|
14749
|
+
const SDK_VERSION = "11.18.0";
|
|
14748
14750
|
/**
|
|
14749
14751
|
* Canonical client identity the API uses for attribution
|
|
14750
14752
|
* (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.18.0",
|
|
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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@runtypelabs/shared": "3.
|
|
27
|
+
"@runtypelabs/shared": "3.111.0",
|
|
28
28
|
"openapi-typescript": "^7.13.0",
|
|
29
29
|
"tsdown": "^0.23.2",
|
|
30
30
|
"typescript": "^6.0.3",
|