riotapi-fetch-typed 1.2.1-dev → 1.2.2-dev

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.
package/dist/index.d.ts CHANGED
@@ -790,7 +790,7 @@ interface paths {
790
790
  patch?: never;
791
791
  trace?: never;
792
792
  };
793
- "/lol/match/v5/matches/{matchId}": {
793
+ "/lol/match/v5/matches/by-puuid/{puuid}/replays": {
794
794
  parameters: {
795
795
  query?: never;
796
796
  header?: never;
@@ -798,10 +798,10 @@ interface paths {
798
798
  cookie?: never;
799
799
  };
800
800
  /**
801
- * Get a match by match id
802
- * @description Get a match by match id
801
+ * Get player replays
802
+ * @description Get player replays
803
803
  */
804
- get: operations["match-v5.getMatch"];
804
+ get: operations["match-v5.getReplay"];
805
805
  put?: never;
806
806
  post?: never;
807
807
  delete?: never;
@@ -810,7 +810,7 @@ interface paths {
810
810
  patch?: never;
811
811
  trace?: never;
812
812
  };
813
- "/lol/match/v5/matches/{matchId}/timeline": {
813
+ "/lol/match/v5/matches/{matchId}": {
814
814
  parameters: {
815
815
  query?: never;
816
816
  header?: never;
@@ -818,10 +818,10 @@ interface paths {
818
818
  cookie?: never;
819
819
  };
820
820
  /**
821
- * Get a match timeline by match id
822
- * @description Get a match timeline by match id
821
+ * Get a match by match id
822
+ * @description Get a match by match id
823
823
  */
824
- get: operations["match-v5.getTimeline"];
824
+ get: operations["match-v5.getMatch"];
825
825
  put?: never;
826
826
  post?: never;
827
827
  delete?: never;
@@ -830,7 +830,7 @@ interface paths {
830
830
  patch?: never;
831
831
  trace?: never;
832
832
  };
833
- "/riftbound/content/v1/contents": {
833
+ "/lol/match/v5/matches/{matchId}/timeline": {
834
834
  parameters: {
835
835
  query?: never;
836
836
  header?: never;
@@ -838,10 +838,10 @@ interface paths {
838
838
  cookie?: never;
839
839
  };
840
840
  /**
841
- * Get riftbound content
842
- * @description Get riftbound content
841
+ * Get a match timeline by match id
842
+ * @description Get a match timeline by match id
843
843
  */
844
- get: operations["riftbound-content-v1.getContent"];
844
+ get: operations["match-v5.getTimeline"];
845
845
  put?: never;
846
846
  post?: never;
847
847
  delete?: never;
@@ -850,7 +850,7 @@ interface paths {
850
850
  patch?: never;
851
851
  trace?: never;
852
852
  };
853
- "/lol/spectator/tft/v5/active-games/by-puuid/{encryptedPUUID}": {
853
+ "/riftbound/content/v1/contents": {
854
854
  parameters: {
855
855
  query?: never;
856
856
  header?: never;
@@ -858,10 +858,10 @@ interface paths {
858
858
  cookie?: never;
859
859
  };
860
860
  /**
861
- * Get current game information for the given puuid.
862
- * @description Get current game information for the given puuid.
861
+ * Get riftbound content
862
+ * @description Get riftbound content
863
863
  */
864
- get: operations["spectator-tft-v5.getCurrentGameInfoByPuuid"];
864
+ get: operations["riftbound-content-v1.getContent"];
865
865
  put?: never;
866
866
  post?: never;
867
867
  delete?: never;
@@ -870,7 +870,7 @@ interface paths {
870
870
  patch?: never;
871
871
  trace?: never;
872
872
  };
873
- "/lol/spectator/tft/v5/featured-games": {
873
+ "/lol/spectator/tft/v5/active-games/by-puuid/{encryptedPUUID}": {
874
874
  parameters: {
875
875
  query?: never;
876
876
  header?: never;
@@ -878,10 +878,10 @@ interface paths {
878
878
  cookie?: never;
879
879
  };
880
880
  /**
881
- * Get list of featured games.
882
- * @description Get list of featured games.
881
+ * Get current game information for the given puuid.
882
+ * @description Get current game information for the given puuid.
883
883
  */
884
- get: operations["spectator-tft-v5.getFeaturedGames"];
884
+ get: operations["spectator-tft-v5.getCurrentGameInfoByPuuid"];
885
885
  put?: never;
886
886
  post?: never;
887
887
  delete?: never;
@@ -910,26 +910,6 @@ interface paths {
910
910
  patch?: never;
911
911
  trace?: never;
912
912
  };
913
- "/lol/spectator/v5/featured-games": {
914
- parameters: {
915
- query?: never;
916
- header?: never;
917
- path?: never;
918
- cookie?: never;
919
- };
920
- /**
921
- * Get list of featured games.
922
- * @description Get list of featured games.
923
- */
924
- get: operations["spectator-v5.getFeaturedGames"];
925
- put?: never;
926
- post?: never;
927
- delete?: never;
928
- options?: never;
929
- head?: never;
930
- patch?: never;
931
- trace?: never;
932
- };
933
913
  "/lol/summoner/v4/summoners/by-puuid/{encryptedPUUID}": {
934
914
  parameters: {
935
915
  query?: never;
@@ -2043,7 +2023,7 @@ interface components {
2043
2023
  /** Format: int32 */
2044
2024
  prestigeCrestBorderLevel?: number;
2045
2025
  };
2046
- /** ChallengePointsDto */
2026
+ /** ChallengePointDto */
2047
2027
  "lol-challenges-v1.ChallengePointDto": {
2048
2028
  level: string;
2049
2029
  /** Format: int64 */
@@ -2052,6 +2032,8 @@ interface components {
2052
2032
  max: number;
2053
2033
  /** Format: double */
2054
2034
  percentile?: number;
2035
+ /** Format: int64 */
2036
+ position?: number;
2055
2037
  };
2056
2038
  /**
2057
2039
  * MatchDto
@@ -2245,6 +2227,15 @@ interface components {
2245
2227
  created_at: string;
2246
2228
  updated_at: string;
2247
2229
  };
2230
+ /** ReplayDTO */
2231
+ "match-v5.ReplayDTO": {
2232
+ /**
2233
+ * Format: int32
2234
+ * @description Total of replay files
2235
+ */
2236
+ total: number;
2237
+ matchFileURLs: string[];
2238
+ };
2248
2239
  /** MatchDto */
2249
2240
  "match-v5.MatchDto": {
2250
2241
  /** @description Match metadata. */
@@ -2644,6 +2635,10 @@ interface components {
2644
2635
  retreatPings?: number;
2645
2636
  /** Format: int32 */
2646
2637
  championSkinId?: number;
2638
+ /** Format: int32 */
2639
+ damageDealtToEpicMonsters?: number;
2640
+ /** Format: int32 */
2641
+ roleBoundItem?: number;
2647
2642
  };
2648
2643
  /**
2649
2644
  * ChallengesDto
@@ -3168,6 +3163,8 @@ interface components {
3168
3163
  featType?: number;
3169
3164
  /** Format: int32 */
3170
3165
  featValue?: number;
3166
+ victimTeamfightDamageDealt?: components["schemas"]["match-v5.MatchTimelineVictimDamage"][];
3167
+ victimTeamfightDamageReceived?: components["schemas"]["match-v5.MatchTimelineVictimDamage"][];
3171
3168
  };
3172
3169
  /** ParticipantFramesDto */
3173
3170
  "match-v5.ParticipantFramesDto": {
@@ -3450,7 +3447,7 @@ interface components {
3450
3447
  * @description The team ID of this participant, indicating the participant's team
3451
3448
  */
3452
3449
  teamId: number;
3453
- /** @description The encrypted puuid of this participant */
3450
+ /** @description The encrypted puuid of this participant. null when the player is anonym. */
3454
3451
  puuid?: string;
3455
3452
  /**
3456
3453
  * Format: int64
@@ -3488,90 +3485,6 @@ interface components {
3488
3485
  /** @description Game Customization content */
3489
3486
  content: string;
3490
3487
  };
3491
- /** FeaturedGames */
3492
- "spectator-tft-v5.FeaturedGames": {
3493
- /** @description The list of featured games */
3494
- gameList: components["schemas"]["spectator-tft-v5.FeaturedGameInfo"][];
3495
- /**
3496
- * Format: int64
3497
- * @description The suggested interval to wait before requesting FeaturedGames again
3498
- */
3499
- clientRefreshInterval?: number;
3500
- };
3501
- /** FeaturedGameInfo */
3502
- "spectator-tft-v5.FeaturedGameInfo": {
3503
- /**
3504
- * @description The game mode
3505
- * (Legal values: TFT)
3506
- * @enum {string}
3507
- */
3508
- gameMode: "TFT";
3509
- /**
3510
- * Format: int64
3511
- * @description The amount of time in seconds that has passed since the game started
3512
- */
3513
- gameLength: number;
3514
- /**
3515
- * Format: int64
3516
- * @description The ID of the map
3517
- */
3518
- mapId: number;
3519
- /**
3520
- * @description The game type
3521
- * (Legal values: MATCHED)
3522
- * @enum {string}
3523
- */
3524
- gameType: "MATCHED";
3525
- /** @description Banned champion information */
3526
- bannedChampions: components["schemas"]["spectator-tft-v5.BannedChampion"][];
3527
- /**
3528
- * Format: int64
3529
- * @description The ID of the game
3530
- */
3531
- gameId: number;
3532
- /** @description The observer information */
3533
- observers: components["schemas"]["spectator-tft-v5.Observer"];
3534
- /**
3535
- * Format: int64
3536
- * @description The queue type (queue types are documented on the Game Constants page)
3537
- */
3538
- gameQueueConfigId: number;
3539
- /** @description The participant information */
3540
- participants: components["schemas"]["spectator-tft-v5.Participant"][];
3541
- /** @description The ID of the platform on which the game is being played */
3542
- platformId: string;
3543
- };
3544
- /** Participant */
3545
- "spectator-tft-v5.Participant": {
3546
- /**
3547
- * Format: int64
3548
- * @description The ID of the second summoner spell used by this participant
3549
- */
3550
- spell2Id: number;
3551
- /**
3552
- * Format: int64
3553
- * @description The ID of the profile icon used by this participant
3554
- */
3555
- profileIconId: number;
3556
- /** @description Encrypted puuid of this participant */
3557
- puuid?: string;
3558
- /**
3559
- * Format: int64
3560
- * @description The ID of the champion played by this participant
3561
- */
3562
- championId: number;
3563
- /**
3564
- * Format: int64
3565
- * @description The team ID of this participant, indicating the participant's team
3566
- */
3567
- teamId: number;
3568
- /**
3569
- * Format: int64
3570
- * @description The ID of the first summoner spell used by this participant
3571
- */
3572
- spell1Id: number;
3573
- riotId?: string;
3574
- };
3575
3488
  /** CurrentGameInfo */
3576
3489
  "spectator-v5.CurrentGameInfo": {
3577
3490
  /**
@@ -3656,7 +3569,7 @@ interface components {
3656
3569
  * @description The team ID of this participant, indicating the participant's team
3657
3570
  */
3658
3571
  teamId: number;
3659
- /** @description The encrypted puuid of this participant */
3572
+ /** @description The encrypted puuid of this participant. null when the player is anonym. */
3660
3573
  puuid?: string;
3661
3574
  /**
3662
3575
  * Format: int64
@@ -3694,92 +3607,6 @@ interface components {
3694
3607
  /** @description Game Customization content */
3695
3608
  content: string;
3696
3609
  };
3697
- /** FeaturedGames */
3698
- "spectator-v5.FeaturedGames": {
3699
- /** @description The list of featured games */
3700
- gameList: components["schemas"]["spectator-v5.FeaturedGameInfo"][];
3701
- /**
3702
- * Format: int64
3703
- * @description The suggested interval to wait before requesting FeaturedGames again
3704
- */
3705
- clientRefreshInterval?: number;
3706
- };
3707
- /** FeaturedGameInfo */
3708
- "spectator-v5.FeaturedGameInfo": {
3709
- /**
3710
- * @description The game mode
3711
- * (Legal values: CLASSIC, ODIN, ARAM, TUTORIAL, ONEFORALL, ASCENSION, FIRSTBLOOD, KINGPORO)
3712
- * @enum {string}
3713
- */
3714
- gameMode: "CLASSIC" | "ODIN" | "ARAM" | "TUTORIAL" | "ONEFORALL" | "ASCENSION" | "FIRSTBLOOD" | "KINGPORO";
3715
- /**
3716
- * Format: int64
3717
- * @description The amount of time in seconds that has passed since the game started
3718
- */
3719
- gameLength: number;
3720
- /**
3721
- * Format: int64
3722
- * @description The ID of the map
3723
- */
3724
- mapId: number;
3725
- /**
3726
- * @description The game type
3727
- * (Legal values: CUSTOM_GAME, MATCHED_GAME, TUTORIAL_GAME)
3728
- * @enum {string}
3729
- */
3730
- gameType: "CUSTOM_GAME" | "MATCHED_GAME" | "TUTORIAL_GAME";
3731
- /** @description Banned champion information */
3732
- bannedChampions: components["schemas"]["spectator-v5.BannedChampion"][];
3733
- /**
3734
- * Format: int64
3735
- * @description The ID of the game
3736
- */
3737
- gameId: number;
3738
- /** @description The observer information */
3739
- observers: components["schemas"]["spectator-v5.Observer"];
3740
- /**
3741
- * Format: int64
3742
- * @description The queue type (queue types are documented on the Game Constants page)
3743
- */
3744
- gameQueueConfigId: number;
3745
- /** @description The participant information */
3746
- participants: components["schemas"]["spectator-v5.Participant"][];
3747
- /** @description The ID of the platform on which the game is being played */
3748
- platformId: string;
3749
- };
3750
- /** Participant */
3751
- "spectator-v5.Participant": {
3752
- /** @description Flag indicating whether or not this participant is a bot */
3753
- bot: boolean;
3754
- /**
3755
- * Format: int64
3756
- * @description The ID of the second summoner spell used by this participant
3757
- */
3758
- spell2Id: number;
3759
- /**
3760
- * Format: int64
3761
- * @description The ID of the profile icon used by this participant
3762
- */
3763
- profileIconId: number;
3764
- /** @description Encrypted puuid of this participant */
3765
- puuid?: string;
3766
- /**
3767
- * Format: int64
3768
- * @description The ID of the champion played by this participant
3769
- */
3770
- championId: number;
3771
- /**
3772
- * Format: int64
3773
- * @description The team ID of this participant, indicating the participant's team
3774
- */
3775
- teamId: number;
3776
- /**
3777
- * Format: int64
3778
- * @description The ID of the first summoner spell used by this participant
3779
- */
3780
- spell1Id: number;
3781
- riotId?: string;
3782
- };
3783
3610
  /**
3784
3611
  * SummonerDTO
3785
3612
  * @description represents a summoner
@@ -5081,6 +4908,7 @@ interface components {
5081
4908
  /** Format: int64 */
5082
4909
  competitiveTier?: number;
5083
4910
  prefix?: string;
4911
+ premierRosterType: string;
5084
4912
  };
5085
4913
  /** TierDetailDto */
5086
4914
  "val-ranked-v1.TierDetailDto": {
@@ -5450,7 +5278,7 @@ interface operations {
5450
5278
  query?: never;
5451
5279
  header?: never;
5452
5280
  path: {
5453
- game: "val" | "lor";
5281
+ game: "val" | "lor" | "2xko";
5454
5282
  puuid: string;
5455
5283
  };
5456
5284
  cookie?: never;
@@ -9145,12 +8973,12 @@ interface operations {
9145
8973
  };
9146
8974
  };
9147
8975
  };
9148
- "match-v5.getMatch": {
8976
+ "match-v5.getReplay": {
9149
8977
  parameters: {
9150
8978
  query?: never;
9151
8979
  header?: never;
9152
8980
  path: {
9153
- matchId: string;
8981
+ puuid: string;
9154
8982
  };
9155
8983
  cookie?: never;
9156
8984
  };
@@ -9162,7 +8990,7 @@ interface operations {
9162
8990
  [name: string]: unknown;
9163
8991
  };
9164
8992
  content: {
9165
- "application/json": components["schemas"]["match-v5.MatchDto"];
8993
+ "application/json": components["schemas"]["match-v5.ReplayDTO"];
9166
8994
  };
9167
8995
  };
9168
8996
  /** @description Bad request */
@@ -9244,7 +9072,7 @@ interface operations {
9244
9072
  };
9245
9073
  };
9246
9074
  };
9247
- "match-v5.getTimeline": {
9075
+ "match-v5.getMatch": {
9248
9076
  parameters: {
9249
9077
  query?: never;
9250
9078
  header?: never;
@@ -9261,107 +9089,7 @@ interface operations {
9261
9089
  [name: string]: unknown;
9262
9090
  };
9263
9091
  content: {
9264
- "application/json": components["schemas"]["match-v5.TimelineDto"];
9265
- };
9266
- };
9267
- /** @description Bad request */
9268
- 400: {
9269
- headers: {
9270
- [name: string]: unknown;
9271
- };
9272
- content?: never;
9273
- };
9274
- /** @description Unauthorized */
9275
- 401: {
9276
- headers: {
9277
- [name: string]: unknown;
9278
- };
9279
- content?: never;
9280
- };
9281
- /** @description Forbidden */
9282
- 403: {
9283
- headers: {
9284
- [name: string]: unknown;
9285
- };
9286
- content?: never;
9287
- };
9288
- /** @description Data not found */
9289
- 404: {
9290
- headers: {
9291
- [name: string]: unknown;
9292
- };
9293
- content?: never;
9294
- };
9295
- /** @description Method not allowed */
9296
- 405: {
9297
- headers: {
9298
- [name: string]: unknown;
9299
- };
9300
- content?: never;
9301
- };
9302
- /** @description Unsupported media type */
9303
- 415: {
9304
- headers: {
9305
- [name: string]: unknown;
9306
- };
9307
- content?: never;
9308
- };
9309
- /** @description Rate limit exceeded */
9310
- 429: {
9311
- headers: {
9312
- [name: string]: unknown;
9313
- };
9314
- content?: never;
9315
- };
9316
- /** @description Internal server error */
9317
- 500: {
9318
- headers: {
9319
- [name: string]: unknown;
9320
- };
9321
- content?: never;
9322
- };
9323
- /** @description Bad gateway */
9324
- 502: {
9325
- headers: {
9326
- [name: string]: unknown;
9327
- };
9328
- content?: never;
9329
- };
9330
- /** @description Service unavailable */
9331
- 503: {
9332
- headers: {
9333
- [name: string]: unknown;
9334
- };
9335
- content?: never;
9336
- };
9337
- /** @description Gateway timeout */
9338
- 504: {
9339
- headers: {
9340
- [name: string]: unknown;
9341
- };
9342
- content?: never;
9343
- };
9344
- };
9345
- };
9346
- "riftbound-content-v1.getContent": {
9347
- parameters: {
9348
- query?: {
9349
- /** @description Defaults to en. Optional. Specifies the language and regional settings for the response. Use a locale code. During beta only en available. */
9350
- locale?: string;
9351
- };
9352
- header?: never;
9353
- path?: never;
9354
- cookie?: never;
9355
- };
9356
- requestBody?: never;
9357
- responses: {
9358
- /** @description Success */
9359
- 200: {
9360
- headers: {
9361
- [name: string]: unknown;
9362
- };
9363
- content: {
9364
- "application/json": components["schemas"]["riftbound-content-v1.RiftboundContentDTO"];
9092
+ "application/json": components["schemas"]["match-v5.MatchDto"];
9365
9093
  };
9366
9094
  };
9367
9095
  /** @description Bad request */
@@ -9443,13 +9171,12 @@ interface operations {
9443
9171
  };
9444
9172
  };
9445
9173
  };
9446
- "spectator-tft-v5.getCurrentGameInfoByPuuid": {
9174
+ "match-v5.getTimeline": {
9447
9175
  parameters: {
9448
9176
  query?: never;
9449
9177
  header?: never;
9450
9178
  path: {
9451
- /** @description The puuid of the summoner. */
9452
- encryptedPUUID: string;
9179
+ matchId: string;
9453
9180
  };
9454
9181
  cookie?: never;
9455
9182
  };
@@ -9461,7 +9188,7 @@ interface operations {
9461
9188
  [name: string]: unknown;
9462
9189
  };
9463
9190
  content: {
9464
- "application/json": components["schemas"]["spectator-tft-v5.CurrentGameInfo"];
9191
+ "application/json": components["schemas"]["match-v5.TimelineDto"];
9465
9192
  };
9466
9193
  };
9467
9194
  /** @description Bad request */
@@ -9543,9 +9270,12 @@ interface operations {
9543
9270
  };
9544
9271
  };
9545
9272
  };
9546
- "spectator-tft-v5.getFeaturedGames": {
9273
+ "riftbound-content-v1.getContent": {
9547
9274
  parameters: {
9548
- query?: never;
9275
+ query?: {
9276
+ /** @description Defaults to en. Optional. Specifies the language and regional settings for the response. Use a locale code. During beta only en available. */
9277
+ locale?: string;
9278
+ };
9549
9279
  header?: never;
9550
9280
  path?: never;
9551
9281
  cookie?: never;
@@ -9558,7 +9288,7 @@ interface operations {
9558
9288
  [name: string]: unknown;
9559
9289
  };
9560
9290
  content: {
9561
- "application/json": components["schemas"]["spectator-tft-v5.FeaturedGames"];
9291
+ "application/json": components["schemas"]["riftbound-content-v1.RiftboundContentDTO"];
9562
9292
  };
9563
9293
  };
9564
9294
  /** @description Bad request */
@@ -9640,7 +9370,7 @@ interface operations {
9640
9370
  };
9641
9371
  };
9642
9372
  };
9643
- "spectator-v5.getCurrentGameInfoByPuuid": {
9373
+ "spectator-tft-v5.getCurrentGameInfoByPuuid": {
9644
9374
  parameters: {
9645
9375
  query?: never;
9646
9376
  header?: never;
@@ -9658,7 +9388,7 @@ interface operations {
9658
9388
  [name: string]: unknown;
9659
9389
  };
9660
9390
  content: {
9661
- "application/json": components["schemas"]["spectator-v5.CurrentGameInfo"];
9391
+ "application/json": components["schemas"]["spectator-tft-v5.CurrentGameInfo"];
9662
9392
  };
9663
9393
  };
9664
9394
  /** @description Bad request */
@@ -9740,11 +9470,14 @@ interface operations {
9740
9470
  };
9741
9471
  };
9742
9472
  };
9743
- "spectator-v5.getFeaturedGames": {
9473
+ "spectator-v5.getCurrentGameInfoByPuuid": {
9744
9474
  parameters: {
9745
9475
  query?: never;
9746
9476
  header?: never;
9747
- path?: never;
9477
+ path: {
9478
+ /** @description The puuid of the summoner. */
9479
+ encryptedPUUID: string;
9480
+ };
9748
9481
  cookie?: never;
9749
9482
  };
9750
9483
  requestBody?: never;
@@ -9755,7 +9488,7 @@ interface operations {
9755
9488
  [name: string]: unknown;
9756
9489
  };
9757
9490
  content: {
9758
- "application/json": components["schemas"]["spectator-v5.FeaturedGames"];
9491
+ "application/json": components["schemas"]["spectator-v5.CurrentGameInfo"];
9759
9492
  };
9760
9493
  };
9761
9494
  /** @description Bad request */