diff --git a/src/Internal/Api/SendStateKey/Api.elm b/src/Internal/Api/SendStateKey/Api.elm index 2a91f03..eba7938 100644 --- a/src/Internal/Api/SendStateKey/Api.elm +++ b/src/Internal/Api/SendStateKey/Api.elm @@ -16,6 +16,7 @@ type alias SendStateKeyInputV1 = , stateKey : String } + type alias SendStateKeyOutputV1 = Task X.Error SO1.EventResponse diff --git a/src/Internal/Api/SendStateKey/Main.elm b/src/Internal/Api/SendStateKey/Main.elm index 4a97703..7099dc7 100644 --- a/src/Internal/Api/SendStateKey/Main.elm +++ b/src/Internal/Api/SendStateKey/Main.elm @@ -10,25 +10,25 @@ sendStateKey versions = { current = Api.sendStateKeyV1 , version = "r0.0.0" } - |> VC.sameForVersion "r0.0.1" - |> VC.sameForVersion "r0.1.0" - |> VC.sameForVersion "r0.2.0" - |> VC.sameForVersion "r0.3.0" - |> VC.sameForVersion "r0.4.0" - |> VC.sameForVersion "r0.5.0" - |> VC.sameForVersion "r0.6.0" - |> VC.sameForVersion "r0.6.1" - |> VC.addMiddleLayer - { downcast = identity - , current = Api.sendStateKeyV2 - , upcast = identity - , version = "v1.1" - } - |> VC.sameForVersion "v1.2" - |> VC.sameForVersion "v1.3" - |> VC.sameForVersion "v1.4" - |> VC.sameForVersion "v1.5" - |> VC.mostRecentFromVersionList versions + |> VC.sameForVersion "r0.0.1" + |> VC.sameForVersion "r0.1.0" + |> VC.sameForVersion "r0.2.0" + |> VC.sameForVersion "r0.3.0" + |> VC.sameForVersion "r0.4.0" + |> VC.sameForVersion "r0.5.0" + |> VC.sameForVersion "r0.6.0" + |> VC.sameForVersion "r0.6.1" + |> VC.addMiddleLayer + { downcast = identity + , current = Api.sendStateKeyV2 + , upcast = identity + , version = "v1.1" + } + |> VC.sameForVersion "v1.2" + |> VC.sameForVersion "v1.3" + |> VC.sameForVersion "v1.4" + |> VC.sameForVersion "v1.5" + |> VC.mostRecentFromVersionList versions type alias SendStateKeyInput =