InsightUserActionsActions
InsightUserActionsActions
This is for:
DeveloperIn this article
See Dispatch Actions.
Loader Function
loadInsightUserActionsActions
Loads the InsightUserActions
reducer and returns possible action creators.
Parameters
-
engine:
CoreEngine
The headless engine.
Returns InsightUserActionsActionCreators
InsightUserActionsActionCreators
fetchUserActions
Fetches the user actions.
Parameters
-
userId:
string
The user ID to fetch actions for.
Returns AsyncThunkAction<FetchUserActionsThunkReturn, string, AsyncThunkInsightOptions<StateNeededByFetchUserActions>>
: A dispatchable action.
registerUserActions
Registers the user actions for a given user ID, ticket creation date, and excluded custom actions.
Parameters
-
payload:
RegisterUserActionsPayload
The action creator payload.
Returns PayloadAction<RegisterUserActionsPayload>
: A dispatchable action.
Related Types
RegisterUserActionsPayload
Properties
-
ticketCreationDate:
string
-
excludedCustomActions?:
string[]