/** * 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 CommandStatusResponse */ export interface CommandStatusResponse { /** * * @type {boolean} * @memberof CommandStatusResponse */ ok: boolean; /** * * @type {CommandStatusResponseTypeEnum} * @memberof CommandStatusResponse */ type: CommandStatusResponseTypeEnum; /** * * @type {boolean} * @memberof CommandStatusResponse */ success: boolean; /** * * @type {number} * @memberof CommandStatusResponse */ processId: number; /** * * @type {number} * @memberof CommandStatusResponse */ pid?: number; /** * lost: the Boat agent restarted and forgot the process; running/exitCode are then a best-effort probe and the logs come from the on-disk files. * @type {CommandStatusResponseStatusEnum} * @memberof CommandStatusResponse */ status: CommandStatusResponseStatusEnum; /** * Whether the process is still tracked by the Boat agent. * @type {boolean} * @memberof CommandStatusResponse */ known?: boolean; /** * * @type {boolean} * @memberof CommandStatusResponse */ running: boolean; /** * * @type {number} * @memberof CommandStatusResponse */ exitCode: number | null; /** * * @type {string} * @memberof CommandStatusResponse */ signal?: string | null; /** * * @type {string} * @memberof CommandStatusResponse */ command?: string | null; /** * * @type {string} * @memberof CommandStatusResponse */ cwd?: string | null; /** * * @type {Date} * @memberof CommandStatusResponse */ startedAt?: Date | null; /** * * @type {Date} * @memberof CommandStatusResponse */ finishedAt?: Date | null; /** * Tail of the stdout log file. * @type {string} * @memberof CommandStatusResponse */ stdout: string; /** * Tail of the stderr log file. * @type {string} * @memberof CommandStatusResponse */ stderr: string; /** * * @type {boolean} * @memberof CommandStatusResponse */ stdoutTruncated?: boolean; /** * * @type {boolean} * @memberof CommandStatusResponse */ stderrTruncated?: boolean; /** * * @type {string} * @memberof CommandStatusResponse */ logPath?: string; /** * * @type {string} * @memberof CommandStatusResponse */ errLogPath?: string; } /** * @export */ export declare const CommandStatusResponseTypeEnum: { readonly CommandStatus: 'command.status'; }; export type CommandStatusResponseTypeEnum = typeof CommandStatusResponseTypeEnum[keyof typeof CommandStatusResponseTypeEnum]; /** * @export */ export declare const CommandStatusResponseStatusEnum: { readonly Running: 'running'; readonly Exited: 'exited'; readonly Lost: 'lost'; }; export type CommandStatusResponseStatusEnum = typeof CommandStatusResponseStatusEnum[keyof typeof CommandStatusResponseStatusEnum]; /** * Check if a given object implements the CommandStatusResponse interface. */ export declare function instanceOfCommandStatusResponse(value: object): value is CommandStatusResponse; export declare function CommandStatusResponseFromJSON(json: any): CommandStatusResponse; export declare function CommandStatusResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CommandStatusResponse; export declare function CommandStatusResponseToJSON(json: any): CommandStatusResponse; export declare function CommandStatusResponseToJSONTyped(value?: CommandStatusResponse | null, ignoreDiscriminator?: boolean): any;