/** * 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 CommandResponse */ export interface CommandResponse { /** * * @type {boolean} * @memberof CommandResponse */ ok: boolean; /** * * @type {CommandResponseTypeEnum} * @memberof CommandResponse */ type: CommandResponseTypeEnum; /** * * @type {boolean} * @memberof CommandResponse */ success: boolean; /** * * @type {number} * @memberof CommandResponse */ exitCode: number | null; /** * * @type {string} * @memberof CommandResponse */ signal?: string | null; /** * * @type {string} * @memberof CommandResponse */ stdout: string; /** * * @type {string} * @memberof CommandResponse */ stderr: string; /** * * @type {boolean} * @memberof CommandResponse */ stdoutTruncated?: boolean; /** * * @type {boolean} * @memberof CommandResponse */ stderrTruncated?: boolean; /** * * @type {boolean} * @memberof CommandResponse */ timedOut: boolean; /** * * @type {string} * @memberof CommandResponse */ cwd?: string; /** * * @type {Date} * @memberof CommandResponse */ startedAt?: Date; /** * * @type {Date} * @memberof CommandResponse */ finishedAt?: Date; } /** * @export */ export declare const CommandResponseTypeEnum: { readonly CommandFinished: 'command.finished'; }; export type CommandResponseTypeEnum = typeof CommandResponseTypeEnum[keyof typeof CommandResponseTypeEnum]; /** * Check if a given object implements the CommandResponse interface. */ export declare function instanceOfCommandResponse(value: object): value is CommandResponse; export declare function CommandResponseFromJSON(json: any): CommandResponse; export declare function CommandResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommandResponse; export declare function CommandResponseToJSON(json: any): CommandResponse; export declare function CommandResponseToJSONTyped(value?: CommandResponse | null, ignoreDiscriminator?: boolean): any;