/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */

/**
 * Serializer for Label model.
 */
export interface Label {
  /** primary key for the record as UUID */
  readonly id: string;
  /**
   * Name of the label/folder (can use slashes for hierarchy, e.g. 'Work/Projects')
   * @maxLength 255
   */
  name: string;
  /**
   * URL-friendly version of the name
   * @pattern ^[-a-zA-Z0-9_]+$
   */
  readonly slug: string;
  /**
   * Color of the label in hex format (e.g. #FF0000)
   * @maxLength 7
   */
  color?: string;
  readonly display_name: string;
  /** Mailbox that owns this label */
  mailbox: string;
  /** Threads that have this label */
  threads?: string[];
  /**
   * Description of the label, used by AI to understand its purpose
   * @maxLength 255
   */
  description?: string;
  /** Whether this label should be automatically applied by AI */
  is_auto?: boolean;
}
