diff --git a/src/consts/champion.rs b/src/consts/champion.rs
index 31da2ba..7cd5d6a 100644
--- a/src/consts/champion.rs
+++ b/src/consts/champion.rs
@@ -310,6 +310,8 @@ pub enum Champion {
#[strum(to_string="Xin Zhao", serialize="XinZhao")] XinZhao = 5,
/// Yasuo (`Yasuo`, 157).
#[strum(to_string="Yasuo", serialize="Yasuo")] Yasuo = 157,
+ /// Yone (`Yone`, 777).
+ #[strum(to_string="Yone", serialize="Yone")] Yone = 777,
/// Yorick (`Yorick`, 83).
#[strum(to_string="Yorick", serialize="Yorick")] Yorick = 83,
/// Yuumi (`Yuumi`, 350).
@@ -495,6 +497,7 @@ impl Champion {
Self::Xerath => "Xerath",
Self::XinZhao => "XinZhao",
Self::Yasuo => "Yasuo",
+ Self::Yone => "Yone",
Self::Yorick => "Yorick",
Self::Yuumi => "Yuumi",
Self::Zac => "Zac",
diff --git a/src/endpoints.rs b/src/endpoints.rs
index f891aed..601a1fc 100644
--- a/src/endpoints.rs
+++ b/src/endpoints.rs
@@ -7,7 +7,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version af29e140a03aabbd77664b926746eecaae877d2b
+// Version d1d3a7a4176fd7b1ca98b43811dbe6ac3951b9b6
//! Automatically generated endpoint handles.
@@ -23,6 +23,15 @@ use crate::consts::Region;
use crate::riot_api::RiotApi;
impl RiotApi {
+ /// Returns a handle for accessing [AccountV1](crate::endpoints::AccountV1) endpoints.
+ /// # Riot Developer API Reference
+ /// `account-v1`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn account_v1(&self) -> AccountV1 {
+ AccountV1 { base: self }
+ }
/// Returns a handle for accessing [ChampionMasteryV4](crate::endpoints::ChampionMasteryV4) endpoints.
/// # Riot Developer API Reference
/// `champion-mastery-v4`
@@ -187,6 +196,64 @@ impl RiotApi {
}
}
+/// AccountV1 endpoints handle, accessed by calling [`account_v1()`](crate::RiotApi::account_v1) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `account-v1`
+///
+/// Note: this struct is automatically generated.
+pub struct AccountV1<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> AccountV1<'a> {
+ /// Get account by puuid
+ /// # Parameters
+ /// * `region` - Region to query.
+ /// * `puuid`
+ /// # Riot Developer API Reference
+ /// `account-v1.getByPuuid`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_by_puuid(&self, region: Region, puuid: &str)
+ -> impl Future