/** * 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. */ /** * * @export * @interface ErrorEvent */ export interface ErrorEvent { /** * * @type {string} * @memberof ErrorEvent */ id: string; /** * * @type {ErrorEventTypeEnum} * @memberof ErrorEvent */ type: ErrorEventTypeEnum; /** * * @type {number} * @memberof ErrorEvent */ timestamp: number; /** * * @type {string} * @memberof ErrorEvent */ taskId?: string | null; /** * * @type {{ [key: string]: any; }} * @memberof ErrorEvent */ data: { [key: string]: any; }; } /** * @export */ export declare const ErrorEventTypeEnum: { readonly UsageLimit: 'usage_limit'; }; export type ErrorEventTypeEnum = typeof ErrorEventTypeEnum[keyof typeof ErrorEventTypeEnum]; /** * Check if a given object implements the ErrorEvent interface. */ export declare function instanceOfErrorEvent(value: object): value is ErrorEvent; export declare function ErrorEventFromJSON(json: any): ErrorEvent; export declare function ErrorEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorEvent; export declare function ErrorEventToJSON(json: any): ErrorEvent; export declare function ErrorEventToJSONTyped(value?: ErrorEvent | null, ignoreDiscriminator?: boolean): any;