/* tslint:disable */
/* eslint-disable */
/**
 * Daytona
 * Daytona AI platform API Docs
 *
 * The version of the OpenAPI document: 1.0
 * Contact: support@daytona.com
 *
 * 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;
    /**
     * 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];


