@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
46 lines (45 loc) • 1.53 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 AnthropicTextBlock
*/
export interface AnthropicTextBlock {
/**
*
* @type {string}
* @memberof AnthropicTextBlock
*/
type?: AnthropicTextBlockTypeEnum;
/**
*
* @type {string}
* @memberof AnthropicTextBlock
*/
text?: string;
}
/**
* @export
*/
export declare const AnthropicTextBlockTypeEnum: {
readonly Text: "text";
};
export type AnthropicTextBlockTypeEnum = typeof AnthropicTextBlockTypeEnum[keyof typeof AnthropicTextBlockTypeEnum];
/**
* Check if a given object implements the AnthropicTextBlock interface.
*/
export declare function instanceOfAnthropicTextBlock(value: object): value is AnthropicTextBlock;
export declare function AnthropicTextBlockFromJSON(json: any): AnthropicTextBlock;
export declare function AnthropicTextBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnthropicTextBlock;
export declare function AnthropicTextBlockToJSON(json: any): AnthropicTextBlock;
export declare function AnthropicTextBlockToJSONTyped(value?: AnthropicTextBlock | null, ignoreDiscriminator?: boolean): any;