import type { NotificationRecipients } from './notificationRecipients';
import type { NotificationRecipientsRestrictions } from './notificationRecipientsRestrictions';

/** Details about a notification. */
export interface Notification {
  /** The HTML body of the email notification for the issue. */
  htmlBody?: string;
  restrict?: NotificationRecipientsRestrictions;
  /**
   * The subject of the email notification for the issue. If this is not specified, then the subject is set to the issue
   * key and summary.
   */
  subject?: string;
  /** The plain text body of the email notification for the issue. */
  textBody?: string;
  to?: NotificationRecipients;
}
