The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
/* 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.
*/
// May contain unused imports in some cases
// @ts-ignore
import type { JobStatus } from './job-status';
// May contain unused imports in some cases
// @ts-ignore
import type { JobType } from './job-type';
export interface Job {
/**
* The ID of the job
*/
'id': string;
/**
* The type of the job
*/
'type': JobType;
/**
* The status of the job
*/
'status': JobStatus;
/**
* The type of resource this job operates on
*/
'resourceType': JobResourceTypeEnum;
/**
* The ID of the resource this job operates on (boxId, etc.)
*/
'resourceId': string;
/**
* Job-specific JSON-encoded payload data (operational metadata)
*/
'payload'?: string;
/**
* OpenTelemetry trace context for distributed tracing (W3C Trace Context format)
*/
'traceContext'?: { [key: string]: any; };
/**
* Error message if the job failed
*/
'errorMessage'?: string;
/**
* The creation timestamp of the job
*/
'createdAt': string;
/**
* The last update timestamp of the job
*/
'updatedAt'?: string;
}
export const JobResourceTypeEnum = {
BOX: 'BOX',
ARTIFACT: 'ARTIFACT',
BACKUP: 'BACKUP',
CHECKPOINT: 'CHECKPOINT',
UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;
export type JobResourceTypeEnum = typeof JobResourceTypeEnum[keyof typeof JobResourceTypeEnum];