InsightUserActionsActions
InsightUserActionsActions
This is for:
DeveloperThe Insight user actions action creators.
See Dispatch Actions.
Loader Function
loadInsightUserActionsActions
Loads the InsightUserActions
reducer and returns possible action creators.
Parameters
-
engine:
CoreEngine
The headless engine.
Returns InsightUserActionsActionCreators
: The Insight user actions action creators.
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[]