diff --git a/riven/src/endpoints.rs b/riven/src/endpoints.rs index 61d697c..022d9b2 100644 --- a/riven/src/endpoints.rs +++ b/riven/src/endpoints.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c +// Version 330285a83d1e8c4a3a619734dc2204446fb16cff //! 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 9fab506..1465420 100644 --- a/riven/src/meta.rs +++ b/riven/src/meta.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c +// Version 330285a83d1e8c4a3a619734dc2204446fb16cff //! Metadata about the Riot API and Riven. //! diff --git a/riven/src/models.rs b/riven/src/models.rs index b439d59..4a70fee 100644 --- a/riven/src/models.rs +++ b/riven/src/models.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version bee23b178b4c4f077a377d7b60fd9861e31ed63c +// Version 330285a83d1e8c4a3a619734dc2204446fb16cff #![allow(missing_docs)] @@ -403,9 +403,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 @@ -416,7 +416,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 @@ -439,15 +439,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 @@ -1790,6 +1790,9 @@ pub mod match_v5 { #[serde(rename = "twentyMinionsIn3SecondsCount")] #[serde(skip_serializing_if = "Option::is_none")] pub twenty_minions_in3_seconds_count: Option, + #[serde(rename = "twoWardsOneSweeperCount")] + #[serde(skip_serializing_if = "Option::is_none")] + pub two_wards_one_sweeper_count: Option, #[serde(rename = "unseenRecalls")] #[serde(skip_serializing_if = "Option::is_none")] pub unseen_recalls: Option, @@ -1819,7 +1822,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, PAUSE_END, PAUSE_START, SKILL_LEVEL_UP, TURRET_PLATE_DESTROYED, WARD_KILL, WARD_PLACED) #[serde(rename = "type")] pub r#type: String, @@ -2292,7 +2295,7 @@ pub mod spectator_v4 { #[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, @@ -2302,7 +2305,7 @@ pub mod spectator_v4 { /// 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, @@ -2481,7 +2484,7 @@ pub mod tft_league_v1 { pub summoner_name: 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")] @@ -2869,15 +2872,15 @@ pub mod tournament_stub_v4 { /// 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, TWISTED_TREELINE, 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, @@ -2910,7 +2913,7 @@ pub mod tournament_stub_v4 { #[derive(serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))] pub struct ProviderRegistrationParameters { - /// 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) #[serde(rename = "region")] pub region: crate::consts::TournamentRegion, @@ -2954,15 +2957,15 @@ pub mod tournament_v4 { /// 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, TWISTED_TREELINE, 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, @@ -3002,7 +3005,7 @@ pub mod tournament_v4 { /// 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) #[serde(rename = "region")] pub region: String, @@ -3022,15 +3025,15 @@ pub mod tournament_v4 { #[serde(rename = "allowedSummonerIds")] #[serde(skip_serializing_if = "Option::is_none")] pub allowed_summoner_ids: 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, TWISTED_TREELINE, 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, @@ -3063,7 +3066,7 @@ pub mod tournament_v4 { #[derive(serde::Serialize, serde::Deserialize)] #[cfg_attr(feature = "deny-unknown-fields", serde(deny_unknown_fields))] pub struct ProviderRegistrationParameters { - /// 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) #[serde(rename = "region")] pub region: crate::consts::TournamentRegion, diff --git a/riven/tests/tests_asia_jp.rs b/riven/tests/tests_asia_jp.rs index 8cb8e89..cf0b377 100644 --- a/riven/tests/tests_asia_jp.rs +++ b/riven/tests/tests_asia_jp.rs @@ -32,6 +32,8 @@ static MATCHES: &[&str] = &[ "JP1_273343663", // Only has participant IDs for blue team. "JP1_391732436", + // New field `ParticipantChallenges` `twoWardsOneSweeperCount` + "JP1_397348569", ]; async_tests! {