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