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.2 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */

import type { CrmDiscussionMetadataSenderDisplayName } from './crmDiscussionMetadataSenderDisplayName';
import type { CrmDiscussionMetadataSenderProfilePictureUrl } from './crmDiscussionMetadataSenderProfilePictureUrl';
import type { CrmDiscussionReason } from './crmDiscussionReason';

/**
 * CRM discussion metadata. The notification entity identifies the company or
contact; message and thread UUIDs select the discussion inside it.
 */
export interface CrmDiscussionMetadata {
  /** Canonical shared message UUID. */
  messageId: string;
  /** Semantic reason selected by the message delivery domain. */
  reason: CrmDiscussionReason;
  /** Company or contact display name. */
  recordName: string;
  /** Public display name for a bot author. */
  senderDisplayName?: CrmDiscussionMetadataSenderDisplayName;
  /** Optional avatar for push notification attachments. */
  senderProfilePictureUrl?: CrmDiscussionMetadataSenderProfilePictureUrl;
  /** Posted Markdown content. */
  text: string;
  /** Canonical discussion root UUID. */
  threadId: string;
}