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