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.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */
import type { CommentRef } from './commentRef';
import type { MentionedInDocumentCommentMetadataFileType } from './mentionedInDocumentCommentMetadataFileType';
import type { MentionedInDocumentCommentMetadataSenderDisplayName } from './mentionedInDocumentCommentMetadataSenderDisplayName';
import type { MentionedInDocumentCommentMetadataSenderProfilePictureUrl } from './mentionedInDocumentCommentMetadataSenderProfilePictureUrl';
import type { MentionedInDocumentCommentMetadataSubType } from './mentionedInDocumentCommentMetadataSubType';

/**
 * Notification sent when a user is mentioned in a document comment.
 */
export interface MentionedInDocumentCommentMetadata {
  /** the comment id */
  commentId: CommentRef;
  /** The name of the document. */
  documentName: string;
  /** The file type of the document. */
  fileType?: MentionedInDocumentCommentMetadataFileType;
  /** The mention ID. */
  mentionId: string;
  /** The owner of the document. */
  owner: string;
  /** Public bot name when the author is an agent rather than a Macro user. */
  senderDisplayName?: MentionedInDocumentCommentMetadataSenderDisplayName;
  senderProfilePictureUrl?: MentionedInDocumentCommentMetadataSenderProfilePictureUrl;
  subType?: MentionedInDocumentCommentMetadataSubType;
  /** the text of the comment */
  text: string;
  /** the thread id */
  threadId: CommentRef;
}