You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
StateUpdateAction
export type StateUpdateAction = {
addRoles?: InputMaybe<AddStateRoles>;
changeInitial?: InputMaybe<ChangeStateInitial>;
changeKey?: InputMaybe<ChangeStateKey>;
changeType?: InputMaybe<ChangeStateType>;
removeRoles?: InputMaybe<RemoveStateRoles>;
setDescription?: InputMaybe<SetStateDescription>;
setName?: InputMaybe<SetStateName>;
setRoles?: InputMaybe<SetStateRoles>;
setTransitions?: InputMaybe<SetStateTransitions>;
};