Repository navigation
Commit 7350d09
authored
[fern-autoversion] feat!: rename StructuredOutputControllerRunResponseZero and remove Trieve/GhlToolType exports
Several exported types have been renamed or removed, constituting breaking
changes for existing consumers. The union type StructuredOutputControllerRunResponse
now references StructuredOutputControllerRunResponseOne instead of the old
StructuredOutputControllerRunResponseZero. Additionally, Trieve-related types
(CreateTrieveCredentialDto, CreateTrieveKnowledgeBaseDto, TrieveKnowledgeBase,
TrieveKnowledgeBaseImport, UpdateTrieveKnowledgeBaseDto), GhlToolType,
UpdateCodeToolDtoType, and their associated fields have been removed from the
public API surface. New tool union variants (Code for request/update, Ghl for
response types) have been added to the tools discriminated unions.
Key changes:
- Renamed exported interface `StructuredOutputControllerRunResponseZero` → `StructuredOutputControllerRunResponseOne`; update all imports and type references
- Removed exported types `GhlToolType`, `UpdateCodeToolDtoType`, `CreateTrieveCredentialDto`, `CreateTrieveKnowledgeBaseDto`, `TrieveKnowledgeBase`, `TrieveKnowledgeBaseImport`, and `UpdateTrieveKnowledgeBaseDto`
- Removed `type` field from `GhlTool` and `UpdateCodeToolDto` interfaces (discriminant now lives on the wrapper union variant)
- Added `Code` variant to `CreateToolsRequest` and `UpdateToolsRequestBody` unions, and `Ghl` variant to `CreateToolsResponse`, `DeleteToolsResponse`, `GetToolsResponse`, `ListToolsResponseItem`, and `UpdateToolsResponse` unions
🌿 Generated with Fern1 parent b02b695 commit 7350d09
5 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
1 | 12 | | |
2 | 13 | | |
3 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
| 55 | + | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments