/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */
import type { UserWithAbilitiesCustomAttributes } from "./user_with_abilities_custom_attributes";
import type { UserWithAbilitiesAbilities } from "./user_with_abilities_abilities";

/**
 * Serialize users with abilities.
Allow to have separated OpenAPI definition for users with and without abilities.
 */
export interface UserWithAbilities {
  /** primary key for the record as UUID */
  readonly id: string;
  /** @nullable */
  readonly email: string | null;
  /** @nullable */
  readonly full_name: string | null;
  /** Get custom attributes for the instance. */
  readonly custom_attributes: UserWithAbilitiesCustomAttributes;
  /** Instance permissions and capabilities */
  readonly abilities: UserWithAbilitiesAbilities;
}
