Skip to content

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

1.5 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 { OrganizationRole } from './organization-role';

export interface OrganizationUser {
    /**
     * User ID
     */
    'userId': string;
    /**
     * Organization ID
     */
    'organizationId': string;
    /**
     * User name
     */
    'name': string;
    /**
     * User email
     */
    'email': string;
    /**
     * Member role
     */
    'role': OrganizationUserRoleEnum;
    /**
     * Set on the authenticated member when they are a system administrator.
     */
    'isSystemAdmin'?: boolean;
    /**
     * Whether this organization membership is the user default organization
     */
    'isDefaultForUser': boolean;
    /**
     * Roles assigned to the user
     */
    'assignedRoles': Array<OrganizationRole>;
    /**
     * Creation timestamp
     */
    'createdAt': Date;
    /**
     * Last update timestamp
     */
    'updatedAt': Date;
}

export const OrganizationUserRoleEnum = {
    OWNER: 'owner',
    MEMBER: 'member',
    UNKNOWN_DEFAULT_OPEN_API: '11184809',
} as const;

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