Skip to content

Commit

Permalink
fix: asssitant_deleted -> assitant_deleted (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Nov 7, 2023
1 parent 15c22ab commit 93448dd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ Methods:
Types:

- <code><a href="./src/resources/beta/assistants/assistants.ts">Assistant</a></code>
- <code><a href="./src/resources/beta/assistants/assistants.ts">AsssitantDeleted</a></code>
- <code><a href="./src/resources/beta/assistants/assistants.ts">AssitantDeleted</a></code>

Methods:

- <code title="post /assistants">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">create</a>({ ...params }) -> Assistant</code>
- <code title="get /assistants/{assistant_id}">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">retrieve</a>(assistantId) -> Assistant</code>
- <code title="post /assistants/{assistant_id}">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">update</a>(assistantId, { ...params }) -> Assistant</code>
- <code title="get /assistants">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">list</a>({ ...params }) -> AssistantsPage</code>
- <code title="delete /assistants/{assistant_id}">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">del</a>(assistantId) -> AsssitantDeleted</code>
- <code title="delete /assistants/{assistant_id}">client.beta.assistants.<a href="./src/resources/beta/assistants/assistants.ts">del</a>(assistantId) -> AssitantDeleted</code>

### Files

Expand Down
6 changes: 3 additions & 3 deletions src/resources/beta/assistants/assistants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class Assistants extends APIResource {
/**
* Delete an assistant.
*/
del(assistantId: string, options?: Core.RequestOptions): Core.APIPromise<AsssitantDeleted> {
del(assistantId: string, options?: Core.RequestOptions): Core.APIPromise<AssitantDeleted> {
return this.delete(`/assistants/${assistantId}`, {
...options,
headers: { 'OpenAI-Beta': 'assistants=v1', ...options?.headers },
Expand Down Expand Up @@ -206,7 +206,7 @@ export namespace Assistant {
}
}

export interface AsssitantDeleted {
export interface AssitantDeleted {
id: string;

deleted: boolean;
Expand Down Expand Up @@ -456,7 +456,7 @@ export interface AssistantListParams extends CursorPageParams {

export namespace Assistants {
export import Assistant = AssistantsAPI.Assistant;
export import AsssitantDeleted = AssistantsAPI.AsssitantDeleted;
export import AssitantDeleted = AssistantsAPI.AssitantDeleted;
export import AssistantsPage = AssistantsAPI.AssistantsPage;
export import AssistantCreateParams = AssistantsAPI.AssistantCreateParams;
export import AssistantUpdateParams = AssistantsAPI.AssistantUpdateParams;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/beta/assistants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export {
Assistant,
AsssitantDeleted,
AssitantDeleted,
AssistantCreateParams,
AssistantUpdateParams,
AssistantListParams,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/beta/beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export namespace Beta {
export import Chat = ChatAPI.Chat;
export import Assistants = AssistantsAPI.Assistants;
export import Assistant = AssistantsAPI.Assistant;
export import AsssitantDeleted = AssistantsAPI.AsssitantDeleted;
export import AssitantDeleted = AssistantsAPI.AssitantDeleted;
export import AssistantsPage = AssistantsAPI.AssistantsPage;
export import AssistantCreateParams = AssistantsAPI.AssistantCreateParams;
export import AssistantUpdateParams = AssistantsAPI.AssistantUpdateParams;
Expand Down
2 changes: 1 addition & 1 deletion src/resources/beta/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export {
Assistant,
AsssitantDeleted,
AssitantDeleted,
AssistantCreateParams,
AssistantUpdateParams,
AssistantListParams,
Expand Down

0 comments on commit 93448dd

Please sign in to comment.