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_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { QueryDefinition } from './queryDefinition';
import type { SavedQueryCreatedBy } from './savedQueryCreatedBy';
import type { SavedQueryDatabaseId } from './savedQueryDatabaseId';
/**
* A stored, immutable query. Editing a question saves a new one.
*/
export interface SavedQuery {
/** When it was saved. */
createdAt: string;
/** Who saved it; `null` once that user is deleted. */
createdBy: SavedQueryCreatedBy;
/** The database whose tables win name resolution; `null` once that
database is deleted, or when none was given. */
databaseId: SavedQueryDatabaseId;
/** What it asks. */
definition: QueryDefinition;
/** Identifier. */
id: string;
}