restoreStrategyVersion
Make a version of a strategy the active one again: a new latest version with its content, through the same checks as updateStrategy. The manual revert path an assistant change's undo reuses (T-P2-RC-02). A version that is already the latest is returned as it is.
With undoOf, the restore IS the undo of that assistant change
(T-P6-CHAT-02): id must be the version the change was applied to, and the
server records the change as undone. It is refused with
CHAT_UNDO_ALREADY_DONE when the change was undone already,
CHAT_UNDO_SUPERSEDED when a later change replaced the version it produced,
and CHAT_UNDO_NOT_AVAILABLE when it has no undo. Undo cannot reverse
backtests already run or orders a running bot placed.
restoreStrategyVersion(
id: ID!
undoOf: AssistantChangeRef
): Strategy!