@@ -249,69 +249,69 @@ export import toFile = Uploads.toFile;
249
249
export import fileFromPath = Uploads . fileFromPath ;
250
250
251
251
export namespace Anthropic {
252
- export import RequestOptions = Core . RequestOptions ;
252
+ export type RequestOptions = Core . RequestOptions ;
253
253
254
254
export import Page = Pagination . Page ;
255
- export import PageParams = Pagination . PageParams ;
256
- export import PageResponse = Pagination . PageResponse ;
255
+ export type PageParams = Pagination . PageParams ;
256
+ export type PageResponse < T > = Pagination . PageResponse < T > ;
257
257
258
258
export import Completions = API . Completions ;
259
- export import Completion = API . Completion ;
260
- export import CompletionCreateParams = API . CompletionCreateParams ;
261
- export import CompletionCreateParamsNonStreaming = API . CompletionCreateParamsNonStreaming ;
262
- export import CompletionCreateParamsStreaming = API . CompletionCreateParamsStreaming ;
259
+ export type Completion = API . Completion ;
260
+ export type CompletionCreateParams = API . CompletionCreateParams ;
261
+ export type CompletionCreateParamsNonStreaming = API . CompletionCreateParamsNonStreaming ;
262
+ export type CompletionCreateParamsStreaming = API . CompletionCreateParamsStreaming ;
263
263
264
264
export import Messages = API . Messages ;
265
- export import ContentBlock = API . ContentBlock ;
266
- export import ContentBlockDeltaEvent = API . ContentBlockDeltaEvent ;
267
- export import ContentBlockStartEvent = API . ContentBlockStartEvent ;
268
- export import ContentBlockStopEvent = API . ContentBlockStopEvent ;
269
- export import ImageBlockParam = API . ImageBlockParam ;
270
- export import InputJSONDelta = API . InputJSONDelta ;
271
- export import Message = API . Message ;
272
- export import MessageDeltaEvent = API . MessageDeltaEvent ;
273
- export import MessageDeltaUsage = API . MessageDeltaUsage ;
274
- export import MessageParam = API . MessageParam ;
275
- export import MessageStartEvent = API . MessageStartEvent ;
276
- export import MessageStopEvent = API . MessageStopEvent ;
277
- export import MessageStreamEvent = API . MessageStreamEvent ;
278
- export import Metadata = API . Metadata ;
279
- export import Model = API . Model ;
280
- export import RawContentBlockDeltaEvent = API . RawContentBlockDeltaEvent ;
281
- export import RawContentBlockStartEvent = API . RawContentBlockStartEvent ;
282
- export import RawContentBlockStopEvent = API . RawContentBlockStopEvent ;
283
- export import RawMessageDeltaEvent = API . RawMessageDeltaEvent ;
284
- export import RawMessageStartEvent = API . RawMessageStartEvent ;
285
- export import RawMessageStopEvent = API . RawMessageStopEvent ;
286
- export import RawMessageStreamEvent = API . RawMessageStreamEvent ;
287
- export import TextBlock = API . TextBlock ;
288
- export import TextBlockParam = API . TextBlockParam ;
289
- export import TextDelta = API . TextDelta ;
290
- export import Tool = API . Tool ;
291
- export import ToolChoice = API . ToolChoice ;
292
- export import ToolChoiceAny = API . ToolChoiceAny ;
293
- export import ToolChoiceAuto = API . ToolChoiceAuto ;
294
- export import ToolChoiceTool = API . ToolChoiceTool ;
295
- export import ToolResultBlockParam = API . ToolResultBlockParam ;
296
- export import ToolUseBlock = API . ToolUseBlock ;
297
- export import ToolUseBlockParam = API . ToolUseBlockParam ;
298
- export import Usage = API . Usage ;
299
- export import MessageCreateParams = API . MessageCreateParams ;
300
- export import MessageCreateParamsNonStreaming = API . MessageCreateParamsNonStreaming ;
301
- export import MessageCreateParamsStreaming = API . MessageCreateParamsStreaming ;
302
- export import MessageStreamParams = API . MessageStreamParams ;
265
+ export type ContentBlock = API . ContentBlock ;
266
+ export type ContentBlockDeltaEvent = API . ContentBlockDeltaEvent ;
267
+ export type ContentBlockStartEvent = API . ContentBlockStartEvent ;
268
+ export type ContentBlockStopEvent = API . ContentBlockStopEvent ;
269
+ export type ImageBlockParam = API . ImageBlockParam ;
270
+ export type InputJSONDelta = API . InputJSONDelta ;
271
+ export type Message = API . Message ;
272
+ export type MessageDeltaEvent = API . MessageDeltaEvent ;
273
+ export type MessageDeltaUsage = API . MessageDeltaUsage ;
274
+ export type MessageParam = API . MessageParam ;
275
+ export type MessageStartEvent = API . MessageStartEvent ;
276
+ export type MessageStopEvent = API . MessageStopEvent ;
277
+ export type MessageStreamEvent = API . MessageStreamEvent ;
278
+ export type Metadata = API . Metadata ;
279
+ export type Model = API . Model ;
280
+ export type RawContentBlockDeltaEvent = API . RawContentBlockDeltaEvent ;
281
+ export type RawContentBlockStartEvent = API . RawContentBlockStartEvent ;
282
+ export type RawContentBlockStopEvent = API . RawContentBlockStopEvent ;
283
+ export type RawMessageDeltaEvent = API . RawMessageDeltaEvent ;
284
+ export type RawMessageStartEvent = API . RawMessageStartEvent ;
285
+ export type RawMessageStopEvent = API . RawMessageStopEvent ;
286
+ export type RawMessageStreamEvent = API . RawMessageStreamEvent ;
287
+ export type TextBlock = API . TextBlock ;
288
+ export type TextBlockParam = API . TextBlockParam ;
289
+ export type TextDelta = API . TextDelta ;
290
+ export type Tool = API . Tool ;
291
+ export type ToolChoice = API . ToolChoice ;
292
+ export type ToolChoiceAny = API . ToolChoiceAny ;
293
+ export type ToolChoiceAuto = API . ToolChoiceAuto ;
294
+ export type ToolChoiceTool = API . ToolChoiceTool ;
295
+ export type ToolResultBlockParam = API . ToolResultBlockParam ;
296
+ export type ToolUseBlock = API . ToolUseBlock ;
297
+ export type ToolUseBlockParam = API . ToolUseBlockParam ;
298
+ export type Usage = API . Usage ;
299
+ export type MessageCreateParams = API . MessageCreateParams ;
300
+ export type MessageCreateParamsNonStreaming = API . MessageCreateParamsNonStreaming ;
301
+ export type MessageCreateParamsStreaming = API . MessageCreateParamsStreaming ;
302
+ export type MessageStreamParams = API . MessageStreamParams ;
303
303
304
304
export import Beta = API . Beta ;
305
- export import AnthropicBeta = API . AnthropicBeta ;
306
- export import BetaAPIError = API . BetaAPIError ;
307
- export import BetaAuthenticationError = API . BetaAuthenticationError ;
308
- export import BetaError = API . BetaError ;
309
- export import BetaErrorResponse = API . BetaErrorResponse ;
310
- export import BetaInvalidRequestError = API . BetaInvalidRequestError ;
311
- export import BetaNotFoundError = API . BetaNotFoundError ;
312
- export import BetaOverloadedError = API . BetaOverloadedError ;
313
- export import BetaPermissionError = API . BetaPermissionError ;
314
- export import BetaRateLimitError = API . BetaRateLimitError ;
305
+ export type AnthropicBeta = API . AnthropicBeta ;
306
+ export type BetaAPIError = API . BetaAPIError ;
307
+ export type BetaAuthenticationError = API . BetaAuthenticationError ;
308
+ export type BetaError = API . BetaError ;
309
+ export type BetaErrorResponse = API . BetaErrorResponse ;
310
+ export type BetaInvalidRequestError = API . BetaInvalidRequestError ;
311
+ export type BetaNotFoundError = API . BetaNotFoundError ;
312
+ export type BetaOverloadedError = API . BetaOverloadedError ;
313
+ export type BetaPermissionError = API . BetaPermissionError ;
314
+ export type BetaRateLimitError = API . BetaRateLimitError ;
315
315
}
316
316
317
317
export default Anthropic ;
0 commit comments