@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
25 lines (24 loc) • 1.12 kB
TypeScript
/**
* AskNews API
* AskNews API [](https://status.asknews.app/status/prod)
*
* The version of the OpenAPI document: 0.24.66
* Contact: contact@emergentmethods.ai
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { AnthropicTextBlock1 } from './AnthropicTextBlock1';
import type { AnthropicThinkingBlock1 } from './AnthropicThinkingBlock1';
import type { AnthropicToolUseBlock1 } from './AnthropicToolUseBlock1';
/**
* @type ContentBlock
*
* @export
*/
export type ContentBlock = AnthropicTextBlock1 | AnthropicThinkingBlock1 | AnthropicToolUseBlock1;
export declare function ContentBlockFromJSON(json: any): ContentBlock;
export declare function ContentBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentBlock;
export declare function ContentBlockToJSON(json: any): any;
export declare function ContentBlockToJSONTyped(value?: ContentBlock | null, ignoreDiscriminator?: boolean): any;