From f65577687be7fe29c8acedc02d5899dae33287e8 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Sun, 10 Dec 2023 12:30:37 +0000 Subject: [PATCH] Release 0.1.41 --- package.json | 2 +- src/api/resources/agent/client/Client.ts | 30 +++++++++---------- 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/tool/client/Client.ts | 10 +++---- src/api/resources/workflow/client/Client.ts | 18 +++++------ 7 files changed, 42 insertions(+), 42 deletions(-) diff --git a/package.json b/package.json index 1bb9ca1..ca0adf0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superagentai-js", - "version": "0.1.40", + "version": "0.1.41", "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 4a72a66..79678e7 100644 --- a/src/api/resources/agent/client/Client.ts +++ b/src/api/resources/agent/client/Client.ts @@ -38,7 +38,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -93,7 +93,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -161,7 +161,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -225,7 +225,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -288,7 +288,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -357,7 +357,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentInvoke.jsonOrThrow(request, { @@ -428,7 +428,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -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": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -552,7 +552,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -620,7 +620,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -685,7 +685,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -747,7 +747,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -815,7 +815,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentDatasource.jsonOrThrow(request, { @@ -886,7 +886,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -945,7 +945,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, 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 9a5173e..92fd53c 100644 --- a/src/api/resources/apiUser/client/Client.ts +++ b/src/api/resources/apiUser/client/Client.ts @@ -42,7 +42,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestApiUser.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -106,7 +106,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -157,7 +157,7 @@ export class ApiUser { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, 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 6338852..8fb8da9 100644 --- a/src/api/resources/datasource/client/Client.ts +++ b/src/api/resources/datasource/client/Client.ts @@ -38,7 +38,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -93,7 +93,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, { @@ -163,7 +163,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -227,7 +227,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -290,7 +290,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, 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 63f6d3f..4e49766 100644 --- a/src/api/resources/llm/client/Client.ts +++ b/src/api/resources/llm/client/Client.ts @@ -38,7 +38,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -93,7 +93,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -158,7 +158,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -226,7 +226,7 @@ export class Llm { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/tool/client/Client.ts b/src/api/resources/tool/client/Client.ts index b990aae..7e08138 100644 --- a/src/api/resources/tool/client/Client.ts +++ b/src/api/resources/tool/client/Client.ts @@ -38,7 +38,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -93,7 +93,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -158,7 +158,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -222,7 +222,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -285,7 +285,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/workflow/client/Client.ts b/src/api/resources/workflow/client/Client.ts index fa49926..e39614f 100644 --- a/src/api/resources/workflow/client/Client.ts +++ b/src/api/resources/workflow/client/Client.ts @@ -38,7 +38,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -93,7 +93,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -161,7 +161,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -225,7 +225,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -288,7 +288,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -357,7 +357,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.WorkflowInvoke.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -420,7 +420,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -488,7 +488,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, { @@ -559,7 +559,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "0.1.40", + "X-Fern-SDK-Version": "0.1.41", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,