From 31644b0606b4d7f4eceaa546cda9c6bf3b0b9840 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 23:05:10 +0000 Subject: [PATCH] Release 0.0.39 --- package.json | 2 +- src/api/resources/agent/client/Client.ts | 12 ++++++------ src/api/resources/agentDocuments/client/Client.ts | 8 ++++---- src/api/resources/agentTools/client/Client.ts | 8 ++++---- src/api/resources/apiToken/client/Client.ts | 8 ++++---- src/api/resources/auth/client/Client.ts | 4 ++-- src/api/resources/documents/client/Client.ts | 10 +++++----- src/api/resources/prompts/client/Client.ts | 10 +++++----- src/api/resources/tags/client/Client.ts | 10 +++++----- src/api/resources/tools/client/Client.ts | 10 +++++----- src/api/resources/traces/client/Client.ts | 2 +- src/api/resources/user/client/Client.ts | 4 ++-- 12 files changed, 44 insertions(+), 44 deletions(-) diff --git a/package.json b/package.json index 812a5a5..b9342c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superagentai-js", - "version": "v0.0.38", + "version": "v0.0.39", "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 f1d1ff5..ef34f43 100644 --- a/src/api/resources/agent/client/Client.ts +++ b/src/api/resources/agent/client/Client.ts @@ -29,7 +29,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.Agent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.agent.patchAgent.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -239,7 +239,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -294,7 +294,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.PredictAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/agentDocuments/client/Client.ts b/src/api/resources/agentDocuments/client/Client.ts index 02c6e4e..7be7490 100644 --- a/src/api/resources/agentDocuments/client/Client.ts +++ b/src/api/resources/agentDocuments/client/Client.ts @@ -39,7 +39,7 @@ export class AgentDocuments { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", queryParameters: _queryParams, @@ -95,7 +95,7 @@ export class AgentDocuments { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.AgentDocument.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -154,7 +154,7 @@ export class AgentDocuments { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -212,7 +212,7 @@ export class AgentDocuments { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/agentTools/client/Client.ts b/src/api/resources/agentTools/client/Client.ts index 984fa83..3f82cac 100644 --- a/src/api/resources/agentTools/client/Client.ts +++ b/src/api/resources/agentTools/client/Client.ts @@ -37,7 +37,7 @@ export class AgentTools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", queryParameters: _queryParams, @@ -93,7 +93,7 @@ export class AgentTools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.AgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -149,7 +149,7 @@ export class AgentTools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -204,7 +204,7 @@ export class AgentTools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/apiToken/client/Client.ts b/src/api/resources/apiToken/client/Client.ts index a679332..2cdd2f2 100644 --- a/src/api/resources/apiToken/client/Client.ts +++ b/src/api/resources/apiToken/client/Client.ts @@ -29,7 +29,7 @@ export class ApiToken { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class ApiToken { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.ApiToken.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class ApiToken { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class ApiToken { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/auth/client/Client.ts b/src/api/resources/auth/client/Client.ts index 6e59334..ae40609 100644 --- a/src/api/resources/auth/client/Client.ts +++ b/src/api/resources/auth/client/Client.ts @@ -29,7 +29,7 @@ export class Auth { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.SignIn.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -84,7 +84,7 @@ export class Auth { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.SignUp.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), diff --git a/src/api/resources/documents/client/Client.ts b/src/api/resources/documents/client/Client.ts index 9031613..fc43349 100644 --- a/src/api/resources/documents/client/Client.ts +++ b/src/api/resources/documents/client/Client.ts @@ -29,7 +29,7 @@ export class Documents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class Documents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.Document.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class Documents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class Documents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.documents.patchDocument.Request.jsonOrThrow(request, { @@ -241,7 +241,7 @@ export class Documents { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/prompts/client/Client.ts b/src/api/resources/prompts/client/Client.ts index 4e1c5ed..162744e 100644 --- a/src/api/resources/prompts/client/Client.ts +++ b/src/api/resources/prompts/client/Client.ts @@ -29,7 +29,7 @@ export class Prompts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class Prompts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.Prompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class Prompts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class Prompts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.prompts.patchPrompt.Request.jsonOrThrow(request, { @@ -241,7 +241,7 @@ export class Prompts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/tags/client/Client.ts b/src/api/resources/tags/client/Client.ts index ad69a42..37fbaa0 100644 --- a/src/api/resources/tags/client/Client.ts +++ b/src/api/resources/tags/client/Client.ts @@ -29,7 +29,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.Tag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.tags.patchTag.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -239,7 +239,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/tools/client/Client.ts b/src/api/resources/tools/client/Client.ts index e5a337f..f9b6630 100644 --- a/src/api/resources/tools/client/Client.ts +++ b/src/api/resources/tools/client/Client.ts @@ -29,7 +29,7 @@ export class Tools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -72,7 +72,7 @@ export class Tools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.Tool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -128,7 +128,7 @@ export class Tools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -183,7 +183,7 @@ export class Tools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", body: await serializers.tools.patchTool.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -239,7 +239,7 @@ export class Tools { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/traces/client/Client.ts b/src/api/resources/traces/client/Client.ts index 295992f..64309b4 100644 --- a/src/api/resources/traces/client/Client.ts +++ b/src/api/resources/traces/client/Client.ts @@ -27,7 +27,7 @@ export class Traces { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, diff --git a/src/api/resources/user/client/Client.ts b/src/api/resources/user/client/Client.ts index 44d8b3c..b3711df 100644 --- a/src/api/resources/user/client/Client.ts +++ b/src/api/resources/user/client/Client.ts @@ -26,7 +26,7 @@ export class User { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000, @@ -68,7 +68,7 @@ export class User { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.0.38", + "X-Fern-SDK-Version": "v0.0.39", }, contentType: "application/json", timeoutMs: 60000,