diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs
index 85ca0e1..83466f4 100644
--- a/riven/src/endpoints.rs
+++ b/riven/src/endpoints.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 48735a0c9d1c521d94a20ff0b0b9dc927ab430ca
+// Version ba7699aed741222f2431e1f3e4ba42c3ac302510
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
@@ -171,6 +171,15 @@ impl RiotApi {
pub fn spectator_v4(&self) -> SpectatorV4 {
SpectatorV4 { base: self }
}
+ /// Returns a handle for accessing [SpectatorV5](crate::endpoints::SpectatorV5) endpoints.
+ /// # Riot Developer API Reference
+ /// `spectator-v5`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn spectator_v5(&self) -> SpectatorV5 {
+ SpectatorV5 { base: self }
+ }
/// Returns a handle for accessing [SummonerV4](crate::endpoints::SummonerV4) endpoints.
/// # Riot Developer API Reference
/// `summoner-v4`
@@ -1271,6 +1280,55 @@ impl<'a> SpectatorV4<'a> {
}
+/// SpectatorV5 endpoints handle, accessed by calling [`spectator_v5()`](crate::RiotApi::spectator_v5) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `spectator-v5`
+///
+/// Note: this struct is automatically generated.
+#[repr(transparent)]
+pub struct SpectatorV5<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> SpectatorV5<'a> {
+ /// Get current game information for the given puuid.
+ /// # Parameters
+ /// * `route` - Route to query.
+ /// * `encrypted_puuid` (required, in path) - The puuid of the summoner.
+ /// # Riot Developer API Reference
+ /// `spectator-v5.getCurrentGameInfoByPuuid`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_current_game_info_by_puuid(&self, route: PlatformRoute, encrypted_puuid: &str)
+ -> impl Future