Skip to content

Commit

Permalink
Release v0.1.52
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 2, 2024
1 parent aeacbeb commit 128c7d8
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
30 changes: 15 additions & 15 deletions src/api/resources/agent/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/api/resources/apiUser/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/datasource/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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, {
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/llm/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/tool/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down
18 changes: 9 additions & 9 deletions src/api/resources/workflow/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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" }),
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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, {
Expand Down Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 128c7d8

Please sign in to comment.