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 { DocumentSearchRequestAllOfTwoCollapse } from './documentSearchRequestAllOfTwoCollapse';
import type { DocumentSearchRequestAllOfTwoQuery } from './documentSearchRequestAllOfTwoQuery';
import type { DocumentSearchRequestAllOfTwoTerms } from './documentSearchRequestAllOfTwoTerms';
import type { MatchType } from './matchType';
import type { SearchOn } from './searchOn';
export type DocumentSearchRequestAllOfTwo = {
/** If true, returns only 1 result per entity. False by default. */
collapse?: DocumentSearchRequestAllOfTwoCollapse;
/** The match type to use when searching */
match_type: MatchType;
/** The query to search for */
query?: DocumentSearchRequestAllOfTwoQuery;
/** Fields to search on (Name, Content, NameContent). Defaults to Content */
search_on?: SearchOn;
/** Multiple terms to search over */
terms?: DocumentSearchRequestAllOfTwoTerms;
};