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