Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Document Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { ImportRunError } from './importRunError';
import type { ImportRunReviewId } from './importRunReviewId';
import type { ImportRunScanned } from './importRunScanned';
import type { ImportSource } from './importSource';
import type { RunStatus } from './runStatus';
/**
* Discovery-run state for one user × source.
*/
export interface ImportRun {
/** Discovery failure detail, when the run failed. */
error?: ImportRunError;
/** The review presenting the run's plan, once one does. A Notion plan is
presented while it is still `running`; rows staged after that take it. */
review_id?: ImportRunReviewId;
scanned?: ImportRunScanned;
/** The source this run discovered from. */
source: ImportSource;
/** Where the run is in its lifecycle. */
status: RunStatus;
/** When the run state last changed. */
updated_at: string;
}