CaseInputActions
CaseInputActions
In this article
The case inputs action creators.
See Dispatch Actions.
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
-
payload:
SetCaseInputActionCreatorPayload
The action creator payload.
Returns PayloadAction<SetCaseInputActionCreatorPayload>
: A dispatchable action.
Related Types
SetCaseInputActionCreatorPayload
Properties
-
fieldName:
string
The name of the field whose value is being updated (for example, subject, description, product, category).
-
fieldValue:
string
The value to set in the state.