@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
46 lines (45 loc) • 1.64 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 ContentBlockStopEvent1
*/
export interface ContentBlockStopEvent1 {
/**
*
* @type {string}
* @memberof ContentBlockStopEvent1
*/
type?: ContentBlockStopEvent1TypeEnum;
/**
*
* @type {number}
* @memberof ContentBlockStopEvent1
*/
index: number;
}
/**
* @export
*/
export declare const ContentBlockStopEvent1TypeEnum: {
readonly ContentBlockStop: "content_block_stop";
};
export type ContentBlockStopEvent1TypeEnum = typeof ContentBlockStopEvent1TypeEnum[keyof typeof ContentBlockStopEvent1TypeEnum];
/**
* Check if a given object implements the ContentBlockStopEvent1 interface.
*/
export declare function instanceOfContentBlockStopEvent1(value: object): value is ContentBlockStopEvent1;
export declare function ContentBlockStopEvent1FromJSON(json: any): ContentBlockStopEvent1;
export declare function ContentBlockStopEvent1FromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentBlockStopEvent1;
export declare function ContentBlockStopEvent1ToJSON(json: any): ContentBlockStopEvent1;
export declare function ContentBlockStopEvent1ToJSONTyped(value?: ContentBlockStopEvent1 | null, ignoreDiscriminator?: boolean): any;