diff --git a/api/api.go b/api/api.go index 2de9b88..94d8c46 100644 --- a/api/api.go +++ b/api/api.go @@ -9,7 +9,7 @@ package api // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "errors" diff --git a/api/constants.go b/api/constants.go index 1f6f008..0464797 100644 --- a/api/constants.go +++ b/api/constants.go @@ -8,7 +8,7 @@ package api // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // Regional routes, used in tournament services, Legends of Runeterra, and some other endpoints. type RegionalRoute string diff --git a/clients/lol/client.go b/clients/lol/client.go index 862c04a..307ac17 100644 --- a/clients/lol/client.go +++ b/clients/lol/client.go @@ -23,7 +23,7 @@ package lol // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import "github.com/Kyagara/equinox/v2/internal" diff --git a/clients/lol/constants.go b/clients/lol/constants.go index 762d74e..2825a57 100644 --- a/clients/lol/constants.go +++ b/clients/lol/constants.go @@ -10,7 +10,7 @@ import "strconv" // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // Platform routes for League of Legends. type PlatformRoute string diff --git a/clients/lol/endpoints.go b/clients/lol/endpoints.go index 101ba5e..c06b0b7 100644 --- a/clients/lol/endpoints.go +++ b/clients/lol/endpoints.go @@ -8,7 +8,7 @@ package lol // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "context" diff --git a/clients/lol/models.go b/clients/lol/models.go index 0008d8c..fc92770 100644 --- a/clients/lol/models.go +++ b/clients/lol/models.go @@ -8,7 +8,7 @@ package lol // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // lol-challenges-v1.ApexPlayerInfoDto type ChallengesApexPlayerInfoV1DTO struct { @@ -85,7 +85,8 @@ type ChampionMasteryNextSeasonMilestonesV4DTO struct { // Reward configuration. RewardConfig ChampionMasteryRewardConfigV4DTO `json:"rewardConfig,omitempty"` // Reward marks. - RewardMarks int32 `json:"rewardMarks,omitempty"` + RewardMarks int32 `json:"rewardMarks,omitempty"` + TotalGamesRequires int32 `json:"totalGamesRequires,omitempty"` // Bonus. Bonus bool `json:"bonus,omitempty"` } @@ -382,6 +383,16 @@ type MatchChallengesV5DTO struct { StealthWardsPlaced int32 `json:"stealthWardsPlaced,omitempty"` SurvivedSingleDigitHpCount int32 `json:"survivedSingleDigitHpCount,omitempty"` SurvivedThreeImmobilizesInFight int32 `json:"survivedThreeImmobilizesInFight,omitempty"` + SwarmDefeatAatrox int32 `json:"SWARM_DefeatAatrox,omitempty"` + SwarmDefeatBriar int32 `json:"SWARM_DefeatBriar,omitempty"` + SwarmDefeatMiniBosses int32 `json:"SWARM_DefeatMiniBosses,omitempty"` + SwarmEvolveWeapon int32 `json:"SWARM_EvolveWeapon,omitempty"` + SwarmHave3Passives int32 `json:"SWARM_Have3Passives,omitempty"` + SwarmKillEnemy int32 `json:"SWARM_KillEnemy,omitempty"` + SwarmPickupGold int32 `json:"SWARM_PickupGold,omitempty"` + SwarmReachLevel50 int32 `json:"SWARM_ReachLevel50,omitempty"` + SwarmSurvive15Min int32 `json:"SWARM_Survive15Min,omitempty"` + SwarmWinWith5EvolvedWeapons int32 `json:"SWARM_WinWith5EvolvedWeapons,omitempty"` TakedownOnFirstTurret int32 `json:"takedownOnFirstTurret,omitempty"` Takedowns int32 `json:"takedowns,omitempty"` TakedownsAfterGainingLevelAdvantage int32 `json:"takedownsAfterGainingLevelAdvantage,omitempty"` diff --git a/clients/lor/client.go b/clients/lor/client.go index 58c1794..8366319 100644 --- a/clients/lor/client.go +++ b/clients/lor/client.go @@ -16,7 +16,7 @@ package lor // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import "github.com/Kyagara/equinox/v2/internal" diff --git a/clients/lor/endpoints.go b/clients/lor/endpoints.go index 9e9867e..785f795 100644 --- a/clients/lor/endpoints.go +++ b/clients/lor/endpoints.go @@ -8,7 +8,7 @@ package lor // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "context" diff --git a/clients/lor/models.go b/clients/lor/models.go index 58794c0..1ab5dbe 100644 --- a/clients/lor/models.go +++ b/clients/lor/models.go @@ -8,7 +8,7 @@ package lor // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // lor-deck-v1.NewDeckDto type DeckNewDeckV1DTO struct { diff --git a/clients/riot/client.go b/clients/riot/client.go index 62daa65..57337a4 100644 --- a/clients/riot/client.go +++ b/clients/riot/client.go @@ -12,7 +12,7 @@ package riot // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import "github.com/Kyagara/equinox/v2/internal" diff --git a/clients/riot/endpoints.go b/clients/riot/endpoints.go index 7d52feb..f307df1 100644 --- a/clients/riot/endpoints.go +++ b/clients/riot/endpoints.go @@ -8,7 +8,7 @@ package riot // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "context" diff --git a/clients/riot/models.go b/clients/riot/models.go index 1b6e0e7..048f19e 100644 --- a/clients/riot/models.go +++ b/clients/riot/models.go @@ -8,7 +8,7 @@ package riot // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // account-v1.ActiveShardDto type AccountActiveShardV1DTO struct { diff --git a/clients/tft/client.go b/clients/tft/client.go index cd00a2e..81f1a6d 100644 --- a/clients/tft/client.go +++ b/clients/tft/client.go @@ -16,7 +16,7 @@ package tft // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import "github.com/Kyagara/equinox/v2/internal" diff --git a/clients/tft/constants.go b/clients/tft/constants.go index 4282088..9f16667 100644 --- a/clients/tft/constants.go +++ b/clients/tft/constants.go @@ -10,7 +10,7 @@ import "strconv" // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // Platform routes for Teamfight Tactics. type PlatformRoute string diff --git a/clients/tft/endpoints.go b/clients/tft/endpoints.go index c3f1d39..616a4b1 100644 --- a/clients/tft/endpoints.go +++ b/clients/tft/endpoints.go @@ -8,7 +8,7 @@ package tft // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "context" diff --git a/clients/tft/models.go b/clients/tft/models.go index 657a6ce..7540935 100644 --- a/clients/tft/models.go +++ b/clients/tft/models.go @@ -8,7 +8,7 @@ package tft // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // tft-league-v1.LeagueEntryDTO type LeagueEntryV1DTO struct { diff --git a/clients/val/client.go b/clients/val/client.go index 325d483..e616bdd 100644 --- a/clients/val/client.go +++ b/clients/val/client.go @@ -16,7 +16,7 @@ package val // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import "github.com/Kyagara/equinox/v2/internal" diff --git a/clients/val/constants.go b/clients/val/constants.go index 0239318..8c779c0 100644 --- a/clients/val/constants.go +++ b/clients/val/constants.go @@ -8,7 +8,7 @@ package val // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // Platform routes for Valorant. type PlatformRoute string diff --git a/clients/val/endpoints.go b/clients/val/endpoints.go index c4fefa0..61908e9 100644 --- a/clients/val/endpoints.go +++ b/clients/val/endpoints.go @@ -8,7 +8,7 @@ package val // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 import ( "context" diff --git a/clients/val/models.go b/clients/val/models.go index 0c7b8d4..721940c 100644 --- a/clients/val/models.go +++ b/clients/val/models.go @@ -8,7 +8,7 @@ package val // // /////////////////////////////////////////////// -// Spec version = 8096d0e7127558ddf4df50a0227b4100b5d54a2f +// Spec version = 54ad38717276da9ce06bc6da8b27008d59d109f2 // val-console-match-v1.AbilityCastsDto type ConsoleMatchAbilityCastsV1DTO struct { diff --git a/go.mod b/go.mod index fd253f2..7213b92 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/allegro/bigcache/v3 v3.1.0 github.com/go-json-experiment/json v0.0.0-20240418180308-af2d5061e6c2 github.com/jarcoal/httpmock v1.3.1 - github.com/redis/go-redis/v9 v9.5.3 + github.com/redis/go-redis/v9 v9.5.4 github.com/rs/zerolog v1.33.0 github.com/stretchr/testify v1.9.0 ) diff --git a/go.sum b/go.sum index bef6b66..d1913bc 100644 --- a/go.sum +++ b/go.sum @@ -31,8 +31,8 @@ github.com/maxatome/go-testdeep v1.12.0/go.mod h1:lPZc/HAcJMP92l7yI6TRz1aZN5URwU github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/redis/go-redis/v9 v9.5.3 h1:fOAp1/uJG+ZtcITgZOfYFmTKPE7n4Vclj1wZFgRciUU= -github.com/redis/go-redis/v9 v9.5.3/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= +github.com/redis/go-redis/v9 v9.5.4 h1:vOFYDKKVgrI5u++QvnMT7DksSMYg7Aw/Np4vLJLKLwY= +github.com/redis/go-redis/v9 v9.5.4/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= github.com/rs/zerolog v1.33.0 h1:1cU2KZkvPxNyfgEmhHAz/1A9Bz+llsdYzklWFzgp0r8= github.com/rs/zerolog v1.33.0/go.mod h1:/7mN4D5sKwJLZQ2b/znpjC3/GQWY/xaDXUM0kKWRHss=