Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

1.4 KB
Raw Blame
/* tslint:disable */
/* eslint-disable */
/**
 * BoxLite
 * BoxLite AI platform API Docs
 *
 * The version of the OpenAPI document: 1.0
 * Contact: [email protected]
 *
 * 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 UpdateBoxStateDto {
    /**
     * The new state for the box
     */
    'state': UpdateBoxStateDtoStateEnum;
    /**
     * Optional error message when reporting an error state
     */
    'errorReason'?: string;
    /**
     * Whether the box is recoverable
     */
    'recoverable'?: boolean;
    /**
     * Registry digest of the image the box booted from
     */
    'imageDigest'?: string;
    /**
     * Declared on-registry size of that image, in bytes
     */
    'imageSizeBytes'?: number;
}

export const UpdateBoxStateDtoStateEnum = {
    CREATING: 'creating',
    RESTORING: 'restoring',
    DESTROYED: 'destroyed',
    DESTROYING: 'destroying',
    STARTED: 'started',
    STOPPED: 'stopped',
    STARTING: 'starting',
    STOPPING: 'stopping',
    ERROR: 'error',
    UNKNOWN: 'unknown',
    ARCHIVED: 'archived',
    ARCHIVING: 'archiving',
    RESIZING: 'resizing',
    UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;

export type UpdateBoxStateDtoStateEnum = typeof UpdateBoxStateDtoStateEnum[keyof typeof UpdateBoxStateDtoStateEnum];