-
Notifications
You must be signed in to change notification settings - Fork 662
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (web-api): Add support for assistant.* API (#2042)
- Loading branch information
Showing
5 changed files
with
131 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
packages/web-api/src/response/AssistantThreadsSetStatusResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* eslint-disable */ | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
// // | ||
// !!! DO NOT EDIT THIS FILE !!! // | ||
// // | ||
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // | ||
// Please refer to the script code to learn how to update the source data. // | ||
// // | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
import { WebAPICallResult } from '../WebClient'; | ||
export type AssistantThreadsSetStatusResponse = WebAPICallResult & { | ||
error?: string; | ||
needed?: string; | ||
ok?: boolean; | ||
provided?: string; | ||
warning?: string; | ||
}; |
18 changes: 18 additions & 0 deletions
18
packages/web-api/src/response/AssistantThreadsSetSuggestedPromptsResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* eslint-disable */ | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
// // | ||
// !!! DO NOT EDIT THIS FILE !!! // | ||
// // | ||
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // | ||
// Please refer to the script code to learn how to update the source data. // | ||
// // | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
import { WebAPICallResult } from '../WebClient'; | ||
export type AssistantThreadsSetSuggestedPromptsResponse = WebAPICallResult & { | ||
error?: string; | ||
needed?: string; | ||
ok?: boolean; | ||
provided?: string; | ||
warning?: string; | ||
}; |
18 changes: 18 additions & 0 deletions
18
packages/web-api/src/response/AssistantThreadsSetTitleResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* eslint-disable */ | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
// // | ||
// !!! DO NOT EDIT THIS FILE !!! // | ||
// // | ||
// This file is auto-generated by scripts/generate-web-api-types.sh in the repository. // | ||
// Please refer to the script code to learn how to update the source data. // | ||
// // | ||
///////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
import { WebAPICallResult } from '../WebClient'; | ||
export type AssistantThreadsSetTitleResponse = WebAPICallResult & { | ||
error?: string; | ||
needed?: string; | ||
ok?: boolean; | ||
provided?: string; | ||
warning?: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters