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.3 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * email_service
 * OpenAPI spec version: 0.1.0
 */
import type { AttachmentForwardedFilename } from './attachmentForwardedFilename';
import type { AttachmentForwardedMimeType } from './attachmentForwardedMimeType';
import type { AttachmentForwardedProviderAttachmentId } from './attachmentForwardedProviderAttachmentId';
import type { AttachmentForwardedSizeBytes } from './attachmentForwardedSizeBytes';

/**
 * A forwarded attachment linking a draft to an original message's attachment.
Data is fetched from Gmail at send time rather than stored in S3.
 */
export interface AttachmentForwarded {
  /** The UUID of the original attachment in email_attachments. */
  attachment_id: string;
  /** The ID of the draft message this forwarded attachment belongs to. */
  draft_id: string;
  /** Original file name of the attachment. */
  filename?: AttachmentForwardedFilename;
  /** The Gmail message ID of the original message containing the attachment. */
  message_provider_id: string;
  /** MIME type of the attachment. */
  mime_type?: AttachmentForwardedMimeType;
  /** The Gmail attachment ID for fetching data from Gmail API. */
  provider_attachment_id?: AttachmentForwardedProviderAttachmentId;
  /** File size in bytes. */
  size_bytes?: AttachmentForwardedSizeBytes;
}