/**
 * Resend Types
 *
 * Type definitions for Resend email configuration and API operations.
 */

// ============================================================================
// SENDER CONFIGURATION
// ============================================================================

/**
 * Email sender configuration for Resend
 *
 * Used by workflows to configure email sending with consistent
 * from address, reply-to, and signature across all emails.
 *
 * @example
 * ```typescript
 * const EMAIL: ResendEmailConfig = {
 *   senderName: 'Alex from Elevasis',
 *   senderEmail: 'hello@mail.elevasis.io',
 *   replyTo: 'alexl@elevasis.io',
 *   senderSignature: 'Best,\nAlex'
 * }
 * ```
 */
export interface ResendEmailConfig {
  /** Display name for sender (e.g., "Alex from Elevasis") */
  senderName: string
  /** Email address only (e.g., "hello@mail.elevasis.io") */
  senderEmail: string
  /** Reply-To address for responses (e.g., real inbox) */
  replyTo: string
  /** Email signature for body content */
  senderSignature: string
  /** BCC address for archiving sent emails */
  bcc?: string
}

// ============================================================================
// API TYPES (re-exported)
// ============================================================================

export * from './fetch/utils/types'
