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

import type { ConversationId } from './conversationId';
import type { ConversationKind } from './conversationKind';
import type { ConversationProgressChannelId } from './conversationProgressChannelId';
import type { ConversationProgressError } from './conversationProgressError';
import type { ConversationProgressPartCount } from './conversationProgressPartCount';
import type { ConversationStatus } from './conversationStatus';
import type { ImportCounters } from './importCounters';
import type { ImportWarning } from './importWarning';
import type { SearchState } from './searchState';

/**
 * Admin-visible progress for one selected conversation.
 */
export interface ConversationProgress {
  /** Whether the selected source conversation was archived. */
  archived: boolean;
  /** Authorized target only; absent for inaccessible reused targets. */
  channelId?: ConversationProgressChannelId;
  /** Durably committed record counts. */
  counters: ImportCounters;
  error?: ConversationProgressError;
  /** Persisted source kind. */
  kind: ConversationKind;
  /** Persisted source display name, never the reused Macro target's name. */
  name: string;
  /**
   * Null until sealed; zero is a valid sealed empty manifest.
   * @minimum 0
   */
  partCount?: ConversationProgressPartCount;
  /** Independent indexing state. */
  search: SearchState;
  /** Source identity (always visible to the importing team's administrator). */
  slackChannelId: ConversationId;
  /** Durable state. */
  status: ConversationStatus;
  /**
   * Number of parts whose object identity has been verified.
   * @minimum 0
   */
  verifiedParts: number;
  /** Non-fatal metadata/skip explanations. */
  warnings: ImportWarning[];
}