Skip to content

Commit

Permalink
Release v0.0.37
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 24, 2023
1 parent ad4f50a commit a462bc3
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 44 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.0.36",
"version": "v0.0.37",
"private": false,
"repository": "https://github.com/homanp/superagent-js",
"main": "./index.js",
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/agent/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.Agent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.agent.patchAgent.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.PredictAgent.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/agentDocuments/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.AgentDocument.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/agentTools/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
queryParameters: _queryParams,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.AgentTool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/apiToken/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.ApiToken.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/auth/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.SignIn.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.SignUp.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/documents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.Document.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.documents.patchDocument.Request.jsonOrThrow(request, {
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/prompts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.Prompt.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.prompts.patchPrompt.Request.jsonOrThrow(request, {
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/tags/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.Tag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.tags.patchTag.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/tools/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.Tool.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
body: await serializers.tools.patchTool.Request.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/traces/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/user/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down Expand Up @@ -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.36",
"X-Fern-SDK-Version": "v0.0.37",
},
contentType: "application/json",
timeoutMs: 60000,
Expand Down

0 comments on commit a462bc3

Please sign in to comment.