diff --git a/src/Internal/Api/GetEvent/Main.elm b/src/Internal/Api/GetEvent/Main.elm index 2585239..400332e 100644 --- a/src/Internal/Api/GetEvent/Main.elm +++ b/src/Internal/Api/GetEvent/Main.elm @@ -20,6 +20,7 @@ getEvent context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/Invite/Main.elm b/src/Internal/Api/Invite/Main.elm index bcfcd31..57be652 100644 --- a/src/Internal/Api/Invite/Main.elm +++ b/src/Internal/Api/Invite/Main.elm @@ -35,6 +35,7 @@ invite context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/JoinRoomById/Main.elm b/src/Internal/Api/JoinRoomById/Main.elm index 94052e9..cb415bc 100644 --- a/src/Internal/Api/JoinRoomById/Main.elm +++ b/src/Internal/Api/JoinRoomById/Main.elm @@ -31,6 +31,7 @@ joinRoomById context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/JoinedMembers/Main.elm b/src/Internal/Api/JoinedMembers/Main.elm index 859a317..69e19fd 100644 --- a/src/Internal/Api/JoinedMembers/Main.elm +++ b/src/Internal/Api/JoinedMembers/Main.elm @@ -31,6 +31,7 @@ joinedMembers context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/Leave/Main.elm b/src/Internal/Api/Leave/Main.elm index 97f0d18..f3e0547 100644 --- a/src/Internal/Api/Leave/Main.elm +++ b/src/Internal/Api/Leave/Main.elm @@ -34,6 +34,7 @@ leave context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/LoginWithUsernameAndPassword/Main.elm b/src/Internal/Api/LoginWithUsernameAndPassword/Main.elm index 4489cb3..c05a76d 100644 --- a/src/Internal/Api/LoginWithUsernameAndPassword/Main.elm +++ b/src/Internal/Api/LoginWithUsernameAndPassword/Main.elm @@ -13,6 +13,7 @@ loginWithUsernameAndPassword context input = { current = Api.loginWithUsernameAndPasswordV1 , version = "v1.5" } + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/Redact/Main.elm b/src/Internal/Api/Redact/Main.elm index 90c35ea..90dd2d4 100644 --- a/src/Internal/Api/Redact/Main.elm +++ b/src/Internal/Api/Redact/Main.elm @@ -31,6 +31,7 @@ redact context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/SendMessageEvent/Main.elm b/src/Internal/Api/SendMessageEvent/Main.elm index 2b727ba..efaf4ad 100644 --- a/src/Internal/Api/SendMessageEvent/Main.elm +++ b/src/Internal/Api/SendMessageEvent/Main.elm @@ -31,6 +31,7 @@ sendMessageEvent context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/SendStateKey/Main.elm b/src/Internal/Api/SendStateKey/Main.elm index 47c17cb..6871b1d 100644 --- a/src/Internal/Api/SendStateKey/Main.elm +++ b/src/Internal/Api/SendStateKey/Main.elm @@ -31,6 +31,7 @@ sendStateKey context input = |> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input diff --git a/src/Internal/Api/Sync/Main.elm b/src/Internal/Api/Sync/Main.elm index 2705440..3fa1c8e 100644 --- a/src/Internal/Api/Sync/Main.elm +++ b/src/Internal/Api/Sync/Main.elm @@ -24,6 +24,7 @@ sync context input = , version = "v1.4" } |> VC.sameForVersion "v1.5" + |> VC.sameForVersion "v1.6" |> VC.mostRecentFromVersionList (Context.getVersions context) |> Maybe.withDefault (always <| always <| Task.fail X.UnsupportedSpecVersion) |> (|>) input