export type GetApiAktaProV1CompanyEnrichmentConciseArgs = {company: string}; export type GetApiAktaProV1CompanyEnrichmentConciseOptions = {baseUrl?: string | undefined, fetch?: typeof fetch | undefined}; /** * Compact company enrichment by domain or akta UUID, returning a broad snapshot of what the company does, founded year, HQ and offices, headcount band, industries, business model, executives, competitors, strengths and risks, subsidiaries, partnerships, named customers, revenue and valuation bands, technology and API/MCP/app availability. Use when you need broad company context without selecting sections or retrieving the full detailed profile. Does not include detailed funding rounds. Optimized for AI agents with compact, structured output for reliable routing. * * GET /akta-pro/v1/company/enrichment/concise/ */ export const getApiAktaProV1CompanyEnrichmentConcise = async (args: GetApiAktaProV1CompanyEnrichmentConciseArgs, options?: GetApiAktaProV1CompanyEnrichmentConciseOptions) => { const {baseUrl = "https://api.orthogonal.com/mpp", fetch: fetchFn = fetch} = options ?? {} const query = new URLSearchParams() const headers = new Headers() if (args.company != null) query.append("company", String(args.company)) const url = `${baseUrl.replace(/\/+$/, '')}/akta-pro/v1/company/enrichment/concise/${query.size > 0 ? `?${query}` : ''}` const res = await fetchFn(url, {method: "GET", headers}) if (!res.ok) throw new Error(`Request failed with status ${res.status}`, {cause: {status: res.status, body: await res.text()}}) return undefined };