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.
 * email_service
 * OpenAPI spec version: 0.1.0
 */
import type { Attachment } from './attachment';
import type { Contact } from './contact';
import type { ThreadPreviewCursorName } from './threadPreviewCursorName';
import type { ThreadPreviewCursorProviderId } from './threadPreviewCursorProviderId';
import type { ThreadPreviewCursorSenderEmail } from './threadPreviewCursorSenderEmail';
import type { ThreadPreviewCursorSenderName } from './threadPreviewCursorSenderName';
import type { ThreadPreviewCursorSenderPhotoUrl } from './threadPreviewCursorSenderPhotoUrl';
import type { ThreadPreviewCursorSnippet } from './threadPreviewCursorSnippet';
import type { ThreadPreviewCursorViewedAt } from './threadPreviewCursorViewedAt';

/**
 * thread summary returned in preview cursor endpoint
 */
export interface ThreadPreviewCursor {
  attachments: Attachment[];
  createdAt: string;
  id: string;
  inboxVisible: boolean;
  isDraft: boolean;
  isImportant: boolean;
  isRead: boolean;
  name?: ThreadPreviewCursorName;
  ownerId: string;
  participants: Contact[];
  providerId?: ThreadPreviewCursorProviderId;
  senderEmail?: ThreadPreviewCursorSenderEmail;
  senderName?: ThreadPreviewCursorSenderName;
  senderPhotoUrl?: ThreadPreviewCursorSenderPhotoUrl;
  snippet?: ThreadPreviewCursorSnippet;
  sortTs: string;
  updatedAt: string;
  viewedAt?: ThreadPreviewCursorViewedAt;
}