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.1 KB
Raw Blame
/**
 * 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;
}