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