22
33import { APIResource } from '../../core/resource' ;
44import * as ModelsAPI from './models' ;
5- import { BetaModelInfo , BetaModelInfosPage , ModelListParams , Models } from './models' ;
5+ import { BetaModelInfo , BetaModelInfosPage , ModelListParams , ModelRetrieveParams , Models } from './models' ;
66import * as MessagesAPI from './messages/messages' ;
77import {
88 BetaBase64ImageSource ,
@@ -15,8 +15,10 @@ import {
1515 BetaCitationContentBlockLocationParam ,
1616 BetaCitationPageLocation ,
1717 BetaCitationPageLocationParam ,
18+ BetaCitationWebSearchResultLocationParam ,
1819 BetaCitationsConfigParam ,
1920 BetaCitationsDelta ,
21+ BetaCitationsWebSearchResultLocation ,
2022 BetaContentBlock ,
2123 BetaContentBlockParam ,
2224 BetaContentBlockSource ,
@@ -39,6 +41,9 @@ import {
3941 BetaRawMessageStreamEvent ,
4042 BetaRedactedThinkingBlock ,
4143 BetaRedactedThinkingBlockParam ,
44+ BetaServerToolUsage ,
45+ BetaServerToolUseBlock ,
46+ BetaServerToolUseBlockParam ,
4247 BetaSignatureDelta ,
4348 BetaStopReason ,
4449 BetaTextBlock ,
@@ -71,6 +76,15 @@ import {
7176 BetaURLImageSource ,
7277 BetaURLPDFSource ,
7378 BetaUsage ,
79+ BetaWebSearchResultBlock ,
80+ BetaWebSearchResultBlockParam ,
81+ BetaWebSearchTool20250305 ,
82+ BetaWebSearchToolRequestError ,
83+ BetaWebSearchToolResultBlock ,
84+ BetaWebSearchToolResultBlockContent ,
85+ BetaWebSearchToolResultBlockParam ,
86+ BetaWebSearchToolResultBlockParamContent ,
87+ BetaWebSearchToolResultError ,
7488 MessageCountTokensParams ,
7589 MessageCreateParams ,
7690 MessageCreateParamsNonStreaming ,
@@ -188,6 +202,7 @@ export declare namespace Beta {
188202 Models as Models ,
189203 type BetaModelInfo as BetaModelInfo ,
190204 type BetaModelInfosPage as BetaModelInfosPage ,
205+ type ModelRetrieveParams as ModelRetrieveParams ,
191206 type ModelListParams as ModelListParams ,
192207 } ;
193208
@@ -203,8 +218,10 @@ export declare namespace Beta {
203218 type BetaCitationContentBlockLocationParam as BetaCitationContentBlockLocationParam ,
204219 type BetaCitationPageLocation as BetaCitationPageLocation ,
205220 type BetaCitationPageLocationParam as BetaCitationPageLocationParam ,
221+ type BetaCitationWebSearchResultLocationParam as BetaCitationWebSearchResultLocationParam ,
206222 type BetaCitationsConfigParam as BetaCitationsConfigParam ,
207223 type BetaCitationsDelta as BetaCitationsDelta ,
224+ type BetaCitationsWebSearchResultLocation as BetaCitationsWebSearchResultLocation ,
208225 type BetaContentBlock as BetaContentBlock ,
209226 type BetaContentBlockParam as BetaContentBlockParam ,
210227 type BetaContentBlockSource as BetaContentBlockSource ,
@@ -227,6 +244,9 @@ export declare namespace Beta {
227244 type BetaRawMessageStreamEvent as BetaRawMessageStreamEvent ,
228245 type BetaRedactedThinkingBlock as BetaRedactedThinkingBlock ,
229246 type BetaRedactedThinkingBlockParam as BetaRedactedThinkingBlockParam ,
247+ type BetaServerToolUsage as BetaServerToolUsage ,
248+ type BetaServerToolUseBlock as BetaServerToolUseBlock ,
249+ type BetaServerToolUseBlockParam as BetaServerToolUseBlockParam ,
230250 type BetaSignatureDelta as BetaSignatureDelta ,
231251 type BetaStopReason as BetaStopReason ,
232252 type BetaTextBlock as BetaTextBlock ,
@@ -259,6 +279,15 @@ export declare namespace Beta {
259279 type BetaURLImageSource as BetaURLImageSource ,
260280 type BetaURLPDFSource as BetaURLPDFSource ,
261281 type BetaUsage as BetaUsage ,
282+ type BetaWebSearchResultBlock as BetaWebSearchResultBlock ,
283+ type BetaWebSearchResultBlockParam as BetaWebSearchResultBlockParam ,
284+ type BetaWebSearchTool20250305 as BetaWebSearchTool20250305 ,
285+ type BetaWebSearchToolRequestError as BetaWebSearchToolRequestError ,
286+ type BetaWebSearchToolResultBlock as BetaWebSearchToolResultBlock ,
287+ type BetaWebSearchToolResultBlockContent as BetaWebSearchToolResultBlockContent ,
288+ type BetaWebSearchToolResultBlockParam as BetaWebSearchToolResultBlockParam ,
289+ type BetaWebSearchToolResultBlockParamContent as BetaWebSearchToolResultBlockParamContent ,
290+ type BetaWebSearchToolResultError as BetaWebSearchToolResultError ,
262291 type MessageCreateParams as MessageCreateParams ,
263292 type MessageCreateParamsNonStreaming as MessageCreateParamsNonStreaming ,
264293 type MessageCreateParamsStreaming as MessageCreateParamsStreaming ,
0 commit comments