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