InsightUserActionsActions

This is for:

Developer

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

Returns PayloadAction<RegisterUserActionsPayload>: A dispatchable action.

RegisterUserActionsPayload

Properties

  • ticketCreationDate: string

  • excludedCustomActions?: string[]