Skip to content

Commit

Permalink
feat(api): manual updates (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Oct 1, 2024
1 parent f660aad commit cd4a2bc
Show file tree
Hide file tree
Showing 17 changed files with 499 additions and 423 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 97
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/manugoyal%2Fbraintrust-sdk-30c1a668b911f97194bd12e54b88dab936753288186bc6a9f3116a03de3aaf62.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/manugoyal%2Fbraintrust-sdk-68955d9009ff58d23a1d859274ed4d3d38a7e84b5ea3e43a25209a40bbd84b6e.yml
25 changes: 9 additions & 16 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ Types:

- <code><a href="./src/resources/shared.ts">AISecret</a></code>
- <code><a href="./src/resources/shared.ts">ACL</a></code>
- <code><a href="./src/resources/shared.ts">ACLBatchUpdateResponse</a></code>
- <code><a href="./src/resources/shared.ts">APIKey</a></code>
- <code><a href="./src/resources/shared.ts">Code</a></code>
- <code><a href="./src/resources/shared.ts">ChatCompletionContentPartImage</a></code>
- <code><a href="./src/resources/shared.ts">ChatCompletionContentPartText</a></code>
- <code><a href="./src/resources/shared.ts">ChatCompletionMessageToolCall</a></code>
- <code><a href="./src/resources/shared.ts">CodeBundle</a></code>
- <code><a href="./src/resources/shared.ts">CreateAPIKeyOutput</a></code>
- <code><a href="./src/resources/shared.ts">CrossObjectInsertResponse</a></code>
- <code><a href="./src/resources/shared.ts">DataSummary</a></code>
Expand All @@ -29,26 +33,24 @@ Types:
- <code><a href="./src/resources/shared.ts">InsertExperimentEventReplace</a></code>
- <code><a href="./src/resources/shared.ts">InsertProjectLogsEventMerge</a></code>
- <code><a href="./src/resources/shared.ts">InsertProjectLogsEventReplace</a></code>
- <code><a href="./src/resources/shared.ts">Messages</a></code>
- <code><a href="./src/resources/shared.ts">MetricSummary</a></code>
- <code><a href="./src/resources/shared.ts">OnlineScoreConfig</a></code>
- <code><a href="./src/resources/shared.ts">Organization</a></code>
- <code><a href="./src/resources/shared.ts">PatchOrganizationMembersOutput</a></code>
- <code><a href="./src/resources/shared.ts">PathLookupFilter</a></code>
- <code><a href="./src/resources/shared.ts">Project</a></code>
- <code><a href="./src/resources/shared.ts">ProjectLogsEvent</a></code>
- <code><a href="./src/resources/shared.ts">ProjectScore</a></code>
- <code><a href="./src/resources/shared.ts">ProjectScoreCategory</a></code>
- <code><a href="./src/resources/shared.ts">ProjectSettings</a></code>
- <code><a href="./src/resources/shared.ts">ProjectTag</a></code>
- <code><a href="./src/resources/shared.ts">Prompt</a></code>
- <code><a href="./src/resources/shared.ts">PromptData</a></code>
- <code><a href="./src/resources/shared.ts">PromptImageURL</a></code>
- <code><a href="./src/resources/shared.ts">RepoInfo</a></code>
- <code><a href="./src/resources/shared.ts">Role</a></code>
- <code><a href="./src/resources/shared.ts">ScoreSummary</a></code>
- <code><a href="./src/resources/shared.ts">Scorer</a></code>
- <code><a href="./src/resources/shared.ts">SummarizeDatasetResponse</a></code>
- <code><a href="./src/resources/shared.ts">SummarizeExperimentResponse</a></code>
- <code><a href="./src/resources/shared.ts">Task</a></code>
- <code><a href="./src/resources/shared.ts">ToolChoiceFunction</a></code>
- <code><a href="./src/resources/shared.ts">User</a></code>
- <code><a href="./src/resources/shared.ts">View</a></code>
- <code><a href="./src/resources/shared.ts">ViewData</a></code>
Expand Down Expand Up @@ -149,10 +151,6 @@ Methods:

# ACLs

Types:

- <code><a href="./src/resources/acls.ts">ACLBatchUpdateResponse</a></code>

Methods:

- <code title="post /v1/acl">client.acls.<a href="./src/resources/acls.ts">create</a>({ ...params }) -> ACL</code>
Expand Down Expand Up @@ -195,7 +193,6 @@ Methods:

Types:

- <code><a href="./src/resources/functions.ts">ImageURL</a></code>
- <code><a href="./src/resources/functions.ts">FunctionInvokeResponse</a></code>

Methods:
Expand Down Expand Up @@ -230,13 +227,9 @@ Methods:

## Members

Types:

- <code><a href="./src/resources/organizations/members.ts">MemberUpdateResponse</a></code>

Methods:

- <code title="patch /v1/organization/members">client.organizations.members.<a href="./src/resources/organizations/members.ts">update</a>({ ...params }) -> MemberUpdateResponse</code>
- <code title="patch /v1/organization/members">client.organizations.members.<a href="./src/resources/organizations/members.ts">update</a>({ ...params }) -> PatchOrganizationMembersOutput</code>

# APIKeys

Expand Down
16 changes: 8 additions & 8 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ export namespace Braintrust {
export import GroupReplaceParams = API.GroupReplaceParams;

export import ACLs = API.ACLs;
export import ACLBatchUpdateResponse = API.ACLBatchUpdateResponse;
export import ACLCreateParams = API.ACLCreateParams;
export import ACLListParams = API.ACLListParams;
export import ACLBatchUpdateParams = API.ACLBatchUpdateParams;
Expand All @@ -270,7 +269,6 @@ export namespace Braintrust {
export import ProjectTagReplaceParams = API.ProjectTagReplaceParams;

export import Functions = API.Functions;
export import ImageURL = API.ImageURL;
export import FunctionInvokeResponse = API.FunctionInvokeResponse;
export import FunctionCreateParams = API.FunctionCreateParams;
export import FunctionUpdateParams = API.FunctionUpdateParams;
Expand Down Expand Up @@ -303,8 +301,12 @@ export namespace Braintrust {

export import AISecret = API.AISecret;
export import ACL = API.ACL;
export import ACLBatchUpdateResponse = API.ACLBatchUpdateResponse;
export import APIKey = API.APIKey;
export import Code = API.Code;
export import ChatCompletionContentPartImage = API.ChatCompletionContentPartImage;
export import ChatCompletionContentPartText = API.ChatCompletionContentPartText;
export import ChatCompletionMessageToolCall = API.ChatCompletionMessageToolCall;
export import CodeBundle = API.CodeBundle;
export import CreateAPIKeyOutput = API.CreateAPIKeyOutput;
export import CrossObjectInsertResponse = API.CrossObjectInsertResponse;
export import DataSummary = API.DataSummary;
Expand All @@ -328,26 +330,24 @@ export namespace Braintrust {
export import InsertExperimentEventReplace = API.InsertExperimentEventReplace;
export import InsertProjectLogsEventMerge = API.InsertProjectLogsEventMerge;
export import InsertProjectLogsEventReplace = API.InsertProjectLogsEventReplace;
export import Messages = API.Messages;
export import MetricSummary = API.MetricSummary;
export import OnlineScoreConfig = API.OnlineScoreConfig;
export import Organization = API.Organization;
export import PatchOrganizationMembersOutput = API.PatchOrganizationMembersOutput;
export import PathLookupFilter = API.PathLookupFilter;
export import Project = API.Project;
export import ProjectLogsEvent = API.ProjectLogsEvent;
export import ProjectScore = API.ProjectScore;
export import ProjectScoreCategory = API.ProjectScoreCategory;
export import ProjectSettings = API.ProjectSettings;
export import ProjectTag = API.ProjectTag;
export import Prompt = API.Prompt;
export import PromptData = API.PromptData;
export import PromptImageURL = API.PromptImageURL;
export import RepoInfo = API.RepoInfo;
export import Role = API.Role;
export import ScoreSummary = API.ScoreSummary;
export import Scorer = API.Scorer;
export import SummarizeDatasetResponse = API.SummarizeDatasetResponse;
export import SummarizeExperimentResponse = API.SummarizeExperimentResponse;
export import Task = API.Task;
export import ToolChoiceFunction = API.ToolChoiceFunction;
export import User = API.User;
export import View = API.View;
export import ViewData = API.ViewData;
Expand Down
Loading

0 comments on commit cd4a2bc

Please sign in to comment.