diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs
index 9a0ca19..b7b1c78 100644
--- a/riven/src/endpoints.rs
+++ b/riven/src/endpoints.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
+// Version 596ae582b11c95961b2f374729458d455ad59bbf
//! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)]
diff --git a/riven/src/meta.rs b/riven/src/meta.rs
index 29d6f39..441e258 100644
--- a/riven/src/meta.rs
+++ b/riven/src/meta.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
+// Version 596ae582b11c95961b2f374729458d455ad59bbf
//! Metadata about the Riot API and Riven.
//!
diff --git a/riven/src/models.rs b/riven/src/models.rs
index 9414b58..6402db2 100644
--- a/riven/src/models.rs
+++ b/riven/src/models.rs
@@ -8,7 +8,7 @@
///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/
-// Version 476b88d4eab4128e0842db0ab6ded999e00f6ae5
+// Version 596ae582b11c95961b2f374729458d455ad59bbf
#![allow(missing_docs)]
@@ -404,9 +404,9 @@ pub mod lol_challenges_v1 {
}
/// State data object.
/// # Description
- /// DISABLED - not visible and not calculated,
- /// HIDDEN - not visible, but calculated,
- /// ENABLED - visible and calculated,
+ /// DISABLED - not visible and not calculated,
+ /// HIDDEN - not visible, but calculated,
+ /// ENABLED - visible and calculated,
/// ARCHIVED - visible, but not calculated
///
/// Note: This struct is automatically generated
@@ -417,7 +417,7 @@ pub mod lol_challenges_v1 {
}
/// Tracking data object.
/// # Description
- /// LIFETIME - stats are incremented without reset,
+ /// LIFETIME - stats are incremented without reset,
/// SEASON - stats are accumulated by season and reset at the beginning of new season
///
/// Note: This struct is automatically generated
@@ -440,15 +440,15 @@ pub mod lol_challenges_v1 {
}
/// Level data object.
/// # Description
- /// 0 NONE,
- /// 1 IRON,
- /// 2 BRONZE,
- /// 3 SILVER,
- /// 4 GOLD,
- /// 5 PLATINUM,
- /// 6 DIAMOND,
- /// 7 MASTER,
- /// 8 GRANDMASTER,
+ /// 0 NONE,
+ /// 1 IRON,
+ /// 2 BRONZE,
+ /// 3 SILVER,
+ /// 4 GOLD,
+ /// 5 PLATINUM,
+ /// 6 DIAMOND,
+ /// 7 MASTER,
+ /// 8 GRANDMASTER,
/// 9 CHALLENGER
///
/// Note: This struct is automatically generated
@@ -1848,7 +1848,7 @@ pub mod match_v5 {
pub real_timestamp: Option,
#[serde(rename = "timestamp")]
pub timestamp: i32,
- /// Timeline event type.
+ /// Timeline event type.
/// (Known legal values: ASCENDED_EVENT, BUILDING_KILL, CAPTURE_POINT, CHAMPION_KILL, CHAMPION_SPECIAL_KILL, CHAMPION_TRANSFORM, DRAGON_SOUL_GIVEN, ELITE_MONSTER_KILL, GAME_END, ITEM_DESTROYED, ITEM_PURCHASED, ITEM_SOLD, ITEM_UNDO, LEVEL_UP, OBJECTIVE_BOUNTY_FINISH, OBJECTIVE_BOUNTY_PRESTART, PAUSE_END, PAUSE_START, SKILL_LEVEL_UP, TURRET_PLATE_DESTROYED, WARD_KILL, WARD_PLACED)
#[serde(rename = "type")]
pub r#type: String,
@@ -2331,7 +2331,7 @@ pub mod spectator_tft_v5 {
#[derive(serde::Serialize, serde::Deserialize)]
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct FeaturedGameInfo {
- /// The game mode
+ /// The game mode
/// (Legal values: TFT)
#[serde(rename = "gameMode")]
pub game_mode: crate::consts::GameMode,
@@ -2341,7 +2341,7 @@ pub mod spectator_tft_v5 {
/// The ID of the map
#[serde(rename = "mapId")]
pub map_id: crate::consts::Map,
- /// The game type
+ /// The game type
/// (Legal values: MATCHED)
#[serde(rename = "gameType")]
pub game_type: crate::consts::GameType,
@@ -2553,7 +2553,7 @@ pub mod spectator_v5 {
#[derive(serde::Serialize, serde::Deserialize)]
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct FeaturedGameInfo {
- /// The game mode
+ /// The game mode
/// (Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)
#[serde(rename = "gameMode")]
pub game_mode: crate::consts::GameMode,
@@ -2563,7 +2563,7 @@ pub mod spectator_v5 {
/// The ID of the map
#[serde(rename = "mapId")]
pub map_id: crate::consts::Map,
- /// The game type
+ /// The game type
/// (Legal values: CUSTOM_GAME, MATCHED_GAME, TUTORIAL_GAME)
#[serde(rename = "gameType")]
pub game_type: crate::consts::GameType,
@@ -2744,7 +2744,7 @@ pub mod tft_league_v1 {
pub summoner_id: String,
#[serde(rename = "queueType")]
pub queue_type: crate::consts::QueueType,
- /// Only included for the RANKED_TFT_TURBO queueType.
+ /// Only included for the RANKED_TFT_TURBO queueType.
/// (Legal values: ORANGE, PURPLE, BLUE, GREEN, GRAY)
#[serde(rename = "ratedTier")]
#[serde(skip_serializing_if = "Option::is_none")]
@@ -3257,15 +3257,15 @@ pub mod tournament_stub_v5 {
/// The team size of the game. Valid values are 1-5.
#[serde(rename = "teamSize")]
pub team_size: i32,
- /// The pick type of the game.
+ /// The pick type of the game.
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
#[serde(rename = "pickType")]
pub pick_type: String,
- /// The map type of the game.
+ /// The map type of the game.
/// (Legal values: SUMMONERS_RIFT, HOWLING_ABYSS)
#[serde(rename = "mapType")]
pub map_type: String,
- /// The spectator type of the game.
+ /// The spectator type of the game.
/// (Legal values: NONE, LOBBYONLY, ALL)
#[serde(rename = "spectatorType")]
pub spectator_type: String,
@@ -3308,7 +3308,7 @@ pub mod tournament_stub_v5 {
/// The tournament code's ID.
#[serde(rename = "id")]
pub id: i32,
- /// The tournament code's region.
+ /// The tournament code's region.
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR, KR)
#[serde(rename = "region")]
pub region: String,
@@ -3347,7 +3347,7 @@ pub mod tournament_stub_v5 {
#[derive(serde::Serialize, serde::Deserialize)]
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct ProviderRegistrationParametersV5 {
- /// The region in which the provider will be running tournaments.
+ /// The region in which the provider will be running tournaments.
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR, KR)
#[serde(rename = "region")]
pub region: String,
@@ -3391,15 +3391,15 @@ pub mod tournament_v5 {
/// The team size of the game. Valid values are 1-5.
#[serde(rename = "teamSize")]
pub team_size: i32,
- /// The pick type of the game.
+ /// The pick type of the game.
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
#[serde(rename = "pickType")]
pub pick_type: String,
- /// The map type of the game.
+ /// The map type of the game.
/// (Legal values: SUMMONERS_RIFT, HOWLING_ABYSS)
#[serde(rename = "mapType")]
pub map_type: String,
- /// The spectator type of the game.
+ /// The spectator type of the game.
/// (Legal values: NONE, LOBBYONLY, ALL)
#[serde(rename = "spectatorType")]
pub spectator_type: String,
@@ -3442,7 +3442,7 @@ pub mod tournament_v5 {
/// The tournament code's ID.
#[serde(rename = "id")]
pub id: i32,
- /// The tournament code's region.
+ /// The tournament code's region.
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR, KR, PH, SG, TH, TW, VN)
#[serde(rename = "region")]
pub region: String,
@@ -3462,15 +3462,15 @@ pub mod tournament_v5 {
#[serde(rename = "allowedParticipants")]
#[serde(skip_serializing_if = "Option::is_none")]
pub allowed_participants: Option>,
- /// The pick type
+ /// The pick type
/// (Legal values: BLIND_PICK, DRAFT_MODE, ALL_RANDOM, TOURNAMENT_DRAFT)
#[serde(rename = "pickType")]
pub pick_type: String,
- /// The map type
+ /// The map type
/// (Legal values: SUMMONERS_RIFT, HOWLING_ABYSS)
#[serde(rename = "mapType")]
pub map_type: String,
- /// The spectator type
+ /// The spectator type
/// (Legal values: NONE, LOBBYONLY, ALL)
#[serde(rename = "spectatorType")]
pub spectator_type: String,
@@ -3543,7 +3543,7 @@ pub mod tournament_v5 {
#[derive(serde::Serialize, serde::Deserialize)]
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct ProviderRegistrationParametersV5 {
- /// The region in which the provider will be running tournaments.
+ /// The region in which the provider will be running tournaments.
/// (Legal values: BR, EUNE, EUW, JP, LAN, LAS, NA, OCE, PBE, RU, TR, KR, PH, SG, TH, TW, VN)
#[serde(rename = "region")]
pub region: String,
@@ -3751,6 +3751,15 @@ pub mod val_match_v1 {
pub is_ranked: bool,
#[serde(rename = "seasonId")]
pub season_id: String,
+ #[serde(rename = "gameVersion")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub game_version: Option,
+ #[serde(rename = "region")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub region: Option,
+ #[serde(rename = "premierMatchInfo")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub premier_match_info: Option>,
}
/// Player data object.
#[derive(Clone, Debug)]
@@ -3777,6 +3786,12 @@ pub mod val_match_v1 {
pub player_card: String,
#[serde(rename = "playerTitle")]
pub player_title: String,
+ #[serde(rename = "isObserver")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub is_observer: Option,
+ #[serde(rename = "accountLevel")]
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub account_level: Option,
}
/// PlayerStats data object.
#[derive(Clone, Debug)]
@@ -3796,7 +3811,8 @@ pub mod val_match_v1 {
#[serde(rename = "playtimeMillis")]
pub playtime_millis: i32,
#[serde(rename = "abilityCasts")]
- pub ability_casts: AbilityCasts,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub ability_casts: Option,
}
/// AbilityCasts data object.
#[derive(Clone, Debug)]
@@ -3855,14 +3871,17 @@ pub mod val_match_v1 {
pub winning_team: String,
/// PUUID of player
#[serde(rename = "bombPlanter")]
- pub bomb_planter: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub bomb_planter: Option,
/// PUUID of player
#[serde(rename = "bombDefuser")]
- pub bomb_defuser: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub bomb_defuser: Option,
#[serde(rename = "plantRoundTime")]
pub plant_round_time: i32,
#[serde(rename = "plantPlayerLocations")]
- pub plant_player_locations: std::vec::Vec,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub plant_player_locations: Option>,
#[serde(rename = "plantLocation")]
pub plant_location: Location,
#[serde(rename = "plantSite")]
@@ -3870,7 +3889,8 @@ pub mod val_match_v1 {
#[serde(rename = "defuseRoundTime")]
pub defuse_round_time: i32,
#[serde(rename = "defusePlayerLocations")]
- pub defuse_player_locations: std::vec::Vec,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub defuse_player_locations: Option>,
#[serde(rename = "defuseLocation")]
pub defuse_location: Location,
#[serde(rename = "playerStats")]
@@ -3994,13 +4014,17 @@ pub mod val_match_v1 {
#[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))]
pub struct Ability {
#[serde(rename = "grenadeEffects")]
- pub grenade_effects: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub grenade_effects: Option,
#[serde(rename = "ability1Effects")]
- pub ability1_effects: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub ability1_effects: Option,
#[serde(rename = "ability2Effects")]
- pub ability2_effects: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub ability2_effects: Option,
#[serde(rename = "ultimateEffects")]
- pub ultimate_effects: String,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub ultimate_effects: Option,
}
/// Matchlist data object.
#[derive(Clone, Debug)]