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.4 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { CrmContactResponseCompanyId } from './crmContactResponseCompanyId';
import type { CrmContactResponseEmail } from './crmContactResponseEmail';
import type { CrmContactResponseName } from './crmContactResponseName';

/**
 * A CRM contact as returned by `GET /crm/companies/{company_id}/contacts`.
 */
export interface CrmContactResponse {
  /** The id of the company the contact belongs to; absent for a
contact without a company. */
  companyId?: CrmContactResponseCompanyId;
  /** When the contact record was created. */
  createdAt: string;
  /** The contact's email address; absent for contacts added by name
alone. */
  email?: CrmContactResponseEmail;
  /** Earliest known interaction with this contact. */
  firstInteraction: string;
  /** Whether the contact is hidden from CRM listings for the
requesting team. Non-admin viewers never see `hidden = true`
rows (the endpoint filters them out); admin/owner callers see
hidden contacts so they can render the right toggle state. */
  hidden: boolean;
  /** The id of the contact record. */
  id: string;
  /** Most recent known interaction with this contact. */
  lastInteraction: string;
  /** Display name observed for the contact, if any. */
  name?: CrmContactResponseName;
  /** When the contact record was last updated. */
  updatedAt: string;
}