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.
* search_service
* OpenAPI spec version: 0.1.0
*/
import type { DocumentSearchResponseItemFileType } from './documentSearchResponseItemFileType';
import type { DocumentSearchResponseItemSubType } from './documentSearchResponseItemSubType';
import type { DocumentSearchResult } from './documentSearchResult';
/**
* A single response item, part of the DocumentSearchResponse object
*/
export interface DocumentSearchResponseItem {
/** The id of the document */
document_id: string;
/** The name of the document */
document_name: string;
/** The search results for the document
This may be empty if the search result match was on the document name only */
document_search_results: DocumentSearchResult[];
/** The file type of the document */
file_type?: DocumentSearchResponseItemFileType;
/** Standardized fields that all item types will share.
These field names are being aligned across all item types
for consistency in our data model. */
id: string;
name: string;
owner_id: string;
sub_type?: DocumentSearchResponseItemSubType;
}