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.0 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */

import type { ChannelAccessRequestResolvedAt } from './channelAccessRequestResolvedAt';
import type { ChannelAccessRequestResolvedBy } from './channelAccessRequestResolvedBy';
import type { ChannelAccessRequestStatus } from './channelAccessRequestStatus';
import type { MacroUserIdStr } from './macroUserIdStr';

/**
 * One attempt to join a channel. Attempts are never reused, so each timeline
entry keeps showing the outcome of the attempt it announced.
 */
export interface ChannelAccessRequest {
  /** Channel the requester asked to join. */
  channel_id: string;
  /** When the requester asked. */
  created_at: string;
  /** Attempt id. */
  id: string;
  /** Person asking to join. */
  requester_id: MacroUserIdStr;
  /** When the attempt stopped being pending. */
  resolved_at?: ChannelAccessRequestResolvedAt;
  resolved_by?: ChannelAccessRequestResolvedBy;
  /** Current outcome. */
  status: ChannelAccessRequestStatus;
}