From 97cbe7df24aecb1c8fb2717c9ae7fc3457c500e7 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 04:40:44 +0000 Subject: [PATCH] Release v0.1.68 --- package.json | 2 +- src/api/resources/agent/client/Client.ts | 28 +++++++++---------- src/api/resources/apiUser/client/Client.ts | 6 ++-- src/api/resources/datasource/client/Client.ts | 10 +++---- src/api/resources/llm/client/Client.ts | 8 +++--- src/api/resources/telemetry/client/Client.ts | 2 +- src/api/resources/tool/client/Client.ts | 10 +++---- .../resources/vectorDatabase/client/Client.ts | 8 +++--- src/api/resources/workflow/client/Client.ts | 18 ++++++------ src/api/types/PrismaModelsLlm.ts | 2 +- src/api/types/PrismaModelsTool.ts | 2 +- src/api/types/PrismaModelsVectorDb.ts | 2 +- src/serialization/types/PrismaModelsLlm.ts | 4 +-- src/serialization/types/PrismaModelsTool.ts | 4 +-- .../types/PrismaModelsVectorDb.ts | 4 +-- yarn.lock | 6 ++-- 16 files changed, 58 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index 9a239ac..b91eeb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superagentai-js", - "version": "v0.1.67", + "version": "v0.1.68", "private": false, "repository": "https://github.com/homanp/superagent-js", "main": "./index.js", diff --git a/src/api/resources/agent/client/Client.ts b/src/api/resources/agent/client/Client.ts index 5300c50..22bc32d 100644 --- a/src/api/resources/agent/client/Client.ts +++ b/src/api/resources/agent/client/Client.ts @@ -55,7 +55,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", queryParameters: _queryParams, @@ -130,7 +130,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -201,7 +201,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -268,7 +268,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -338,7 +338,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -417,7 +417,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentInvoke.jsonOrThrow(request, { @@ -493,7 +493,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -561,7 +561,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -623,7 +623,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -696,7 +696,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -764,7 +764,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -829,7 +829,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -902,7 +902,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentDatasource.jsonOrThrow(request, { @@ -976,7 +976,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/apiUser/client/Client.ts b/src/api/resources/apiUser/client/Client.ts index 68a3b4a..008329f 100644 --- a/src/api/resources/apiUser/client/Client.ts +++ b/src/api/resources/apiUser/client/Client.ts @@ -47,7 +47,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestApiUser.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -114,7 +114,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -168,7 +168,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/resources/datasource/client/Client.ts b/src/api/resources/datasource/client/Client.ts index ca7b4e0..a8543eb 100644 --- a/src/api/resources/datasource/client/Client.ts +++ b/src/api/resources/datasource/client/Client.ts @@ -55,7 +55,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", queryParameters: _queryParams, @@ -130,7 +130,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, { @@ -203,7 +203,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -270,7 +270,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -340,7 +340,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, { diff --git a/src/api/resources/llm/client/Client.ts b/src/api/resources/llm/client/Client.ts index 6e47749..809d720 100644 --- a/src/api/resources/llm/client/Client.ts +++ b/src/api/resources/llm/client/Client.ts @@ -41,7 +41,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -102,7 +102,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -170,7 +170,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -244,7 +244,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/telemetry/client/Client.ts b/src/api/resources/telemetry/client/Client.ts index 5d92c18..228ee01 100644 --- a/src/api/resources/telemetry/client/Client.ts +++ b/src/api/resources/telemetry/client/Client.ts @@ -51,7 +51,7 @@ export class Telemetry { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", queryParameters: _queryParams, diff --git a/src/api/resources/tool/client/Client.ts b/src/api/resources/tool/client/Client.ts index 9b554a9..38641a8 100644 --- a/src/api/resources/tool/client/Client.ts +++ b/src/api/resources/tool/client/Client.ts @@ -55,7 +55,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", queryParameters: _queryParams, @@ -131,7 +131,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -199,7 +199,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -266,7 +266,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -337,7 +337,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/vectorDatabase/client/Client.ts b/src/api/resources/vectorDatabase/client/Client.ts index 8566fef..9220d4b 100644 --- a/src/api/resources/vectorDatabase/client/Client.ts +++ b/src/api/resources/vectorDatabase/client/Client.ts @@ -50,7 +50,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestVectorDb.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -117,7 +117,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -175,7 +175,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -251,7 +251,7 @@ export class VectorDatabase { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestVectorDb.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/workflow/client/Client.ts b/src/api/resources/workflow/client/Client.ts index 6157ef0..bb3d7bc 100644 --- a/src/api/resources/workflow/client/Client.ts +++ b/src/api/resources/workflow/client/Client.ts @@ -55,7 +55,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", queryParameters: _queryParams, @@ -129,7 +129,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -200,7 +200,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -267,7 +267,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -337,7 +337,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, { @@ -414,7 +414,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.WorkflowInvoke.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -480,7 +480,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -554,7 +554,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, { @@ -628,7 +628,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.67", + "X-Fern-SDK-Version": "v0.1.68", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/src/api/types/PrismaModelsLlm.ts b/src/api/types/PrismaModelsLlm.ts index 20d2b70..5859aaf 100644 --- a/src/api/types/PrismaModelsLlm.ts +++ b/src/api/types/PrismaModelsLlm.ts @@ -11,7 +11,7 @@ export interface PrismaModelsLlm { id: string; provider: SuperAgent.LlmProvider; apiKey: string; - options?: string; + options?: unknown; agents?: SuperAgent.PrismaModelsAgentLlm[]; createdAt: Date; updatedAt: Date; diff --git a/src/api/types/PrismaModelsTool.ts b/src/api/types/PrismaModelsTool.ts index ce79ad0..5c5dd11 100644 --- a/src/api/types/PrismaModelsTool.ts +++ b/src/api/types/PrismaModelsTool.ts @@ -19,5 +19,5 @@ export interface PrismaModelsTool { apiUserId: string; apiUser?: SuperAgent.PrismaModelsApiUser; tools?: SuperAgent.PrismaModelsAgentTool[]; - toolConfig?: string; + toolConfig?: unknown; } diff --git a/src/api/types/PrismaModelsVectorDb.ts b/src/api/types/PrismaModelsVectorDb.ts index 69f781e..df783d8 100644 --- a/src/api/types/PrismaModelsVectorDb.ts +++ b/src/api/types/PrismaModelsVectorDb.ts @@ -10,7 +10,7 @@ import * as SuperAgent from ".."; export interface PrismaModelsVectorDb { id: string; provider: SuperAgent.VectorDbProvider; - options?: string; + options?: unknown; datasources?: SuperAgent.PrismaModelsDatasource[]; createdAt: Date; updatedAt: Date; diff --git a/src/serialization/types/PrismaModelsLlm.ts b/src/serialization/types/PrismaModelsLlm.ts index acb66ec..75981c6 100644 --- a/src/serialization/types/PrismaModelsLlm.ts +++ b/src/serialization/types/PrismaModelsLlm.ts @@ -13,7 +13,7 @@ export const PrismaModelsLlm: core.serialization.ObjectSchema< id: core.serialization.string(), provider: core.serialization.lazy(async () => (await import("..")).LlmProvider), apiKey: core.serialization.string(), - options: core.serialization.string().optional(), + options: core.serialization.unknown().optional(), agents: core.serialization .list(core.serialization.lazyObject(async () => (await import("..")).PrismaModelsAgentLlm)) .optional(), @@ -28,7 +28,7 @@ export declare namespace PrismaModelsLlm { id: string; provider: serializers.LlmProvider.Raw; apiKey: string; - options?: string | null; + options?: unknown | null; agents?: serializers.PrismaModelsAgentLlm.Raw[] | null; createdAt: string; updatedAt: string; diff --git a/src/serialization/types/PrismaModelsTool.ts b/src/serialization/types/PrismaModelsTool.ts index daafef5..6d7bfe5 100644 --- a/src/serialization/types/PrismaModelsTool.ts +++ b/src/serialization/types/PrismaModelsTool.ts @@ -23,7 +23,7 @@ export const PrismaModelsTool: core.serialization.ObjectSchema< tools: core.serialization .list(core.serialization.lazyObject(async () => (await import("..")).PrismaModelsAgentTool)) .optional(), - toolConfig: core.serialization.string().optional(), + toolConfig: core.serialization.unknown().optional(), }); export declare namespace PrismaModelsTool { @@ -39,6 +39,6 @@ export declare namespace PrismaModelsTool { apiUserId: string; apiUser?: serializers.PrismaModelsApiUser.Raw | null; tools?: serializers.PrismaModelsAgentTool.Raw[] | null; - toolConfig?: string | null; + toolConfig?: unknown | null; } } diff --git a/src/serialization/types/PrismaModelsVectorDb.ts b/src/serialization/types/PrismaModelsVectorDb.ts index 17e63c0..1fa170a 100644 --- a/src/serialization/types/PrismaModelsVectorDb.ts +++ b/src/serialization/types/PrismaModelsVectorDb.ts @@ -12,7 +12,7 @@ export const PrismaModelsVectorDb: core.serialization.ObjectSchema< > = core.serialization.object({ id: core.serialization.string(), provider: core.serialization.lazy(async () => (await import("..")).VectorDbProvider), - options: core.serialization.string().optional(), + options: core.serialization.unknown().optional(), datasources: core.serialization .list(core.serialization.lazyObject(async () => (await import("..")).PrismaModelsDatasource)) .optional(), @@ -26,7 +26,7 @@ export declare namespace PrismaModelsVectorDb { interface Raw { id: string; provider: serializers.VectorDbProvider.Raw; - options?: string | null; + options?: unknown | null; datasources?: serializers.PrismaModelsDatasource.Raw[] | null; createdAt: string; updatedAt: string; diff --git a/yarn.lock b/yarn.lock index 71b55a7..1f7b12b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11,9 +11,9 @@ form-data "^4.0.0" "@types/node@*": - version "20.11.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.9.tgz#959d436f20ce2ee3df897c3eaa0617c98fa70efb" - integrity sha512-CQXNuMoS/VcoAMISe5pm4JnEd1Br5jildbQEToEMQvutmv+EaQr90ry9raiudgpyDuqFiV9e4rnjSfLNq12M5w== + version "20.11.10" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.10.tgz#6c3de8974d65c362f82ee29db6b5adf4205462f9" + integrity sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg== dependencies: undici-types "~5.26.4"