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

/**
 * Serialize mailbox access information for read operations with nested user details.
Mailbox context is implied by the URL, so mailbox details are not included here.
 */
export interface MailboxAccessRead {
  /** primary key for the record as UUID */
  readonly id: string;
  readonly user_details: UserWithoutAbilities;
  readonly role: MailboxRoleChoices;
  /** 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;
}
