@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
60 lines (59 loc) • 1.85 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.
*/
/**
*
* @export
* @interface AnthropicToolUseBlock
*/
export interface AnthropicToolUseBlock {
/**
*
* @type {string}
* @memberof AnthropicToolUseBlock
*/
type?: AnthropicToolUseBlockTypeEnum;
/**
*
* @type {string}
* @memberof AnthropicToolUseBlock
*/
id: string;
/**
*
* @type {string}
* @memberof AnthropicToolUseBlock
*/
name: string;
/**
*
* @type {{ [key: string]: any; }}
* @memberof AnthropicToolUseBlock
*/
input?: {
[key: string]: any;
};
}
/**
* @export
*/
export declare const AnthropicToolUseBlockTypeEnum: {
readonly ToolUse: "tool_use";
};
export type AnthropicToolUseBlockTypeEnum = typeof AnthropicToolUseBlockTypeEnum[keyof typeof AnthropicToolUseBlockTypeEnum];
/**
* Check if a given object implements the AnthropicToolUseBlock interface.
*/
export declare function instanceOfAnthropicToolUseBlock(value: object): value is AnthropicToolUseBlock;
export declare function AnthropicToolUseBlockFromJSON(json: any): AnthropicToolUseBlock;
export declare function AnthropicToolUseBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnthropicToolUseBlock;
export declare function AnthropicToolUseBlockToJSON(json: any): AnthropicToolUseBlock;
export declare function AnthropicToolUseBlockToJSONTyped(value?: AnthropicToolUseBlock | null, ignoreDiscriminator?: boolean): any;