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 Cognition Service
 * OpenAPI spec version: 1.0.0
 */
import type { SlackChannelMetaChannelId } from './slackChannelMetaChannelId';
import type { SlackChannelMetaMemberCount } from './slackChannelMetaMemberCount';
import type { SlackChannelMetaPurpose } from './slackChannelMetaPurpose';
import type { SlackParticipant } from './slackParticipant';

/**
 * Metadata for one staged Slack channel.
 */
export interface SlackChannelMeta {
  /** Whether Slack has archived this channel. */
  archived?: boolean;
  /** Slack's channel id (e.g. `C0123456789`), stable across renames. */
  channel_id?: SlackChannelMetaChannelId;
  /**
   * Total human members in the Slack channel.
   * @minimum 0
   */
  member_count?: SlackChannelMetaMemberCount;
  /** Whether `participants` reflects a live membership read. */
  members_resolved?: boolean;
  /** Channel name without the leading `#`. */
  name: string;
  /** Slack members matched to the Macro team roster when discovery resolved membership. */
  participants?: SlackParticipant[];
  /** The channel's purpose/topic, when set. */
  purpose?: SlackChannelMetaPurpose;
}