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.
*/
export interface ApiKeyList {
/**
* The name of the API key
*/
'name': string;
/**
* The masked API key value
*/
'value': string;
/**
* When the API key was created
*/
'createdAt': Date;
/**
* The list of organization resource permissions assigned to the API key
*/
'permissions': Array<ApiKeyListPermissionsEnum>;
/**
* When the API key was last used
*/
'lastUsedAt': Date | null;
/**
* When the API key expires
*/
'expiresAt': Date | null;
/**
* The user ID of the user who created the API key
*/
'userId': string;
}
export const ApiKeyListPermissionsEnum = {
WRITE_REGISTRIES: 'write:registries',
DELETE_REGISTRIES: 'delete:registries',
WRITE_TEMPLATES: 'write:templates',
DELETE_TEMPLATES: 'delete:templates',
WRITE_BOXES: 'write:boxes',
DELETE_BOXES: 'delete:boxes',
READ_VOLUMES: 'read:volumes',
WRITE_VOLUMES: 'write:volumes',
DELETE_VOLUMES: 'delete:volumes',
WRITE_REGIONS: 'write:regions',
DELETE_REGIONS: 'delete:regions',
READ_RUNNERS: 'read:runners',
WRITE_RUNNERS: 'write:runners',
DELETE_RUNNERS: 'delete:runners',
READ_AUDIT_LOGS: 'read:audit_logs',
READ_IMAGES: 'read:images',
DELETE_IMAGES: 'delete:images',
READ_REGISTRIES: 'read:registries',
WRITE_IMAGES: 'write:images',
READ_MEMBERS: 'read:members',
WRITE_MEMBERS: 'write:members',
READ_APPS: 'read:apps',
WRITE_APPS: 'write:apps',
DELETE_APPS: 'delete:apps',
WRITE_SECRETS: 'write:secrets',
READ_SECRETS: 'read:secrets',
UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;
export type ApiKeyListPermissionsEnum = typeof ApiKeyListPermissionsEnum[keyof typeof ApiKeyListPermissionsEnum];