Skip to content

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

3.1 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.
 */


// May contain unused imports in some cases
// @ts-ignore
import type { OnboardingDto } from './onboarding-dto';

export interface Organization {
    /**
     * App Hosting permissions enabled for this organization.
     */
    'appHostingPermissions': Array<OrganizationAppHostingPermissionsEnum>;
    'onboarding'?: OnboardingDto | null;
    /**
     * Organization ID
     */
    'id': string;
    /**
     * Organization name
     */
    'name': string;
    /**
     * User ID of the organization creator
     */
    'createdBy': string;
    /**
     * Whether this organization is the authenticated user default organization
     */
    'isDefaultForAuthenticatedUser': boolean;
    /**
     * Deprecated alias for isDefaultForAuthenticatedUser. Kept for backward compatibility with older REST clients.
     * @deprecated
     */
    'personal': boolean;
    /**
     * Creation timestamp
     */
    'createdAt': Date;
    /**
     * Last update timestamp
     */
    'updatedAt': Date;
    /**
     * Suspended flag
     */
    'suspended': boolean;
    /**
     * Suspended at
     */
    'suspendedAt': Date;
    /**
     * Suspended reason
     */
    'suspensionReason': string;
    /**
     * Suspended until
     */
    'suspendedUntil': Date;
    /**
     * Suspension cleanup grace period hours
     */
    'suspensionCleanupGracePeriodHours': number;
    /**
     * Max CPU per box
     */
    'maxCpuPerBox': number;
    /**
     * Max memory per box
     */
    'maxMemoryPerBox': number;
    /**
     * Max disk per box
     */
    'maxDiskPerBox': number;
    /**
     * Box default network block all
     */
    'boxLimitedNetworkEgress': boolean;
    /**
     * Default region ID
     */
    'defaultRegionId'?: string;
    /**
     * Authenticated rate limit per minute
     */
    'authenticatedRateLimit': number | null;
    /**
     * Box create rate limit per minute
     */
    'boxCreateRateLimit': number | null;
    /**
     * Box lifecycle rate limit per minute
     */
    'boxLifecycleRateLimit': number | null;
    /**
     * Experimental configuration
     */
    'experimentalConfig': object;
    /**
     * Authenticated rate limit TTL in seconds
     */
    'authenticatedRateLimitTtlSeconds': number | null;
    /**
     * Box create rate limit TTL in seconds
     */
    'boxCreateRateLimitTtlSeconds': number | null;
    /**
     * Box lifecycle rate limit TTL in seconds
     */
    'boxLifecycleRateLimitTtlSeconds': number | null;
}

export const OrganizationAppHostingPermissionsEnum = {
    READ_APPS: 'read:apps',
    WRITE_APPS: 'write:apps',
    DELETE_APPS: 'delete:apps',
    UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;

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