Skip to content

TSActionEventOptions

Options for reporting an action event via triggerAction().

Properties

correlationId

Optional correlationId: string

Any ID that could help relate the action with external context or session


claimedUserId

Optional claimedUserId: string

User ID of the not yet authenticated user, used to enhance risk and trust assessments. Should not contain any sensitive data in plain text. Once the user is authenticated, setAuthenticatedUser() should be called.


claimedUserIdType

Optional claimedUserIdType: TSClaimedUserIdType

The type of the claimed user ID (for example, email, username, or phone number). Helps Mosaic correctly interpret and correlate the identifier across sessions.


claimUserId

Optional Deprecated claimUserId: string

Use claimedUserId instead. This property is kept for backward compatibility and will be removed in a future version.


referenceUserId

Optional referenceUserId: string

A secondary user identifier that can help correlate the action with an internal reference


transactionData

Optional transactionData: TSTransactionData

Transaction data-points object for transaction monitoring