/**
 * 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 { ThreadAccessRoleChoices } from "./thread_access_role_choices";
import type { UserWithoutAbilities } from "./user_without_abilities";

/**
 * Serialize thread access information.
 */
export interface ThreadAccess {
  /** primary key for the record as UUID */
  readonly id: string;
  /** primary key for the record as UUID */
  thread: string;
  /** primary key for the record as UUID */
  mailbox: string;
  role: ThreadAccessRoleChoices;
  /** date and time at which a record was created */
  readonly created_at: string;
  /** date and time at which a record was last updated */
  readonly updated_at: string;
  readonly users: readonly UserWithoutAbilities[];
}
