diff --git a/riven/src/consts/champion.rs b/riven/src/consts/champion.rs
index 3bf6000..7c8fc22 100644
--- a/riven/src/consts/champion.rs
+++ b/riven/src/consts/champion.rs
@@ -28,6 +28,7 @@ newtype_enum! {
/// `APHELIOS` | "Aphelios" | "Aphelios" | 523
/// `ASHE` | "Ashe" | "Ashe" | 22
/// `AURELION_SOL` | "Aurelion Sol" | "AurelionSol" | 136
+ /// `AURORA` | "Aurora" | "Aurora" | 893
/// `AZIR` | "Azir" | "Azir" | 268
/// `BARD` | "Bard" | "Bard" | 432
/// `BEL_VETH` | "Bel'Veth" | "Belveth" | 200
@@ -210,6 +211,8 @@ newtype_enum! {
ASHE = 22,
/// `136`.
AURELION_SOL = 136,
+ /// `893`.
+ AURORA = 893,
/// `268`.
AZIR = 268,
/// `432`.
@@ -540,6 +543,7 @@ impl Champion {
Self::APHELIOS => Some("Aphelios"),
Self::ASHE => Some("Ashe"),
Self::AURELION_SOL => Some("Aurelion Sol"),
+ Self::AURORA => Some("Aurora"),
Self::AZIR => Some("Azir"),
Self::BARD => Some("Bard"),
Self::BEL_VETH => Some("Bel'Veth"),
@@ -731,6 +735,7 @@ impl Champion {
Self::APHELIOS => Some("Aphelios"),
Self::ASHE => Some("Ashe"),
Self::AURELION_SOL => Some("AurelionSol"),
+ Self::AURORA => Some("Aurora"),
Self::AZIR => Some("Azir"),
Self::BARD => Some("Bard"),
Self::BEL_VETH => Some("Belveth"),
@@ -952,6 +957,7 @@ impl std::str::FromStr for Champion {
/* APHE */ [ 'A', 'P', 'H', 'E'] => Ok(Champion::APHELIOS),
/* ASHE */ [ 'A', 'S', 'H', 'E'] => Ok(Champion::ASHE),
/* AURE */ [ 'A', 'U', 'R', 'E'] => Ok(Champion::AURELION_SOL),
+ /* AURO */ [ 'A', 'U', 'R', 'O'] => Ok(Champion::AURORA),
/* AZIR */ [ 'A', 'Z', 'I', 'R'] => Ok(Champion::AZIR),
/* BARD */ [ 'B', 'A', 'R', 'D'] => Ok(Champion::BARD),
/* BELV */ [ 'B', 'E', 'L', 'V'] => Ok(Champion::BEL_VETH),
diff --git a/riven/src/consts/route.rs b/riven/src/consts/route.rs
index 9e61c21..7be3153 100644
--- a/riven/src/consts/route.rs
+++ b/riven/src/consts/route.rs
@@ -103,6 +103,12 @@ pub enum PlatformRoute {
#[strum(to_string="LA2", serialize="LAS")]
LA2 = 22,
+ /// Middle East and North Africa.
+ ///
+ /// `37` (riotapi-schema ID/repr)
+ #[strum(to_string="ME1", serialize="MENA")]
+ ME1 = 37,
+
/// North America.
///
/// `23` (riotapi-schema ID/repr)
@@ -177,6 +183,7 @@ impl PlatformRoute {
Self::KR => RegionalRoute::ASIA,
Self::LA1 => RegionalRoute::AMERICAS,
Self::LA2 => RegionalRoute::AMERICAS,
+ Self::ME1 => RegionalRoute::EUROPE,
Self::NA1 => RegionalRoute::AMERICAS,
Self::OC1 => RegionalRoute::SEA,
Self::PH2 => RegionalRoute::SEA,
@@ -202,6 +209,7 @@ impl PlatformRoute {
Self::KR => RegionalRoute::ASIA,
Self::LA1 => RegionalRoute::AMERICAS,
Self::LA2 => RegionalRoute::AMERICAS,
+ Self::ME1 => RegionalRoute::EUROPE,
Self::NA1 => RegionalRoute::AMERICAS,
Self::OC1 => RegionalRoute::SEA,
Self::PH2 => RegionalRoute::SEA,
@@ -249,6 +257,7 @@ impl PlatformRoute {
Self::JP1 => "JP",
Self::LA1 => "LAN",
Self::LA2 => "LAS",
+ Self::ME1 => "MENA",
Self::NA1 => "NA",
Self::OC1 => "OCE",
Self::PH2 => "PH",
diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs
index f454e5c..9097160 100644
--- a/riven/src/endpoints.rs
+++ b/riven/src/endpoints.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 3c0bd6b3aee83b97e90e7c93c5ef563b7ddfbb11
+// Version 8096d0e7127558ddf4df50a0227b4100b5d54a2f
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
@@ -234,6 +234,15 @@ impl RiotApi {
pub fn tournament_v5(&self) -> TournamentV5 {
TournamentV5 { base: self }
}
+ /// Returns a handle for accessing [ValConsoleMatchV1](crate::endpoints::ValConsoleMatchV1) endpoints.
+ /// # Riot Developer API Reference
+ /// `val-console-match-v1`
+ ///
+ /// Note: this method is automatically generated.
+ #[inline]
+ pub fn val_console_match_v1(&self) -> ValConsoleMatchV1 {
+ ValConsoleMatchV1 { base: self }
+ }
/// Returns a handle for accessing [ValContentV1](crate::endpoints::ValContentV1) endpoints.
/// # Riot Developer API Reference
/// `val-content-v1`
@@ -2021,6 +2030,79 @@ impl<'a> TournamentV5<'a> {
}
+/// ValConsoleMatchV1 endpoints handle, accessed by calling [`val_console_match_v1()`](crate::RiotApi::val_console_match_v1) on a [`RiotApi`](crate::RiotApi) instance.
+/// # Riot Developer API Reference
+/// `val-console-match-v1`
+///
+/// Note: this struct is automatically generated.
+#[repr(transparent)]
+pub struct ValConsoleMatchV1<'a> {
+ base: &'a RiotApi,
+}
+impl<'a> ValConsoleMatchV1<'a> {
+ /// Get match by id
+ /// # Parameters
+ /// * `route` - Route to query.
+ /// * `match_id` (required, in path)
+ /// # Riot Developer API Reference
+ /// `val-console-match-v1.getMatch`
+ ///
+ /// Note: this method is automatically generated.
+ pub fn get_match(&self, route: ValPlatformRoute, match_id: &str)
+ -> impl Future