@bp1222/stats-api 0.0.6 → 0.0.7

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.
@@ -0,0 +1,2135 @@
1
+ /**
2
+ * MLB StatAPI
3
+ * An spec API to consume the MLB Stat API
4
+ *
5
+ * The version of the OpenAPI document: 0.0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ declare const BASE_PATH: string;
13
+ interface ConfigurationParameters {
14
+ basePath?: string;
15
+ fetchApi?: FetchAPI;
16
+ middleware?: Middleware[];
17
+ queryParamsStringify?: (params: HTTPQuery) => string;
18
+ username?: string;
19
+ password?: string;
20
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
21
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
+ headers?: HTTPHeaders;
23
+ credentials?: RequestCredentials;
24
+ }
25
+ declare class Configuration {
26
+ private configuration;
27
+ constructor(configuration?: ConfigurationParameters);
28
+ set config(configuration: Configuration);
29
+ get basePath(): string;
30
+ get fetchApi(): FetchAPI | undefined;
31
+ get middleware(): Middleware[];
32
+ get queryParamsStringify(): (params: HTTPQuery) => string;
33
+ get username(): string | undefined;
34
+ get password(): string | undefined;
35
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
36
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
+ get headers(): HTTPHeaders | undefined;
38
+ get credentials(): RequestCredentials | undefined;
39
+ }
40
+ declare const DefaultConfig: Configuration;
41
+ /**
42
+ * This is the base class for all generated API classes.
43
+ */
44
+ declare class BaseAPI {
45
+ protected configuration: Configuration;
46
+ private static readonly jsonRegex;
47
+ private middleware;
48
+ constructor(configuration?: Configuration);
49
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
52
+ /**
53
+ * Check if the given MIME is a JSON MIME.
54
+ * JSON MIME examples:
55
+ * application/json
56
+ * application/json; charset=UTF8
57
+ * APPLICATION/JSON
58
+ * application/vnd.company+json
59
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
60
+ * @return True if the given MIME is JSON, false otherwise.
61
+ */
62
+ protected isJsonMime(mime: string | null | undefined): boolean;
63
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
64
+ private createFetchParams;
65
+ private fetchApi;
66
+ /**
67
+ * Create a shallow clone of `this` by constructing a new instance
68
+ * and then shallow cloning data members.
69
+ */
70
+ private clone;
71
+ }
72
+ declare class ResponseError extends Error {
73
+ response: Response;
74
+ name: "ResponseError";
75
+ constructor(response: Response, msg?: string);
76
+ }
77
+ declare class FetchError extends Error {
78
+ cause: Error;
79
+ name: "FetchError";
80
+ constructor(cause: Error, msg?: string);
81
+ }
82
+ declare class RequiredError extends Error {
83
+ field: string;
84
+ name: "RequiredError";
85
+ constructor(field: string, msg?: string);
86
+ }
87
+ declare const COLLECTION_FORMATS: {
88
+ csv: string;
89
+ ssv: string;
90
+ tsv: string;
91
+ pipes: string;
92
+ };
93
+ type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
94
+ type Json = any;
95
+ type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
96
+ type HTTPHeaders = {
97
+ [key: string]: string;
98
+ };
99
+ type HTTPQuery = {
100
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
101
+ };
102
+ type HTTPBody = Json | FormData | URLSearchParams;
103
+ type HTTPRequestInit = {
104
+ headers?: HTTPHeaders;
105
+ method: HTTPMethod;
106
+ credentials?: RequestCredentials;
107
+ body?: HTTPBody;
108
+ };
109
+ type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
110
+ type InitOverrideFunction = (requestContext: {
111
+ init: HTTPRequestInit;
112
+ context: RequestOpts;
113
+ }) => Promise<RequestInit>;
114
+ interface FetchParams {
115
+ url: string;
116
+ init: RequestInit;
117
+ }
118
+ interface RequestOpts {
119
+ path: string;
120
+ method: HTTPMethod;
121
+ headers: HTTPHeaders;
122
+ query?: HTTPQuery;
123
+ body?: HTTPBody;
124
+ }
125
+ declare function querystring(params: HTTPQuery, prefix?: string): string;
126
+ declare function mapValues(data: any, fn: (item: any) => any): {};
127
+ declare function canConsumeForm(consumes: Consume[]): boolean;
128
+ interface Consume {
129
+ contentType: string;
130
+ }
131
+ interface RequestContext {
132
+ fetch: FetchAPI;
133
+ url: string;
134
+ init: RequestInit;
135
+ }
136
+ interface ResponseContext {
137
+ fetch: FetchAPI;
138
+ url: string;
139
+ init: RequestInit;
140
+ response: Response;
141
+ }
142
+ interface ErrorContext {
143
+ fetch: FetchAPI;
144
+ url: string;
145
+ init: RequestInit;
146
+ error: unknown;
147
+ response?: Response;
148
+ }
149
+ interface Middleware {
150
+ pre?(context: RequestContext): Promise<FetchParams | void>;
151
+ post?(context: ResponseContext): Promise<Response | void>;
152
+ onError?(context: ErrorContext): Promise<Response | void>;
153
+ }
154
+ interface ApiResponse<T> {
155
+ raw: Response;
156
+ value(): Promise<T>;
157
+ }
158
+ interface ResponseTransformer<T> {
159
+ (json: any): T;
160
+ }
161
+ declare class JSONApiResponse<T> {
162
+ raw: Response;
163
+ private transformer;
164
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
165
+ value(): Promise<T>;
166
+ }
167
+ declare class VoidApiResponse {
168
+ raw: Response;
169
+ constructor(raw: Response);
170
+ value(): Promise<void>;
171
+ }
172
+ declare class BlobApiResponse {
173
+ raw: Response;
174
+ constructor(raw: Response);
175
+ value(): Promise<Blob>;
176
+ }
177
+ declare class TextApiResponse {
178
+ raw: Response;
179
+ constructor(raw: Response);
180
+ value(): Promise<string>;
181
+ }
182
+
183
+ /**
184
+ * MLB StatAPI
185
+ * An spec API to consume the MLB Stat API
186
+ *
187
+ * The version of the OpenAPI document: 0.0.1
188
+ *
189
+ *
190
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
191
+ * https://openapi-generator.tech
192
+ * Do not edit the class manually.
193
+ */
194
+ /**
195
+ *
196
+ * @export
197
+ * @interface MLBLeagueDates
198
+ */
199
+ interface MLBLeagueDates {
200
+ /**
201
+ *
202
+ * @type {string}
203
+ * @memberof MLBLeagueDates
204
+ */
205
+ seasonId?: string;
206
+ /**
207
+ *
208
+ * @type {string}
209
+ * @memberof MLBLeagueDates
210
+ */
211
+ preSeasonStartDate?: string;
212
+ /**
213
+ *
214
+ * @type {string}
215
+ * @memberof MLBLeagueDates
216
+ */
217
+ preSeasonEndDate?: string;
218
+ /**
219
+ *
220
+ * @type {string}
221
+ * @memberof MLBLeagueDates
222
+ */
223
+ seasonStartDate?: string;
224
+ /**
225
+ *
226
+ * @type {string}
227
+ * @memberof MLBLeagueDates
228
+ */
229
+ springStartDate?: string;
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof MLBLeagueDates
234
+ */
235
+ springEndDate?: string;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof MLBLeagueDates
240
+ */
241
+ offseasonStartDate?: string;
242
+ /**
243
+ *
244
+ * @type {string}
245
+ * @memberof MLBLeagueDates
246
+ */
247
+ offseasonEndDate?: string;
248
+ /**
249
+ *
250
+ * @type {string}
251
+ * @memberof MLBLeagueDates
252
+ */
253
+ seasonLevelGamedayType?: string;
254
+ /**
255
+ *
256
+ * @type {string}
257
+ * @memberof MLBLeagueDates
258
+ */
259
+ gameLevelGamedayType?: string;
260
+ }
261
+ /**
262
+ * Check if a given object implements the MLBLeagueDates interface.
263
+ */
264
+ declare function instanceOfMLBLeagueDates(value: object): value is MLBLeagueDates;
265
+ declare function MLBLeagueDatesFromJSON(json: any): MLBLeagueDates;
266
+ declare function MLBLeagueDatesFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBLeagueDates;
267
+ declare function MLBLeagueDatesToJSON(value?: MLBLeagueDates | null): any;
268
+
269
+ /**
270
+ * MLB StatAPI
271
+ * An spec API to consume the MLB Stat API
272
+ *
273
+ * The version of the OpenAPI document: 0.0.1
274
+ *
275
+ *
276
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
277
+ * https://openapi-generator.tech
278
+ * Do not edit the class manually.
279
+ */
280
+
281
+ /**
282
+ * League
283
+ *
284
+ * @export
285
+ * @interface MLBLeague
286
+ */
287
+ interface MLBLeague {
288
+ /**
289
+ *
290
+ * @type {number}
291
+ * @memberof MLBLeague
292
+ */
293
+ id: number;
294
+ /**
295
+ *
296
+ * @type {string}
297
+ * @memberof MLBLeague
298
+ */
299
+ name: string;
300
+ /**
301
+ *
302
+ * @type {string}
303
+ * @memberof MLBLeague
304
+ */
305
+ link?: string;
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof MLBLeague
310
+ */
311
+ abbreviation?: string;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof MLBLeague
316
+ */
317
+ nameShort?: string;
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof MLBLeague
322
+ */
323
+ seasonState?: string;
324
+ /**
325
+ *
326
+ * @type {boolean}
327
+ * @memberof MLBLeague
328
+ */
329
+ hasWildCard?: boolean;
330
+ /**
331
+ *
332
+ * @type {boolean}
333
+ * @memberof MLBLeague
334
+ */
335
+ hasSplitSeason?: boolean;
336
+ /**
337
+ *
338
+ * @type {boolean}
339
+ * @memberof MLBLeague
340
+ */
341
+ hasPlayoffPoints?: boolean;
342
+ /**
343
+ *
344
+ * @type {MLBLeagueDates}
345
+ * @memberof MLBLeague
346
+ */
347
+ seasonDateInfo?: MLBLeagueDates;
348
+ /**
349
+ *
350
+ * @type {string}
351
+ * @memberof MLBLeague
352
+ */
353
+ season?: string;
354
+ /**
355
+ *
356
+ * @type {string}
357
+ * @memberof MLBLeague
358
+ */
359
+ orgCode?: string;
360
+ /**
361
+ *
362
+ * @type {boolean}
363
+ * @memberof MLBLeague
364
+ */
365
+ conferencesInUse?: boolean;
366
+ /**
367
+ *
368
+ * @type {boolean}
369
+ * @memberof MLBLeague
370
+ */
371
+ divisionsInUse?: boolean;
372
+ /**
373
+ *
374
+ * @type {number}
375
+ * @memberof MLBLeague
376
+ */
377
+ sortOrder?: number;
378
+ /**
379
+ *
380
+ * @type {boolean}
381
+ * @memberof MLBLeague
382
+ */
383
+ active?: boolean;
384
+ }
385
+ /**
386
+ * Check if a given object implements the MLBLeague interface.
387
+ */
388
+ declare function instanceOfMLBLeague(value: object): value is MLBLeague;
389
+ declare function MLBLeagueFromJSON(json: any): MLBLeague;
390
+ declare function MLBLeagueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBLeague;
391
+ declare function MLBLeagueToJSON(value?: MLBLeague | null): any;
392
+
393
+ /**
394
+ * MLB StatAPI
395
+ * An spec API to consume the MLB Stat API
396
+ *
397
+ * The version of the OpenAPI document: 0.0.1
398
+ *
399
+ *
400
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
401
+ * https://openapi-generator.tech
402
+ * Do not edit the class manually.
403
+ */
404
+ /**
405
+ * Sport
406
+ *
407
+ * @export
408
+ * @interface MLBSport
409
+ */
410
+ interface MLBSport {
411
+ /**
412
+ *
413
+ * @type {number}
414
+ * @memberof MLBSport
415
+ */
416
+ id: number;
417
+ /**
418
+ *
419
+ * @type {string}
420
+ * @memberof MLBSport
421
+ */
422
+ code?: string;
423
+ /**
424
+ *
425
+ * @type {string}
426
+ * @memberof MLBSport
427
+ */
428
+ link?: string;
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof MLBSport
433
+ */
434
+ name?: string;
435
+ /**
436
+ *
437
+ * @type {string}
438
+ * @memberof MLBSport
439
+ */
440
+ abbreviation?: string;
441
+ /**
442
+ *
443
+ * @type {number}
444
+ * @memberof MLBSport
445
+ */
446
+ sortOrder?: number;
447
+ /**
448
+ *
449
+ * @type {boolean}
450
+ * @memberof MLBSport
451
+ */
452
+ activeStatus?: boolean;
453
+ }
454
+ /**
455
+ * Check if a given object implements the MLBSport interface.
456
+ */
457
+ declare function instanceOfMLBSport(value: object): value is MLBSport;
458
+ declare function MLBSportFromJSON(json: any): MLBSport;
459
+ declare function MLBSportFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBSport;
460
+ declare function MLBSportToJSON(value?: MLBSport | null): any;
461
+
462
+ /**
463
+ * MLB StatAPI
464
+ * An spec API to consume the MLB Stat API
465
+ *
466
+ * The version of the OpenAPI document: 0.0.1
467
+ *
468
+ *
469
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
470
+ * https://openapi-generator.tech
471
+ * Do not edit the class manually.
472
+ */
473
+
474
+ /**
475
+ * Division
476
+ *
477
+ * @export
478
+ * @interface MLBDivision
479
+ */
480
+ interface MLBDivision {
481
+ /**
482
+ *
483
+ * @type {number}
484
+ * @memberof MLBDivision
485
+ */
486
+ id: number;
487
+ /**
488
+ *
489
+ * @type {string}
490
+ * @memberof MLBDivision
491
+ */
492
+ name: string;
493
+ /**
494
+ *
495
+ * @type {string}
496
+ * @memberof MLBDivision
497
+ */
498
+ season?: string;
499
+ /**
500
+ *
501
+ * @type {string}
502
+ * @memberof MLBDivision
503
+ */
504
+ nameShort?: string;
505
+ /**
506
+ *
507
+ * @type {string}
508
+ * @memberof MLBDivision
509
+ */
510
+ link?: string;
511
+ /**
512
+ *
513
+ * @type {string}
514
+ * @memberof MLBDivision
515
+ */
516
+ abbreviation?: string;
517
+ /**
518
+ *
519
+ * @type {MLBLeague}
520
+ * @memberof MLBDivision
521
+ */
522
+ league?: MLBLeague;
523
+ /**
524
+ *
525
+ * @type {MLBSport}
526
+ * @memberof MLBDivision
527
+ */
528
+ sport?: MLBSport;
529
+ /**
530
+ *
531
+ * @type {boolean}
532
+ * @memberof MLBDivision
533
+ */
534
+ hasWildcard?: boolean;
535
+ /**
536
+ *
537
+ * @type {number}
538
+ * @memberof MLBDivision
539
+ */
540
+ sortOrder?: number;
541
+ /**
542
+ *
543
+ * @type {number}
544
+ * @memberof MLBDivision
545
+ */
546
+ numPlayoffTeams?: number;
547
+ /**
548
+ *
549
+ * @type {boolean}
550
+ * @memberof MLBDivision
551
+ */
552
+ active?: boolean;
553
+ }
554
+ /**
555
+ * Check if a given object implements the MLBDivision interface.
556
+ */
557
+ declare function instanceOfMLBDivision(value: object): value is MLBDivision;
558
+ declare function MLBDivisionFromJSON(json: any): MLBDivision;
559
+ declare function MLBDivisionFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBDivision;
560
+ declare function MLBDivisionToJSON(value?: MLBDivision | null): any;
561
+
562
+ /**
563
+ * MLB StatAPI
564
+ * An spec API to consume the MLB Stat API
565
+ *
566
+ * The version of the OpenAPI document: 0.0.1
567
+ *
568
+ *
569
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
570
+ * https://openapi-generator.tech
571
+ * Do not edit the class manually.
572
+ */
573
+ /**
574
+ * Venue
575
+ *
576
+ * @export
577
+ * @interface MLBVenue
578
+ */
579
+ interface MLBVenue {
580
+ /**
581
+ *
582
+ * @type {number}
583
+ * @memberof MLBVenue
584
+ */
585
+ id: number;
586
+ /**
587
+ *
588
+ * @type {string}
589
+ * @memberof MLBVenue
590
+ */
591
+ name: string;
592
+ /**
593
+ *
594
+ * @type {string}
595
+ * @memberof MLBVenue
596
+ */
597
+ link?: string;
598
+ /**
599
+ *
600
+ * @type {boolean}
601
+ * @memberof MLBVenue
602
+ */
603
+ active?: boolean;
604
+ /**
605
+ *
606
+ * @type {string}
607
+ * @memberof MLBVenue
608
+ */
609
+ season?: string;
610
+ }
611
+ /**
612
+ * Check if a given object implements the MLBVenue interface.
613
+ */
614
+ declare function instanceOfMLBVenue(value: object): value is MLBVenue;
615
+ declare function MLBVenueFromJSON(json: any): MLBVenue;
616
+ declare function MLBVenueFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBVenue;
617
+ declare function MLBVenueToJSON(value?: MLBVenue | null): any;
618
+
619
+ /**
620
+ * MLB StatAPI
621
+ * An spec API to consume the MLB Stat API
622
+ *
623
+ * The version of the OpenAPI document: 0.0.1
624
+ *
625
+ *
626
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
627
+ * https://openapi-generator.tech
628
+ * Do not edit the class manually.
629
+ */
630
+ /**
631
+ *
632
+ * @export
633
+ * @interface MLBGameStatus
634
+ */
635
+ interface MLBGameStatus {
636
+ /**
637
+ *
638
+ * @type {string}
639
+ * @memberof MLBGameStatus
640
+ */
641
+ abstractGameState?: string;
642
+ /**
643
+ * Coded Game State
644
+ * * `F` - Final
645
+ * * `D` - Delayed/Postponed
646
+ * * `S` - Scheduled
647
+ * * `I` - In Progress
648
+ * * `P` - Pregame
649
+ * * `O` - Game Over
650
+ *
651
+ * @type {string}
652
+ * @memberof MLBGameStatus
653
+ */
654
+ codedGameState?: MLBGameStatusCodedGameStateEnum;
655
+ /**
656
+ *
657
+ * @type {string}
658
+ * @memberof MLBGameStatus
659
+ */
660
+ detailedState?: string;
661
+ /**
662
+ *
663
+ * @type {string}
664
+ * @memberof MLBGameStatus
665
+ */
666
+ statusCode?: string;
667
+ /**
668
+ *
669
+ * @type {boolean}
670
+ * @memberof MLBGameStatus
671
+ */
672
+ startTimeTBD?: boolean;
673
+ /**
674
+ *
675
+ * @type {string}
676
+ * @memberof MLBGameStatus
677
+ */
678
+ abstractGameCode?: string;
679
+ }
680
+ /**
681
+ * @export
682
+ */
683
+ declare const MLBGameStatusCodedGameStateEnum: {
684
+ readonly Final: "F";
685
+ readonly Postponed: "D";
686
+ readonly Scheduled: "S";
687
+ readonly InProgress: "I";
688
+ readonly Pregame: "P";
689
+ readonly GameOver: "O";
690
+ };
691
+ type MLBGameStatusCodedGameStateEnum = typeof MLBGameStatusCodedGameStateEnum[keyof typeof MLBGameStatusCodedGameStateEnum];
692
+ /**
693
+ * Check if a given object implements the MLBGameStatus interface.
694
+ */
695
+ declare function instanceOfMLBGameStatus(value: object): value is MLBGameStatus;
696
+ declare function MLBGameStatusFromJSON(json: any): MLBGameStatus;
697
+ declare function MLBGameStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBGameStatus;
698
+ declare function MLBGameStatusToJSON(value?: MLBGameStatus | null): any;
699
+
700
+ /**
701
+ * MLB StatAPI
702
+ * An spec API to consume the MLB Stat API
703
+ *
704
+ * The version of the OpenAPI document: 0.0.1
705
+ *
706
+ *
707
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
708
+ * https://openapi-generator.tech
709
+ * Do not edit the class manually.
710
+ */
711
+
712
+ /**
713
+ * Team
714
+ *
715
+ * @export
716
+ * @interface MLBTeam
717
+ */
718
+ interface MLBTeam {
719
+ /**
720
+ *
721
+ * @type {number}
722
+ * @memberof MLBTeam
723
+ */
724
+ id: number;
725
+ /**
726
+ *
727
+ * @type {string}
728
+ * @memberof MLBTeam
729
+ */
730
+ name: string;
731
+ /**
732
+ *
733
+ * @type {string}
734
+ * @memberof MLBTeam
735
+ */
736
+ link?: string;
737
+ /**
738
+ *
739
+ * @type {string}
740
+ * @memberof MLBTeam
741
+ */
742
+ allStarStatus?: string;
743
+ /**
744
+ *
745
+ * @type {number}
746
+ * @memberof MLBTeam
747
+ */
748
+ season?: number;
749
+ /**
750
+ *
751
+ * @type {MLBVenue}
752
+ * @memberof MLBTeam
753
+ */
754
+ venue?: MLBVenue;
755
+ /**
756
+ *
757
+ * @type {MLBVenue}
758
+ * @memberof MLBTeam
759
+ */
760
+ springVenue?: MLBVenue;
761
+ /**
762
+ *
763
+ * @type {string}
764
+ * @memberof MLBTeam
765
+ */
766
+ teamCode?: string;
767
+ /**
768
+ *
769
+ * @type {string}
770
+ * @memberof MLBTeam
771
+ */
772
+ fileCode?: string;
773
+ /**
774
+ *
775
+ * @type {string}
776
+ * @memberof MLBTeam
777
+ */
778
+ abbreviation?: string;
779
+ /**
780
+ *
781
+ * @type {string}
782
+ * @memberof MLBTeam
783
+ */
784
+ teamName?: string;
785
+ /**
786
+ *
787
+ * @type {string}
788
+ * @memberof MLBTeam
789
+ */
790
+ locationName?: string;
791
+ /**
792
+ *
793
+ * @type {string}
794
+ * @memberof MLBTeam
795
+ */
796
+ firstYearOfPlay?: string;
797
+ /**
798
+ *
799
+ * @type {MLBLeague}
800
+ * @memberof MLBTeam
801
+ */
802
+ league?: MLBLeague;
803
+ /**
804
+ *
805
+ * @type {MLBLeague}
806
+ * @memberof MLBTeam
807
+ */
808
+ springLeague?: MLBLeague;
809
+ /**
810
+ *
811
+ * @type {MLBDivision}
812
+ * @memberof MLBTeam
813
+ */
814
+ division?: MLBDivision;
815
+ /**
816
+ *
817
+ * @type {MLBSport}
818
+ * @memberof MLBTeam
819
+ */
820
+ sport?: MLBSport;
821
+ /**
822
+ *
823
+ * @type {string}
824
+ * @memberof MLBTeam
825
+ */
826
+ shortName?: string;
827
+ /**
828
+ *
829
+ * @type {string}
830
+ * @memberof MLBTeam
831
+ */
832
+ franchiseName?: string;
833
+ /**
834
+ *
835
+ * @type {string}
836
+ * @memberof MLBTeam
837
+ */
838
+ clubName?: string;
839
+ /**
840
+ *
841
+ * @type {boolean}
842
+ * @memberof MLBTeam
843
+ */
844
+ active?: boolean;
845
+ }
846
+ /**
847
+ * Check if a given object implements the MLBTeam interface.
848
+ */
849
+ declare function instanceOfMLBTeam(value: object): value is MLBTeam;
850
+ declare function MLBTeamFromJSON(json: any): MLBTeam;
851
+ declare function MLBTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBTeam;
852
+ declare function MLBTeamToJSON(value?: MLBTeam | null): any;
853
+
854
+ /**
855
+ * MLB StatAPI
856
+ * An spec API to consume the MLB Stat API
857
+ *
858
+ * The version of the OpenAPI document: 0.0.1
859
+ *
860
+ *
861
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
862
+ * https://openapi-generator.tech
863
+ * Do not edit the class manually.
864
+ */
865
+ /**
866
+ *
867
+ * @export
868
+ * @interface MLBLeagueRecord
869
+ */
870
+ interface MLBLeagueRecord {
871
+ /**
872
+ *
873
+ * @type {number}
874
+ * @memberof MLBLeagueRecord
875
+ */
876
+ wins: number;
877
+ /**
878
+ *
879
+ * @type {number}
880
+ * @memberof MLBLeagueRecord
881
+ */
882
+ losses: number;
883
+ /**
884
+ *
885
+ * @type {number}
886
+ * @memberof MLBLeagueRecord
887
+ */
888
+ ties?: number;
889
+ /**
890
+ *
891
+ * @type {string}
892
+ * @memberof MLBLeagueRecord
893
+ */
894
+ pct: string;
895
+ }
896
+ /**
897
+ * Check if a given object implements the MLBLeagueRecord interface.
898
+ */
899
+ declare function instanceOfMLBLeagueRecord(value: object): value is MLBLeagueRecord;
900
+ declare function MLBLeagueRecordFromJSON(json: any): MLBLeagueRecord;
901
+ declare function MLBLeagueRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBLeagueRecord;
902
+ declare function MLBLeagueRecordToJSON(value?: MLBLeagueRecord | null): any;
903
+
904
+ /**
905
+ * MLB StatAPI
906
+ * An spec API to consume the MLB Stat API
907
+ *
908
+ * The version of the OpenAPI document: 0.0.1
909
+ *
910
+ *
911
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
912
+ * https://openapi-generator.tech
913
+ * Do not edit the class manually.
914
+ */
915
+
916
+ /**
917
+ * Game Team
918
+ *
919
+ * @export
920
+ * @interface MLBGameTeam
921
+ */
922
+ interface MLBGameTeam {
923
+ /**
924
+ *
925
+ * @type {MLBLeagueRecord}
926
+ * @memberof MLBGameTeam
927
+ */
928
+ leagueRecord?: MLBLeagueRecord;
929
+ /**
930
+ *
931
+ * @type {number}
932
+ * @memberof MLBGameTeam
933
+ */
934
+ score: number;
935
+ /**
936
+ *
937
+ * @type {MLBTeam}
938
+ * @memberof MLBGameTeam
939
+ */
940
+ team: MLBTeam;
941
+ /**
942
+ *
943
+ * @type {boolean}
944
+ * @memberof MLBGameTeam
945
+ */
946
+ isWinner: boolean;
947
+ /**
948
+ *
949
+ * @type {boolean}
950
+ * @memberof MLBGameTeam
951
+ */
952
+ splitSquad?: boolean;
953
+ /**
954
+ *
955
+ * @type {number}
956
+ * @memberof MLBGameTeam
957
+ */
958
+ seriesNumber?: number;
959
+ }
960
+ /**
961
+ * Check if a given object implements the MLBGameTeam interface.
962
+ */
963
+ declare function instanceOfMLBGameTeam(value: object): value is MLBGameTeam;
964
+ declare function MLBGameTeamFromJSON(json: any): MLBGameTeam;
965
+ declare function MLBGameTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBGameTeam;
966
+ declare function MLBGameTeamToJSON(value?: MLBGameTeam | null): any;
967
+
968
+ /**
969
+ * MLB StatAPI
970
+ * An spec API to consume the MLB Stat API
971
+ *
972
+ * The version of the OpenAPI document: 0.0.1
973
+ *
974
+ *
975
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
976
+ * https://openapi-generator.tech
977
+ * Do not edit the class manually.
978
+ */
979
+
980
+ /**
981
+ *
982
+ * @export
983
+ * @interface MLBGameTeams
984
+ */
985
+ interface MLBGameTeams {
986
+ /**
987
+ *
988
+ * @type {MLBGameTeam}
989
+ * @memberof MLBGameTeams
990
+ */
991
+ away: MLBGameTeam;
992
+ /**
993
+ *
994
+ * @type {MLBGameTeam}
995
+ * @memberof MLBGameTeams
996
+ */
997
+ home: MLBGameTeam;
998
+ }
999
+ /**
1000
+ * Check if a given object implements the MLBGameTeams interface.
1001
+ */
1002
+ declare function instanceOfMLBGameTeams(value: object): value is MLBGameTeams;
1003
+ declare function MLBGameTeamsFromJSON(json: any): MLBGameTeams;
1004
+ declare function MLBGameTeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBGameTeams;
1005
+ declare function MLBGameTeamsToJSON(value?: MLBGameTeams | null): any;
1006
+
1007
+ /**
1008
+ * MLB StatAPI
1009
+ * An spec API to consume the MLB Stat API
1010
+ *
1011
+ * The version of the OpenAPI document: 0.0.1
1012
+ *
1013
+ *
1014
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1015
+ * https://openapi-generator.tech
1016
+ * Do not edit the class manually.
1017
+ */
1018
+
1019
+ /**
1020
+ * Game Thing
1021
+ *
1022
+ * @export
1023
+ * @interface MLBGame
1024
+ */
1025
+ interface MLBGame {
1026
+ /**
1027
+ *
1028
+ * @type {number}
1029
+ * @memberof MLBGame
1030
+ */
1031
+ gamePk: number;
1032
+ /**
1033
+ *
1034
+ * @type {string}
1035
+ * @memberof MLBGame
1036
+ */
1037
+ gameGuid: string;
1038
+ /**
1039
+ *
1040
+ * @type {string}
1041
+ * @memberof MLBGame
1042
+ */
1043
+ link?: string;
1044
+ /**
1045
+ * Game Type:
1046
+ * * `E` - Exhibition
1047
+ * * `S` - Spring Training
1048
+ * * `R` - Regular Season
1049
+ * * `F` - Wild Card Series
1050
+ * * `D` - Division Series
1051
+ * * `L` - League Championship Series
1052
+ * * `W` - World Series
1053
+ *
1054
+ * @type {string}
1055
+ * @memberof MLBGame
1056
+ */
1057
+ gameType: MLBGameGameTypeEnum;
1058
+ /**
1059
+ *
1060
+ * @type {number}
1061
+ * @memberof MLBGame
1062
+ */
1063
+ season: number;
1064
+ /**
1065
+ *
1066
+ * @type {string}
1067
+ * @memberof MLBGame
1068
+ */
1069
+ gameDate: string;
1070
+ /**
1071
+ *
1072
+ * @type {string}
1073
+ * @memberof MLBGame
1074
+ */
1075
+ officialDate: string;
1076
+ /**
1077
+ *
1078
+ * @type {number}
1079
+ * @memberof MLBGame
1080
+ */
1081
+ rescheduledTo?: number;
1082
+ /**
1083
+ *
1084
+ * @type {string}
1085
+ * @memberof MLBGame
1086
+ */
1087
+ rescheduledToDate?: string;
1088
+ /**
1089
+ *
1090
+ * @type {number}
1091
+ * @memberof MLBGame
1092
+ */
1093
+ rescheduledFrom?: number;
1094
+ /**
1095
+ *
1096
+ * @type {string}
1097
+ * @memberof MLBGame
1098
+ */
1099
+ rescheduledFromDate?: string;
1100
+ /**
1101
+ *
1102
+ * @type {MLBGameStatus}
1103
+ * @memberof MLBGame
1104
+ */
1105
+ status: MLBGameStatus;
1106
+ /**
1107
+ *
1108
+ * @type {MLBGameTeams}
1109
+ * @memberof MLBGame
1110
+ */
1111
+ teams: MLBGameTeams;
1112
+ /**
1113
+ *
1114
+ * @type {MLBVenue}
1115
+ * @memberof MLBGame
1116
+ */
1117
+ venue?: MLBVenue;
1118
+ /**
1119
+ *
1120
+ * @type {boolean}
1121
+ * @memberof MLBGame
1122
+ */
1123
+ isTie?: boolean;
1124
+ /**
1125
+ *
1126
+ * @type {number}
1127
+ * @memberof MLBGame
1128
+ */
1129
+ gameNumber: number;
1130
+ /**
1131
+ *
1132
+ * @type {boolean}
1133
+ * @memberof MLBGame
1134
+ */
1135
+ publicFacing?: boolean;
1136
+ /**
1137
+ *
1138
+ * @type {string}
1139
+ * @memberof MLBGame
1140
+ */
1141
+ doubleHeader?: string;
1142
+ /**
1143
+ *
1144
+ * @type {string}
1145
+ * @memberof MLBGame
1146
+ */
1147
+ gamedayType?: string;
1148
+ /**
1149
+ *
1150
+ * @type {string}
1151
+ * @memberof MLBGame
1152
+ */
1153
+ tiebreaker?: string;
1154
+ /**
1155
+ *
1156
+ * @type {string}
1157
+ * @memberof MLBGame
1158
+ */
1159
+ calendarEventID?: string;
1160
+ /**
1161
+ *
1162
+ * @type {string}
1163
+ * @memberof MLBGame
1164
+ */
1165
+ seasonDisplay?: string;
1166
+ /**
1167
+ *
1168
+ * @type {string}
1169
+ * @memberof MLBGame
1170
+ */
1171
+ dayNight?: string;
1172
+ /**
1173
+ *
1174
+ * @type {string}
1175
+ * @memberof MLBGame
1176
+ */
1177
+ description?: string;
1178
+ /**
1179
+ *
1180
+ * @type {number}
1181
+ * @memberof MLBGame
1182
+ */
1183
+ scheduledInnings?: number;
1184
+ /**
1185
+ *
1186
+ * @type {boolean}
1187
+ * @memberof MLBGame
1188
+ */
1189
+ reverseHomeAwayStatus?: boolean;
1190
+ /**
1191
+ *
1192
+ * @type {number}
1193
+ * @memberof MLBGame
1194
+ */
1195
+ inningBreakLength?: number;
1196
+ /**
1197
+ *
1198
+ * @type {number}
1199
+ * @memberof MLBGame
1200
+ */
1201
+ gamesInSeries: number;
1202
+ /**
1203
+ *
1204
+ * @type {number}
1205
+ * @memberof MLBGame
1206
+ */
1207
+ seriesGameNumber: number;
1208
+ /**
1209
+ *
1210
+ * @type {string}
1211
+ * @memberof MLBGame
1212
+ */
1213
+ seriesDescription?: string;
1214
+ /**
1215
+ *
1216
+ * @type {string}
1217
+ * @memberof MLBGame
1218
+ */
1219
+ recordSource?: string;
1220
+ /**
1221
+ *
1222
+ * @type {string}
1223
+ * @memberof MLBGame
1224
+ */
1225
+ ifNecessary?: string;
1226
+ /**
1227
+ *
1228
+ * @type {string}
1229
+ * @memberof MLBGame
1230
+ */
1231
+ ifNecessaryDescription?: string;
1232
+ }
1233
+ /**
1234
+ * @export
1235
+ */
1236
+ declare const MLBGameGameTypeEnum: {
1237
+ readonly Exhibition: "E";
1238
+ readonly SpringTraining: "S";
1239
+ readonly Regular: "R";
1240
+ readonly WildCardSeries: "F";
1241
+ readonly DivisionSeries: "D";
1242
+ readonly LeagueChampionshipSeries: "L";
1243
+ readonly WorldSeries: "W";
1244
+ };
1245
+ type MLBGameGameTypeEnum = typeof MLBGameGameTypeEnum[keyof typeof MLBGameGameTypeEnum];
1246
+ /**
1247
+ * Check if a given object implements the MLBGame interface.
1248
+ */
1249
+ declare function instanceOfMLBGame(value: object): value is MLBGame;
1250
+ declare function MLBGameFromJSON(json: any): MLBGame;
1251
+ declare function MLBGameFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBGame;
1252
+ declare function MLBGameToJSON(value?: MLBGame | null): any;
1253
+
1254
+ /**
1255
+ * MLB StatAPI
1256
+ * An spec API to consume the MLB Stat API
1257
+ *
1258
+ * The version of the OpenAPI document: 0.0.1
1259
+ *
1260
+ *
1261
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1262
+ * https://openapi-generator.tech
1263
+ * Do not edit the class manually.
1264
+ */
1265
+ /**
1266
+ *
1267
+ * @export
1268
+ * @interface MLBStreak
1269
+ */
1270
+ interface MLBStreak {
1271
+ /**
1272
+ * Streak Type:
1273
+ * * Losing Streak
1274
+ * * Winning Streak
1275
+ *
1276
+ * @type {string}
1277
+ * @memberof MLBStreak
1278
+ */
1279
+ streakType?: MLBStreakStreakTypeEnum;
1280
+ }
1281
+ /**
1282
+ * @export
1283
+ */
1284
+ declare const MLBStreakStreakTypeEnum: {
1285
+ readonly Losing: "losses";
1286
+ readonly Winning: "wins";
1287
+ };
1288
+ type MLBStreakStreakTypeEnum = typeof MLBStreakStreakTypeEnum[keyof typeof MLBStreakStreakTypeEnum];
1289
+ /**
1290
+ * Check if a given object implements the MLBStreak interface.
1291
+ */
1292
+ declare function instanceOfMLBStreak(value: object): value is MLBStreak;
1293
+ declare function MLBStreakFromJSON(json: any): MLBStreak;
1294
+ declare function MLBStreakFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBStreak;
1295
+ declare function MLBStreakToJSON(value?: MLBStreak | null): any;
1296
+
1297
+ /**
1298
+ * MLB StatAPI
1299
+ * An spec API to consume the MLB Stat API
1300
+ *
1301
+ * The version of the OpenAPI document: 0.0.1
1302
+ *
1303
+ *
1304
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1305
+ * https://openapi-generator.tech
1306
+ * Do not edit the class manually.
1307
+ */
1308
+
1309
+ /**
1310
+ * Record
1311
+ *
1312
+ * @export
1313
+ * @interface MLBRecord
1314
+ */
1315
+ interface MLBRecord {
1316
+ /**
1317
+ *
1318
+ * @type {MLBTeam}
1319
+ * @memberof MLBRecord
1320
+ */
1321
+ team: MLBTeam;
1322
+ /**
1323
+ *
1324
+ * @type {string}
1325
+ * @memberof MLBRecord
1326
+ */
1327
+ season: string;
1328
+ /**
1329
+ *
1330
+ * @type {MLBStreak}
1331
+ * @memberof MLBRecord
1332
+ */
1333
+ streak: MLBStreak;
1334
+ /**
1335
+ *
1336
+ * @type {string}
1337
+ * @memberof MLBRecord
1338
+ */
1339
+ divisionRank: string;
1340
+ /**
1341
+ *
1342
+ * @type {string}
1343
+ * @memberof MLBRecord
1344
+ */
1345
+ leagueRank: string;
1346
+ /**
1347
+ *
1348
+ * @type {string}
1349
+ * @memberof MLBRecord
1350
+ */
1351
+ sportRank?: string;
1352
+ /**
1353
+ *
1354
+ * @type {number}
1355
+ * @memberof MLBRecord
1356
+ */
1357
+ gamesPlayed?: number;
1358
+ /**
1359
+ *
1360
+ * @type {string}
1361
+ * @memberof MLBRecord
1362
+ */
1363
+ gamesBack: string;
1364
+ /**
1365
+ *
1366
+ * @type {string}
1367
+ * @memberof MLBRecord
1368
+ */
1369
+ wildCardGamesBack?: string;
1370
+ /**
1371
+ *
1372
+ * @type {string}
1373
+ * @memberof MLBRecord
1374
+ */
1375
+ leagueGamesBack?: string;
1376
+ /**
1377
+ *
1378
+ * @type {string}
1379
+ * @memberof MLBRecord
1380
+ */
1381
+ sportGamesBack?: string;
1382
+ /**
1383
+ *
1384
+ * @type {string}
1385
+ * @memberof MLBRecord
1386
+ */
1387
+ divisionGamesBack?: string;
1388
+ /**
1389
+ *
1390
+ * @type {string}
1391
+ * @memberof MLBRecord
1392
+ */
1393
+ conferenceGamesBack?: string;
1394
+ /**
1395
+ *
1396
+ * @type {MLBLeagueRecord}
1397
+ * @memberof MLBRecord
1398
+ */
1399
+ leagueRecord: MLBLeagueRecord;
1400
+ /**
1401
+ *
1402
+ * @type {string}
1403
+ * @memberof MLBRecord
1404
+ */
1405
+ lastUpdated?: string;
1406
+ /**
1407
+ *
1408
+ * @type {number}
1409
+ * @memberof MLBRecord
1410
+ */
1411
+ runsAllowed?: number;
1412
+ /**
1413
+ *
1414
+ * @type {number}
1415
+ * @memberof MLBRecord
1416
+ */
1417
+ runsScored?: number;
1418
+ /**
1419
+ *
1420
+ * @type {boolean}
1421
+ * @memberof MLBRecord
1422
+ */
1423
+ divisionChamp?: boolean;
1424
+ /**
1425
+ *
1426
+ * @type {boolean}
1427
+ * @memberof MLBRecord
1428
+ */
1429
+ divisionLeader?: boolean;
1430
+ /**
1431
+ *
1432
+ * @type {boolean}
1433
+ * @memberof MLBRecord
1434
+ */
1435
+ hasWildcard?: boolean;
1436
+ /**
1437
+ *
1438
+ * @type {boolean}
1439
+ * @memberof MLBRecord
1440
+ */
1441
+ clinched?: boolean;
1442
+ /**
1443
+ *
1444
+ * @type {string}
1445
+ * @memberof MLBRecord
1446
+ */
1447
+ eliminationNumber?: string;
1448
+ /**
1449
+ *
1450
+ * @type {string}
1451
+ * @memberof MLBRecord
1452
+ */
1453
+ eliminationNumberSport?: string;
1454
+ /**
1455
+ *
1456
+ * @type {string}
1457
+ * @memberof MLBRecord
1458
+ */
1459
+ eliminationNumberLeague?: string;
1460
+ /**
1461
+ *
1462
+ * @type {string}
1463
+ * @memberof MLBRecord
1464
+ */
1465
+ eliminationNumberDivision?: string;
1466
+ /**
1467
+ *
1468
+ * @type {string}
1469
+ * @memberof MLBRecord
1470
+ */
1471
+ eliminationNumberConference?: string;
1472
+ /**
1473
+ *
1474
+ * @type {string}
1475
+ * @memberof MLBRecord
1476
+ */
1477
+ wildCardEliminationNumber?: string;
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof MLBRecord
1482
+ */
1483
+ magicNumber?: string;
1484
+ /**
1485
+ *
1486
+ * @type {number}
1487
+ * @memberof MLBRecord
1488
+ */
1489
+ wins: number;
1490
+ /**
1491
+ *
1492
+ * @type {number}
1493
+ * @memberof MLBRecord
1494
+ */
1495
+ losses: number;
1496
+ /**
1497
+ *
1498
+ * @type {number}
1499
+ * @memberof MLBRecord
1500
+ */
1501
+ runDifferential?: number;
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof MLBRecord
1506
+ */
1507
+ winningPercentage?: string;
1508
+ }
1509
+ /**
1510
+ * Check if a given object implements the MLBRecord interface.
1511
+ */
1512
+ declare function instanceOfMLBRecord(value: object): value is MLBRecord;
1513
+ declare function MLBRecordFromJSON(json: any): MLBRecord;
1514
+ declare function MLBRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBRecord;
1515
+ declare function MLBRecordToJSON(value?: MLBRecord | null): any;
1516
+
1517
+ /**
1518
+ * MLB StatAPI
1519
+ * An spec API to consume the MLB Stat API
1520
+ *
1521
+ * The version of the OpenAPI document: 0.0.1
1522
+ *
1523
+ *
1524
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1525
+ * https://openapi-generator.tech
1526
+ * Do not edit the class manually.
1527
+ */
1528
+
1529
+ /**
1530
+ *
1531
+ * @export
1532
+ * @interface MLBScheduleDay
1533
+ */
1534
+ interface MLBScheduleDay {
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof MLBScheduleDay
1539
+ */
1540
+ date?: string;
1541
+ /**
1542
+ *
1543
+ * @type {number}
1544
+ * @memberof MLBScheduleDay
1545
+ */
1546
+ totalItems?: number;
1547
+ /**
1548
+ *
1549
+ * @type {number}
1550
+ * @memberof MLBScheduleDay
1551
+ */
1552
+ totalEvents?: number;
1553
+ /**
1554
+ *
1555
+ * @type {number}
1556
+ * @memberof MLBScheduleDay
1557
+ */
1558
+ totalGames?: number;
1559
+ /**
1560
+ *
1561
+ * @type {number}
1562
+ * @memberof MLBScheduleDay
1563
+ */
1564
+ totalGamesInProgress?: number;
1565
+ /**
1566
+ *
1567
+ * @type {Array<MLBGame>}
1568
+ * @memberof MLBScheduleDay
1569
+ */
1570
+ games: Array<MLBGame>;
1571
+ }
1572
+ /**
1573
+ * Check if a given object implements the MLBScheduleDay interface.
1574
+ */
1575
+ declare function instanceOfMLBScheduleDay(value: object): value is MLBScheduleDay;
1576
+ declare function MLBScheduleDayFromJSON(json: any): MLBScheduleDay;
1577
+ declare function MLBScheduleDayFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBScheduleDay;
1578
+ declare function MLBScheduleDayToJSON(value?: MLBScheduleDay | null): any;
1579
+
1580
+ /**
1581
+ * MLB StatAPI
1582
+ * An spec API to consume the MLB Stat API
1583
+ *
1584
+ * The version of the OpenAPI document: 0.0.1
1585
+ *
1586
+ *
1587
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1588
+ * https://openapi-generator.tech
1589
+ * Do not edit the class manually.
1590
+ */
1591
+
1592
+ /**
1593
+ * Schedule
1594
+ *
1595
+ * @export
1596
+ * @interface MLBSchedule
1597
+ */
1598
+ interface MLBSchedule {
1599
+ /**
1600
+ *
1601
+ * @type {number}
1602
+ * @memberof MLBSchedule
1603
+ */
1604
+ totalItems: number;
1605
+ /**
1606
+ *
1607
+ * @type {number}
1608
+ * @memberof MLBSchedule
1609
+ */
1610
+ totalEvents: number;
1611
+ /**
1612
+ *
1613
+ * @type {number}
1614
+ * @memberof MLBSchedule
1615
+ */
1616
+ totalGames: number;
1617
+ /**
1618
+ *
1619
+ * @type {number}
1620
+ * @memberof MLBSchedule
1621
+ */
1622
+ totalGamesInProgress: number;
1623
+ /**
1624
+ *
1625
+ * @type {Array<MLBScheduleDay>}
1626
+ * @memberof MLBSchedule
1627
+ */
1628
+ dates: Array<MLBScheduleDay>;
1629
+ }
1630
+ /**
1631
+ * Check if a given object implements the MLBSchedule interface.
1632
+ */
1633
+ declare function instanceOfMLBSchedule(value: object): value is MLBSchedule;
1634
+ declare function MLBScheduleFromJSON(json: any): MLBSchedule;
1635
+ declare function MLBScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBSchedule;
1636
+ declare function MLBScheduleToJSON(value?: MLBSchedule | null): any;
1637
+
1638
+ /**
1639
+ * MLB StatAPI
1640
+ * An spec API to consume the MLB Stat API
1641
+ *
1642
+ * The version of the OpenAPI document: 0.0.1
1643
+ *
1644
+ *
1645
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1646
+ * https://openapi-generator.tech
1647
+ * Do not edit the class manually.
1648
+ */
1649
+ /**
1650
+ * Season
1651
+ *
1652
+ * @export
1653
+ * @interface MLBSeason
1654
+ */
1655
+ interface MLBSeason {
1656
+ /**
1657
+ *
1658
+ * @type {string}
1659
+ * @memberof MLBSeason
1660
+ */
1661
+ seasonId: string;
1662
+ /**
1663
+ *
1664
+ * @type {boolean}
1665
+ * @memberof MLBSeason
1666
+ */
1667
+ hasWildcard?: boolean;
1668
+ /**
1669
+ *
1670
+ * @type {string}
1671
+ * @memberof MLBSeason
1672
+ */
1673
+ preSeasonStartDate?: string;
1674
+ /**
1675
+ *
1676
+ * @type {string}
1677
+ * @memberof MLBSeason
1678
+ */
1679
+ preSeasonEndDate?: string;
1680
+ /**
1681
+ *
1682
+ * @type {string}
1683
+ * @memberof MLBSeason
1684
+ */
1685
+ seasonStartDate: string;
1686
+ /**
1687
+ *
1688
+ * @type {string}
1689
+ * @memberof MLBSeason
1690
+ */
1691
+ seasonEndDate: string;
1692
+ /**
1693
+ *
1694
+ * @type {string}
1695
+ * @memberof MLBSeason
1696
+ */
1697
+ springStartDate?: string;
1698
+ /**
1699
+ *
1700
+ * @type {string}
1701
+ * @memberof MLBSeason
1702
+ */
1703
+ springEndDate?: string;
1704
+ /**
1705
+ *
1706
+ * @type {string}
1707
+ * @memberof MLBSeason
1708
+ */
1709
+ regularSeasonStartDate: string;
1710
+ /**
1711
+ *
1712
+ * @type {string}
1713
+ * @memberof MLBSeason
1714
+ */
1715
+ lastDate1stHalf?: string;
1716
+ /**
1717
+ *
1718
+ * @type {string}
1719
+ * @memberof MLBSeason
1720
+ */
1721
+ allStartDate?: string;
1722
+ /**
1723
+ *
1724
+ * @type {string}
1725
+ * @memberof MLBSeason
1726
+ */
1727
+ firstDate2ndHalf?: string;
1728
+ /**
1729
+ *
1730
+ * @type {string}
1731
+ * @memberof MLBSeason
1732
+ */
1733
+ regularSeasonEndDate: string;
1734
+ /**
1735
+ *
1736
+ * @type {string}
1737
+ * @memberof MLBSeason
1738
+ */
1739
+ postSeasonStartDate?: string;
1740
+ /**
1741
+ *
1742
+ * @type {string}
1743
+ * @memberof MLBSeason
1744
+ */
1745
+ postSeasonEndDate?: string;
1746
+ /**
1747
+ *
1748
+ * @type {string}
1749
+ * @memberof MLBSeason
1750
+ */
1751
+ offSeasonStartDate?: string;
1752
+ /**
1753
+ *
1754
+ * @type {string}
1755
+ * @memberof MLBSeason
1756
+ */
1757
+ offSeasonEndDate?: string;
1758
+ /**
1759
+ *
1760
+ * @type {string}
1761
+ * @memberof MLBSeason
1762
+ */
1763
+ seasonLevelGamedayType?: string;
1764
+ /**
1765
+ *
1766
+ * @type {string}
1767
+ * @memberof MLBSeason
1768
+ */
1769
+ gameLevelGamedayType?: string;
1770
+ /**
1771
+ *
1772
+ * @type {number}
1773
+ * @memberof MLBSeason
1774
+ */
1775
+ qualifierPlateAppearances?: number;
1776
+ /**
1777
+ *
1778
+ * @type {number}
1779
+ * @memberof MLBSeason
1780
+ */
1781
+ qualifierOutsPitched?: number;
1782
+ }
1783
+ /**
1784
+ * Check if a given object implements the MLBSeason interface.
1785
+ */
1786
+ declare function instanceOfMLBSeason(value: object): value is MLBSeason;
1787
+ declare function MLBSeasonFromJSON(json: any): MLBSeason;
1788
+ declare function MLBSeasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBSeason;
1789
+ declare function MLBSeasonToJSON(value?: MLBSeason | null): any;
1790
+
1791
+ /**
1792
+ * MLB StatAPI
1793
+ * An spec API to consume the MLB Stat API
1794
+ *
1795
+ * The version of the OpenAPI document: 0.0.1
1796
+ *
1797
+ *
1798
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1799
+ * https://openapi-generator.tech
1800
+ * Do not edit the class manually.
1801
+ */
1802
+
1803
+ /**
1804
+ *
1805
+ * @export
1806
+ * @interface MLBSeasons
1807
+ */
1808
+ interface MLBSeasons {
1809
+ /**
1810
+ *
1811
+ * @type {Array<MLBSeason>}
1812
+ * @memberof MLBSeasons
1813
+ */
1814
+ seasons?: Array<MLBSeason>;
1815
+ }
1816
+ /**
1817
+ * Check if a given object implements the MLBSeasons interface.
1818
+ */
1819
+ declare function instanceOfMLBSeasons(value: object): value is MLBSeasons;
1820
+ declare function MLBSeasonsFromJSON(json: any): MLBSeasons;
1821
+ declare function MLBSeasonsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBSeasons;
1822
+ declare function MLBSeasonsToJSON(value?: MLBSeasons | null): any;
1823
+
1824
+ /**
1825
+ * MLB StatAPI
1826
+ * An spec API to consume the MLB Stat API
1827
+ *
1828
+ * The version of the OpenAPI document: 0.0.1
1829
+ *
1830
+ *
1831
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1832
+ * https://openapi-generator.tech
1833
+ * Do not edit the class manually.
1834
+ */
1835
+
1836
+ /**
1837
+ * Standings
1838
+ *
1839
+ * @export
1840
+ * @interface MLBStandings
1841
+ */
1842
+ interface MLBStandings {
1843
+ /**
1844
+ *
1845
+ * @type {string}
1846
+ * @memberof MLBStandings
1847
+ */
1848
+ standingsType?: string;
1849
+ /**
1850
+ *
1851
+ * @type {MLBLeague}
1852
+ * @memberof MLBStandings
1853
+ */
1854
+ league: MLBLeague;
1855
+ /**
1856
+ *
1857
+ * @type {MLBDivision}
1858
+ * @memberof MLBStandings
1859
+ */
1860
+ division: MLBDivision;
1861
+ /**
1862
+ *
1863
+ * @type {MLBSport}
1864
+ * @memberof MLBStandings
1865
+ */
1866
+ sport: MLBSport;
1867
+ /**
1868
+ *
1869
+ * @type {string}
1870
+ * @memberof MLBStandings
1871
+ */
1872
+ lastUpdated?: string;
1873
+ /**
1874
+ *
1875
+ * @type {Array<MLBRecord>}
1876
+ * @memberof MLBStandings
1877
+ */
1878
+ teamRecords: Array<MLBRecord>;
1879
+ }
1880
+ /**
1881
+ * Check if a given object implements the MLBStandings interface.
1882
+ */
1883
+ declare function instanceOfMLBStandings(value: object): value is MLBStandings;
1884
+ declare function MLBStandingsFromJSON(json: any): MLBStandings;
1885
+ declare function MLBStandingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBStandings;
1886
+ declare function MLBStandingsToJSON(value?: MLBStandings | null): any;
1887
+
1888
+ /**
1889
+ * MLB StatAPI
1890
+ * An spec API to consume the MLB Stat API
1891
+ *
1892
+ * The version of the OpenAPI document: 0.0.1
1893
+ *
1894
+ *
1895
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1896
+ * https://openapi-generator.tech
1897
+ * Do not edit the class manually.
1898
+ */
1899
+
1900
+ /**
1901
+ *
1902
+ * @export
1903
+ * @interface MLBStandingsList
1904
+ */
1905
+ interface MLBStandingsList {
1906
+ /**
1907
+ *
1908
+ * @type {Array<MLBStandings>}
1909
+ * @memberof MLBStandingsList
1910
+ */
1911
+ records?: Array<MLBStandings>;
1912
+ }
1913
+ /**
1914
+ * Check if a given object implements the MLBStandingsList interface.
1915
+ */
1916
+ declare function instanceOfMLBStandingsList(value: object): value is MLBStandingsList;
1917
+ declare function MLBStandingsListFromJSON(json: any): MLBStandingsList;
1918
+ declare function MLBStandingsListFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBStandingsList;
1919
+ declare function MLBStandingsListToJSON(value?: MLBStandingsList | null): any;
1920
+
1921
+ /**
1922
+ * MLB StatAPI
1923
+ * An spec API to consume the MLB Stat API
1924
+ *
1925
+ * The version of the OpenAPI document: 0.0.1
1926
+ *
1927
+ *
1928
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1929
+ * https://openapi-generator.tech
1930
+ * Do not edit the class manually.
1931
+ */
1932
+
1933
+ /**
1934
+ *
1935
+ * @export
1936
+ * @interface MLBTeams
1937
+ */
1938
+ interface MLBTeams {
1939
+ /**
1940
+ *
1941
+ * @type {Array<MLBTeam>}
1942
+ * @memberof MLBTeams
1943
+ */
1944
+ teams?: Array<MLBTeam>;
1945
+ }
1946
+ /**
1947
+ * Check if a given object implements the MLBTeams interface.
1948
+ */
1949
+ declare function instanceOfMLBTeams(value: object): value is MLBTeams;
1950
+ declare function MLBTeamsFromJSON(json: any): MLBTeams;
1951
+ declare function MLBTeamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MLBTeams;
1952
+ declare function MLBTeamsToJSON(value?: MLBTeams | null): any;
1953
+
1954
+ /**
1955
+ * MLB StatAPI
1956
+ * An spec API to consume the MLB Stat API
1957
+ *
1958
+ * The version of the OpenAPI document: 0.0.1
1959
+ *
1960
+ *
1961
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1962
+ * https://openapi-generator.tech
1963
+ * Do not edit the class manually.
1964
+ */
1965
+
1966
+ interface GetAllSeasonsRequest {
1967
+ sportId: number;
1968
+ }
1969
+ interface GetScheduleRequest {
1970
+ sportId: number;
1971
+ teamId?: number;
1972
+ startDate?: string;
1973
+ endDate?: string;
1974
+ }
1975
+ interface GetSeasonRequest {
1976
+ sportId: number;
1977
+ season: string;
1978
+ }
1979
+ interface GetStandingsRequest {
1980
+ leagueId: number;
1981
+ season: string;
1982
+ date?: string;
1983
+ fields?: Array<string>;
1984
+ hydrate?: string;
1985
+ }
1986
+ interface GetTeamsRequest {
1987
+ sportId: number;
1988
+ season: string;
1989
+ leagueIds?: Array<number>;
1990
+ }
1991
+ /**
1992
+ * MlbApi - interface
1993
+ *
1994
+ * @export
1995
+ * @interface MlbApiInterface
1996
+ */
1997
+ interface MlbApiInterface {
1998
+ /**
1999
+ * Returns All Seasons
2000
+ * @summary Retrieves All Seasons over time
2001
+ * @param {number} sportId
2002
+ * @param {*} [options] Override http request option.
2003
+ * @throws {RequiredError}
2004
+ * @memberof MlbApiInterface
2005
+ */
2006
+ getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSeasons>>;
2007
+ /**
2008
+ * Returns All Seasons
2009
+ * Retrieves All Seasons over time
2010
+ */
2011
+ getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSeasons>;
2012
+ /**
2013
+ * Returns Schedule
2014
+ * @summary Retrieves schedule
2015
+ * @param {number} sportId
2016
+ * @param {number} [teamId]
2017
+ * @param {string} [startDate]
2018
+ * @param {string} [endDate]
2019
+ * @param {*} [options] Override http request option.
2020
+ * @throws {RequiredError}
2021
+ * @memberof MlbApiInterface
2022
+ */
2023
+ getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSchedule>>;
2024
+ /**
2025
+ * Returns Schedule
2026
+ * Retrieves schedule
2027
+ */
2028
+ getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSchedule>;
2029
+ /**
2030
+ * Returns Season
2031
+ * @summary Retrieves season
2032
+ * @param {number} sportId
2033
+ * @param {string} season
2034
+ * @param {*} [options] Override http request option.
2035
+ * @throws {RequiredError}
2036
+ * @memberof MlbApiInterface
2037
+ */
2038
+ getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSeason>>;
2039
+ /**
2040
+ * Returns Season
2041
+ * Retrieves season
2042
+ */
2043
+ getSeason(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSeason>;
2044
+ /**
2045
+ * Returns Standing
2046
+ * @summary Retrieves Standings
2047
+ * @param {number} leagueId
2048
+ * @param {string} season
2049
+ * @param {string} [date]
2050
+ * @param {Array<string>} [fields]
2051
+ * @param {string} [hydrate]
2052
+ * @param {*} [options] Override http request option.
2053
+ * @throws {RequiredError}
2054
+ * @memberof MlbApiInterface
2055
+ */
2056
+ getStandingsRaw(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBStandingsList>>;
2057
+ /**
2058
+ * Returns Standing
2059
+ * Retrieves Standings
2060
+ */
2061
+ getStandings(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBStandingsList>;
2062
+ /**
2063
+ * Returns Teams
2064
+ * @summary Retrieves Teams
2065
+ * @param {number} sportId
2066
+ * @param {string} season
2067
+ * @param {Array<number>} [leagueIds]
2068
+ * @param {*} [options] Override http request option.
2069
+ * @throws {RequiredError}
2070
+ * @memberof MlbApiInterface
2071
+ */
2072
+ getTeamsRaw(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBTeams>>;
2073
+ /**
2074
+ * Returns Teams
2075
+ * Retrieves Teams
2076
+ */
2077
+ getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBTeams>;
2078
+ }
2079
+ /**
2080
+ *
2081
+ */
2082
+ declare class MlbApi extends BaseAPI implements MlbApiInterface {
2083
+ /**
2084
+ * Returns All Seasons
2085
+ * Retrieves All Seasons over time
2086
+ */
2087
+ getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSeasons>>;
2088
+ /**
2089
+ * Returns All Seasons
2090
+ * Retrieves All Seasons over time
2091
+ */
2092
+ getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSeasons>;
2093
+ /**
2094
+ * Returns Schedule
2095
+ * Retrieves schedule
2096
+ */
2097
+ getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSchedule>>;
2098
+ /**
2099
+ * Returns Schedule
2100
+ * Retrieves schedule
2101
+ */
2102
+ getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSchedule>;
2103
+ /**
2104
+ * Returns Season
2105
+ * Retrieves season
2106
+ */
2107
+ getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBSeason>>;
2108
+ /**
2109
+ * Returns Season
2110
+ * Retrieves season
2111
+ */
2112
+ getSeason(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBSeason>;
2113
+ /**
2114
+ * Returns Standing
2115
+ * Retrieves Standings
2116
+ */
2117
+ getStandingsRaw(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBStandingsList>>;
2118
+ /**
2119
+ * Returns Standing
2120
+ * Retrieves Standings
2121
+ */
2122
+ getStandings(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBStandingsList>;
2123
+ /**
2124
+ * Returns Teams
2125
+ * Retrieves Teams
2126
+ */
2127
+ getTeamsRaw(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<MLBTeams>>;
2128
+ /**
2129
+ * Returns Teams
2130
+ * Retrieves Teams
2131
+ */
2132
+ getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<MLBTeams>;
2133
+ }
2134
+
2135
+ export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type GetAllSeasonsRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, JSONApiResponse, type Json, type MLBDivision, MLBDivisionFromJSON, MLBDivisionFromJSONTyped, MLBDivisionToJSON, type MLBGame, MLBGameFromJSON, MLBGameFromJSONTyped, MLBGameGameTypeEnum, type MLBGameStatus, MLBGameStatusCodedGameStateEnum, MLBGameStatusFromJSON, MLBGameStatusFromJSONTyped, MLBGameStatusToJSON, type MLBGameTeam, MLBGameTeamFromJSON, MLBGameTeamFromJSONTyped, MLBGameTeamToJSON, type MLBGameTeams, MLBGameTeamsFromJSON, MLBGameTeamsFromJSONTyped, MLBGameTeamsToJSON, MLBGameToJSON, type MLBLeague, type MLBLeagueDates, MLBLeagueDatesFromJSON, MLBLeagueDatesFromJSONTyped, MLBLeagueDatesToJSON, MLBLeagueFromJSON, MLBLeagueFromJSONTyped, type MLBLeagueRecord, MLBLeagueRecordFromJSON, MLBLeagueRecordFromJSONTyped, MLBLeagueRecordToJSON, MLBLeagueToJSON, type MLBRecord, MLBRecordFromJSON, MLBRecordFromJSONTyped, MLBRecordToJSON, type MLBSchedule, type MLBScheduleDay, MLBScheduleDayFromJSON, MLBScheduleDayFromJSONTyped, MLBScheduleDayToJSON, MLBScheduleFromJSON, MLBScheduleFromJSONTyped, MLBScheduleToJSON, type MLBSeason, MLBSeasonFromJSON, MLBSeasonFromJSONTyped, MLBSeasonToJSON, type MLBSeasons, MLBSeasonsFromJSON, MLBSeasonsFromJSONTyped, MLBSeasonsToJSON, type MLBSport, MLBSportFromJSON, MLBSportFromJSONTyped, MLBSportToJSON, type MLBStandings, MLBStandingsFromJSON, MLBStandingsFromJSONTyped, type MLBStandingsList, MLBStandingsListFromJSON, MLBStandingsListFromJSONTyped, MLBStandingsListToJSON, MLBStandingsToJSON, type MLBStreak, MLBStreakFromJSON, MLBStreakFromJSONTyped, MLBStreakStreakTypeEnum, MLBStreakToJSON, type MLBTeam, MLBTeamFromJSON, MLBTeamFromJSONTyped, MLBTeamToJSON, type MLBTeams, MLBTeamsFromJSON, MLBTeamsFromJSONTyped, MLBTeamsToJSON, type MLBVenue, MLBVenueFromJSON, MLBVenueFromJSONTyped, MLBVenueToJSON, type Middleware, MlbApi, type MlbApiInterface, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, TextApiResponse, VoidApiResponse, canConsumeForm, instanceOfMLBDivision, instanceOfMLBGame, instanceOfMLBGameStatus, instanceOfMLBGameTeam, instanceOfMLBGameTeams, instanceOfMLBLeague, instanceOfMLBLeagueDates, instanceOfMLBLeagueRecord, instanceOfMLBRecord, instanceOfMLBSchedule, instanceOfMLBScheduleDay, instanceOfMLBSeason, instanceOfMLBSeasons, instanceOfMLBSport, instanceOfMLBStandings, instanceOfMLBStandingsList, instanceOfMLBStreak, instanceOfMLBTeam, instanceOfMLBTeams, instanceOfMLBVenue, mapValues, querystring };