Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.5 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * search_service
 * OpenAPI spec version: 0.1.0
 */

import type { CrmCompanySearchDomain } from './crmCompanySearchDomain';
import type { CrmCompanySearchResponseItemDescription } from './crmCompanySearchResponseItemDescription';
import type { CrmCompanySearchResponseItemName } from './crmCompanySearchResponseItemName';
import type { CrmCompanySearchResponseItemNameHighlighted } from './crmCompanySearchResponseItemNameHighlighted';

/**
 * A CRM company match in unified search results. Carries the display
metadata resolved from the primary domain plus the highlighted name.
 */
export interface CrmCompanySearchResponseItem {
  /** When the company was created. */
  createdAt: string;
  /** Display description from the primary domain's directory entry. */
  description?: CrmCompanySearchResponseItemDescription;
  /** Domains associated with this company, primary first. */
  domains: CrmCompanySearchDomain[];
  /** Whether the company is hidden from CRM listings. */
  hidden: boolean;
  /** The id of the company. */
  id: string;
  /** Display name from the primary domain's directory entry. */
  name?: CrmCompanySearchResponseItemName;
  /** `name` with matched spans wrapped in `<macro_em>…</macro_em>`. */
  nameHighlighted?: CrmCompanySearchResponseItemNameHighlighted;
  /** The id of the team that owns this company record. */
  teamId: string;
  /** When the company was last updated (the sort key). */
  updatedAt: string;
}