Interface WaitForAIMessageOptions

Wait for the first qualifying email or SMS in chronological order, then assert and extract from that same message. since is required to avoid selecting messages from previous test runs. Rejected candidates and selected messages remain unread unless a legacy endpoint normally marks the returned message read.

Export

Interface

WaitForAIMessageOptions

Hierarchy

  • WaitForAIMessageOptions

Properties

Memberof

WaitForAIMessageOptions

assertions: AIMessageAssertion[]

Memberof

WaitForAIMessageOptions

before?: Date

Memberof

WaitForAIMessageOptions

emailMatchOptions?: MatchOptions

Memberof

WaitForAIMessageOptions

extractionPreset?: OTP_CODE

Built-in extraction schema. OTP_CODE returns data.code as a verbatim string, preserving leading zeros and letter case. Missing or equally eligible codes are INCONCLUSIVE.

Memberof

WaitForAIMessageOptions

instructions?: string

Memberof

WaitForAIMessageOptions

Memberof

WaitForAIMessageOptions

outputSchema?: StructuredOutputSchema

Memberof

WaitForAIMessageOptions

Memberof

WaitForAIMessageOptions

since: Date

Memberof

WaitForAIMessageOptions

smsMatchOptions?: SmsMatchOptions

Memberof

WaitForAIMessageOptions

Memberof

WaitForAIMessageOptions

timeout: number

Memberof

WaitForAIMessageOptions

transformId?: string

Memberof

WaitForAIMessageOptions

unreadOnly: boolean

Memberof

WaitForAIMessageOptions