@bp1222/stats-api 0.2.4 → 0.2.5

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
@@ -152,6 +152,27 @@ declare class TextApiResponse {
152
152
  value(): Promise<string>;
153
153
  }
154
154
 
155
+ interface Official {
156
+ id?: number;
157
+ fullName?: string;
158
+ link?: string;
159
+ }
160
+ declare function instanceOfOfficial(value: object): value is Official;
161
+ declare function OfficialFromJSON(json: any): Official;
162
+ declare function OfficialFromJSONTyped(json: any, ignoreDiscriminator: boolean): Official;
163
+ declare function OfficialToJSON(json: any): Official;
164
+ declare function OfficialToJSONTyped(value?: Official | null, ignoreDiscriminator?: boolean): any;
165
+
166
+ interface GameOfficial {
167
+ official?: Official;
168
+ officialType?: string;
169
+ }
170
+ declare function instanceOfGameOfficial(value: object): value is GameOfficial;
171
+ declare function GameOfficialFromJSON(json: any): GameOfficial;
172
+ declare function GameOfficialFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameOfficial;
173
+ declare function GameOfficialToJSON(json: any): GameOfficial;
174
+ declare function GameOfficialToJSONTyped(value?: GameOfficial | null, ignoreDiscriminator?: boolean): any;
175
+
155
176
  interface LeagueDates {
156
177
  seasonId?: string;
157
178
  preSeasonStartDate?: string;
@@ -167,7 +188,8 @@ interface LeagueDates {
167
188
  declare function instanceOfLeagueDates(value: object): value is LeagueDates;
168
189
  declare function LeagueDatesFromJSON(json: any): LeagueDates;
169
190
  declare function LeagueDatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeagueDates;
170
- declare function LeagueDatesToJSON(value?: LeagueDates | null): any;
191
+ declare function LeagueDatesToJSON(json: any): LeagueDates;
192
+ declare function LeagueDatesToJSONTyped(value?: LeagueDates | null, ignoreDiscriminator?: boolean): any;
171
193
 
172
194
  interface League {
173
195
  id: number;
@@ -190,7 +212,8 @@ interface League {
190
212
  declare function instanceOfLeague(value: object): value is League;
191
213
  declare function LeagueFromJSON(json: any): League;
192
214
  declare function LeagueFromJSONTyped(json: any, ignoreDiscriminator: boolean): League;
193
- declare function LeagueToJSON(value?: League | null): any;
215
+ declare function LeagueToJSON(json: any): League;
216
+ declare function LeagueToJSONTyped(value?: League | null, ignoreDiscriminator?: boolean): any;
194
217
 
195
218
  interface Sport {
196
219
  id: number;
@@ -204,7 +227,21 @@ interface Sport {
204
227
  declare function instanceOfSport(value: object): value is Sport;
205
228
  declare function SportFromJSON(json: any): Sport;
206
229
  declare function SportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sport;
207
- declare function SportToJSON(value?: Sport | null): any;
230
+ declare function SportToJSON(json: any): Sport;
231
+ declare function SportToJSONTyped(value?: Sport | null, ignoreDiscriminator?: boolean): any;
232
+
233
+ interface Venue {
234
+ id: number;
235
+ name: string;
236
+ link?: string;
237
+ active?: boolean;
238
+ season?: string;
239
+ }
240
+ declare function instanceOfVenue(value: object): value is Venue;
241
+ declare function VenueFromJSON(json: any): Venue;
242
+ declare function VenueFromJSONTyped(json: any, ignoreDiscriminator: boolean): Venue;
243
+ declare function VenueToJSON(json: any): Venue;
244
+ declare function VenueToJSONTyped(value?: Venue | null, ignoreDiscriminator?: boolean): any;
208
245
 
209
246
  interface Division {
210
247
  id: number;
@@ -223,60 +260,21 @@ interface Division {
223
260
  declare function instanceOfDivision(value: object): value is Division;
224
261
  declare function DivisionFromJSON(json: any): Division;
225
262
  declare function DivisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Division;
226
- declare function DivisionToJSON(value?: Division | null): any;
263
+ declare function DivisionToJSON(json: any): Division;
264
+ declare function DivisionToJSONTyped(value?: Division | null, ignoreDiscriminator?: boolean): any;
227
265
 
228
266
  interface Streak {
229
267
  streakType?: StreakStreakTypeEnum;
230
268
  }
231
- declare const StreakStreakTypeEnum: {
232
- readonly Losing: "losses";
233
- readonly Winning: "wins";
234
- };
235
- type StreakStreakTypeEnum = typeof StreakStreakTypeEnum[keyof typeof StreakStreakTypeEnum];
269
+ declare enum StreakStreakTypeEnum {
270
+ Losing = "losses",
271
+ Winning = "wins"
272
+ }
236
273
  declare function instanceOfStreak(value: object): value is Streak;
237
274
  declare function StreakFromJSON(json: any): Streak;
238
275
  declare function StreakFromJSONTyped(json: any, ignoreDiscriminator: boolean): Streak;
239
- declare function StreakToJSON(value?: Streak | null): any;
240
-
241
- interface Venue {
242
- id: number;
243
- name: string;
244
- link?: string;
245
- active?: boolean;
246
- season?: string;
247
- }
248
- declare function instanceOfVenue(value: object): value is Venue;
249
- declare function VenueFromJSON(json: any): Venue;
250
- declare function VenueFromJSONTyped(json: any, ignoreDiscriminator: boolean): Venue;
251
- declare function VenueToJSON(value?: Venue | null): any;
252
-
253
- interface Team {
254
- id: number;
255
- name: string;
256
- link?: string;
257
- allStarStatus?: string;
258
- season?: number;
259
- venue?: Venue;
260
- springVenue?: Venue;
261
- teamCode?: string;
262
- fileCode?: string;
263
- abbreviation?: string;
264
- teamName?: string;
265
- locationName?: string;
266
- firstYearOfPlay?: string;
267
- league?: League;
268
- springLeague?: League;
269
- division?: Division;
270
- sport?: Sport;
271
- shortName?: string;
272
- franchiseName?: string;
273
- clubName?: string;
274
- active?: boolean;
275
- }
276
- declare function instanceOfTeam(value: object): value is Team;
277
- declare function TeamFromJSON(json: any): Team;
278
- declare function TeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): Team;
279
- declare function TeamToJSON(value?: Team | null): any;
276
+ declare function StreakToJSON(json: any): Streak;
277
+ declare function StreakToJSONTyped(value?: Streak | null, ignoreDiscriminator?: boolean): any;
280
278
 
281
279
  interface LeagueRecord {
282
280
  wins: number;
@@ -287,9 +285,10 @@ interface LeagueRecord {
287
285
  declare function instanceOfLeagueRecord(value: object): value is LeagueRecord;
288
286
  declare function LeagueRecordFromJSON(json: any): LeagueRecord;
289
287
  declare function LeagueRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeagueRecord;
290
- declare function LeagueRecordToJSON(value?: LeagueRecord | null): any;
288
+ declare function LeagueRecordToJSON(json: any): LeagueRecord;
289
+ declare function LeagueRecordToJSONTyped(value?: LeagueRecord | null, ignoreDiscriminator?: boolean): any;
291
290
 
292
- interface TeamRecord {
291
+ interface Record {
293
292
  team: Team;
294
293
  season: string;
295
294
  streak: Streak;
@@ -323,10 +322,61 @@ interface TeamRecord {
323
322
  runDifferential?: number;
324
323
  winningPercentage?: string;
325
324
  }
326
- declare function instanceOfTeamRecord(value: object): value is TeamRecord;
327
- declare function TeamRecordFromJSON(json: any): TeamRecord;
328
- declare function TeamRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): TeamRecord;
329
- declare function TeamRecordToJSON(value?: TeamRecord | null): any;
325
+ declare function instanceOfRecord(value: object): value is Record;
326
+ declare function RecordFromJSON(json: any): Record;
327
+ declare function RecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): Record;
328
+ declare function RecordToJSON(json: any): Record;
329
+ declare function RecordToJSONTyped(value?: Record | null, ignoreDiscriminator?: boolean): any;
330
+
331
+ interface Team {
332
+ id: number;
333
+ name: string;
334
+ link?: string;
335
+ allStarStatus?: string;
336
+ season?: number;
337
+ venue?: Venue;
338
+ springVenue?: Venue;
339
+ teamCode?: string;
340
+ fileCode?: string;
341
+ abbreviation?: string;
342
+ teamName?: string;
343
+ locationName?: string;
344
+ firstYearOfPlay?: string;
345
+ league?: League;
346
+ springLeague?: League;
347
+ division?: Division;
348
+ sport?: Sport;
349
+ record?: Record;
350
+ shortName?: string;
351
+ franchiseName?: string;
352
+ clubName?: string;
353
+ active?: boolean;
354
+ }
355
+ declare function instanceOfTeam(value: object): value is Team;
356
+ declare function TeamFromJSON(json: any): Team;
357
+ declare function TeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): Team;
358
+ declare function TeamToJSON(json: any): Team;
359
+ declare function TeamToJSONTyped(value?: Team | null, ignoreDiscriminator?: boolean): any;
360
+
361
+ interface BoxscoreTeams {
362
+ away?: Team;
363
+ home?: Team;
364
+ }
365
+ declare function instanceOfBoxscoreTeams(value: object): value is BoxscoreTeams;
366
+ declare function BoxscoreTeamsFromJSON(json: any): BoxscoreTeams;
367
+ declare function BoxscoreTeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BoxscoreTeams;
368
+ declare function BoxscoreTeamsToJSON(json: any): BoxscoreTeams;
369
+ declare function BoxscoreTeamsToJSONTyped(value?: BoxscoreTeams | null, ignoreDiscriminator?: boolean): any;
370
+
371
+ interface Boxscore {
372
+ teams?: BoxscoreTeams;
373
+ officials?: Array<GameOfficial>;
374
+ }
375
+ declare function instanceOfBoxscore(value: object): value is Boxscore;
376
+ declare function BoxscoreFromJSON(json: any): Boxscore;
377
+ declare function BoxscoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Boxscore;
378
+ declare function BoxscoreToJSON(json: any): Boxscore;
379
+ declare function BoxscoreToJSONTyped(value?: Boxscore | null, ignoreDiscriminator?: boolean): any;
330
380
 
331
381
  interface DivisionStandings {
332
382
  standingsType?: string;
@@ -334,12 +384,13 @@ interface DivisionStandings {
334
384
  division: Division;
335
385
  sport: Sport;
336
386
  lastUpdated?: string;
337
- teamRecords: Array<TeamRecord>;
387
+ teamRecords: Array<Record>;
338
388
  }
339
389
  declare function instanceOfDivisionStandings(value: object): value is DivisionStandings;
340
390
  declare function DivisionStandingsFromJSON(json: any): DivisionStandings;
341
391
  declare function DivisionStandingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DivisionStandings;
342
- declare function DivisionStandingsToJSON(value?: DivisionStandings | null): any;
392
+ declare function DivisionStandingsToJSON(json: any): DivisionStandings;
393
+ declare function DivisionStandingsToJSONTyped(value?: DivisionStandings | null, ignoreDiscriminator?: boolean): any;
343
394
 
344
395
  interface DivisionStandingsList {
345
396
  records?: Array<DivisionStandings>;
@@ -347,22 +398,23 @@ interface DivisionStandingsList {
347
398
  declare function instanceOfDivisionStandingsList(value: object): value is DivisionStandingsList;
348
399
  declare function DivisionStandingsListFromJSON(json: any): DivisionStandingsList;
349
400
  declare function DivisionStandingsListFromJSONTyped(json: any, ignoreDiscriminator: boolean): DivisionStandingsList;
350
- declare function DivisionStandingsListToJSON(value?: DivisionStandingsList | null): any;
351
-
352
- declare const GameStatusCode: {
353
- readonly Final: "F";
354
- readonly Postponed: "D";
355
- readonly Scheduled: "S";
356
- readonly InProgress: "I";
357
- readonly Pregame: "P";
358
- readonly GameOver: "O";
359
- readonly Canceled: "C";
360
- };
361
- type GameStatusCode = typeof GameStatusCode[keyof typeof GameStatusCode];
401
+ declare function DivisionStandingsListToJSON(json: any): DivisionStandingsList;
402
+ declare function DivisionStandingsListToJSONTyped(value?: DivisionStandingsList | null, ignoreDiscriminator?: boolean): any;
403
+
404
+ declare enum GameStatusCode {
405
+ Final = "F",
406
+ Postponed = "D",
407
+ Scheduled = "S",
408
+ InProgress = "I",
409
+ Pregame = "P",
410
+ GameOver = "O",
411
+ Canceled = "C"
412
+ }
362
413
  declare function instanceOfGameStatusCode(value: any): boolean;
363
414
  declare function GameStatusCodeFromJSON(json: any): GameStatusCode;
364
415
  declare function GameStatusCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameStatusCode;
365
416
  declare function GameStatusCodeToJSON(value?: GameStatusCode | null): any;
417
+ declare function GameStatusCodeToJSONTyped(value: any, ignoreDiscriminator: boolean): GameStatusCode;
366
418
 
367
419
  interface GameStatus {
368
420
  abstractGameState?: string;
@@ -375,7 +427,8 @@ interface GameStatus {
375
427
  declare function instanceOfGameStatus(value: object): value is GameStatus;
376
428
  declare function GameStatusFromJSON(json: any): GameStatus;
377
429
  declare function GameStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameStatus;
378
- declare function GameStatusToJSON(value?: GameStatus | null): any;
430
+ declare function GameStatusToJSON(json: any): GameStatus;
431
+ declare function GameStatusToJSONTyped(value?: GameStatus | null, ignoreDiscriminator?: boolean): any;
379
432
 
380
433
  interface GameTeam {
381
434
  leagueRecord?: LeagueRecord;
@@ -388,7 +441,8 @@ interface GameTeam {
388
441
  declare function instanceOfGameTeam(value: object): value is GameTeam;
389
442
  declare function GameTeamFromJSON(json: any): GameTeam;
390
443
  declare function GameTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTeam;
391
- declare function GameTeamToJSON(value?: GameTeam | null): any;
444
+ declare function GameTeamToJSON(json: any): GameTeam;
445
+ declare function GameTeamToJSONTyped(value?: GameTeam | null, ignoreDiscriminator?: boolean): any;
392
446
 
393
447
  interface GameTeams {
394
448
  away: GameTeam;
@@ -397,22 +451,23 @@ interface GameTeams {
397
451
  declare function instanceOfGameTeams(value: object): value is GameTeams;
398
452
  declare function GameTeamsFromJSON(json: any): GameTeams;
399
453
  declare function GameTeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameTeams;
400
- declare function GameTeamsToJSON(value?: GameTeams | null): any;
401
-
402
- declare const GameType: {
403
- readonly Exhibition: "E";
404
- readonly SpringTraining: "S";
405
- readonly Regular: "R";
406
- readonly WildCardSeries: "F";
407
- readonly DivisionSeries: "D";
408
- readonly LeagueChampionshipSeries: "L";
409
- readonly WorldSeries: "W";
410
- };
411
- type GameType = typeof GameType[keyof typeof GameType];
454
+ declare function GameTeamsToJSON(json: any): GameTeams;
455
+ declare function GameTeamsToJSONTyped(value?: GameTeams | null, ignoreDiscriminator?: boolean): any;
456
+
457
+ declare enum GameType {
458
+ Exhibition = "E",
459
+ SpringTraining = "S",
460
+ Regular = "R",
461
+ WildCardSeries = "F",
462
+ DivisionSeries = "D",
463
+ LeagueChampionshipSeries = "L",
464
+ WorldSeries = "W"
465
+ }
412
466
  declare function instanceOfGameType(value: any): boolean;
413
467
  declare function GameTypeFromJSON(json: any): GameType;
414
468
  declare function GameTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GameType;
415
469
  declare function GameTypeToJSON(value?: GameType | null): any;
470
+ declare function GameTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): GameType;
416
471
 
417
472
  interface Game {
418
473
  gamePk: number;
@@ -452,7 +507,8 @@ interface Game {
452
507
  declare function instanceOfGame(value: object): value is Game;
453
508
  declare function GameFromJSON(json: any): Game;
454
509
  declare function GameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Game;
455
- declare function GameToJSON(value?: Game | null): any;
510
+ declare function GameToJSON(json: any): Game;
511
+ declare function GameToJSONTyped(value?: Game | null, ignoreDiscriminator?: boolean): any;
456
512
 
457
513
  interface LinescoreTeam {
458
514
  runs?: number;
@@ -463,7 +519,8 @@ interface LinescoreTeam {
463
519
  declare function instanceOfLinescoreTeam(value: object): value is LinescoreTeam;
464
520
  declare function LinescoreTeamFromJSON(json: any): LinescoreTeam;
465
521
  declare function LinescoreTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinescoreTeam;
466
- declare function LinescoreTeamToJSON(value?: LinescoreTeam | null): any;
522
+ declare function LinescoreTeamToJSON(json: any): LinescoreTeam;
523
+ declare function LinescoreTeamToJSONTyped(value?: LinescoreTeam | null, ignoreDiscriminator?: boolean): any;
467
524
 
468
525
  interface Inning {
469
526
  num?: number;
@@ -474,7 +531,8 @@ interface Inning {
474
531
  declare function instanceOfInning(value: object): value is Inning;
475
532
  declare function InningFromJSON(json: any): Inning;
476
533
  declare function InningFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inning;
477
- declare function InningToJSON(value?: Inning | null): any;
534
+ declare function InningToJSON(json: any): Inning;
535
+ declare function InningToJSONTyped(value?: Inning | null, ignoreDiscriminator?: boolean): any;
478
536
 
479
537
  interface LinescoreTeams {
480
538
  away?: LinescoreTeam;
@@ -483,7 +541,8 @@ interface LinescoreTeams {
483
541
  declare function instanceOfLinescoreTeams(value: object): value is LinescoreTeams;
484
542
  declare function LinescoreTeamsFromJSON(json: any): LinescoreTeams;
485
543
  declare function LinescoreTeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinescoreTeams;
486
- declare function LinescoreTeamsToJSON(value?: LinescoreTeams | null): any;
544
+ declare function LinescoreTeamsToJSON(json: any): LinescoreTeams;
545
+ declare function LinescoreTeamsToJSONTyped(value?: LinescoreTeams | null, ignoreDiscriminator?: boolean): any;
487
546
 
488
547
  interface Linescore {
489
548
  currentInning?: number;
@@ -501,7 +560,8 @@ interface Linescore {
501
560
  declare function instanceOfLinescore(value: object): value is Linescore;
502
561
  declare function LinescoreFromJSON(json: any): Linescore;
503
562
  declare function LinescoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Linescore;
504
- declare function LinescoreToJSON(value?: Linescore | null): any;
563
+ declare function LinescoreToJSON(json: any): Linescore;
564
+ declare function LinescoreToJSONTyped(value?: Linescore | null, ignoreDiscriminator?: boolean): any;
505
565
 
506
566
  interface ScheduleDay {
507
567
  date?: string;
@@ -514,7 +574,8 @@ interface ScheduleDay {
514
574
  declare function instanceOfScheduleDay(value: object): value is ScheduleDay;
515
575
  declare function ScheduleDayFromJSON(json: any): ScheduleDay;
516
576
  declare function ScheduleDayFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScheduleDay;
517
- declare function ScheduleDayToJSON(value?: ScheduleDay | null): any;
577
+ declare function ScheduleDayToJSON(json: any): ScheduleDay;
578
+ declare function ScheduleDayToJSONTyped(value?: ScheduleDay | null, ignoreDiscriminator?: boolean): any;
518
579
 
519
580
  interface Schedule {
520
581
  totalItems: number;
@@ -526,7 +587,8 @@ interface Schedule {
526
587
  declare function instanceOfSchedule(value: object): value is Schedule;
527
588
  declare function ScheduleFromJSON(json: any): Schedule;
528
589
  declare function ScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Schedule;
529
- declare function ScheduleToJSON(value?: Schedule | null): any;
590
+ declare function ScheduleToJSON(json: any): Schedule;
591
+ declare function ScheduleToJSONTyped(value?: Schedule | null, ignoreDiscriminator?: boolean): any;
530
592
 
531
593
  interface Season {
532
594
  seasonId: string;
@@ -554,7 +616,8 @@ interface Season {
554
616
  declare function instanceOfSeason(value: object): value is Season;
555
617
  declare function SeasonFromJSON(json: any): Season;
556
618
  declare function SeasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Season;
557
- declare function SeasonToJSON(value?: Season | null): any;
619
+ declare function SeasonToJSON(json: any): Season;
620
+ declare function SeasonToJSONTyped(value?: Season | null, ignoreDiscriminator?: boolean): any;
558
621
 
559
622
  interface Seasons {
560
623
  seasons?: Array<Season>;
@@ -562,7 +625,8 @@ interface Seasons {
562
625
  declare function instanceOfSeasons(value: object): value is Seasons;
563
626
  declare function SeasonsFromJSON(json: any): Seasons;
564
627
  declare function SeasonsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Seasons;
565
- declare function SeasonsToJSON(value?: Seasons | null): any;
628
+ declare function SeasonsToJSON(json: any): Seasons;
629
+ declare function SeasonsToJSONTyped(value?: Seasons | null, ignoreDiscriminator?: boolean): any;
566
630
 
567
631
  interface Teams {
568
632
  teams?: Array<Team>;
@@ -570,13 +634,19 @@ interface Teams {
570
634
  declare function instanceOfTeams(value: object): value is Teams;
571
635
  declare function TeamsFromJSON(json: any): Teams;
572
636
  declare function TeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Teams;
573
- declare function TeamsToJSON(value?: Teams | null): any;
637
+ declare function TeamsToJSON(json: any): Teams;
638
+ declare function TeamsToJSONTyped(value?: Teams | null, ignoreDiscriminator?: boolean): any;
574
639
 
575
640
  interface GetAllSeasonsRequest {
576
641
  sportId: number;
577
642
  }
643
+ interface GetBoxscoreRequest {
644
+ gamePk: number;
645
+ fields?: Array<string>;
646
+ }
578
647
  interface GetLinescoreRequest {
579
648
  gamePk: number;
649
+ fields?: Array<string>;
580
650
  }
581
651
  interface GetScheduleRequest {
582
652
  sportId: number;
@@ -606,6 +676,8 @@ interface GetTeamsRequest {
606
676
  declare class MlbApi extends BaseAPI {
607
677
  getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Seasons>>;
608
678
  getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Seasons>;
679
+ getBoxscoreRaw(requestParameters: GetBoxscoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Boxscore>>;
680
+ getBoxscore(requestParameters: GetBoxscoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Boxscore>;
609
681
  getLinescoreRaw(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Linescore>>;
610
682
  getLinescore(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Linescore>;
611
683
  getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Schedule>>;
@@ -618,4 +690,4 @@ declare class MlbApi extends BaseAPI {
618
690
  getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Teams>;
619
691
  }
620
692
 
621
- export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsToJSON, DivisionToJSON, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameToJSON, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, type GetAllSeasonsRequest, type GetLinescoreRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type Inning, InningFromJSON, InningFromJSONTyped, InningToJSON, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueToJSON, type Linescore, LinescoreFromJSON, LinescoreFromJSONTyped, type LinescoreTeam, LinescoreTeamFromJSON, LinescoreTeamFromJSONTyped, LinescoreTeamToJSON, type LinescoreTeams, LinescoreTeamsFromJSON, LinescoreTeamsFromJSONTyped, LinescoreTeamsToJSON, LinescoreToJSON, type Middleware, MlbApi, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, type Team, TeamFromJSON, TeamFromJSONTyped, type TeamRecord, TeamRecordFromJSON, TeamRecordFromJSONTyped, TeamRecordToJSON, TeamToJSON, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VoidApiResponse, canConsumeForm, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfInning, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfLinescore, instanceOfLinescoreTeam, instanceOfLinescoreTeams, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeamRecord, instanceOfTeams, instanceOfVenue, mapValues, querystring };
693
+ export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, type Boxscore, BoxscoreFromJSON, BoxscoreFromJSONTyped, type BoxscoreTeams, BoxscoreTeamsFromJSON, BoxscoreTeamsFromJSONTyped, BoxscoreTeamsToJSON, BoxscoreTeamsToJSONTyped, BoxscoreToJSON, BoxscoreToJSONTyped, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsListToJSONTyped, DivisionStandingsToJSON, DivisionStandingsToJSONTyped, DivisionToJSON, DivisionToJSONTyped, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameOfficial, GameOfficialFromJSON, GameOfficialFromJSONTyped, GameOfficialToJSON, GameOfficialToJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusCodeToJSONTyped, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, GameStatusToJSONTyped, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, GameTeamToJSONTyped, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameTeamsToJSONTyped, GameToJSON, GameToJSONTyped, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, GameTypeToJSONTyped, type GetAllSeasonsRequest, type GetBoxscoreRequest, type GetLinescoreRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type Inning, InningFromJSON, InningFromJSONTyped, InningToJSON, InningToJSONTyped, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueDatesToJSONTyped, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueRecordToJSONTyped, LeagueToJSON, LeagueToJSONTyped, type Linescore, LinescoreFromJSON, LinescoreFromJSONTyped, type LinescoreTeam, LinescoreTeamFromJSON, LinescoreTeamFromJSONTyped, LinescoreTeamToJSON, LinescoreTeamToJSONTyped, type LinescoreTeams, LinescoreTeamsFromJSON, LinescoreTeamsFromJSONTyped, LinescoreTeamsToJSON, LinescoreTeamsToJSONTyped, LinescoreToJSON, LinescoreToJSONTyped, type Middleware, MlbApi, type ModelPropertyNaming, type Official, OfficialFromJSON, OfficialFromJSONTyped, OfficialToJSON, OfficialToJSONTyped, type Record, RecordFromJSON, RecordFromJSONTyped, RecordToJSON, RecordToJSONTyped, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleDayToJSONTyped, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, ScheduleToJSONTyped, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, SeasonToJSONTyped, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, SeasonsToJSONTyped, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, SportToJSONTyped, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, StreakToJSONTyped, type Team, TeamFromJSON, TeamFromJSONTyped, TeamToJSON, TeamToJSONTyped, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TeamsToJSONTyped, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VenueToJSONTyped, VoidApiResponse, canConsumeForm, instanceOfBoxscore, instanceOfBoxscoreTeams, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameOfficial, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfInning, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfLinescore, instanceOfLinescoreTeam, instanceOfLinescoreTeams, instanceOfOfficial, instanceOfRecord, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeams, instanceOfVenue, mapValues, querystring };