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.
* Document Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { WebSearchDomains } from './webSearchDomains';
import type { WebSearchExcludeDomains } from './webSearchExcludeDomains';
import type { WebSearchIncludeContent } from './webSearchIncludeContent';
import type { WebSearchMaxResults } from './webSearchMaxResults';
import type { WebSearchSince } from './webSearchSince';
import type { WebSearchTopicProperty } from './webSearchTopicProperty';
/**
* Search the public web.
*/
export interface WebSearch {
/** Only return pages from these domains, e.g. `["docs.rs", "github.com"]`. */
domains?: WebSearchDomains;
/** Never return pages from these domains. */
excludeDomains?: WebSearchExcludeDomains;
/** Also return each page's text as Markdown (up to 8,000 characters per result). */
includeContent?: WebSearchIncludeContent;
/**
* How many results to return, 1 to 20 (default 5).
* @minimum 0
*/
maxResults?: WebSearchMaxResults;
/** What to search for, in natural language or keywords (at most 400 characters). */
query: string;
/** Only return pages published on or after this date (`YYYY-MM-DD`). */
since?: WebSearchSince;
topic?: WebSearchTopicProperty;
}