@rotesblatt/hex-tractor-data-api 3.0.4 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -516,6 +516,310 @@ type JwkPublicKey = Partial<{
516
516
  y: string;
517
517
  ext: boolean;
518
518
  }>;
519
+ type PlayerStatsRegionMeta = {
520
+ region: Region;
521
+ };
522
+ type Region = "br1" | "euw1" | "na1" | "eun1" | "kr" | "jp1" | "la1" | "la2" | "oc1" | "tr1" | "ru" | "ph2" | "sg2" | "th2" | "tw2" | "vn2";
523
+ type ChampionStatsListResponse = {
524
+ success: true;
525
+ data: ChampionStatsListResponseData;
526
+ meta: ChampionStatsMeta;
527
+ };
528
+ type ChampionStatsListResponseData = {
529
+ items: Array<ChampionStatsView>;
530
+ };
531
+ type ChampionStatsView = {
532
+ championId: number;
533
+ picks: number;
534
+ wins: number;
535
+ losses: number;
536
+ bans: number;
537
+ winrate: number;
538
+ pickrate: number;
539
+ banrate: number;
540
+ };
541
+ type ChampionStatsMeta = {
542
+ region: Region;
543
+ patch: string;
544
+ tier: string;
545
+ queue: string | number;
546
+ generatedAt: string;
547
+ dataFreshnessSeconds: number;
548
+ totalGames: number;
549
+ };
550
+ type ChampionStatsDetailResponse = {
551
+ success: true;
552
+ data: ChampionStatsView;
553
+ meta: ChampionStatsMeta;
554
+ };
555
+ type ChampionMatchupStatsListResponse = {
556
+ success: true;
557
+ data: ChampionMatchupStatsListResponseData;
558
+ meta: StatsMetaWithLane;
559
+ };
560
+ type ChampionMatchupStatsListResponseData = {
561
+ items: Array<ChampionMatchupStatsItem>;
562
+ };
563
+ type ChampionMatchupStatsItem = {
564
+ championId: number;
565
+ opponentChampionId: number;
566
+ lane: Lane;
567
+ games: number;
568
+ winsForChampion: number;
569
+ lossesForChampion: number;
570
+ winrateForChampion: number;
571
+ avgGoldDiffAt10: number;
572
+ avgCsDiffAt10: number;
573
+ sampleSize: number;
574
+ patch: string;
575
+ tier: string;
576
+ queueId: number;
577
+ region: Region;
578
+ };
579
+ type Lane = "top" | "jungle" | "mid" | "bottom" | "support" | "unknown";
580
+ type StatsMetaWithLane = StatsMetaCommon & {
581
+ lane: Lane;
582
+ };
583
+ type StatsMetaCommon = {
584
+ region: Region;
585
+ patch: string;
586
+ tier: string;
587
+ queueId: number;
588
+ generatedAt: string;
589
+ dataFreshnessSeconds: number;
590
+ totalGames: number;
591
+ };
592
+ type ChampionSynergyStatsListResponse = {
593
+ success: true;
594
+ data: ChampionSynergyStatsListResponseData;
595
+ meta: StatsMetaCommon;
596
+ };
597
+ type ChampionSynergyStatsListResponseData = {
598
+ items: Array<ChampionSynergyStatsItem>;
599
+ };
600
+ type ChampionSynergyStatsItem = {
601
+ championId: number;
602
+ allyChampionId: number;
603
+ gamesTogether: number;
604
+ winsTogether: number;
605
+ lossesTogether: number;
606
+ winrateTogether: number;
607
+ avgTeamGoldShare: number;
608
+ sampleSize: number;
609
+ patch: string;
610
+ tier: string;
611
+ queueId: number;
612
+ region: Region;
613
+ };
614
+ type ChampionPerformanceStatsListResponse = {
615
+ success: true;
616
+ data: ChampionPerformanceStatsListResponseData;
617
+ meta: StatsMetaCommon;
618
+ };
619
+ type ChampionPerformanceStatsListResponseData = {
620
+ items: Array<ChampionPerformanceStatsItem>;
621
+ };
622
+ type ChampionPerformanceStatsItem = {
623
+ championId: number;
624
+ kdaAvg: number;
625
+ csPerMinAvg: number;
626
+ goldPerMinAvg: number;
627
+ damagePerMinAvg: number;
628
+ visionPerMinAvg: number;
629
+ sampleSize: number;
630
+ patch: string;
631
+ tier: string;
632
+ queueId: number;
633
+ region: Region;
634
+ };
635
+ type ChampionPerformanceStatsDetailResponse = {
636
+ success: true;
637
+ data: ChampionPerformanceStatsItem;
638
+ meta: StatsMetaCommon;
639
+ };
640
+ type ChampionObjectiveStatsListResponse = {
641
+ success: true;
642
+ data: ChampionObjectiveStatsListResponseData;
643
+ meta: StatsMetaCommon;
644
+ };
645
+ type ChampionObjectiveStatsListResponseData = {
646
+ items: Array<ChampionObjectiveStatsItem>;
647
+ };
648
+ type ChampionObjectiveStatsItem = {
649
+ championId: number;
650
+ dragonParticipationRate: number;
651
+ baronParticipationRate: number;
652
+ heraldParticipationRate: number;
653
+ towerParticipationRate: number;
654
+ sampleSize: number;
655
+ metricDefinitionVersion: string;
656
+ patch: string;
657
+ tier: string;
658
+ queueId: number;
659
+ region: Region;
660
+ };
661
+ type ChampionGameLengthStatsResponse = {
662
+ success: true;
663
+ data: ChampionGameLengthStatsListResponseData;
664
+ meta: StatsMetaCommon;
665
+ };
666
+ type ChampionGameLengthStatsListResponseData = {
667
+ short: ChampionGameLengthStatsItem;
668
+ medium: ChampionGameLengthStatsItem;
669
+ long: ChampionGameLengthStatsItem;
670
+ };
671
+ type ChampionGameLengthStatsItem = {
672
+ championId: number;
673
+ games: number;
674
+ wins: number;
675
+ winrate: number;
676
+ sampleSize: number;
677
+ patch: string;
678
+ tier: string;
679
+ queueId: number;
680
+ region: Region;
681
+ };
682
+ type ChampionEarlyGameStatsResponse = {
683
+ success: true;
684
+ data: ChampionEarlyGameStatsItem;
685
+ meta: StatsMetaCommon;
686
+ };
687
+ type ChampionEarlyGameStatsItem = {
688
+ championId: number;
689
+ firstBloodInvolvementRate: number;
690
+ laneLeadAt10Rate: number;
691
+ laneLeadAt15Rate: number;
692
+ earlyDeathRate: number;
693
+ sampleSize: number;
694
+ metricDefinitionVersion: string;
695
+ patch: string;
696
+ tier: string;
697
+ queueId: number;
698
+ region: Region;
699
+ };
700
+ type PlayerStatsCacheEntryResponse = {
701
+ success: true;
702
+ data: PlayerStatsCacheEntry;
703
+ meta: PlayerStatsRegionMeta;
704
+ };
705
+ type PlayerStatsCacheEntry = {
706
+ jobId: string;
707
+ region: Region;
708
+ puuid: string;
709
+ type: PlayerStatsType;
710
+ paramsHash: string;
711
+ status: PlayerStatsJobStatus;
712
+ computedAt?: (string | null) | undefined;
713
+ expiresAt: string;
714
+ lastSourceMatchAt?: (string | null) | undefined;
715
+ result?: PlayerStatsResult | undefined;
716
+ error?: Partial<{
717
+ code: string;
718
+ message: string;
719
+ details: PlayerStatsErrorDetails;
720
+ }> | undefined;
721
+ };
722
+ type PlayerStatsType = "champions" | "teammates" | "opponents" | "timeline";
723
+ type PlayerStatsJobStatus = "pending" | "running" | "ready" | "failed" | "expired";
724
+ type PlayerStatsResult = PlayerStatsChampionsResult | PlayerStatsTeammatesResult | PlayerStatsOpponentsResult | PlayerStatsTimelineResult;
725
+ type PlayerStatsChampionsResult = {
726
+ champions: Array<PlayerStatsChampionSummary>;
727
+ };
728
+ type PlayerStatsChampionSummary = {
729
+ championId: number;
730
+ games: number;
731
+ wins: number;
732
+ };
733
+ type PlayerStatsTeammatesResult = {
734
+ topTeammates: Array<PlayerStatsTeammateSummary>;
735
+ };
736
+ type PlayerStatsTeammateSummary = {
737
+ puuid: string;
738
+ games: number;
739
+ wins: number;
740
+ };
741
+ type PlayerStatsOpponentsResult = {
742
+ topOpponents: Array<PlayerStatsOpponentSummary>;
743
+ };
744
+ type PlayerStatsOpponentSummary = {
745
+ puuid: string;
746
+ games: number;
747
+ winsAgainst: number;
748
+ };
749
+ type PlayerStatsTimelineResult = {
750
+ timeline: Array<PlayerStatsTimelineBucket>;
751
+ };
752
+ type PlayerStatsTimelineBucket = {
753
+ minute: number;
754
+ games: number;
755
+ wins: number;
756
+ };
757
+ type PlayerStatsErrorDetails = Partial<{
758
+ retryAfterSeconds: number;
759
+ traceId: string;
760
+ issues: Array<PlayerStatsErrorIssue>;
761
+ }>;
762
+ type PlayerStatsErrorIssue = {
763
+ field: string;
764
+ reason: string;
765
+ };
766
+ type PlayerStatsJobAcceptedResponse = {
767
+ success: true;
768
+ data: PlayerStatsJobAccepted;
769
+ meta: PlayerStatsRegionMeta;
770
+ };
771
+ type PlayerStatsJobAccepted = {
772
+ jobId: string;
773
+ status: PlayerStatsJobStatus;
774
+ region: Region;
775
+ puuid: string;
776
+ };
777
+ type AggregatedStats = {
778
+ region: Region;
779
+ championId: number;
780
+ patchVersion: string;
781
+ tier: string;
782
+ queueId: number;
783
+ picks: number;
784
+ wins: number;
785
+ losses: number;
786
+ bans: number;
787
+ sampleSize: number;
788
+ lastComputedAt: string;
789
+ };
790
+ type PlayerStatsJobParams = PlayerStatsChampionsParams | PlayerStatsTeammatesParams | PlayerStatsOpponentsParams | PlayerStatsTimelineParams;
791
+ type PlayerStatsChampionsParams = Partial<{
792
+ patch: string;
793
+ tier: RankedTier;
794
+ queueId: QueueId;
795
+ limit: number;
796
+ }>;
797
+ type RankedTier = "IRON" | "BRONZE" | "SILVER" | "GOLD" | "PLATINUM" | "EMERALD" | "DIAMOND" | "MASTER" | "GRANDMASTER" | "CHALLENGER";
798
+ type PlayerStatsTeammatesParams = Partial<{
799
+ patch: string;
800
+ tier: RankedTier;
801
+ queueId: QueueId;
802
+ limit: number;
803
+ minGames: number;
804
+ }>;
805
+ type PlayerStatsOpponentsParams = Partial<{
806
+ patch: string;
807
+ tier: RankedTier;
808
+ queueId: QueueId;
809
+ limit: number;
810
+ lane: Lane;
811
+ }>;
812
+ type PlayerStatsTimelineParams = Partial<{
813
+ patch: string;
814
+ tier: RankedTier;
815
+ queueId: QueueId;
816
+ bucketMinutes: number;
817
+ }>;
818
+ type PlayerStatsJobRequest = {
819
+ region: Region;
820
+ type: PlayerStatsType;
821
+ params?: PlayerStatsJobParams | undefined;
822
+ };
519
823
  declare const LeagueMiniseries: z.ZodType<LeagueMiniseries>;
520
824
  declare const LeagueEntry: z.ZodType<LeagueEntry>;
521
825
  declare const SpectatorBannedChampions: z.ZodType<SpectatorBannedChampions>;
@@ -546,8 +850,67 @@ declare const MatchInfo: z.ZodType<MatchInfo>;
546
850
  declare const Match: z.ZodType<Match>;
547
851
  declare const LeaderboardPlayer: z.ZodType<LeaderboardPlayer>;
548
852
  declare const LeaderBoardPlayerList: z.ZodType<LeaderBoardPlayerList>;
853
+ declare const ChampionStatsView: z.ZodType<ChampionStatsView>;
854
+ declare const ChampionStatsListResponseData: z.ZodType<ChampionStatsListResponseData>;
855
+ declare const Region: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
856
+ declare const ChampionStatsMeta: z.ZodType<ChampionStatsMeta>;
857
+ declare const ChampionStatsListResponse: z.ZodType<ChampionStatsListResponse>;
858
+ declare const ChampionStatsDetailResponse: z.ZodType<ChampionStatsDetailResponse>;
859
+ declare const Lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
860
+ declare const ChampionMatchupStatsItem: z.ZodType<ChampionMatchupStatsItem>;
861
+ declare const ChampionMatchupStatsListResponseData: z.ZodType<ChampionMatchupStatsListResponseData>;
862
+ declare const StatsMetaCommon: z.ZodType<StatsMetaCommon>;
863
+ declare const StatsMetaWithLane: z.ZodIntersection<z.ZodType<StatsMetaCommon, z.ZodTypeDef, StatsMetaCommon>, z.ZodObject<{
864
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
865
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
866
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
867
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
868
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
869
+ }, z.ZodTypeAny, "passthrough">>>;
870
+ declare const ChampionMatchupStatsListResponse: z.ZodType<ChampionMatchupStatsListResponse>;
871
+ declare const ChampionSynergyStatsItem: z.ZodType<ChampionSynergyStatsItem>;
872
+ declare const ChampionSynergyStatsListResponseData: z.ZodType<ChampionSynergyStatsListResponseData>;
873
+ declare const ChampionSynergyStatsListResponse: z.ZodType<ChampionSynergyStatsListResponse>;
874
+ declare const ChampionPerformanceStatsItem: z.ZodType<ChampionPerformanceStatsItem>;
875
+ declare const ChampionPerformanceStatsListResponseData: z.ZodType<ChampionPerformanceStatsListResponseData>;
876
+ declare const ChampionPerformanceStatsListResponse: z.ZodType<ChampionPerformanceStatsListResponse>;
877
+ declare const ChampionPerformanceStatsDetailResponse: z.ZodType<ChampionPerformanceStatsDetailResponse>;
878
+ declare const ChampionObjectiveStatsItem: z.ZodType<ChampionObjectiveStatsItem>;
879
+ declare const ChampionObjectiveStatsListResponseData: z.ZodType<ChampionObjectiveStatsListResponseData>;
880
+ declare const ChampionObjectiveStatsListResponse: z.ZodType<ChampionObjectiveStatsListResponse>;
881
+ declare const ChampionGameLengthStatsItem: z.ZodType<ChampionGameLengthStatsItem>;
882
+ declare const ChampionGameLengthStatsListResponseData: z.ZodType<ChampionGameLengthStatsListResponseData>;
883
+ declare const ChampionGameLengthStatsResponse: z.ZodType<ChampionGameLengthStatsResponse>;
884
+ declare const ChampionEarlyGameStatsItem: z.ZodType<ChampionEarlyGameStatsItem>;
885
+ declare const ChampionEarlyGameStatsResponse: z.ZodType<ChampionEarlyGameStatsResponse>;
886
+ declare const PlayerStatsType: z.ZodEnum<["champions", "teammates", "opponents", "timeline"]>;
887
+ declare const RankedTier: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
888
+ declare const PlayerStatsChampionsParams: z.ZodType<PlayerStatsChampionsParams>;
889
+ declare const PlayerStatsTeammatesParams: z.ZodType<PlayerStatsTeammatesParams>;
890
+ declare const PlayerStatsOpponentsParams: z.ZodType<PlayerStatsOpponentsParams>;
891
+ declare const PlayerStatsTimelineParams: z.ZodType<PlayerStatsTimelineParams>;
892
+ declare const PlayerStatsJobParams: z.ZodType<PlayerStatsJobParams>;
893
+ declare const PlayerStatsJobRequest: z.ZodType<PlayerStatsJobRequest>;
894
+ declare const PlayerStatsJobStatus: z.ZodEnum<["pending", "running", "ready", "failed", "expired"]>;
895
+ declare const PlayerStatsChampionSummary: z.ZodType<PlayerStatsChampionSummary>;
896
+ declare const PlayerStatsChampionsResult: z.ZodType<PlayerStatsChampionsResult>;
897
+ declare const PlayerStatsTeammateSummary: z.ZodType<PlayerStatsTeammateSummary>;
898
+ declare const PlayerStatsTeammatesResult: z.ZodType<PlayerStatsTeammatesResult>;
899
+ declare const PlayerStatsOpponentSummary: z.ZodType<PlayerStatsOpponentSummary>;
900
+ declare const PlayerStatsOpponentsResult: z.ZodType<PlayerStatsOpponentsResult>;
901
+ declare const PlayerStatsTimelineBucket: z.ZodType<PlayerStatsTimelineBucket>;
902
+ declare const PlayerStatsTimelineResult: z.ZodType<PlayerStatsTimelineResult>;
903
+ declare const PlayerStatsResult: z.ZodUnion<[z.ZodType<PlayerStatsChampionsResult, z.ZodTypeDef, PlayerStatsChampionsResult>, z.ZodType<PlayerStatsTeammatesResult, z.ZodTypeDef, PlayerStatsTeammatesResult>, z.ZodType<PlayerStatsOpponentsResult, z.ZodTypeDef, PlayerStatsOpponentsResult>, z.ZodType<PlayerStatsTimelineResult, z.ZodTypeDef, PlayerStatsTimelineResult>]>;
904
+ declare const PlayerStatsErrorIssue: z.ZodType<PlayerStatsErrorIssue>;
905
+ declare const PlayerStatsErrorDetails: z.ZodType<PlayerStatsErrorDetails>;
906
+ declare const PlayerStatsCacheEntry: z.ZodType<PlayerStatsCacheEntry>;
907
+ declare const PlayerStatsRegionMeta: z.ZodType<PlayerStatsRegionMeta>;
908
+ declare const PlayerStatsCacheEntryResponse: z.ZodType<PlayerStatsCacheEntryResponse>;
909
+ declare const PlayerStatsJobAccepted: z.ZodType<PlayerStatsJobAccepted>;
910
+ declare const PlayerStatsJobAcceptedResponse: z.ZodType<PlayerStatsJobAcceptedResponse>;
549
911
  declare const JwkPublicKey: z.ZodType<JwkPublicKey>;
550
912
  declare const Device: z.ZodType<Device>;
913
+ declare const AggregatedStats: z.ZodType<AggregatedStats>;
551
914
  export declare const schemas: {
552
915
  LeagueMiniseries: z.ZodType<LeagueMiniseries, z.ZodTypeDef, LeagueMiniseries>;
553
916
  LeagueEntry: z.ZodType<LeagueEntry, z.ZodTypeDef, LeagueEntry>;
@@ -994,6 +1357,116 @@ export declare const schemas: {
994
1357
  Match: z.ZodType<Match, z.ZodTypeDef, Match>;
995
1358
  LeaderboardPlayer: z.ZodType<LeaderboardPlayer, z.ZodTypeDef, LeaderboardPlayer>;
996
1359
  LeaderBoardPlayerList: z.ZodType<LeaderBoardPlayerList, z.ZodTypeDef, LeaderBoardPlayerList>;
1360
+ ChampionStatsView: z.ZodType<ChampionStatsView, z.ZodTypeDef, ChampionStatsView>;
1361
+ ChampionStatsListResponseData: z.ZodType<ChampionStatsListResponseData, z.ZodTypeDef, ChampionStatsListResponseData>;
1362
+ Region: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
1363
+ ChampionStatsMeta: z.ZodType<ChampionStatsMeta, z.ZodTypeDef, ChampionStatsMeta>;
1364
+ ChampionStatsListResponse: z.ZodType<ChampionStatsListResponse, z.ZodTypeDef, ChampionStatsListResponse>;
1365
+ ChampionStatsDetailResponse: z.ZodType<ChampionStatsDetailResponse, z.ZodTypeDef, ChampionStatsDetailResponse>;
1366
+ Lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
1367
+ ChampionMatchupStatsItem: z.ZodType<ChampionMatchupStatsItem, z.ZodTypeDef, ChampionMatchupStatsItem>;
1368
+ ChampionMatchupStatsListResponseData: z.ZodType<ChampionMatchupStatsListResponseData, z.ZodTypeDef, ChampionMatchupStatsListResponseData>;
1369
+ StatsMetaCommon: z.ZodType<StatsMetaCommon, z.ZodTypeDef, StatsMetaCommon>;
1370
+ StatsMetaWithLane: z.ZodIntersection<z.ZodType<StatsMetaCommon, z.ZodTypeDef, StatsMetaCommon>, z.ZodObject<{
1371
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
1372
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1373
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
1374
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1375
+ lane: z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>;
1376
+ }, z.ZodTypeAny, "passthrough">>>;
1377
+ ChampionMatchupStatsListResponse: z.ZodType<ChampionMatchupStatsListResponse, z.ZodTypeDef, ChampionMatchupStatsListResponse>;
1378
+ ChampionSynergyStatsItem: z.ZodType<ChampionSynergyStatsItem, z.ZodTypeDef, ChampionSynergyStatsItem>;
1379
+ ChampionSynergyStatsListResponseData: z.ZodType<ChampionSynergyStatsListResponseData, z.ZodTypeDef, ChampionSynergyStatsListResponseData>;
1380
+ ChampionSynergyStatsListResponse: z.ZodType<ChampionSynergyStatsListResponse, z.ZodTypeDef, ChampionSynergyStatsListResponse>;
1381
+ ChampionPerformanceStatsItem: z.ZodType<ChampionPerformanceStatsItem, z.ZodTypeDef, ChampionPerformanceStatsItem>;
1382
+ ChampionPerformanceStatsListResponseData: z.ZodType<ChampionPerformanceStatsListResponseData, z.ZodTypeDef, ChampionPerformanceStatsListResponseData>;
1383
+ ChampionPerformanceStatsListResponse: z.ZodType<ChampionPerformanceStatsListResponse, z.ZodTypeDef, ChampionPerformanceStatsListResponse>;
1384
+ ChampionPerformanceStatsDetailResponse: z.ZodType<ChampionPerformanceStatsDetailResponse, z.ZodTypeDef, ChampionPerformanceStatsDetailResponse>;
1385
+ ChampionObjectiveStatsItem: z.ZodType<ChampionObjectiveStatsItem, z.ZodTypeDef, ChampionObjectiveStatsItem>;
1386
+ ChampionObjectiveStatsListResponseData: z.ZodType<ChampionObjectiveStatsListResponseData, z.ZodTypeDef, ChampionObjectiveStatsListResponseData>;
1387
+ ChampionObjectiveStatsListResponse: z.ZodType<ChampionObjectiveStatsListResponse, z.ZodTypeDef, ChampionObjectiveStatsListResponse>;
1388
+ ChampionGameLengthStatsItem: z.ZodType<ChampionGameLengthStatsItem, z.ZodTypeDef, ChampionGameLengthStatsItem>;
1389
+ ChampionGameLengthStatsListResponseData: z.ZodType<ChampionGameLengthStatsListResponseData, z.ZodTypeDef, ChampionGameLengthStatsListResponseData>;
1390
+ ChampionGameLengthStatsResponse: z.ZodType<ChampionGameLengthStatsResponse, z.ZodTypeDef, ChampionGameLengthStatsResponse>;
1391
+ ChampionEarlyGameStatsItem: z.ZodType<ChampionEarlyGameStatsItem, z.ZodTypeDef, ChampionEarlyGameStatsItem>;
1392
+ ChampionEarlyGameStatsResponse: z.ZodType<ChampionEarlyGameStatsResponse, z.ZodTypeDef, ChampionEarlyGameStatsResponse>;
1393
+ PlayerStatsType: z.ZodEnum<["champions", "teammates", "opponents", "timeline"]>;
1394
+ RankedTier: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
1395
+ PlayerStatsChampionsParams: z.ZodType<Partial<{
1396
+ patch: string;
1397
+ tier: RankedTier;
1398
+ queueId: QueueId;
1399
+ limit: number;
1400
+ }>, z.ZodTypeDef, Partial<{
1401
+ patch: string;
1402
+ tier: RankedTier;
1403
+ queueId: QueueId;
1404
+ limit: number;
1405
+ }>>;
1406
+ PlayerStatsTeammatesParams: z.ZodType<Partial<{
1407
+ patch: string;
1408
+ tier: RankedTier;
1409
+ queueId: QueueId;
1410
+ limit: number;
1411
+ minGames: number;
1412
+ }>, z.ZodTypeDef, Partial<{
1413
+ patch: string;
1414
+ tier: RankedTier;
1415
+ queueId: QueueId;
1416
+ limit: number;
1417
+ minGames: number;
1418
+ }>>;
1419
+ PlayerStatsOpponentsParams: z.ZodType<Partial<{
1420
+ patch: string;
1421
+ tier: RankedTier;
1422
+ queueId: QueueId;
1423
+ limit: number;
1424
+ lane: Lane;
1425
+ }>, z.ZodTypeDef, Partial<{
1426
+ patch: string;
1427
+ tier: RankedTier;
1428
+ queueId: QueueId;
1429
+ limit: number;
1430
+ lane: Lane;
1431
+ }>>;
1432
+ PlayerStatsTimelineParams: z.ZodType<Partial<{
1433
+ patch: string;
1434
+ tier: RankedTier;
1435
+ queueId: QueueId;
1436
+ bucketMinutes: number;
1437
+ }>, z.ZodTypeDef, Partial<{
1438
+ patch: string;
1439
+ tier: RankedTier;
1440
+ queueId: QueueId;
1441
+ bucketMinutes: number;
1442
+ }>>;
1443
+ PlayerStatsJobParams: z.ZodType<PlayerStatsJobParams, z.ZodTypeDef, PlayerStatsJobParams>;
1444
+ PlayerStatsJobRequest: z.ZodType<PlayerStatsJobRequest, z.ZodTypeDef, PlayerStatsJobRequest>;
1445
+ PlayerStatsJobStatus: z.ZodEnum<["pending", "running", "ready", "failed", "expired"]>;
1446
+ PlayerStatsChampionSummary: z.ZodType<PlayerStatsChampionSummary, z.ZodTypeDef, PlayerStatsChampionSummary>;
1447
+ PlayerStatsChampionsResult: z.ZodType<PlayerStatsChampionsResult, z.ZodTypeDef, PlayerStatsChampionsResult>;
1448
+ PlayerStatsTeammateSummary: z.ZodType<PlayerStatsTeammateSummary, z.ZodTypeDef, PlayerStatsTeammateSummary>;
1449
+ PlayerStatsTeammatesResult: z.ZodType<PlayerStatsTeammatesResult, z.ZodTypeDef, PlayerStatsTeammatesResult>;
1450
+ PlayerStatsOpponentSummary: z.ZodType<PlayerStatsOpponentSummary, z.ZodTypeDef, PlayerStatsOpponentSummary>;
1451
+ PlayerStatsOpponentsResult: z.ZodType<PlayerStatsOpponentsResult, z.ZodTypeDef, PlayerStatsOpponentsResult>;
1452
+ PlayerStatsTimelineBucket: z.ZodType<PlayerStatsTimelineBucket, z.ZodTypeDef, PlayerStatsTimelineBucket>;
1453
+ PlayerStatsTimelineResult: z.ZodType<PlayerStatsTimelineResult, z.ZodTypeDef, PlayerStatsTimelineResult>;
1454
+ PlayerStatsResult: z.ZodUnion<[z.ZodType<PlayerStatsChampionsResult, z.ZodTypeDef, PlayerStatsChampionsResult>, z.ZodType<PlayerStatsTeammatesResult, z.ZodTypeDef, PlayerStatsTeammatesResult>, z.ZodType<PlayerStatsOpponentsResult, z.ZodTypeDef, PlayerStatsOpponentsResult>, z.ZodType<PlayerStatsTimelineResult, z.ZodTypeDef, PlayerStatsTimelineResult>]>;
1455
+ PlayerStatsErrorIssue: z.ZodType<PlayerStatsErrorIssue, z.ZodTypeDef, PlayerStatsErrorIssue>;
1456
+ PlayerStatsErrorDetails: z.ZodType<Partial<{
1457
+ retryAfterSeconds: number;
1458
+ traceId: string;
1459
+ issues: Array<PlayerStatsErrorIssue>;
1460
+ }>, z.ZodTypeDef, Partial<{
1461
+ retryAfterSeconds: number;
1462
+ traceId: string;
1463
+ issues: Array<PlayerStatsErrorIssue>;
1464
+ }>>;
1465
+ PlayerStatsCacheEntry: z.ZodType<PlayerStatsCacheEntry, z.ZodTypeDef, PlayerStatsCacheEntry>;
1466
+ PlayerStatsRegionMeta: z.ZodType<PlayerStatsRegionMeta, z.ZodTypeDef, PlayerStatsRegionMeta>;
1467
+ PlayerStatsCacheEntryResponse: z.ZodType<PlayerStatsCacheEntryResponse, z.ZodTypeDef, PlayerStatsCacheEntryResponse>;
1468
+ PlayerStatsJobAccepted: z.ZodType<PlayerStatsJobAccepted, z.ZodTypeDef, PlayerStatsJobAccepted>;
1469
+ PlayerStatsJobAcceptedResponse: z.ZodType<PlayerStatsJobAcceptedResponse, z.ZodTypeDef, PlayerStatsJobAcceptedResponse>;
997
1470
  JwkPublicKey: z.ZodType<Partial<{
998
1471
  kty: string;
999
1472
  crv: string;
@@ -1008,11 +1481,11 @@ export declare const schemas: {
1008
1481
  ext: boolean;
1009
1482
  }>>;
1010
1483
  Device: z.ZodType<Device, z.ZodTypeDef, Device>;
1011
- Region: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
1012
1484
  Platform: z.ZodEnum<["europe", "americas", "asia", "sea"]>;
1013
1485
  RankedQueue: z.ZodEnum<["RANKED_SOLO_5x5", "RANKED_FLEX_SR", "RANKED_FLEX_TT"]>;
1014
- RankedTier: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
1015
1486
  RankedDivision: z.ZodEnum<["I", "II", "III", "IV"]>;
1487
+ AggregatedStats: z.ZodType<AggregatedStats, z.ZodTypeDef, AggregatedStats>;
1488
+ GameLengthBucket: z.ZodEnum<["short", "medium", "long"]>;
1016
1489
  };
1017
1490
  export declare const api: import("@zodios/core").ZodiosInstance<[{
1018
1491
  method: "get";
@@ -1274,7 +1747,7 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
1274
1747
  }];
1275
1748
  }, {
1276
1749
  method: "get";
1277
- path: "/auth/challenge";
1750
+ path: "/auth/challenge/:deviceId";
1278
1751
  alias: "getAuthChallenge";
1279
1752
  description: "Retrieve a unique authentication challenge that can be signed with the device&#x27;s private key to authenticate requests";
1280
1753
  requestFormat: "json";
@@ -2067,27 +2540,26 @@ export declare const api: import("@zodios/core").ZodiosInstance<[{
2067
2540
  message: z.ZodString;
2068
2541
  }, z.ZodTypeAny, "passthrough">>;
2069
2542
  }];
2070
- }]>;
2071
- export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
2543
+ }, {
2072
2544
  method: "get";
2073
- path: "/account/by-name/:region/:summonerName/:tagLine";
2074
- alias: "getAccountBySummonerName";
2075
- description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
2545
+ path: "/players/:puuid/stats/:jobId";
2546
+ alias: "getPlayerStatsJobStatus";
2547
+ description: "Retrieve the status or result for a region-scoped player stats job.";
2076
2548
  requestFormat: "json";
2077
2549
  parameters: [{
2078
- name: "region";
2079
- type: "Path";
2080
- schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2081
- }, {
2082
- name: "summonerName";
2550
+ name: "puuid";
2083
2551
  type: "Path";
2084
2552
  schema: z.ZodString;
2085
2553
  }, {
2086
- name: "tagLine";
2554
+ name: "jobId";
2087
2555
  type: "Path";
2088
2556
  schema: z.ZodString;
2557
+ }, {
2558
+ name: "region";
2559
+ type: "Query";
2560
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2089
2561
  }];
2090
- response: z.ZodType<AccountInfo, z.ZodTypeDef, AccountInfo>;
2562
+ response: z.ZodType<PlayerStatsCacheEntryResponse, z.ZodTypeDef, PlayerStatsCacheEntryResponse>;
2091
2563
  errors: [{
2092
2564
  status: 400;
2093
2565
  description: string;
@@ -2158,16 +2630,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2158
2630
  location: z.ZodString;
2159
2631
  }, z.ZodTypeAny, "passthrough">>, "many">;
2160
2632
  }, z.ZodTypeAny, "passthrough">>;
2161
- }, {
2162
- status: 401;
2163
- description: string;
2164
- schema: z.ZodObject<{
2165
- message: z.ZodString;
2166
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2167
- message: z.ZodString;
2168
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2169
- message: z.ZodString;
2170
- }, z.ZodTypeAny, "passthrough">>;
2171
2633
  }, {
2172
2634
  status: 404;
2173
2635
  description: string;
@@ -2178,16 +2640,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2178
2640
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2179
2641
  message: z.ZodString;
2180
2642
  }, z.ZodTypeAny, "passthrough">>;
2181
- }, {
2182
- status: 429;
2183
- description: string;
2184
- schema: z.ZodObject<{
2185
- message: z.ZodString;
2186
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2187
- message: z.ZodString;
2188
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2189
- message: z.ZodString;
2190
- }, z.ZodTypeAny, "passthrough">>;
2191
2643
  }, {
2192
2644
  status: 500;
2193
2645
  description: string;
@@ -2200,21 +2652,21 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2200
2652
  }, z.ZodTypeAny, "passthrough">>;
2201
2653
  }];
2202
2654
  }, {
2203
- method: "get";
2204
- path: "/account/by-puuid/:region/:puuid";
2205
- alias: "getAccountByPuuid";
2206
- description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
2655
+ method: "post";
2656
+ path: "/players/:puuid/stats/request";
2657
+ alias: "requestPlayerStatsJob";
2658
+ description: "Request player stats computation for a specific region and stats type.\nBehavior:\n- If valid cache exists for same (region, puuid, type, paramsHash), return 200 with cached result.\n- If equivalent in-flight job exists, return 202 with existing jobId (do not enqueue duplicate).\n- Else enqueue a new job and return 202 with new jobId.";
2207
2659
  requestFormat: "json";
2208
2660
  parameters: [{
2209
- name: "region";
2210
- type: "Path";
2211
- schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2661
+ name: "body";
2662
+ type: "Body";
2663
+ schema: z.ZodType<PlayerStatsJobRequest, z.ZodTypeDef, PlayerStatsJobRequest>;
2212
2664
  }, {
2213
2665
  name: "puuid";
2214
2666
  type: "Path";
2215
2667
  schema: z.ZodString;
2216
2668
  }];
2217
- response: z.ZodType<AccountInfo, z.ZodTypeDef, AccountInfo>;
2669
+ response: z.ZodType<PlayerStatsCacheEntryResponse, z.ZodTypeDef, PlayerStatsCacheEntryResponse>;
2218
2670
  errors: [{
2219
2671
  status: 400;
2220
2672
  description: string;
@@ -2285,36 +2737,6 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2285
2737
  location: z.ZodString;
2286
2738
  }, z.ZodTypeAny, "passthrough">>, "many">;
2287
2739
  }, z.ZodTypeAny, "passthrough">>;
2288
- }, {
2289
- status: 401;
2290
- description: string;
2291
- schema: z.ZodObject<{
2292
- message: z.ZodString;
2293
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2294
- message: z.ZodString;
2295
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2296
- message: z.ZodString;
2297
- }, z.ZodTypeAny, "passthrough">>;
2298
- }, {
2299
- status: 404;
2300
- description: string;
2301
- schema: z.ZodObject<{
2302
- message: z.ZodString;
2303
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2304
- message: z.ZodString;
2305
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2306
- message: z.ZodString;
2307
- }, z.ZodTypeAny, "passthrough">>;
2308
- }, {
2309
- status: 429;
2310
- description: string;
2311
- schema: z.ZodObject<{
2312
- message: z.ZodString;
2313
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2314
- message: z.ZodString;
2315
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2316
- message: z.ZodString;
2317
- }, z.ZodTypeAny, "passthrough">>;
2318
2740
  }, {
2319
2741
  status: 500;
2320
2742
  description: string;
@@ -2328,51 +2750,28 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2328
2750
  }];
2329
2751
  }, {
2330
2752
  method: "get";
2331
- path: "/auth/challenge";
2332
- alias: "getAuthChallenge";
2333
- description: "Retrieve a unique authentication challenge that can be signed with the device&#x27;s private key to authenticate requests";
2334
- requestFormat: "json";
2335
- parameters: [{
2336
- name: "deviceId";
2337
- type: "Path";
2338
- schema: z.ZodString;
2339
- }];
2340
- response: z.ZodObject<{
2341
- challenge: z.ZodOptional<z.ZodString>;
2342
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2343
- challenge: z.ZodOptional<z.ZodString>;
2344
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2345
- challenge: z.ZodOptional<z.ZodString>;
2346
- }, z.ZodTypeAny, "passthrough">>;
2347
- errors: [{
2348
- status: 500;
2349
- description: string;
2350
- schema: z.ZodObject<{
2351
- message: z.ZodString;
2352
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2353
- message: z.ZodString;
2354
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2355
- message: z.ZodString;
2356
- }, z.ZodTypeAny, "passthrough">>;
2357
- }];
2358
- }, {
2359
- method: "post";
2360
- path: "/auth/devices/register";
2361
- alias: "registerDevice";
2362
- description: "Register a new device to receive an authentication token for accessing protected endpoints";
2753
+ path: "/stats/champions";
2754
+ alias: "getChampionStatsByRegionPatchTier";
2755
+ description: "Retrieve champion aggregated statistics for a specific region, patch, and tier.";
2363
2756
  requestFormat: "json";
2364
2757
  parameters: [{
2365
- name: "body";
2366
- type: "Body";
2367
- schema: z.ZodType<Device, z.ZodTypeDef, Device>;
2758
+ name: "region";
2759
+ type: "Query";
2760
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2761
+ }, {
2762
+ name: "patch";
2763
+ type: "Query";
2764
+ schema: z.ZodOptional<z.ZodString>;
2765
+ }, {
2766
+ name: "tier";
2767
+ type: "Query";
2768
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2769
+ }, {
2770
+ name: "queue";
2771
+ type: "Query";
2772
+ schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
2368
2773
  }];
2369
- response: z.ZodObject<{
2370
- deviceId: z.ZodOptional<z.ZodString>;
2371
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2372
- deviceId: z.ZodOptional<z.ZodString>;
2373
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2374
- deviceId: z.ZodOptional<z.ZodString>;
2375
- }, z.ZodTypeAny, "passthrough">>;
2774
+ response: z.ZodType<ChampionStatsListResponse, z.ZodTypeDef, ChampionStatsListResponse>;
2376
2775
  errors: [{
2377
2776
  status: 400;
2378
2777
  description: string;
@@ -2456,36 +2855,32 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2456
2855
  }];
2457
2856
  }, {
2458
2857
  method: "get";
2459
- path: "/leaderboard/:region/:queue/:tier/:division";
2460
- alias: "getLeaderboard";
2461
- description: "Retrieve Riot leaderboard entries for a specific region, queue type, tier, and division";
2858
+ path: "/stats/champions/:championId";
2859
+ alias: "getChampionStatsDetailByRegion";
2860
+ description: "Retrieve aggregated stats for a single champion for a specific region.";
2462
2861
  requestFormat: "json";
2463
2862
  parameters: [{
2464
- name: "region";
2863
+ name: "championId";
2465
2864
  type: "Path";
2865
+ schema: z.ZodNumber;
2866
+ }, {
2867
+ name: "region";
2868
+ type: "Query";
2466
2869
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2467
2870
  }, {
2468
- name: "queue";
2469
- type: "Path";
2470
- schema: z.ZodEnum<["RANKED_SOLO_5x5", "RANKED_FLEX_SR", "RANKED_FLEX_TT"]>;
2871
+ name: "patch";
2872
+ type: "Query";
2873
+ schema: z.ZodString;
2471
2874
  }, {
2472
2875
  name: "tier";
2473
- type: "Path";
2474
- schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2475
- }, {
2476
- name: "division";
2477
- type: "Path";
2478
- schema: z.ZodEnum<["I", "II", "III", "IV"]>;
2479
- }, {
2480
- name: "count";
2481
2876
  type: "Query";
2482
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2877
+ schema: z.ZodOptional<z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>>;
2483
2878
  }, {
2484
- name: "start";
2879
+ name: "queue";
2485
2880
  type: "Query";
2486
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2881
+ schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
2487
2882
  }];
2488
- response: z.ZodArray<z.ZodType<LeaderboardPlayer, z.ZodTypeDef, LeaderboardPlayer>, "many">;
2883
+ response: z.ZodType<ChampionStatsDetailResponse, z.ZodTypeDef, ChampionStatsDetailResponse>;
2489
2884
  errors: [{
2490
2885
  status: 400;
2491
2886
  description: string;
@@ -2557,17 +2952,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2557
2952
  }, z.ZodTypeAny, "passthrough">>, "many">;
2558
2953
  }, z.ZodTypeAny, "passthrough">>;
2559
2954
  }, {
2560
- status: 401;
2561
- description: string;
2562
- schema: z.ZodObject<{
2563
- message: z.ZodString;
2564
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2565
- message: z.ZodString;
2566
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2567
- message: z.ZodString;
2568
- }, z.ZodTypeAny, "passthrough">>;
2569
- }, {
2570
- status: 429;
2955
+ status: 404;
2571
2956
  description: string;
2572
2957
  schema: z.ZodObject<{
2573
2958
  message: z.ZodString;
@@ -2589,109 +2974,35 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2589
2974
  }];
2590
2975
  }, {
2591
2976
  method: "get";
2592
- path: "/leagues/:region/:queue/:tier/:division";
2593
- alias: "getLeagueEntries";
2594
- description: "Retrieve Riot league entries for a specific region, queue type, tier, and division";
2977
+ path: "/stats/champions/:championId/early-game";
2978
+ alias: "getChampionEarlyGameStatsByRegion";
2979
+ description: "Retrieve first blood, lane lead, and early death indicators for one champion.\nAll metrics are computed within the requested region only.\nEarly-game metrics include metricDefinitionVersion to track definition changes.\nAll rates are returned as decimal values in range [0, 1].";
2595
2980
  requestFormat: "json";
2596
2981
  parameters: [{
2597
- name: "region";
2982
+ name: "championId";
2598
2983
  type: "Path";
2984
+ schema: z.ZodNumber;
2985
+ }, {
2986
+ name: "region";
2987
+ type: "Query";
2599
2988
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2600
2989
  }, {
2601
- name: "queue";
2602
- type: "Path";
2603
- schema: z.ZodEnum<["RANKED_SOLO_5x5", "RANKED_FLEX_SR", "RANKED_FLEX_TT"]>;
2990
+ name: "patch";
2991
+ type: "Query";
2992
+ schema: z.ZodString;
2604
2993
  }, {
2605
2994
  name: "tier";
2606
- type: "Path";
2607
- schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2608
- }, {
2609
- name: "division";
2610
- type: "Path";
2611
- schema: z.ZodEnum<["I", "II", "III", "IV"]>;
2612
- }, {
2613
- name: "count";
2614
2995
  type: "Query";
2615
- schema: z.ZodOptional<z.ZodNumber>;
2996
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2616
2997
  }, {
2617
- name: "start";
2998
+ name: "queue";
2618
2999
  type: "Query";
2619
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3000
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
2620
3001
  }];
2621
- response: z.ZodType<LeagueDetails, z.ZodTypeDef, LeagueDetails>;
3002
+ response: z.ZodType<ChampionEarlyGameStatsResponse, z.ZodTypeDef, ChampionEarlyGameStatsResponse>;
2622
3003
  errors: [{
2623
3004
  status: 400;
2624
3005
  description: string;
2625
- schema: z.ZodObject<{
2626
- message: z.ZodString;
2627
- statusCode: z.ZodNumber;
2628
- details: z.ZodArray<z.ZodObject<{
2629
- type: z.ZodString;
2630
- value: z.ZodString;
2631
- msg: z.ZodString;
2632
- path: z.ZodString;
2633
- location: z.ZodString;
2634
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2635
- type: z.ZodString;
2636
- value: z.ZodString;
2637
- msg: z.ZodString;
2638
- path: z.ZodString;
2639
- location: z.ZodString;
2640
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2641
- type: z.ZodString;
2642
- value: z.ZodString;
2643
- msg: z.ZodString;
2644
- path: z.ZodString;
2645
- location: z.ZodString;
2646
- }, z.ZodTypeAny, "passthrough">>, "many">;
2647
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2648
- message: z.ZodString;
2649
- statusCode: z.ZodNumber;
2650
- details: z.ZodArray<z.ZodObject<{
2651
- type: z.ZodString;
2652
- value: z.ZodString;
2653
- msg: z.ZodString;
2654
- path: z.ZodString;
2655
- location: z.ZodString;
2656
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2657
- type: z.ZodString;
2658
- value: z.ZodString;
2659
- msg: z.ZodString;
2660
- path: z.ZodString;
2661
- location: z.ZodString;
2662
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2663
- type: z.ZodString;
2664
- value: z.ZodString;
2665
- msg: z.ZodString;
2666
- path: z.ZodString;
2667
- location: z.ZodString;
2668
- }, z.ZodTypeAny, "passthrough">>, "many">;
2669
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2670
- message: z.ZodString;
2671
- statusCode: z.ZodNumber;
2672
- details: z.ZodArray<z.ZodObject<{
2673
- type: z.ZodString;
2674
- value: z.ZodString;
2675
- msg: z.ZodString;
2676
- path: z.ZodString;
2677
- location: z.ZodString;
2678
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2679
- type: z.ZodString;
2680
- value: z.ZodString;
2681
- msg: z.ZodString;
2682
- path: z.ZodString;
2683
- location: z.ZodString;
2684
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2685
- type: z.ZodString;
2686
- value: z.ZodString;
2687
- msg: z.ZodString;
2688
- path: z.ZodString;
2689
- location: z.ZodString;
2690
- }, z.ZodTypeAny, "passthrough">>, "many">;
2691
- }, z.ZodTypeAny, "passthrough">>;
2692
- }, {
2693
- status: 401;
2694
- description: string;
2695
3006
  schema: z.ZodObject<{
2696
3007
  message: z.ZodString;
2697
3008
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2700,7 +3011,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2700
3011
  message: z.ZodString;
2701
3012
  }, z.ZodTypeAny, "passthrough">>;
2702
3013
  }, {
2703
- status: 429;
3014
+ status: 404;
2704
3015
  description: string;
2705
3016
  schema: z.ZodObject<{
2706
3017
  message: z.ZodString;
@@ -2722,104 +3033,44 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2722
3033
  }];
2723
3034
  }, {
2724
3035
  method: "get";
2725
- path: "/matches/:region/:puuid";
2726
- alias: "getMatchesByPuuid";
2727
- description: "Retrieve a list of Riot match details for a specific player using their encrypted PUUID and region";
3036
+ path: "/stats/champions/:championId/game-length";
3037
+ alias: "getChampionGameLengthStatsByRegion";
3038
+ description: "Retrieve short/medium/long game performance for one champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1].";
2728
3039
  requestFormat: "json";
2729
3040
  parameters: [{
2730
- name: "region";
3041
+ name: "championId";
2731
3042
  type: "Path";
2732
- schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3043
+ schema: z.ZodNumber;
2733
3044
  }, {
2734
- name: "puuid";
2735
- type: "Path";
2736
- schema: z.ZodString;
3045
+ name: "region";
3046
+ type: "Query";
3047
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2737
3048
  }, {
2738
- name: "start";
3049
+ name: "patch";
2739
3050
  type: "Query";
2740
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3051
+ schema: z.ZodString;
2741
3052
  }, {
2742
- name: "count";
3053
+ name: "tier";
2743
3054
  type: "Query";
2744
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3055
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2745
3056
  }, {
2746
- name: "queueId";
3057
+ name: "queue";
2747
3058
  type: "Query";
2748
- schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
3059
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
2749
3060
  }];
2750
- response: z.ZodArray<z.ZodType<Match, z.ZodTypeDef, Match>, "many">;
3061
+ response: z.ZodType<ChampionGameLengthStatsResponse, z.ZodTypeDef, ChampionGameLengthStatsResponse>;
2751
3062
  errors: [{
2752
3063
  status: 400;
2753
3064
  description: string;
2754
3065
  schema: z.ZodObject<{
2755
3066
  message: z.ZodString;
2756
- statusCode: z.ZodNumber;
2757
- details: z.ZodArray<z.ZodObject<{
2758
- type: z.ZodString;
2759
- value: z.ZodString;
2760
- msg: z.ZodString;
2761
- path: z.ZodString;
2762
- location: z.ZodString;
2763
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2764
- type: z.ZodString;
2765
- value: z.ZodString;
2766
- msg: z.ZodString;
2767
- path: z.ZodString;
2768
- location: z.ZodString;
2769
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2770
- type: z.ZodString;
2771
- value: z.ZodString;
2772
- msg: z.ZodString;
2773
- path: z.ZodString;
2774
- location: z.ZodString;
2775
- }, z.ZodTypeAny, "passthrough">>, "many">;
2776
3067
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2777
3068
  message: z.ZodString;
2778
- statusCode: z.ZodNumber;
2779
- details: z.ZodArray<z.ZodObject<{
2780
- type: z.ZodString;
2781
- value: z.ZodString;
2782
- msg: z.ZodString;
2783
- path: z.ZodString;
2784
- location: z.ZodString;
2785
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2786
- type: z.ZodString;
2787
- value: z.ZodString;
2788
- msg: z.ZodString;
2789
- path: z.ZodString;
2790
- location: z.ZodString;
2791
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2792
- type: z.ZodString;
2793
- value: z.ZodString;
2794
- msg: z.ZodString;
2795
- path: z.ZodString;
2796
- location: z.ZodString;
2797
- }, z.ZodTypeAny, "passthrough">>, "many">;
2798
3069
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2799
3070
  message: z.ZodString;
2800
- statusCode: z.ZodNumber;
2801
- details: z.ZodArray<z.ZodObject<{
2802
- type: z.ZodString;
2803
- value: z.ZodString;
2804
- msg: z.ZodString;
2805
- path: z.ZodString;
2806
- location: z.ZodString;
2807
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2808
- type: z.ZodString;
2809
- value: z.ZodString;
2810
- msg: z.ZodString;
2811
- path: z.ZodString;
2812
- location: z.ZodString;
2813
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2814
- type: z.ZodString;
2815
- value: z.ZodString;
2816
- msg: z.ZodString;
2817
- path: z.ZodString;
2818
- location: z.ZodString;
2819
- }, z.ZodTypeAny, "passthrough">>, "many">;
2820
3071
  }, z.ZodTypeAny, "passthrough">>;
2821
3072
  }, {
2822
- status: 401;
3073
+ status: 404;
2823
3074
  description: string;
2824
3075
  schema: z.ZodObject<{
2825
3076
  message: z.ZodString;
@@ -2829,7 +3080,7 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2829
3080
  message: z.ZodString;
2830
3081
  }, z.ZodTypeAny, "passthrough">>;
2831
3082
  }, {
2832
- status: 404;
3083
+ status: 500;
2833
3084
  description: string;
2834
3085
  schema: z.ZodObject<{
2835
3086
  message: z.ZodString;
@@ -2838,8 +3089,55 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2838
3089
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2839
3090
  message: z.ZodString;
2840
3091
  }, z.ZodTypeAny, "passthrough">>;
3092
+ }];
3093
+ }, {
3094
+ method: "get";
3095
+ path: "/stats/champions/:championId/matchups";
3096
+ alias: "getChampionMatchupsByRegion";
3097
+ description: "Retrieve directional champion-vs-champion matchup metrics.\nAll metrics are computed within the requested region only.\nFor matchup endpoints, results are directional: A vs B is distinct from B vs A.\nWhen lane cannot be reliably inferred, records use lane&#x3D;unknown.\nAll rates are returned as decimal values in range [0, 1].";
3098
+ requestFormat: "json";
3099
+ parameters: [{
3100
+ name: "championId";
3101
+ type: "Path";
3102
+ schema: z.ZodNumber;
2841
3103
  }, {
2842
- status: 429;
3104
+ name: "region";
3105
+ type: "Query";
3106
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3107
+ }, {
3108
+ name: "patch";
3109
+ type: "Query";
3110
+ schema: z.ZodString;
3111
+ }, {
3112
+ name: "tier";
3113
+ type: "Query";
3114
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3115
+ }, {
3116
+ name: "queue";
3117
+ type: "Query";
3118
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
3119
+ }, {
3120
+ name: "lane";
3121
+ type: "Query";
3122
+ schema: z.ZodOptional<z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>>;
3123
+ }, {
3124
+ name: "limit";
3125
+ type: "Query";
3126
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3127
+ }];
3128
+ response: z.ZodType<ChampionMatchupStatsListResponse, z.ZodTypeDef, ChampionMatchupStatsListResponse>;
3129
+ errors: [{
3130
+ status: 400;
3131
+ description: string;
3132
+ schema: z.ZodObject<{
3133
+ message: z.ZodString;
3134
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3135
+ message: z.ZodString;
3136
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3137
+ message: z.ZodString;
3138
+ }, z.ZodTypeAny, "passthrough">>;
3139
+ }, {
3140
+ status: 404;
2843
3141
  description: string;
2844
3142
  schema: z.ZodObject<{
2845
3143
  message: z.ZodString;
@@ -2861,38 +3159,247 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2861
3159
  }];
2862
3160
  }, {
2863
3161
  method: "get";
2864
- path: "/matches/match-ids/:region/:puuid";
2865
- alias: "getMatchIdsByPuuid";
2866
- description: "Retrieve a list of Riot match IDs for a specific player using their encrypted PUUID and region";
3162
+ path: "/stats/champions/:championId/performance";
3163
+ alias: "getChampionPerformanceDetailByRegion";
3164
+ description: "Retrieve normalized per-minute performance metrics for one champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1] where applicable.";
2867
3165
  requestFormat: "json";
2868
3166
  parameters: [{
2869
- name: "region";
3167
+ name: "championId";
2870
3168
  type: "Path";
3169
+ schema: z.ZodNumber;
3170
+ }, {
3171
+ name: "region";
3172
+ type: "Query";
2871
3173
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
2872
3174
  }, {
2873
- name: "puuid";
2874
- type: "Path";
3175
+ name: "patch";
3176
+ type: "Query";
2875
3177
  schema: z.ZodString;
2876
3178
  }, {
2877
- name: "start";
3179
+ name: "tier";
2878
3180
  type: "Query";
2879
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3181
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
2880
3182
  }, {
2881
- name: "count";
3183
+ name: "queue";
2882
3184
  type: "Query";
2883
- schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3185
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
2884
3186
  }];
2885
- response: z.ZodArray<z.ZodString, "many">;
3187
+ response: z.ZodType<ChampionPerformanceStatsDetailResponse, z.ZodTypeDef, ChampionPerformanceStatsDetailResponse>;
2886
3188
  errors: [{
2887
3189
  status: 400;
2888
3190
  description: string;
2889
3191
  schema: z.ZodObject<{
2890
3192
  message: z.ZodString;
2891
- statusCode: z.ZodNumber;
2892
- details: z.ZodArray<z.ZodObject<{
2893
- type: z.ZodString;
2894
- value: z.ZodString;
2895
- msg: z.ZodString;
3193
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3194
+ message: z.ZodString;
3195
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3196
+ message: z.ZodString;
3197
+ }, z.ZodTypeAny, "passthrough">>;
3198
+ }, {
3199
+ status: 404;
3200
+ description: string;
3201
+ schema: z.ZodObject<{
3202
+ message: z.ZodString;
3203
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3204
+ message: z.ZodString;
3205
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3206
+ message: z.ZodString;
3207
+ }, z.ZodTypeAny, "passthrough">>;
3208
+ }, {
3209
+ status: 500;
3210
+ description: string;
3211
+ schema: z.ZodObject<{
3212
+ message: z.ZodString;
3213
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3214
+ message: z.ZodString;
3215
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3216
+ message: z.ZodString;
3217
+ }, z.ZodTypeAny, "passthrough">>;
3218
+ }];
3219
+ }, {
3220
+ method: "get";
3221
+ path: "/stats/champions/:championId/synergy";
3222
+ alias: "getChampionSynergyByRegion";
3223
+ description: "Retrieve same-team champion duo performance metrics.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1].";
3224
+ requestFormat: "json";
3225
+ parameters: [{
3226
+ name: "championId";
3227
+ type: "Path";
3228
+ schema: z.ZodNumber;
3229
+ }, {
3230
+ name: "region";
3231
+ type: "Query";
3232
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3233
+ }, {
3234
+ name: "patch";
3235
+ type: "Query";
3236
+ schema: z.ZodString;
3237
+ }, {
3238
+ name: "tier";
3239
+ type: "Query";
3240
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3241
+ }, {
3242
+ name: "queue";
3243
+ type: "Query";
3244
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
3245
+ }, {
3246
+ name: "limit";
3247
+ type: "Query";
3248
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3249
+ }];
3250
+ response: z.ZodType<ChampionSynergyStatsListResponse, z.ZodTypeDef, ChampionSynergyStatsListResponse>;
3251
+ errors: [{
3252
+ status: 400;
3253
+ description: string;
3254
+ schema: z.ZodObject<{
3255
+ message: z.ZodString;
3256
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3257
+ message: z.ZodString;
3258
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3259
+ message: z.ZodString;
3260
+ }, z.ZodTypeAny, "passthrough">>;
3261
+ }, {
3262
+ status: 404;
3263
+ description: string;
3264
+ schema: z.ZodObject<{
3265
+ message: z.ZodString;
3266
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3267
+ message: z.ZodString;
3268
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3269
+ message: z.ZodString;
3270
+ }, z.ZodTypeAny, "passthrough">>;
3271
+ }, {
3272
+ status: 500;
3273
+ description: string;
3274
+ schema: z.ZodObject<{
3275
+ message: z.ZodString;
3276
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3277
+ message: z.ZodString;
3278
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3279
+ message: z.ZodString;
3280
+ }, z.ZodTypeAny, "passthrough">>;
3281
+ }];
3282
+ }, {
3283
+ method: "get";
3284
+ path: "/stats/champions/objectives";
3285
+ alias: "getChampionObjectiveStatsByRegion";
3286
+ description: "Retrieve objective contribution rates by champion.\nAll metrics are computed within the requested region only.\nObjective metrics include metricDefinitionVersion to track definition changes.\nAll rates are returned as decimal values in range [0, 1].";
3287
+ requestFormat: "json";
3288
+ parameters: [{
3289
+ name: "region";
3290
+ type: "Query";
3291
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3292
+ }, {
3293
+ name: "patch";
3294
+ type: "Query";
3295
+ schema: z.ZodString;
3296
+ }, {
3297
+ name: "tier";
3298
+ type: "Query";
3299
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3300
+ }, {
3301
+ name: "queue";
3302
+ type: "Query";
3303
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
3304
+ }];
3305
+ response: z.ZodType<ChampionObjectiveStatsListResponse, z.ZodTypeDef, ChampionObjectiveStatsListResponse>;
3306
+ errors: [{
3307
+ status: 400;
3308
+ description: string;
3309
+ schema: z.ZodObject<{
3310
+ message: z.ZodString;
3311
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3312
+ message: z.ZodString;
3313
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3314
+ message: z.ZodString;
3315
+ }, z.ZodTypeAny, "passthrough">>;
3316
+ }, {
3317
+ status: 500;
3318
+ description: string;
3319
+ schema: z.ZodObject<{
3320
+ message: z.ZodString;
3321
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3322
+ message: z.ZodString;
3323
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3324
+ message: z.ZodString;
3325
+ }, z.ZodTypeAny, "passthrough">>;
3326
+ }];
3327
+ }, {
3328
+ method: "get";
3329
+ path: "/stats/champions/performance";
3330
+ alias: "getChampionPerformanceTableByRegion";
3331
+ description: "Retrieve normalized per-minute performance metrics by champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1] where applicable.";
3332
+ requestFormat: "json";
3333
+ parameters: [{
3334
+ name: "region";
3335
+ type: "Query";
3336
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3337
+ }, {
3338
+ name: "patch";
3339
+ type: "Query";
3340
+ schema: z.ZodString;
3341
+ }, {
3342
+ name: "tier";
3343
+ type: "Query";
3344
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3345
+ }, {
3346
+ name: "queue";
3347
+ type: "Query";
3348
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
3349
+ }];
3350
+ response: z.ZodType<ChampionPerformanceStatsListResponse, z.ZodTypeDef, ChampionPerformanceStatsListResponse>;
3351
+ errors: [{
3352
+ status: 400;
3353
+ description: string;
3354
+ schema: z.ZodObject<{
3355
+ message: z.ZodString;
3356
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3357
+ message: z.ZodString;
3358
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3359
+ message: z.ZodString;
3360
+ }, z.ZodTypeAny, "passthrough">>;
3361
+ }, {
3362
+ status: 500;
3363
+ description: string;
3364
+ schema: z.ZodObject<{
3365
+ message: z.ZodString;
3366
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3367
+ message: z.ZodString;
3368
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3369
+ message: z.ZodString;
3370
+ }, z.ZodTypeAny, "passthrough">>;
3371
+ }];
3372
+ }]>;
3373
+ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions): import("@zodios/core").ZodiosInstance<[{
3374
+ method: "get";
3375
+ path: "/account/by-name/:region/:summonerName/:tagLine";
3376
+ alias: "getAccountBySummonerName";
3377
+ description: "Retrieve Riot account details using the summoner name and tag line for a specific region";
3378
+ requestFormat: "json";
3379
+ parameters: [{
3380
+ name: "region";
3381
+ type: "Path";
3382
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3383
+ }, {
3384
+ name: "summonerName";
3385
+ type: "Path";
3386
+ schema: z.ZodString;
3387
+ }, {
3388
+ name: "tagLine";
3389
+ type: "Path";
3390
+ schema: z.ZodString;
3391
+ }];
3392
+ response: z.ZodType<AccountInfo, z.ZodTypeDef, AccountInfo>;
3393
+ errors: [{
3394
+ status: 400;
3395
+ description: string;
3396
+ schema: z.ZodObject<{
3397
+ message: z.ZodString;
3398
+ statusCode: z.ZodNumber;
3399
+ details: z.ZodArray<z.ZodObject<{
3400
+ type: z.ZodString;
3401
+ value: z.ZodString;
3402
+ msg: z.ZodString;
2896
3403
  path: z.ZodString;
2897
3404
  location: z.ZodString;
2898
3405
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2996,20 +3503,20 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
2996
3503
  }];
2997
3504
  }, {
2998
3505
  method: "get";
2999
- path: "/matches/match/:region/:matchId";
3000
- alias: "getMatchById";
3001
- description: "Retrieve Riot match details using the match ID for a specific region";
3506
+ path: "/account/by-puuid/:region/:puuid";
3507
+ alias: "getAccountByPuuid";
3508
+ description: "Retrieve Riot account details using the encrypted summoner ID for a specific region";
3002
3509
  requestFormat: "json";
3003
3510
  parameters: [{
3004
3511
  name: "region";
3005
3512
  type: "Path";
3006
3513
  schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3007
3514
  }, {
3008
- name: "matchId";
3515
+ name: "puuid";
3009
3516
  type: "Path";
3010
3517
  schema: z.ZodString;
3011
3518
  }];
3012
- response: z.ZodType<Match, z.ZodTypeDef, Match>;
3519
+ response: z.ZodType<AccountInfo, z.ZodTypeDef, AccountInfo>;
3013
3520
  errors: [{
3014
3521
  status: 400;
3015
3522
  description: string;
@@ -3121,6 +3628,1630 @@ export declare function createApiClient(baseUrl: string, options?: ZodiosOptions
3121
3628
  message: z.ZodString;
3122
3629
  }, z.ZodTypeAny, "passthrough">>;
3123
3630
  }];
3631
+ }, {
3632
+ method: "get";
3633
+ path: "/auth/challenge/:deviceId";
3634
+ alias: "getAuthChallenge";
3635
+ description: "Retrieve a unique authentication challenge that can be signed with the device&#x27;s private key to authenticate requests";
3636
+ requestFormat: "json";
3637
+ parameters: [{
3638
+ name: "deviceId";
3639
+ type: "Path";
3640
+ schema: z.ZodString;
3641
+ }];
3642
+ response: z.ZodObject<{
3643
+ challenge: z.ZodOptional<z.ZodString>;
3644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3645
+ challenge: z.ZodOptional<z.ZodString>;
3646
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3647
+ challenge: z.ZodOptional<z.ZodString>;
3648
+ }, z.ZodTypeAny, "passthrough">>;
3649
+ errors: [{
3650
+ status: 500;
3651
+ description: string;
3652
+ schema: z.ZodObject<{
3653
+ message: z.ZodString;
3654
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3655
+ message: z.ZodString;
3656
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3657
+ message: z.ZodString;
3658
+ }, z.ZodTypeAny, "passthrough">>;
3659
+ }];
3660
+ }, {
3661
+ method: "post";
3662
+ path: "/auth/devices/register";
3663
+ alias: "registerDevice";
3664
+ description: "Register a new device to receive an authentication token for accessing protected endpoints";
3665
+ requestFormat: "json";
3666
+ parameters: [{
3667
+ name: "body";
3668
+ type: "Body";
3669
+ schema: z.ZodType<Device, z.ZodTypeDef, Device>;
3670
+ }];
3671
+ response: z.ZodObject<{
3672
+ deviceId: z.ZodOptional<z.ZodString>;
3673
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3674
+ deviceId: z.ZodOptional<z.ZodString>;
3675
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3676
+ deviceId: z.ZodOptional<z.ZodString>;
3677
+ }, z.ZodTypeAny, "passthrough">>;
3678
+ errors: [{
3679
+ status: 400;
3680
+ description: string;
3681
+ schema: z.ZodObject<{
3682
+ message: z.ZodString;
3683
+ statusCode: z.ZodNumber;
3684
+ details: z.ZodArray<z.ZodObject<{
3685
+ type: z.ZodString;
3686
+ value: z.ZodString;
3687
+ msg: z.ZodString;
3688
+ path: z.ZodString;
3689
+ location: z.ZodString;
3690
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3691
+ type: z.ZodString;
3692
+ value: z.ZodString;
3693
+ msg: z.ZodString;
3694
+ path: z.ZodString;
3695
+ location: z.ZodString;
3696
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3697
+ type: z.ZodString;
3698
+ value: z.ZodString;
3699
+ msg: z.ZodString;
3700
+ path: z.ZodString;
3701
+ location: z.ZodString;
3702
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3703
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3704
+ message: z.ZodString;
3705
+ statusCode: z.ZodNumber;
3706
+ details: z.ZodArray<z.ZodObject<{
3707
+ type: z.ZodString;
3708
+ value: z.ZodString;
3709
+ msg: z.ZodString;
3710
+ path: z.ZodString;
3711
+ location: z.ZodString;
3712
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3713
+ type: z.ZodString;
3714
+ value: z.ZodString;
3715
+ msg: z.ZodString;
3716
+ path: z.ZodString;
3717
+ location: z.ZodString;
3718
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3719
+ type: z.ZodString;
3720
+ value: z.ZodString;
3721
+ msg: z.ZodString;
3722
+ path: z.ZodString;
3723
+ location: z.ZodString;
3724
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3725
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3726
+ message: z.ZodString;
3727
+ statusCode: z.ZodNumber;
3728
+ details: z.ZodArray<z.ZodObject<{
3729
+ type: z.ZodString;
3730
+ value: z.ZodString;
3731
+ msg: z.ZodString;
3732
+ path: z.ZodString;
3733
+ location: z.ZodString;
3734
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3735
+ type: z.ZodString;
3736
+ value: z.ZodString;
3737
+ msg: z.ZodString;
3738
+ path: z.ZodString;
3739
+ location: z.ZodString;
3740
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3741
+ type: z.ZodString;
3742
+ value: z.ZodString;
3743
+ msg: z.ZodString;
3744
+ path: z.ZodString;
3745
+ location: z.ZodString;
3746
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3747
+ }, z.ZodTypeAny, "passthrough">>;
3748
+ }, {
3749
+ status: 500;
3750
+ description: string;
3751
+ schema: z.ZodObject<{
3752
+ message: z.ZodString;
3753
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3754
+ message: z.ZodString;
3755
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3756
+ message: z.ZodString;
3757
+ }, z.ZodTypeAny, "passthrough">>;
3758
+ }];
3759
+ }, {
3760
+ method: "get";
3761
+ path: "/leaderboard/:region/:queue/:tier/:division";
3762
+ alias: "getLeaderboard";
3763
+ description: "Retrieve Riot leaderboard entries for a specific region, queue type, tier, and division";
3764
+ requestFormat: "json";
3765
+ parameters: [{
3766
+ name: "region";
3767
+ type: "Path";
3768
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3769
+ }, {
3770
+ name: "queue";
3771
+ type: "Path";
3772
+ schema: z.ZodEnum<["RANKED_SOLO_5x5", "RANKED_FLEX_SR", "RANKED_FLEX_TT"]>;
3773
+ }, {
3774
+ name: "tier";
3775
+ type: "Path";
3776
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3777
+ }, {
3778
+ name: "division";
3779
+ type: "Path";
3780
+ schema: z.ZodEnum<["I", "II", "III", "IV"]>;
3781
+ }, {
3782
+ name: "count";
3783
+ type: "Query";
3784
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3785
+ }, {
3786
+ name: "start";
3787
+ type: "Query";
3788
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3789
+ }];
3790
+ response: z.ZodArray<z.ZodType<LeaderboardPlayer, z.ZodTypeDef, LeaderboardPlayer>, "many">;
3791
+ errors: [{
3792
+ status: 400;
3793
+ description: string;
3794
+ schema: z.ZodObject<{
3795
+ message: z.ZodString;
3796
+ statusCode: z.ZodNumber;
3797
+ details: z.ZodArray<z.ZodObject<{
3798
+ type: z.ZodString;
3799
+ value: z.ZodString;
3800
+ msg: z.ZodString;
3801
+ path: z.ZodString;
3802
+ location: z.ZodString;
3803
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3804
+ type: z.ZodString;
3805
+ value: z.ZodString;
3806
+ msg: z.ZodString;
3807
+ path: z.ZodString;
3808
+ location: z.ZodString;
3809
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3810
+ type: z.ZodString;
3811
+ value: z.ZodString;
3812
+ msg: z.ZodString;
3813
+ path: z.ZodString;
3814
+ location: z.ZodString;
3815
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3816
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3817
+ message: z.ZodString;
3818
+ statusCode: z.ZodNumber;
3819
+ details: z.ZodArray<z.ZodObject<{
3820
+ type: z.ZodString;
3821
+ value: z.ZodString;
3822
+ msg: z.ZodString;
3823
+ path: z.ZodString;
3824
+ location: z.ZodString;
3825
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3826
+ type: z.ZodString;
3827
+ value: z.ZodString;
3828
+ msg: z.ZodString;
3829
+ path: z.ZodString;
3830
+ location: z.ZodString;
3831
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3832
+ type: z.ZodString;
3833
+ value: z.ZodString;
3834
+ msg: z.ZodString;
3835
+ path: z.ZodString;
3836
+ location: z.ZodString;
3837
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3838
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3839
+ message: z.ZodString;
3840
+ statusCode: z.ZodNumber;
3841
+ details: z.ZodArray<z.ZodObject<{
3842
+ type: z.ZodString;
3843
+ value: z.ZodString;
3844
+ msg: z.ZodString;
3845
+ path: z.ZodString;
3846
+ location: z.ZodString;
3847
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3848
+ type: z.ZodString;
3849
+ value: z.ZodString;
3850
+ msg: z.ZodString;
3851
+ path: z.ZodString;
3852
+ location: z.ZodString;
3853
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3854
+ type: z.ZodString;
3855
+ value: z.ZodString;
3856
+ msg: z.ZodString;
3857
+ path: z.ZodString;
3858
+ location: z.ZodString;
3859
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3860
+ }, z.ZodTypeAny, "passthrough">>;
3861
+ }, {
3862
+ status: 401;
3863
+ description: string;
3864
+ schema: z.ZodObject<{
3865
+ message: z.ZodString;
3866
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3867
+ message: z.ZodString;
3868
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3869
+ message: z.ZodString;
3870
+ }, z.ZodTypeAny, "passthrough">>;
3871
+ }, {
3872
+ status: 429;
3873
+ description: string;
3874
+ schema: z.ZodObject<{
3875
+ message: z.ZodString;
3876
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3877
+ message: z.ZodString;
3878
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3879
+ message: z.ZodString;
3880
+ }, z.ZodTypeAny, "passthrough">>;
3881
+ }, {
3882
+ status: 500;
3883
+ description: string;
3884
+ schema: z.ZodObject<{
3885
+ message: z.ZodString;
3886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3887
+ message: z.ZodString;
3888
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3889
+ message: z.ZodString;
3890
+ }, z.ZodTypeAny, "passthrough">>;
3891
+ }];
3892
+ }, {
3893
+ method: "get";
3894
+ path: "/leagues/:region/:queue/:tier/:division";
3895
+ alias: "getLeagueEntries";
3896
+ description: "Retrieve Riot league entries for a specific region, queue type, tier, and division";
3897
+ requestFormat: "json";
3898
+ parameters: [{
3899
+ name: "region";
3900
+ type: "Path";
3901
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
3902
+ }, {
3903
+ name: "queue";
3904
+ type: "Path";
3905
+ schema: z.ZodEnum<["RANKED_SOLO_5x5", "RANKED_FLEX_SR", "RANKED_FLEX_TT"]>;
3906
+ }, {
3907
+ name: "tier";
3908
+ type: "Path";
3909
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
3910
+ }, {
3911
+ name: "division";
3912
+ type: "Path";
3913
+ schema: z.ZodEnum<["I", "II", "III", "IV"]>;
3914
+ }, {
3915
+ name: "count";
3916
+ type: "Query";
3917
+ schema: z.ZodOptional<z.ZodNumber>;
3918
+ }, {
3919
+ name: "start";
3920
+ type: "Query";
3921
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
3922
+ }];
3923
+ response: z.ZodType<LeagueDetails, z.ZodTypeDef, LeagueDetails>;
3924
+ errors: [{
3925
+ status: 400;
3926
+ description: string;
3927
+ schema: z.ZodObject<{
3928
+ message: z.ZodString;
3929
+ statusCode: z.ZodNumber;
3930
+ details: z.ZodArray<z.ZodObject<{
3931
+ type: z.ZodString;
3932
+ value: z.ZodString;
3933
+ msg: z.ZodString;
3934
+ path: z.ZodString;
3935
+ location: z.ZodString;
3936
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3937
+ type: z.ZodString;
3938
+ value: z.ZodString;
3939
+ msg: z.ZodString;
3940
+ path: z.ZodString;
3941
+ location: z.ZodString;
3942
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3943
+ type: z.ZodString;
3944
+ value: z.ZodString;
3945
+ msg: z.ZodString;
3946
+ path: z.ZodString;
3947
+ location: z.ZodString;
3948
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3949
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3950
+ message: z.ZodString;
3951
+ statusCode: z.ZodNumber;
3952
+ details: z.ZodArray<z.ZodObject<{
3953
+ type: z.ZodString;
3954
+ value: z.ZodString;
3955
+ msg: z.ZodString;
3956
+ path: z.ZodString;
3957
+ location: z.ZodString;
3958
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3959
+ type: z.ZodString;
3960
+ value: z.ZodString;
3961
+ msg: z.ZodString;
3962
+ path: z.ZodString;
3963
+ location: z.ZodString;
3964
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3965
+ type: z.ZodString;
3966
+ value: z.ZodString;
3967
+ msg: z.ZodString;
3968
+ path: z.ZodString;
3969
+ location: z.ZodString;
3970
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3971
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3972
+ message: z.ZodString;
3973
+ statusCode: z.ZodNumber;
3974
+ details: z.ZodArray<z.ZodObject<{
3975
+ type: z.ZodString;
3976
+ value: z.ZodString;
3977
+ msg: z.ZodString;
3978
+ path: z.ZodString;
3979
+ location: z.ZodString;
3980
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3981
+ type: z.ZodString;
3982
+ value: z.ZodString;
3983
+ msg: z.ZodString;
3984
+ path: z.ZodString;
3985
+ location: z.ZodString;
3986
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3987
+ type: z.ZodString;
3988
+ value: z.ZodString;
3989
+ msg: z.ZodString;
3990
+ path: z.ZodString;
3991
+ location: z.ZodString;
3992
+ }, z.ZodTypeAny, "passthrough">>, "many">;
3993
+ }, z.ZodTypeAny, "passthrough">>;
3994
+ }, {
3995
+ status: 401;
3996
+ description: string;
3997
+ schema: z.ZodObject<{
3998
+ message: z.ZodString;
3999
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4000
+ message: z.ZodString;
4001
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4002
+ message: z.ZodString;
4003
+ }, z.ZodTypeAny, "passthrough">>;
4004
+ }, {
4005
+ status: 429;
4006
+ description: string;
4007
+ schema: z.ZodObject<{
4008
+ message: z.ZodString;
4009
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4010
+ message: z.ZodString;
4011
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4012
+ message: z.ZodString;
4013
+ }, z.ZodTypeAny, "passthrough">>;
4014
+ }, {
4015
+ status: 500;
4016
+ description: string;
4017
+ schema: z.ZodObject<{
4018
+ message: z.ZodString;
4019
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4020
+ message: z.ZodString;
4021
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4022
+ message: z.ZodString;
4023
+ }, z.ZodTypeAny, "passthrough">>;
4024
+ }];
4025
+ }, {
4026
+ method: "get";
4027
+ path: "/matches/:region/:puuid";
4028
+ alias: "getMatchesByPuuid";
4029
+ description: "Retrieve a list of Riot match details for a specific player using their encrypted PUUID and region";
4030
+ requestFormat: "json";
4031
+ parameters: [{
4032
+ name: "region";
4033
+ type: "Path";
4034
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4035
+ }, {
4036
+ name: "puuid";
4037
+ type: "Path";
4038
+ schema: z.ZodString;
4039
+ }, {
4040
+ name: "start";
4041
+ type: "Query";
4042
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4043
+ }, {
4044
+ name: "count";
4045
+ type: "Query";
4046
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4047
+ }, {
4048
+ name: "queueId";
4049
+ type: "Query";
4050
+ schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
4051
+ }];
4052
+ response: z.ZodArray<z.ZodType<Match, z.ZodTypeDef, Match>, "many">;
4053
+ errors: [{
4054
+ status: 400;
4055
+ description: string;
4056
+ schema: z.ZodObject<{
4057
+ message: z.ZodString;
4058
+ statusCode: z.ZodNumber;
4059
+ details: z.ZodArray<z.ZodObject<{
4060
+ type: z.ZodString;
4061
+ value: z.ZodString;
4062
+ msg: z.ZodString;
4063
+ path: z.ZodString;
4064
+ location: z.ZodString;
4065
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4066
+ type: z.ZodString;
4067
+ value: z.ZodString;
4068
+ msg: z.ZodString;
4069
+ path: z.ZodString;
4070
+ location: z.ZodString;
4071
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4072
+ type: z.ZodString;
4073
+ value: z.ZodString;
4074
+ msg: z.ZodString;
4075
+ path: z.ZodString;
4076
+ location: z.ZodString;
4077
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4078
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4079
+ message: z.ZodString;
4080
+ statusCode: z.ZodNumber;
4081
+ details: z.ZodArray<z.ZodObject<{
4082
+ type: z.ZodString;
4083
+ value: z.ZodString;
4084
+ msg: z.ZodString;
4085
+ path: z.ZodString;
4086
+ location: z.ZodString;
4087
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4088
+ type: z.ZodString;
4089
+ value: z.ZodString;
4090
+ msg: z.ZodString;
4091
+ path: z.ZodString;
4092
+ location: z.ZodString;
4093
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4094
+ type: z.ZodString;
4095
+ value: z.ZodString;
4096
+ msg: z.ZodString;
4097
+ path: z.ZodString;
4098
+ location: z.ZodString;
4099
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4100
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4101
+ message: z.ZodString;
4102
+ statusCode: z.ZodNumber;
4103
+ details: z.ZodArray<z.ZodObject<{
4104
+ type: z.ZodString;
4105
+ value: z.ZodString;
4106
+ msg: z.ZodString;
4107
+ path: z.ZodString;
4108
+ location: z.ZodString;
4109
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4110
+ type: z.ZodString;
4111
+ value: z.ZodString;
4112
+ msg: z.ZodString;
4113
+ path: z.ZodString;
4114
+ location: z.ZodString;
4115
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4116
+ type: z.ZodString;
4117
+ value: z.ZodString;
4118
+ msg: z.ZodString;
4119
+ path: z.ZodString;
4120
+ location: z.ZodString;
4121
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4122
+ }, z.ZodTypeAny, "passthrough">>;
4123
+ }, {
4124
+ status: 401;
4125
+ description: string;
4126
+ schema: z.ZodObject<{
4127
+ message: z.ZodString;
4128
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4129
+ message: z.ZodString;
4130
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4131
+ message: z.ZodString;
4132
+ }, z.ZodTypeAny, "passthrough">>;
4133
+ }, {
4134
+ status: 404;
4135
+ description: string;
4136
+ schema: z.ZodObject<{
4137
+ message: z.ZodString;
4138
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4139
+ message: z.ZodString;
4140
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4141
+ message: z.ZodString;
4142
+ }, z.ZodTypeAny, "passthrough">>;
4143
+ }, {
4144
+ status: 429;
4145
+ description: string;
4146
+ schema: z.ZodObject<{
4147
+ message: z.ZodString;
4148
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4149
+ message: z.ZodString;
4150
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4151
+ message: z.ZodString;
4152
+ }, z.ZodTypeAny, "passthrough">>;
4153
+ }, {
4154
+ status: 500;
4155
+ description: string;
4156
+ schema: z.ZodObject<{
4157
+ message: z.ZodString;
4158
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4159
+ message: z.ZodString;
4160
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4161
+ message: z.ZodString;
4162
+ }, z.ZodTypeAny, "passthrough">>;
4163
+ }];
4164
+ }, {
4165
+ method: "get";
4166
+ path: "/matches/match-ids/:region/:puuid";
4167
+ alias: "getMatchIdsByPuuid";
4168
+ description: "Retrieve a list of Riot match IDs for a specific player using their encrypted PUUID and region";
4169
+ requestFormat: "json";
4170
+ parameters: [{
4171
+ name: "region";
4172
+ type: "Path";
4173
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4174
+ }, {
4175
+ name: "puuid";
4176
+ type: "Path";
4177
+ schema: z.ZodString;
4178
+ }, {
4179
+ name: "start";
4180
+ type: "Query";
4181
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4182
+ }, {
4183
+ name: "count";
4184
+ type: "Query";
4185
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
4186
+ }];
4187
+ response: z.ZodArray<z.ZodString, "many">;
4188
+ errors: [{
4189
+ status: 400;
4190
+ description: string;
4191
+ schema: z.ZodObject<{
4192
+ message: z.ZodString;
4193
+ statusCode: z.ZodNumber;
4194
+ details: z.ZodArray<z.ZodObject<{
4195
+ type: z.ZodString;
4196
+ value: z.ZodString;
4197
+ msg: z.ZodString;
4198
+ path: z.ZodString;
4199
+ location: z.ZodString;
4200
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4201
+ type: z.ZodString;
4202
+ value: z.ZodString;
4203
+ msg: z.ZodString;
4204
+ path: z.ZodString;
4205
+ location: z.ZodString;
4206
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4207
+ type: z.ZodString;
4208
+ value: z.ZodString;
4209
+ msg: z.ZodString;
4210
+ path: z.ZodString;
4211
+ location: z.ZodString;
4212
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4213
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4214
+ message: z.ZodString;
4215
+ statusCode: z.ZodNumber;
4216
+ details: z.ZodArray<z.ZodObject<{
4217
+ type: z.ZodString;
4218
+ value: z.ZodString;
4219
+ msg: z.ZodString;
4220
+ path: z.ZodString;
4221
+ location: z.ZodString;
4222
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4223
+ type: z.ZodString;
4224
+ value: z.ZodString;
4225
+ msg: z.ZodString;
4226
+ path: z.ZodString;
4227
+ location: z.ZodString;
4228
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4229
+ type: z.ZodString;
4230
+ value: z.ZodString;
4231
+ msg: z.ZodString;
4232
+ path: z.ZodString;
4233
+ location: z.ZodString;
4234
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4235
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4236
+ message: z.ZodString;
4237
+ statusCode: z.ZodNumber;
4238
+ details: z.ZodArray<z.ZodObject<{
4239
+ type: z.ZodString;
4240
+ value: z.ZodString;
4241
+ msg: z.ZodString;
4242
+ path: z.ZodString;
4243
+ location: z.ZodString;
4244
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4245
+ type: z.ZodString;
4246
+ value: z.ZodString;
4247
+ msg: z.ZodString;
4248
+ path: z.ZodString;
4249
+ location: z.ZodString;
4250
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4251
+ type: z.ZodString;
4252
+ value: z.ZodString;
4253
+ msg: z.ZodString;
4254
+ path: z.ZodString;
4255
+ location: z.ZodString;
4256
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4257
+ }, z.ZodTypeAny, "passthrough">>;
4258
+ }, {
4259
+ status: 401;
4260
+ description: string;
4261
+ schema: z.ZodObject<{
4262
+ message: z.ZodString;
4263
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4264
+ message: z.ZodString;
4265
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4266
+ message: z.ZodString;
4267
+ }, z.ZodTypeAny, "passthrough">>;
4268
+ }, {
4269
+ status: 404;
4270
+ description: string;
4271
+ schema: z.ZodObject<{
4272
+ message: z.ZodString;
4273
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4274
+ message: z.ZodString;
4275
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4276
+ message: z.ZodString;
4277
+ }, z.ZodTypeAny, "passthrough">>;
4278
+ }, {
4279
+ status: 429;
4280
+ description: string;
4281
+ schema: z.ZodObject<{
4282
+ message: z.ZodString;
4283
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4284
+ message: z.ZodString;
4285
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4286
+ message: z.ZodString;
4287
+ }, z.ZodTypeAny, "passthrough">>;
4288
+ }, {
4289
+ status: 500;
4290
+ description: string;
4291
+ schema: z.ZodObject<{
4292
+ message: z.ZodString;
4293
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4294
+ message: z.ZodString;
4295
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4296
+ message: z.ZodString;
4297
+ }, z.ZodTypeAny, "passthrough">>;
4298
+ }];
4299
+ }, {
4300
+ method: "get";
4301
+ path: "/matches/match/:region/:matchId";
4302
+ alias: "getMatchById";
4303
+ description: "Retrieve Riot match details using the match ID for a specific region";
4304
+ requestFormat: "json";
4305
+ parameters: [{
4306
+ name: "region";
4307
+ type: "Path";
4308
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4309
+ }, {
4310
+ name: "matchId";
4311
+ type: "Path";
4312
+ schema: z.ZodString;
4313
+ }];
4314
+ response: z.ZodType<Match, z.ZodTypeDef, Match>;
4315
+ errors: [{
4316
+ status: 400;
4317
+ description: string;
4318
+ schema: z.ZodObject<{
4319
+ message: z.ZodString;
4320
+ statusCode: z.ZodNumber;
4321
+ details: z.ZodArray<z.ZodObject<{
4322
+ type: z.ZodString;
4323
+ value: z.ZodString;
4324
+ msg: z.ZodString;
4325
+ path: z.ZodString;
4326
+ location: z.ZodString;
4327
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4328
+ type: z.ZodString;
4329
+ value: z.ZodString;
4330
+ msg: z.ZodString;
4331
+ path: z.ZodString;
4332
+ location: z.ZodString;
4333
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4334
+ type: z.ZodString;
4335
+ value: z.ZodString;
4336
+ msg: z.ZodString;
4337
+ path: z.ZodString;
4338
+ location: z.ZodString;
4339
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4341
+ message: z.ZodString;
4342
+ statusCode: z.ZodNumber;
4343
+ details: z.ZodArray<z.ZodObject<{
4344
+ type: z.ZodString;
4345
+ value: z.ZodString;
4346
+ msg: z.ZodString;
4347
+ path: z.ZodString;
4348
+ location: z.ZodString;
4349
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4350
+ type: z.ZodString;
4351
+ value: z.ZodString;
4352
+ msg: z.ZodString;
4353
+ path: z.ZodString;
4354
+ location: z.ZodString;
4355
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4356
+ type: z.ZodString;
4357
+ value: z.ZodString;
4358
+ msg: z.ZodString;
4359
+ path: z.ZodString;
4360
+ location: z.ZodString;
4361
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4362
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4363
+ message: z.ZodString;
4364
+ statusCode: z.ZodNumber;
4365
+ details: z.ZodArray<z.ZodObject<{
4366
+ type: z.ZodString;
4367
+ value: z.ZodString;
4368
+ msg: z.ZodString;
4369
+ path: z.ZodString;
4370
+ location: z.ZodString;
4371
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4372
+ type: z.ZodString;
4373
+ value: z.ZodString;
4374
+ msg: z.ZodString;
4375
+ path: z.ZodString;
4376
+ location: z.ZodString;
4377
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4378
+ type: z.ZodString;
4379
+ value: z.ZodString;
4380
+ msg: z.ZodString;
4381
+ path: z.ZodString;
4382
+ location: z.ZodString;
4383
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4384
+ }, z.ZodTypeAny, "passthrough">>;
4385
+ }, {
4386
+ status: 401;
4387
+ description: string;
4388
+ schema: z.ZodObject<{
4389
+ message: z.ZodString;
4390
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4391
+ message: z.ZodString;
4392
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4393
+ message: z.ZodString;
4394
+ }, z.ZodTypeAny, "passthrough">>;
4395
+ }, {
4396
+ status: 404;
4397
+ description: string;
4398
+ schema: z.ZodObject<{
4399
+ message: z.ZodString;
4400
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4401
+ message: z.ZodString;
4402
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4403
+ message: z.ZodString;
4404
+ }, z.ZodTypeAny, "passthrough">>;
4405
+ }, {
4406
+ status: 429;
4407
+ description: string;
4408
+ schema: z.ZodObject<{
4409
+ message: z.ZodString;
4410
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4411
+ message: z.ZodString;
4412
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4413
+ message: z.ZodString;
4414
+ }, z.ZodTypeAny, "passthrough">>;
4415
+ }, {
4416
+ status: 500;
4417
+ description: string;
4418
+ schema: z.ZodObject<{
4419
+ message: z.ZodString;
4420
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4421
+ message: z.ZodString;
4422
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4423
+ message: z.ZodString;
4424
+ }, z.ZodTypeAny, "passthrough">>;
4425
+ }];
4426
+ }, {
4427
+ method: "get";
4428
+ path: "/players/:puuid/stats/:jobId";
4429
+ alias: "getPlayerStatsJobStatus";
4430
+ description: "Retrieve the status or result for a region-scoped player stats job.";
4431
+ requestFormat: "json";
4432
+ parameters: [{
4433
+ name: "puuid";
4434
+ type: "Path";
4435
+ schema: z.ZodString;
4436
+ }, {
4437
+ name: "jobId";
4438
+ type: "Path";
4439
+ schema: z.ZodString;
4440
+ }, {
4441
+ name: "region";
4442
+ type: "Query";
4443
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4444
+ }];
4445
+ response: z.ZodType<PlayerStatsCacheEntryResponse, z.ZodTypeDef, PlayerStatsCacheEntryResponse>;
4446
+ errors: [{
4447
+ status: 400;
4448
+ description: string;
4449
+ schema: z.ZodObject<{
4450
+ message: z.ZodString;
4451
+ statusCode: z.ZodNumber;
4452
+ details: z.ZodArray<z.ZodObject<{
4453
+ type: z.ZodString;
4454
+ value: z.ZodString;
4455
+ msg: z.ZodString;
4456
+ path: z.ZodString;
4457
+ location: z.ZodString;
4458
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4459
+ type: z.ZodString;
4460
+ value: z.ZodString;
4461
+ msg: z.ZodString;
4462
+ path: z.ZodString;
4463
+ location: z.ZodString;
4464
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4465
+ type: z.ZodString;
4466
+ value: z.ZodString;
4467
+ msg: z.ZodString;
4468
+ path: z.ZodString;
4469
+ location: z.ZodString;
4470
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4471
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4472
+ message: z.ZodString;
4473
+ statusCode: z.ZodNumber;
4474
+ details: z.ZodArray<z.ZodObject<{
4475
+ type: z.ZodString;
4476
+ value: z.ZodString;
4477
+ msg: z.ZodString;
4478
+ path: z.ZodString;
4479
+ location: z.ZodString;
4480
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4481
+ type: z.ZodString;
4482
+ value: z.ZodString;
4483
+ msg: z.ZodString;
4484
+ path: z.ZodString;
4485
+ location: z.ZodString;
4486
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4487
+ type: z.ZodString;
4488
+ value: z.ZodString;
4489
+ msg: z.ZodString;
4490
+ path: z.ZodString;
4491
+ location: z.ZodString;
4492
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4493
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4494
+ message: z.ZodString;
4495
+ statusCode: z.ZodNumber;
4496
+ details: z.ZodArray<z.ZodObject<{
4497
+ type: z.ZodString;
4498
+ value: z.ZodString;
4499
+ msg: z.ZodString;
4500
+ path: z.ZodString;
4501
+ location: z.ZodString;
4502
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4503
+ type: z.ZodString;
4504
+ value: z.ZodString;
4505
+ msg: z.ZodString;
4506
+ path: z.ZodString;
4507
+ location: z.ZodString;
4508
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4509
+ type: z.ZodString;
4510
+ value: z.ZodString;
4511
+ msg: z.ZodString;
4512
+ path: z.ZodString;
4513
+ location: z.ZodString;
4514
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4515
+ }, z.ZodTypeAny, "passthrough">>;
4516
+ }, {
4517
+ status: 404;
4518
+ description: string;
4519
+ schema: z.ZodObject<{
4520
+ message: z.ZodString;
4521
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4522
+ message: z.ZodString;
4523
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4524
+ message: z.ZodString;
4525
+ }, z.ZodTypeAny, "passthrough">>;
4526
+ }, {
4527
+ status: 500;
4528
+ description: string;
4529
+ schema: z.ZodObject<{
4530
+ message: z.ZodString;
4531
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4532
+ message: z.ZodString;
4533
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4534
+ message: z.ZodString;
4535
+ }, z.ZodTypeAny, "passthrough">>;
4536
+ }];
4537
+ }, {
4538
+ method: "post";
4539
+ path: "/players/:puuid/stats/request";
4540
+ alias: "requestPlayerStatsJob";
4541
+ description: "Request player stats computation for a specific region and stats type.\nBehavior:\n- If valid cache exists for same (region, puuid, type, paramsHash), return 200 with cached result.\n- If equivalent in-flight job exists, return 202 with existing jobId (do not enqueue duplicate).\n- Else enqueue a new job and return 202 with new jobId.";
4542
+ requestFormat: "json";
4543
+ parameters: [{
4544
+ name: "body";
4545
+ type: "Body";
4546
+ schema: z.ZodType<PlayerStatsJobRequest, z.ZodTypeDef, PlayerStatsJobRequest>;
4547
+ }, {
4548
+ name: "puuid";
4549
+ type: "Path";
4550
+ schema: z.ZodString;
4551
+ }];
4552
+ response: z.ZodType<PlayerStatsCacheEntryResponse, z.ZodTypeDef, PlayerStatsCacheEntryResponse>;
4553
+ errors: [{
4554
+ status: 400;
4555
+ description: string;
4556
+ schema: z.ZodObject<{
4557
+ message: z.ZodString;
4558
+ statusCode: z.ZodNumber;
4559
+ details: z.ZodArray<z.ZodObject<{
4560
+ type: z.ZodString;
4561
+ value: z.ZodString;
4562
+ msg: z.ZodString;
4563
+ path: z.ZodString;
4564
+ location: z.ZodString;
4565
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4566
+ type: z.ZodString;
4567
+ value: z.ZodString;
4568
+ msg: z.ZodString;
4569
+ path: z.ZodString;
4570
+ location: z.ZodString;
4571
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4572
+ type: z.ZodString;
4573
+ value: z.ZodString;
4574
+ msg: z.ZodString;
4575
+ path: z.ZodString;
4576
+ location: z.ZodString;
4577
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4578
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4579
+ message: z.ZodString;
4580
+ statusCode: z.ZodNumber;
4581
+ details: z.ZodArray<z.ZodObject<{
4582
+ type: z.ZodString;
4583
+ value: z.ZodString;
4584
+ msg: z.ZodString;
4585
+ path: z.ZodString;
4586
+ location: z.ZodString;
4587
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4588
+ type: z.ZodString;
4589
+ value: z.ZodString;
4590
+ msg: z.ZodString;
4591
+ path: z.ZodString;
4592
+ location: z.ZodString;
4593
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4594
+ type: z.ZodString;
4595
+ value: z.ZodString;
4596
+ msg: z.ZodString;
4597
+ path: z.ZodString;
4598
+ location: z.ZodString;
4599
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4600
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4601
+ message: z.ZodString;
4602
+ statusCode: z.ZodNumber;
4603
+ details: z.ZodArray<z.ZodObject<{
4604
+ type: z.ZodString;
4605
+ value: z.ZodString;
4606
+ msg: z.ZodString;
4607
+ path: z.ZodString;
4608
+ location: z.ZodString;
4609
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4610
+ type: z.ZodString;
4611
+ value: z.ZodString;
4612
+ msg: z.ZodString;
4613
+ path: z.ZodString;
4614
+ location: z.ZodString;
4615
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4616
+ type: z.ZodString;
4617
+ value: z.ZodString;
4618
+ msg: z.ZodString;
4619
+ path: z.ZodString;
4620
+ location: z.ZodString;
4621
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4622
+ }, z.ZodTypeAny, "passthrough">>;
4623
+ }, {
4624
+ status: 500;
4625
+ description: string;
4626
+ schema: z.ZodObject<{
4627
+ message: z.ZodString;
4628
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4629
+ message: z.ZodString;
4630
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4631
+ message: z.ZodString;
4632
+ }, z.ZodTypeAny, "passthrough">>;
4633
+ }];
4634
+ }, {
4635
+ method: "get";
4636
+ path: "/stats/champions";
4637
+ alias: "getChampionStatsByRegionPatchTier";
4638
+ description: "Retrieve champion aggregated statistics for a specific region, patch, and tier.";
4639
+ requestFormat: "json";
4640
+ parameters: [{
4641
+ name: "region";
4642
+ type: "Query";
4643
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4644
+ }, {
4645
+ name: "patch";
4646
+ type: "Query";
4647
+ schema: z.ZodOptional<z.ZodString>;
4648
+ }, {
4649
+ name: "tier";
4650
+ type: "Query";
4651
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
4652
+ }, {
4653
+ name: "queue";
4654
+ type: "Query";
4655
+ schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
4656
+ }];
4657
+ response: z.ZodType<ChampionStatsListResponse, z.ZodTypeDef, ChampionStatsListResponse>;
4658
+ errors: [{
4659
+ status: 400;
4660
+ description: string;
4661
+ schema: z.ZodObject<{
4662
+ message: z.ZodString;
4663
+ statusCode: z.ZodNumber;
4664
+ details: z.ZodArray<z.ZodObject<{
4665
+ type: z.ZodString;
4666
+ value: z.ZodString;
4667
+ msg: z.ZodString;
4668
+ path: z.ZodString;
4669
+ location: z.ZodString;
4670
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4671
+ type: z.ZodString;
4672
+ value: z.ZodString;
4673
+ msg: z.ZodString;
4674
+ path: z.ZodString;
4675
+ location: z.ZodString;
4676
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4677
+ type: z.ZodString;
4678
+ value: z.ZodString;
4679
+ msg: z.ZodString;
4680
+ path: z.ZodString;
4681
+ location: z.ZodString;
4682
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4683
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4684
+ message: z.ZodString;
4685
+ statusCode: z.ZodNumber;
4686
+ details: z.ZodArray<z.ZodObject<{
4687
+ type: z.ZodString;
4688
+ value: z.ZodString;
4689
+ msg: z.ZodString;
4690
+ path: z.ZodString;
4691
+ location: z.ZodString;
4692
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4693
+ type: z.ZodString;
4694
+ value: z.ZodString;
4695
+ msg: z.ZodString;
4696
+ path: z.ZodString;
4697
+ location: z.ZodString;
4698
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4699
+ type: z.ZodString;
4700
+ value: z.ZodString;
4701
+ msg: z.ZodString;
4702
+ path: z.ZodString;
4703
+ location: z.ZodString;
4704
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4705
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4706
+ message: z.ZodString;
4707
+ statusCode: z.ZodNumber;
4708
+ details: z.ZodArray<z.ZodObject<{
4709
+ type: z.ZodString;
4710
+ value: z.ZodString;
4711
+ msg: z.ZodString;
4712
+ path: z.ZodString;
4713
+ location: z.ZodString;
4714
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4715
+ type: z.ZodString;
4716
+ value: z.ZodString;
4717
+ msg: z.ZodString;
4718
+ path: z.ZodString;
4719
+ location: z.ZodString;
4720
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4721
+ type: z.ZodString;
4722
+ value: z.ZodString;
4723
+ msg: z.ZodString;
4724
+ path: z.ZodString;
4725
+ location: z.ZodString;
4726
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4727
+ }, z.ZodTypeAny, "passthrough">>;
4728
+ }, {
4729
+ status: 500;
4730
+ description: string;
4731
+ schema: z.ZodObject<{
4732
+ message: z.ZodString;
4733
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4734
+ message: z.ZodString;
4735
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4736
+ message: z.ZodString;
4737
+ }, z.ZodTypeAny, "passthrough">>;
4738
+ }];
4739
+ }, {
4740
+ method: "get";
4741
+ path: "/stats/champions/:championId";
4742
+ alias: "getChampionStatsDetailByRegion";
4743
+ description: "Retrieve aggregated stats for a single champion for a specific region.";
4744
+ requestFormat: "json";
4745
+ parameters: [{
4746
+ name: "championId";
4747
+ type: "Path";
4748
+ schema: z.ZodNumber;
4749
+ }, {
4750
+ name: "region";
4751
+ type: "Query";
4752
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4753
+ }, {
4754
+ name: "patch";
4755
+ type: "Query";
4756
+ schema: z.ZodString;
4757
+ }, {
4758
+ name: "tier";
4759
+ type: "Query";
4760
+ schema: z.ZodOptional<z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>>;
4761
+ }, {
4762
+ name: "queue";
4763
+ type: "Query";
4764
+ schema: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>>;
4765
+ }];
4766
+ response: z.ZodType<ChampionStatsDetailResponse, z.ZodTypeDef, ChampionStatsDetailResponse>;
4767
+ errors: [{
4768
+ status: 400;
4769
+ description: string;
4770
+ schema: z.ZodObject<{
4771
+ message: z.ZodString;
4772
+ statusCode: z.ZodNumber;
4773
+ details: z.ZodArray<z.ZodObject<{
4774
+ type: z.ZodString;
4775
+ value: z.ZodString;
4776
+ msg: z.ZodString;
4777
+ path: z.ZodString;
4778
+ location: z.ZodString;
4779
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4780
+ type: z.ZodString;
4781
+ value: z.ZodString;
4782
+ msg: z.ZodString;
4783
+ path: z.ZodString;
4784
+ location: z.ZodString;
4785
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4786
+ type: z.ZodString;
4787
+ value: z.ZodString;
4788
+ msg: z.ZodString;
4789
+ path: z.ZodString;
4790
+ location: z.ZodString;
4791
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4792
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4793
+ message: z.ZodString;
4794
+ statusCode: z.ZodNumber;
4795
+ details: z.ZodArray<z.ZodObject<{
4796
+ type: z.ZodString;
4797
+ value: z.ZodString;
4798
+ msg: z.ZodString;
4799
+ path: z.ZodString;
4800
+ location: z.ZodString;
4801
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4802
+ type: z.ZodString;
4803
+ value: z.ZodString;
4804
+ msg: z.ZodString;
4805
+ path: z.ZodString;
4806
+ location: z.ZodString;
4807
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4808
+ type: z.ZodString;
4809
+ value: z.ZodString;
4810
+ msg: z.ZodString;
4811
+ path: z.ZodString;
4812
+ location: z.ZodString;
4813
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4814
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4815
+ message: z.ZodString;
4816
+ statusCode: z.ZodNumber;
4817
+ details: z.ZodArray<z.ZodObject<{
4818
+ type: z.ZodString;
4819
+ value: z.ZodString;
4820
+ msg: z.ZodString;
4821
+ path: z.ZodString;
4822
+ location: z.ZodString;
4823
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4824
+ type: z.ZodString;
4825
+ value: z.ZodString;
4826
+ msg: z.ZodString;
4827
+ path: z.ZodString;
4828
+ location: z.ZodString;
4829
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4830
+ type: z.ZodString;
4831
+ value: z.ZodString;
4832
+ msg: z.ZodString;
4833
+ path: z.ZodString;
4834
+ location: z.ZodString;
4835
+ }, z.ZodTypeAny, "passthrough">>, "many">;
4836
+ }, z.ZodTypeAny, "passthrough">>;
4837
+ }, {
4838
+ status: 404;
4839
+ description: string;
4840
+ schema: z.ZodObject<{
4841
+ message: z.ZodString;
4842
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4843
+ message: z.ZodString;
4844
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4845
+ message: z.ZodString;
4846
+ }, z.ZodTypeAny, "passthrough">>;
4847
+ }, {
4848
+ status: 500;
4849
+ description: string;
4850
+ schema: z.ZodObject<{
4851
+ message: z.ZodString;
4852
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4853
+ message: z.ZodString;
4854
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4855
+ message: z.ZodString;
4856
+ }, z.ZodTypeAny, "passthrough">>;
4857
+ }];
4858
+ }, {
4859
+ method: "get";
4860
+ path: "/stats/champions/:championId/early-game";
4861
+ alias: "getChampionEarlyGameStatsByRegion";
4862
+ description: "Retrieve first blood, lane lead, and early death indicators for one champion.\nAll metrics are computed within the requested region only.\nEarly-game metrics include metricDefinitionVersion to track definition changes.\nAll rates are returned as decimal values in range [0, 1].";
4863
+ requestFormat: "json";
4864
+ parameters: [{
4865
+ name: "championId";
4866
+ type: "Path";
4867
+ schema: z.ZodNumber;
4868
+ }, {
4869
+ name: "region";
4870
+ type: "Query";
4871
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4872
+ }, {
4873
+ name: "patch";
4874
+ type: "Query";
4875
+ schema: z.ZodString;
4876
+ }, {
4877
+ name: "tier";
4878
+ type: "Query";
4879
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
4880
+ }, {
4881
+ name: "queue";
4882
+ type: "Query";
4883
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
4884
+ }];
4885
+ response: z.ZodType<ChampionEarlyGameStatsResponse, z.ZodTypeDef, ChampionEarlyGameStatsResponse>;
4886
+ errors: [{
4887
+ status: 400;
4888
+ description: string;
4889
+ schema: z.ZodObject<{
4890
+ message: z.ZodString;
4891
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4892
+ message: z.ZodString;
4893
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4894
+ message: z.ZodString;
4895
+ }, z.ZodTypeAny, "passthrough">>;
4896
+ }, {
4897
+ status: 404;
4898
+ description: string;
4899
+ schema: z.ZodObject<{
4900
+ message: z.ZodString;
4901
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4902
+ message: z.ZodString;
4903
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4904
+ message: z.ZodString;
4905
+ }, z.ZodTypeAny, "passthrough">>;
4906
+ }, {
4907
+ status: 500;
4908
+ description: string;
4909
+ schema: z.ZodObject<{
4910
+ message: z.ZodString;
4911
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4912
+ message: z.ZodString;
4913
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4914
+ message: z.ZodString;
4915
+ }, z.ZodTypeAny, "passthrough">>;
4916
+ }];
4917
+ }, {
4918
+ method: "get";
4919
+ path: "/stats/champions/:championId/game-length";
4920
+ alias: "getChampionGameLengthStatsByRegion";
4921
+ description: "Retrieve short/medium/long game performance for one champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1].";
4922
+ requestFormat: "json";
4923
+ parameters: [{
4924
+ name: "championId";
4925
+ type: "Path";
4926
+ schema: z.ZodNumber;
4927
+ }, {
4928
+ name: "region";
4929
+ type: "Query";
4930
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4931
+ }, {
4932
+ name: "patch";
4933
+ type: "Query";
4934
+ schema: z.ZodString;
4935
+ }, {
4936
+ name: "tier";
4937
+ type: "Query";
4938
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
4939
+ }, {
4940
+ name: "queue";
4941
+ type: "Query";
4942
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
4943
+ }];
4944
+ response: z.ZodType<ChampionGameLengthStatsResponse, z.ZodTypeDef, ChampionGameLengthStatsResponse>;
4945
+ errors: [{
4946
+ status: 400;
4947
+ description: string;
4948
+ schema: z.ZodObject<{
4949
+ message: z.ZodString;
4950
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4951
+ message: z.ZodString;
4952
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4953
+ message: z.ZodString;
4954
+ }, z.ZodTypeAny, "passthrough">>;
4955
+ }, {
4956
+ status: 404;
4957
+ description: string;
4958
+ schema: z.ZodObject<{
4959
+ message: z.ZodString;
4960
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4961
+ message: z.ZodString;
4962
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4963
+ message: z.ZodString;
4964
+ }, z.ZodTypeAny, "passthrough">>;
4965
+ }, {
4966
+ status: 500;
4967
+ description: string;
4968
+ schema: z.ZodObject<{
4969
+ message: z.ZodString;
4970
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4971
+ message: z.ZodString;
4972
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4973
+ message: z.ZodString;
4974
+ }, z.ZodTypeAny, "passthrough">>;
4975
+ }];
4976
+ }, {
4977
+ method: "get";
4978
+ path: "/stats/champions/:championId/matchups";
4979
+ alias: "getChampionMatchupsByRegion";
4980
+ description: "Retrieve directional champion-vs-champion matchup metrics.\nAll metrics are computed within the requested region only.\nFor matchup endpoints, results are directional: A vs B is distinct from B vs A.\nWhen lane cannot be reliably inferred, records use lane&#x3D;unknown.\nAll rates are returned as decimal values in range [0, 1].";
4981
+ requestFormat: "json";
4982
+ parameters: [{
4983
+ name: "championId";
4984
+ type: "Path";
4985
+ schema: z.ZodNumber;
4986
+ }, {
4987
+ name: "region";
4988
+ type: "Query";
4989
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
4990
+ }, {
4991
+ name: "patch";
4992
+ type: "Query";
4993
+ schema: z.ZodString;
4994
+ }, {
4995
+ name: "tier";
4996
+ type: "Query";
4997
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
4998
+ }, {
4999
+ name: "queue";
5000
+ type: "Query";
5001
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
5002
+ }, {
5003
+ name: "lane";
5004
+ type: "Query";
5005
+ schema: z.ZodOptional<z.ZodEnum<["top", "jungle", "mid", "bottom", "support", "unknown"]>>;
5006
+ }, {
5007
+ name: "limit";
5008
+ type: "Query";
5009
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5010
+ }];
5011
+ response: z.ZodType<ChampionMatchupStatsListResponse, z.ZodTypeDef, ChampionMatchupStatsListResponse>;
5012
+ errors: [{
5013
+ status: 400;
5014
+ description: string;
5015
+ schema: z.ZodObject<{
5016
+ message: z.ZodString;
5017
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5018
+ message: z.ZodString;
5019
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5020
+ message: z.ZodString;
5021
+ }, z.ZodTypeAny, "passthrough">>;
5022
+ }, {
5023
+ status: 404;
5024
+ description: string;
5025
+ schema: z.ZodObject<{
5026
+ message: z.ZodString;
5027
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5028
+ message: z.ZodString;
5029
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5030
+ message: z.ZodString;
5031
+ }, z.ZodTypeAny, "passthrough">>;
5032
+ }, {
5033
+ status: 500;
5034
+ description: string;
5035
+ schema: z.ZodObject<{
5036
+ message: z.ZodString;
5037
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5038
+ message: z.ZodString;
5039
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5040
+ message: z.ZodString;
5041
+ }, z.ZodTypeAny, "passthrough">>;
5042
+ }];
5043
+ }, {
5044
+ method: "get";
5045
+ path: "/stats/champions/:championId/performance";
5046
+ alias: "getChampionPerformanceDetailByRegion";
5047
+ description: "Retrieve normalized per-minute performance metrics for one champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1] where applicable.";
5048
+ requestFormat: "json";
5049
+ parameters: [{
5050
+ name: "championId";
5051
+ type: "Path";
5052
+ schema: z.ZodNumber;
5053
+ }, {
5054
+ name: "region";
5055
+ type: "Query";
5056
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
5057
+ }, {
5058
+ name: "patch";
5059
+ type: "Query";
5060
+ schema: z.ZodString;
5061
+ }, {
5062
+ name: "tier";
5063
+ type: "Query";
5064
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
5065
+ }, {
5066
+ name: "queue";
5067
+ type: "Query";
5068
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
5069
+ }];
5070
+ response: z.ZodType<ChampionPerformanceStatsDetailResponse, z.ZodTypeDef, ChampionPerformanceStatsDetailResponse>;
5071
+ errors: [{
5072
+ status: 400;
5073
+ description: string;
5074
+ schema: z.ZodObject<{
5075
+ message: z.ZodString;
5076
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5077
+ message: z.ZodString;
5078
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5079
+ message: z.ZodString;
5080
+ }, z.ZodTypeAny, "passthrough">>;
5081
+ }, {
5082
+ status: 404;
5083
+ description: string;
5084
+ schema: z.ZodObject<{
5085
+ message: z.ZodString;
5086
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5087
+ message: z.ZodString;
5088
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5089
+ message: z.ZodString;
5090
+ }, z.ZodTypeAny, "passthrough">>;
5091
+ }, {
5092
+ status: 500;
5093
+ description: string;
5094
+ schema: z.ZodObject<{
5095
+ message: z.ZodString;
5096
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5097
+ message: z.ZodString;
5098
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5099
+ message: z.ZodString;
5100
+ }, z.ZodTypeAny, "passthrough">>;
5101
+ }];
5102
+ }, {
5103
+ method: "get";
5104
+ path: "/stats/champions/:championId/synergy";
5105
+ alias: "getChampionSynergyByRegion";
5106
+ description: "Retrieve same-team champion duo performance metrics.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1].";
5107
+ requestFormat: "json";
5108
+ parameters: [{
5109
+ name: "championId";
5110
+ type: "Path";
5111
+ schema: z.ZodNumber;
5112
+ }, {
5113
+ name: "region";
5114
+ type: "Query";
5115
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
5116
+ }, {
5117
+ name: "patch";
5118
+ type: "Query";
5119
+ schema: z.ZodString;
5120
+ }, {
5121
+ name: "tier";
5122
+ type: "Query";
5123
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
5124
+ }, {
5125
+ name: "queue";
5126
+ type: "Query";
5127
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
5128
+ }, {
5129
+ name: "limit";
5130
+ type: "Query";
5131
+ schema: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
5132
+ }];
5133
+ response: z.ZodType<ChampionSynergyStatsListResponse, z.ZodTypeDef, ChampionSynergyStatsListResponse>;
5134
+ errors: [{
5135
+ status: 400;
5136
+ description: string;
5137
+ schema: z.ZodObject<{
5138
+ message: z.ZodString;
5139
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5140
+ message: z.ZodString;
5141
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5142
+ message: z.ZodString;
5143
+ }, z.ZodTypeAny, "passthrough">>;
5144
+ }, {
5145
+ status: 404;
5146
+ description: string;
5147
+ schema: z.ZodObject<{
5148
+ message: z.ZodString;
5149
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5150
+ message: z.ZodString;
5151
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5152
+ message: z.ZodString;
5153
+ }, z.ZodTypeAny, "passthrough">>;
5154
+ }, {
5155
+ status: 500;
5156
+ description: string;
5157
+ schema: z.ZodObject<{
5158
+ message: z.ZodString;
5159
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5160
+ message: z.ZodString;
5161
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5162
+ message: z.ZodString;
5163
+ }, z.ZodTypeAny, "passthrough">>;
5164
+ }];
5165
+ }, {
5166
+ method: "get";
5167
+ path: "/stats/champions/objectives";
5168
+ alias: "getChampionObjectiveStatsByRegion";
5169
+ description: "Retrieve objective contribution rates by champion.\nAll metrics are computed within the requested region only.\nObjective metrics include metricDefinitionVersion to track definition changes.\nAll rates are returned as decimal values in range [0, 1].";
5170
+ requestFormat: "json";
5171
+ parameters: [{
5172
+ name: "region";
5173
+ type: "Query";
5174
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
5175
+ }, {
5176
+ name: "patch";
5177
+ type: "Query";
5178
+ schema: z.ZodString;
5179
+ }, {
5180
+ name: "tier";
5181
+ type: "Query";
5182
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
5183
+ }, {
5184
+ name: "queue";
5185
+ type: "Query";
5186
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
5187
+ }];
5188
+ response: z.ZodType<ChampionObjectiveStatsListResponse, z.ZodTypeDef, ChampionObjectiveStatsListResponse>;
5189
+ errors: [{
5190
+ status: 400;
5191
+ description: string;
5192
+ schema: z.ZodObject<{
5193
+ message: z.ZodString;
5194
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5195
+ message: z.ZodString;
5196
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5197
+ message: z.ZodString;
5198
+ }, z.ZodTypeAny, "passthrough">>;
5199
+ }, {
5200
+ status: 500;
5201
+ description: string;
5202
+ schema: z.ZodObject<{
5203
+ message: z.ZodString;
5204
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5205
+ message: z.ZodString;
5206
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5207
+ message: z.ZodString;
5208
+ }, z.ZodTypeAny, "passthrough">>;
5209
+ }];
5210
+ }, {
5211
+ method: "get";
5212
+ path: "/stats/champions/performance";
5213
+ alias: "getChampionPerformanceTableByRegion";
5214
+ description: "Retrieve normalized per-minute performance metrics by champion.\nAll metrics are computed within the requested region only.\nAll rates are returned as decimal values in range [0, 1] where applicable.";
5215
+ requestFormat: "json";
5216
+ parameters: [{
5217
+ name: "region";
5218
+ type: "Query";
5219
+ schema: z.ZodEnum<["br1", "euw1", "na1", "eun1", "kr", "jp1", "la1", "la2", "oc1", "tr1", "ru", "ph2", "sg2", "th2", "tw2", "vn2"]>;
5220
+ }, {
5221
+ name: "patch";
5222
+ type: "Query";
5223
+ schema: z.ZodString;
5224
+ }, {
5225
+ name: "tier";
5226
+ type: "Query";
5227
+ schema: z.ZodEnum<["IRON", "BRONZE", "SILVER", "GOLD", "PLATINUM", "EMERALD", "DIAMOND", "MASTER", "GRANDMASTER", "CHALLENGER"]>;
5228
+ }, {
5229
+ name: "queue";
5230
+ type: "Query";
5231
+ schema: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>, z.ZodLiteral<9>, z.ZodLiteral<14>, z.ZodLiteral<16>, z.ZodLiteral<17>, z.ZodLiteral<25>, z.ZodLiteral<31>, z.ZodLiteral<32>, z.ZodLiteral<33>, z.ZodLiteral<41>, z.ZodLiteral<42>, z.ZodLiteral<52>, z.ZodLiteral<61>, z.ZodLiteral<65>, z.ZodLiteral<67>, z.ZodLiteral<70>, z.ZodLiteral<72>, z.ZodLiteral<73>, z.ZodLiteral<75>, z.ZodLiteral<76>, z.ZodLiteral<78>, z.ZodLiteral<83>, z.ZodLiteral<91>, z.ZodLiteral<92>, z.ZodLiteral<93>, z.ZodLiteral<96>, z.ZodLiteral<98>, z.ZodLiteral<100>, z.ZodLiteral<300>, z.ZodLiteral<310>, z.ZodLiteral<313>, z.ZodLiteral<315>, z.ZodLiteral<317>, z.ZodLiteral<318>, z.ZodLiteral<325>, z.ZodLiteral<400>, z.ZodLiteral<410>, z.ZodLiteral<420>, z.ZodLiteral<430>, z.ZodLiteral<440>, z.ZodLiteral<450>, z.ZodLiteral<460>, z.ZodLiteral<470>, z.ZodLiteral<480>, z.ZodLiteral<490>, z.ZodLiteral<600>, z.ZodLiteral<610>, z.ZodLiteral<700>, z.ZodLiteral<720>, z.ZodLiteral<800>, z.ZodLiteral<810>, z.ZodLiteral<820>, z.ZodLiteral<830>, z.ZodLiteral<840>, z.ZodLiteral<850>, z.ZodLiteral<870>, z.ZodLiteral<880>, z.ZodLiteral<890>, z.ZodLiteral<900>, z.ZodLiteral<910>, z.ZodLiteral<920>, z.ZodLiteral<940>, z.ZodLiteral<950>, z.ZodLiteral<960>, z.ZodLiteral<980>, z.ZodLiteral<990>, z.ZodLiteral<1000>, z.ZodLiteral<1010>, z.ZodLiteral<1020>, z.ZodLiteral<1030>, z.ZodLiteral<1040>, z.ZodLiteral<1050>, z.ZodLiteral<1060>, z.ZodLiteral<1070>, z.ZodLiteral<1090>, z.ZodLiteral<1100>, z.ZodLiteral<1110>, z.ZodLiteral<1111>, z.ZodLiteral<1200>, z.ZodLiteral<1210>, z.ZodLiteral<1300>, z.ZodLiteral<1400>, z.ZodLiteral<1700>, z.ZodLiteral<1710>, z.ZodLiteral<1810>, z.ZodLiteral<1820>, z.ZodLiteral<1830>, z.ZodLiteral<1840>, z.ZodLiteral<1900>, z.ZodLiteral<2000>, z.ZodLiteral<2010>, z.ZodLiteral<2020>, z.ZodLiteral<2300>, z.ZodLiteral<2400>]>;
5232
+ }];
5233
+ response: z.ZodType<ChampionPerformanceStatsListResponse, z.ZodTypeDef, ChampionPerformanceStatsListResponse>;
5234
+ errors: [{
5235
+ status: 400;
5236
+ description: string;
5237
+ schema: z.ZodObject<{
5238
+ message: z.ZodString;
5239
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5240
+ message: z.ZodString;
5241
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5242
+ message: z.ZodString;
5243
+ }, z.ZodTypeAny, "passthrough">>;
5244
+ }, {
5245
+ status: 500;
5246
+ description: string;
5247
+ schema: z.ZodObject<{
5248
+ message: z.ZodString;
5249
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5250
+ message: z.ZodString;
5251
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5252
+ message: z.ZodString;
5253
+ }, z.ZodTypeAny, "passthrough">>;
5254
+ }];
3124
5255
  }]>;
3125
5256
  export {};
3126
5257
  //# sourceMappingURL=hex-tractor-api.d.ts.map