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 { ProjectionStateResponseData } from './projectionStateResponseData';
import type { ProjectionStateResponseError } from './projectionStateResponseError';
import type { ProjectionStateResponseGeneratedAt } from './projectionStateResponseGeneratedAt';
import type { ProjectionStateResponseStaleAt } from './projectionStateResponseStaleAt';
import type { ProjectionStatus } from './projectionStatus';
/**
* The current state of a user's projection instance.
*/
export interface ProjectionStateResponse {
/** The cached result, if any. JSON-encoded when the projection defines an
`output_schema`. */
data?: ProjectionStateResponseData;
/** The most recent materialization error, if any. */
error?: ProjectionStateResponseError;
/** When the result was generated. */
generated_at?: ProjectionStateResponseGeneratedAt;
/** The projection id. */
id: string;
/** When the result becomes stale. */
stale_at?: ProjectionStateResponseStaleAt;
/** The materialization status. */
status: ProjectionStatus;
}