Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.2 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { ChannelLabelRuleProperty } from './channelLabelRuleProperty';
import type { ChannelLabelTeamId } from './channelLabelTeamId';

/**
 * A shared or account-private label grouping chat channels in the sidebar.

`channel_ids` is viewer-relative: it lists only the labelled channels the
requesting user participates in. `channel_count` counts every channel in
the label so clients can warn accurately before a delete.
 */
export interface ChannelLabel {
  /** All assignments for a manual label; visible matches for a smart tag. */
  channelCount: number;
  /** Channels in this label that the requesting user participates in. */
  channelIds: string[];
  /** When the label was created. */
  createdAt: string;
  /** Stable label id. */
  id: string;
  /** Display name, unique within the scope (case-insensitive). */
  name: string;
  rule?: ChannelLabelRuleProperty;
  /** Manual ordering value within the scope; lower sorts first. */
  sortOrder: number;
  /** Owning team, or `None` for account-private labels. */
  teamId?: ChannelLabelTeamId;
  /** When the label's name, rule, scope, or order last changed. */
  updatedAt: string;
}