From 128c7d8a29f779139f0c91726afe4727198159e3 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 2 Jan 2024 08:24:27 +0000 Subject: [PATCH] Release v0.1.52 --- 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 +++++------ yarn.lock | 6 ++-- 8 files changed, 45 insertions(+), 45 deletions(-) diff --git a/package.json b/package.json index 6461429..a7e73de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "superagentai-js", - "version": "v0.1.51", + "version": "v0.1.52", "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 4ba9e68..4a54e4f 100644 --- a/src/api/resources/agent/client/Client.ts +++ b/src/api/resources/agent/client/Client.ts @@ -52,7 +52,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", queryParameters: _queryParams, @@ -120,7 +120,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -188,7 +188,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -252,7 +252,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -315,7 +315,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -384,7 +384,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentInvoke.jsonOrThrow(request, { @@ -455,7 +455,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentLlm.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -520,7 +520,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -579,7 +579,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -647,7 +647,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -712,7 +712,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -774,7 +774,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -842,7 +842,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestAgentDatasource.jsonOrThrow(request, { @@ -913,7 +913,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -972,7 +972,7 @@ export class Agent { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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 32fef7d..dfd0648 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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 a4f87b8..dd46e07 100644 --- a/src/api/resources/datasource/client/Client.ts +++ b/src/api/resources/datasource/client/Client.ts @@ -52,7 +52,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", queryParameters: _queryParams, @@ -120,7 +120,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestDatasource.jsonOrThrow(request, { @@ -190,7 +190,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -254,7 +254,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -317,7 +317,7 @@ export class Datasource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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 dca1109..1453231 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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 46871d2..c3b2daf 100644 --- a/src/api/resources/tool/client/Client.ts +++ b/src/api/resources/tool/client/Client.ts @@ -52,7 +52,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", queryParameters: _queryParams, @@ -120,7 +120,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -185,7 +185,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -249,7 +249,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -312,7 +312,7 @@ export class Tool { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, 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 7562c45..4660ae8 100644 --- a/src/api/resources/workflow/client/Client.ts +++ b/src/api/resources/workflow/client/Client.ts @@ -52,7 +52,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", queryParameters: _queryParams, @@ -120,7 +120,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflow.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -188,7 +188,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -252,7 +252,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -316,7 +316,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, { @@ -387,7 +387,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.WorkflowInvoke.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), @@ -450,7 +450,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, @@ -518,7 +518,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", body: await serializers.AppModelsRequestWorkflowStep.jsonOrThrow(request, { @@ -589,7 +589,7 @@ export class Workflow { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "superagentai-js", - "X-Fern-SDK-Version": "v0.1.51", + "X-Fern-SDK-Version": "v0.1.52", }, contentType: "application/json", timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, diff --git a/yarn.lock b/yarn.lock index fa08e94..f12eb3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -61,9 +61,9 @@ delayed-stream@~1.0.0: integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== follow-redirects@^1.14.9: - version "1.15.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" - integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== + version "1.15.4" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" + integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== form-data@^4.0.0: version "4.0.0"