Skip to content

AiAssistantValueType ​

Enum defining the types of content that can be processed by AI assistants.

typescript
enum AiAssistantValueType

Description ​

AiAssistantValueType identifies different types of email content that AI assistants can generate, modify, or optimize. This enum is used when integrating external AI services to specify what type of content is being processed, allowing the AI to apply appropriate generation strategies and constraints.

Import ​

typescript
import { AiAssistantValueType } from '@stripoinc/ui-editor-extensions';

Enum Values ​

SUBJECT ​

Email subject line content.

typescript
SUBJECT = 'subject'

HIDDEN_PREHEADER ​

Hidden preheader text that appears in email previews.

typescript
HIDDEN_PREHEADER = 'hiddenPreheader'

Purpose: AI generation of preview text shown in inbox listings.


TEXT_BLOCK ​

Body text content within email blocks.

typescript
TEXT_BLOCK = 'textBlock'

Purpose: AI generation and enhancement of email body content.