/** * Boat Public API v1 * Public JSON API for creating, operating, prompting, observing, and exposing Boat sandboxes from backend services, CI jobs, hosted workers, and Boat automation products. The v1 reference intentionally documents the developer integration surface only. Dashboard billing actions are not part of v1. * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { ResponseEventData } from './ResponseEventData'; /** * Agent response event. Text deltas/finals and tool-call batches are both represented as response events; tool-call batches have `data.tools`. * @export * @interface ResponseEvent */ export interface ResponseEvent { /** * * @type {string} * @memberof ResponseEvent */ id: string; /** * * @type {ResponseEventTypeEnum} * @memberof ResponseEvent */ type: ResponseEventTypeEnum; /** * * @type {number} * @memberof ResponseEvent */ timestamp: number; /** * * @type {string} * @memberof ResponseEvent */ taskId?: string | null; /** * The conversation this response belongs to. * @type {string} * @memberof ResponseEvent */ conversationId?: string | null; /** * * @type {ResponseEventData} * @memberof ResponseEvent */ data: ResponseEventData; } /** * @export */ export declare const ResponseEventTypeEnum: { readonly Response: 'response'; }; export type ResponseEventTypeEnum = typeof ResponseEventTypeEnum[keyof typeof ResponseEventTypeEnum]; /** * Check if a given object implements the ResponseEvent interface. */ export declare function instanceOfResponseEvent(value: object): value is ResponseEvent; export declare function ResponseEventFromJSON(json: any): ResponseEvent; export declare function ResponseEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseEvent; export declare function ResponseEventToJSON(json: any): ResponseEvent; export declare function ResponseEventToJSONTyped(value?: ResponseEvent | null, ignoreDiscriminator?: boolean): any;