Packages@robojs/mock
RecordedAction
Interface: RecordedAction
Recorded action from bot (for test assertions)
Properties
| Property | Type | Description |
|---|---|---|
data | unknown | Full payload data |
endpoint? | string | For REST actions: endpoint path (e.g., "POST /channels/123/messages") |
id | string | Unique action ID |
interactionId? | string | For interaction responses: the interaction ID |
metadata? | ActionMetadata | Optional metadata for tracing and orchestration. Used by external systems (like Disgraph) to correlate actions with their domain concepts (nodes, steps, scenarios). |
method? | string | For REST actions: HTTP method |
responseType? | number | For interaction responses: the response type |
timestamp | number | Unix timestamp in milliseconds |
triggeredBy? | string | ID of the event that triggered this action (for causal tracking) |
type | ActionType | Action type classification |
