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 { ChannelSearchRequestAllOfTwoCollapse } from './channelSearchRequestAllOfTwoCollapse';
import type { ChannelSearchRequestAllOfTwoQuery } from './channelSearchRequestAllOfTwoQuery';
import type { ChannelSearchRequestAllOfTwoTerms } from './channelSearchRequestAllOfTwoTerms';
import type { ChannelSortTimestamp } from './channelSortTimestamp';
import type { MatchType } from './matchType';
import type { SearchOn } from './searchOn';
export type ChannelSearchRequestAllOfTwo = {
/** If true, returns only 1 result per entity. False by default. */
collapse?: ChannelSearchRequestAllOfTwoCollapse;
/** The match type to use when searching */
match_type: MatchType;
/** The query to search for */
query?: ChannelSearchRequestAllOfTwoQuery;
/** Fields to search on (Name, Content, NameContent). Defaults to Content */
search_on?: SearchOn;
/** Sort key for results. Defaults to `message`. */
sort?: ChannelSortTimestamp;
/** Multiple terms to search over */
terms?: ChannelSearchRequestAllOfTwoTerms;
};