Commit b65cf46
authored
feat!: remove exported request/type interfaces across calls, chats, sessions, and tools resources
Several exported TypeScript interfaces, enums, and type aliases have been removed
from the public API surface. Callers referencing these types directly will encounter
compile errors and must update their code accordingly.
The `type` discriminant fields have also been removed from `ChatCost`,
`ClientInboundMessageControl`, and `ContextEngineeringPlanLastNMessages` interfaces,
which is a breaking change for any code that reads or writes those fields.
Migration guide:
- Remove references to `CallControllerFindAllPaginatedRequest` and `CallControllerFindAllPaginatedRequestSortOrder`
- Remove references to `ChatControllerChatsExportRequest`, `ChatControllerChatsExportRequestColumns`, `ChatControllerChatsExportRequestFormat`, and `ChatControllerChatsExportRequestSortOrder`
- Remove references to `SessionControllerSessionsExportRequest`, `SessionControllerSessionsExportRequestColumns`, `SessionControllerSessionsExportRequestFormat`, and `SessionControllerSessionsExportRequestSortOrder`
- Remove references to `ToolControllerTestCodeExecutionResponse`
- Remove references to removed top-level types: `AnalysisCostType`, `AnthropicModelProvider`, `AnyscaleModelProvider`, `AssemblyAiTranscriberProvider`, `AssistantCustomEndpointingRuleType`, `AssistantMessageJudgePlanExactType`, `AssistantMessageJudgePlanRegexType`, `AzureSpeechTranscriberProvider`, `AzureVoiceProvider`, `BashToolWithToolCallType`, `BothCustomEndpointingRuleType`, `CartesiaTranscriberProvider`, `CartesiaVoiceProvider`, `CerebrasModelProvider`, `ChatCostType`, `ClientInboundMessageAddMessageType`, `ClientInboundMessageControlType`, `ClientInboundMessageEndCallType`, `ClientInboundMessageSayType`, `ClientInboundMessageTransferType`, `ComputerToolWithToolCallType`, `ContextEngineeringPlanAllType`, `ContextEngineeringPlanLastNMessagesType`, `ContextEngineeringPlanNoneType`
- Update code accessing `ChatCost.type`, `ClientInboundMessageControl.type`, and `ContextEngineeringPlanLastNMessages.type` as those fields no longer exist
Key changes:
- Removed `CallControllerFindAllPaginatedRequest` interface and `CallControllerFindAllPaginatedRequestSortOrder` enum
- Removed `ChatControllerChatsExportRequest` interface and related column/format/sort-order enums
- Removed `SessionControllerSessionsExportRequest` interface and related column/format/sort-order enums
- Removed `ToolControllerTestCodeExecutionResponse` interface
- Removed `type` discriminant field from `ChatCost`, `ClientInboundMessageControl`, and `ContextEngineeringPlanLastNMessages`
- Removed numerous single-value provider/type enum exports (e.g. `AnalysisCostType`, `AnthropicModelProvider`, and ~20 others)
🌿 Generated with Fern1 parent fb17949 commit b65cf46
1,529 files changed
Lines changed: 116400 additions & 25644 deletions
File tree
- .fern
- .github/workflows
- src
- api
- errors
- resources
- analytics
- client
- assistants
- client
- requests
- types
- calls
- client
- requests
- types
- campaigns
- client
- chats
- client
- requests
- types
- eval
- client
- types
- files
- client
- insight
- client
- types
- observabilityScorecard
- client
- phoneNumbers
- client
- requests
- types
- providerResources
- client
- requests
- types
- sessions
- client
- requests
- types
- squads
- client
- structuredOutputs
- client
- requests
- types
- tools
- client
- requests
- types
- types
- auth
- core
- auth
- fetcher
- file
- form-data-utils
- runtime
- errors
- tests
- mock-server
- unit
- fetcher
- file
- wire
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | | - | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
20 | | - | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | | - | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
39 | | - | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | | - | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | | - | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
76 | 88 | | |
77 | 89 | | |
78 | 90 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | | - | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
23 | 190 | | |
24 | 191 | | |
25 | 192 | | |
| |||
44 | 211 | | |
45 | 212 | | |
46 | 213 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
50 | 217 | | |
51 | 218 | | |
52 | | - | |
53 | | - | |
| 219 | + | |
| 220 | + | |
54 | 221 | | |
55 | 222 | | |
56 | 223 | | |
57 | 224 | | |
58 | 225 | | |
59 | | - | |
| 226 | + | |
| 227 | + | |
60 | 228 | | |
61 | | - | |
| 229 | + | |
62 | 230 | | |
63 | 231 | | |
64 | 232 | | |
| |||
0 commit comments