CaseInputActions

This is for:

Developer

The case inputs action creators.

Loader Function

loadCaseInputActions

Loads the case inputs reducer and returns possible action creators.

Parameters

  • engine: CaseAssistEngine

    The headless engine.

Returns CaseInputActionCreators: The case inputs action creators.

CaseInputActionCreators

updateCaseInput

Adds or updates the state caseInputs with the specified field and value.

Parameters

Returns PayloadAction<SetCaseInputActionCreatorPayload>: A dispatchable action.

SetCaseInputActionCreatorPayload

Properties

  • fieldName: string

    The name of the field whose value is being updated (e.g., subject, description, product, category).

  • fieldValue: string

    The value to set in the state.