@bp1222/stats-api 0.5.0 → 0.7.4
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/README.md +37 -0
- package/dist/index.d.ts +1204 -306
- package/dist/index.js +1546 -1010
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ export declare interface ApiResponse<T> {
|
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* MLB StatAPI
|
|
8
|
-
*
|
|
8
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
9
9
|
*
|
|
10
|
-
* The version of the OpenAPI document: 0.
|
|
10
|
+
* The version of the OpenAPI document: 0.7.4
|
|
11
11
|
*
|
|
12
12
|
*
|
|
13
13
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -50,9 +50,9 @@ export declare class BaseAPI {
|
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* MLB StatAPI
|
|
53
|
-
*
|
|
53
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
54
54
|
*
|
|
55
|
-
* The version of the OpenAPI document: 0.
|
|
55
|
+
* The version of the OpenAPI document: 0.7.4
|
|
56
56
|
*
|
|
57
57
|
*
|
|
58
58
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -400,6 +400,46 @@ export declare function BoxscoreToJSONTyped(value?: Boxscore | null, ignoreDiscr
|
|
|
400
400
|
|
|
401
401
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
402
402
|
|
|
403
|
+
/**
|
|
404
|
+
* MLB StatAPI
|
|
405
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
406
|
+
*
|
|
407
|
+
* The version of the OpenAPI document: 0.7.4
|
|
408
|
+
*
|
|
409
|
+
*
|
|
410
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
411
|
+
* https://openapi-generator.tech
|
|
412
|
+
* Do not edit the class manually.
|
|
413
|
+
*/
|
|
414
|
+
/**
|
|
415
|
+
* Code and description pair (e.g. batSide, pitchHand).
|
|
416
|
+
*
|
|
417
|
+
* @export
|
|
418
|
+
* @interface CodeDescription
|
|
419
|
+
*/
|
|
420
|
+
export declare interface CodeDescription {
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {string}
|
|
424
|
+
* @memberof CodeDescription
|
|
425
|
+
*/
|
|
426
|
+
code?: string;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof CodeDescription
|
|
431
|
+
*/
|
|
432
|
+
description?: string;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export declare function CodeDescriptionFromJSON(json: any): CodeDescription;
|
|
436
|
+
|
|
437
|
+
export declare function CodeDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): CodeDescription;
|
|
438
|
+
|
|
439
|
+
export declare function CodeDescriptionToJSON(json: any): CodeDescription;
|
|
440
|
+
|
|
441
|
+
export declare function CodeDescriptionToJSONTyped(value?: CodeDescription | null, ignoreDiscriminator?: boolean): any;
|
|
442
|
+
|
|
403
443
|
export declare const COLLECTION_FORMATS: {
|
|
404
444
|
csv: string;
|
|
405
445
|
ssv: string;
|
|
@@ -440,6 +480,40 @@ export declare interface Consume {
|
|
|
440
480
|
contentType: string;
|
|
441
481
|
}
|
|
442
482
|
|
|
483
|
+
/**
|
|
484
|
+
* MLB StatAPI
|
|
485
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
486
|
+
*
|
|
487
|
+
* The version of the OpenAPI document: 0.7.4
|
|
488
|
+
*
|
|
489
|
+
*
|
|
490
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
491
|
+
* https://openapi-generator.tech
|
|
492
|
+
* Do not edit the class manually.
|
|
493
|
+
*/
|
|
494
|
+
/**
|
|
495
|
+
* Links to game-related content (highlights, editorials, etc.). Present on schedule games.
|
|
496
|
+
*
|
|
497
|
+
* @export
|
|
498
|
+
* @interface Content
|
|
499
|
+
*/
|
|
500
|
+
export declare interface Content {
|
|
501
|
+
/**
|
|
502
|
+
* API path for this game's content
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof Content
|
|
505
|
+
*/
|
|
506
|
+
link?: string;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export declare function ContentFromJSON(json: any): Content;
|
|
510
|
+
|
|
511
|
+
export declare function ContentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Content;
|
|
512
|
+
|
|
513
|
+
export declare function ContentToJSON(json: any): Content;
|
|
514
|
+
|
|
515
|
+
export declare function ContentToJSONTyped(value?: Content | null, ignoreDiscriminator?: boolean): any;
|
|
516
|
+
|
|
443
517
|
export declare const DefaultConfig: Configuration;
|
|
444
518
|
|
|
445
519
|
/**
|
|
@@ -584,10 +658,10 @@ export declare interface DivisionStandings {
|
|
|
584
658
|
lastUpdated?: string;
|
|
585
659
|
/**
|
|
586
660
|
*
|
|
587
|
-
* @type {Array<
|
|
661
|
+
* @type {Array<ModelRecord>}
|
|
588
662
|
* @memberof DivisionStandings
|
|
589
663
|
*/
|
|
590
|
-
teamRecords: Array<
|
|
664
|
+
teamRecords: Array<ModelRecord>;
|
|
591
665
|
}
|
|
592
666
|
|
|
593
667
|
export declare function DivisionStandingsFromJSON(json: any): DivisionStandings;
|
|
@@ -653,9 +727,9 @@ export declare interface FetchParams {
|
|
|
653
727
|
|
|
654
728
|
/**
|
|
655
729
|
* MLB StatAPI
|
|
656
|
-
*
|
|
730
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
657
731
|
*
|
|
658
|
-
* The version of the OpenAPI document: 0.
|
|
732
|
+
* The version of the OpenAPI document: 0.7.4
|
|
659
733
|
*
|
|
660
734
|
*
|
|
661
735
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -824,6 +898,12 @@ export declare interface Game {
|
|
|
824
898
|
* @memberof Game
|
|
825
899
|
*/
|
|
826
900
|
venue?: Venue;
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @type {Content}
|
|
904
|
+
* @memberof Game
|
|
905
|
+
*/
|
|
906
|
+
content?: Content;
|
|
827
907
|
/**
|
|
828
908
|
*
|
|
829
909
|
* @type {boolean}
|
|
@@ -835,7 +915,7 @@ export declare interface Game {
|
|
|
835
915
|
* @type {number}
|
|
836
916
|
* @memberof Game
|
|
837
917
|
*/
|
|
838
|
-
gameNumber
|
|
918
|
+
gameNumber?: number;
|
|
839
919
|
/**
|
|
840
920
|
*
|
|
841
921
|
* @type {boolean}
|
|
@@ -907,13 +987,13 @@ export declare interface Game {
|
|
|
907
987
|
* @type {number}
|
|
908
988
|
* @memberof Game
|
|
909
989
|
*/
|
|
910
|
-
gamesInSeries
|
|
990
|
+
gamesInSeries?: number;
|
|
911
991
|
/**
|
|
912
992
|
*
|
|
913
993
|
* @type {number}
|
|
914
994
|
* @memberof Game
|
|
915
995
|
*/
|
|
916
|
-
seriesGameNumber
|
|
996
|
+
seriesGameNumber?: number;
|
|
917
997
|
/**
|
|
918
998
|
*
|
|
919
999
|
* @type {string}
|
|
@@ -972,6 +1052,40 @@ export declare function GameOfficialToJSON(json: any): GameOfficial;
|
|
|
972
1052
|
|
|
973
1053
|
export declare function GameOfficialToJSONTyped(value?: GameOfficial | null, ignoreDiscriminator?: boolean): any;
|
|
974
1054
|
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
*/
|
|
1058
|
+
export declare class GamesApi extends runtime.BaseAPI {
|
|
1059
|
+
/**
|
|
1060
|
+
* Creates request options for getBoxscore without sending the request
|
|
1061
|
+
*/
|
|
1062
|
+
getBoxscoreRequestOpts(requestParameters: GetBoxscoreRequest): Promise<runtime.RequestOpts>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Returns Boxscore
|
|
1065
|
+
* Retrieves boxscore
|
|
1066
|
+
*/
|
|
1067
|
+
getBoxscoreRaw(requestParameters: GetBoxscoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Boxscore>>;
|
|
1068
|
+
/**
|
|
1069
|
+
* Returns Boxscore
|
|
1070
|
+
* Retrieves boxscore
|
|
1071
|
+
*/
|
|
1072
|
+
getBoxscore(requestParameters: GetBoxscoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Boxscore>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Creates request options for getLinescore without sending the request
|
|
1075
|
+
*/
|
|
1076
|
+
getLinescoreRequestOpts(requestParameters: GetLinescoreRequest): Promise<runtime.RequestOpts>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns Linescore
|
|
1079
|
+
* Retrieves linescore
|
|
1080
|
+
*/
|
|
1081
|
+
getLinescoreRaw(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Linescore>>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Returns Linescore
|
|
1084
|
+
* Retrieves linescore
|
|
1085
|
+
*/
|
|
1086
|
+
getLinescore(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Linescore>;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
975
1089
|
/**
|
|
976
1090
|
*
|
|
977
1091
|
* @export
|
|
@@ -1018,9 +1132,9 @@ export declare interface GameStatus {
|
|
|
1018
1132
|
|
|
1019
1133
|
/**
|
|
1020
1134
|
* MLB StatAPI
|
|
1021
|
-
*
|
|
1135
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1022
1136
|
*
|
|
1023
|
-
* The version of the OpenAPI document: 0.
|
|
1137
|
+
* The version of the OpenAPI document: 0.7.4
|
|
1024
1138
|
*
|
|
1025
1139
|
*
|
|
1026
1140
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1078,7 +1192,7 @@ export declare interface GameTeam {
|
|
|
1078
1192
|
* @type {LeagueRecord}
|
|
1079
1193
|
* @memberof GameTeam
|
|
1080
1194
|
*/
|
|
1081
|
-
leagueRecord
|
|
1195
|
+
leagueRecord: LeagueRecord;
|
|
1082
1196
|
/**
|
|
1083
1197
|
*
|
|
1084
1198
|
* @type {number}
|
|
@@ -1153,9 +1267,9 @@ export declare function GameToJSONTyped(value?: Game | null, ignoreDiscriminator
|
|
|
1153
1267
|
|
|
1154
1268
|
/**
|
|
1155
1269
|
* MLB StatAPI
|
|
1156
|
-
*
|
|
1270
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1157
1271
|
*
|
|
1158
|
-
* The version of the OpenAPI document: 0.
|
|
1272
|
+
* The version of the OpenAPI document: 0.7.4
|
|
1159
1273
|
*
|
|
1160
1274
|
*
|
|
1161
1275
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1217,6 +1331,19 @@ export declare interface GetLinescoreRequest {
|
|
|
1217
1331
|
fields?: Array<string>;
|
|
1218
1332
|
}
|
|
1219
1333
|
|
|
1334
|
+
export declare interface GetPersonRequest {
|
|
1335
|
+
personId: number;
|
|
1336
|
+
fields?: Array<string>;
|
|
1337
|
+
hydrate?: string;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
export declare interface GetPersonStatsRequest {
|
|
1341
|
+
personId: number;
|
|
1342
|
+
season: string;
|
|
1343
|
+
stats?: string;
|
|
1344
|
+
group?: string;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1220
1347
|
export declare interface GetScheduleRequest {
|
|
1221
1348
|
sportId: number;
|
|
1222
1349
|
gamePk?: number;
|
|
@@ -1246,6 +1373,7 @@ export declare interface GetTeamsRequest {
|
|
|
1246
1373
|
sportId: number;
|
|
1247
1374
|
season: string;
|
|
1248
1375
|
leagueIds?: Array<number>;
|
|
1376
|
+
teamId?: Array<number>;
|
|
1249
1377
|
fields?: Array<string>;
|
|
1250
1378
|
hydrate?: string;
|
|
1251
1379
|
}
|
|
@@ -1335,6 +1463,16 @@ export declare function instanceOfBoxscoreTeam(value: object): value is Boxscore
|
|
|
1335
1463
|
*/
|
|
1336
1464
|
export declare function instanceOfBoxscoreTeams(value: object): value is BoxscoreTeams;
|
|
1337
1465
|
|
|
1466
|
+
/**
|
|
1467
|
+
* Check if a given object implements the CodeDescription interface.
|
|
1468
|
+
*/
|
|
1469
|
+
export declare function instanceOfCodeDescription(value: object): value is CodeDescription;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Check if a given object implements the Content interface.
|
|
1473
|
+
*/
|
|
1474
|
+
export declare function instanceOfContent(value: object): value is Content;
|
|
1475
|
+
|
|
1338
1476
|
/**
|
|
1339
1477
|
* Check if a given object implements the Division interface.
|
|
1340
1478
|
*/
|
|
@@ -1429,11 +1567,56 @@ export declare function instanceOfLinescoreTeam(value: object): value is Linesco
|
|
|
1429
1567
|
*/
|
|
1430
1568
|
export declare function instanceOfLinescoreTeams(value: object): value is LinescoreTeams;
|
|
1431
1569
|
|
|
1570
|
+
/**
|
|
1571
|
+
* Check if a given object implements the ModelRecord interface.
|
|
1572
|
+
*/
|
|
1573
|
+
export declare function instanceOfModelRecord(value: object): value is ModelRecord;
|
|
1574
|
+
|
|
1432
1575
|
/**
|
|
1433
1576
|
* Check if a given object implements the Official interface.
|
|
1434
1577
|
*/
|
|
1435
1578
|
export declare function instanceOfOfficial(value: object): value is Official;
|
|
1436
1579
|
|
|
1580
|
+
/**
|
|
1581
|
+
* Check if a given object implements the PeopleResponse interface.
|
|
1582
|
+
*/
|
|
1583
|
+
export declare function instanceOfPeopleResponse(value: object): value is PeopleResponse;
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Check if a given object implements the Person interface.
|
|
1587
|
+
*/
|
|
1588
|
+
export declare function instanceOfPerson(value: object): value is Person;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* Check if a given object implements the PersonStatsItem interface.
|
|
1592
|
+
*/
|
|
1593
|
+
export declare function instanceOfPersonStatsItem(value: object): value is PersonStatsItem;
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* Check if a given object implements the PersonStatsItemType interface.
|
|
1597
|
+
*/
|
|
1598
|
+
export declare function instanceOfPersonStatsItemType(value: object): value is PersonStatsItemType;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* Check if a given object implements the PersonStatSplit interface.
|
|
1602
|
+
*/
|
|
1603
|
+
export declare function instanceOfPersonStatSplit(value: object): value is PersonStatSplit;
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* Check if a given object implements the PersonStatSplitGame interface.
|
|
1607
|
+
*/
|
|
1608
|
+
export declare function instanceOfPersonStatSplitGame(value: object): value is PersonStatSplitGame;
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Check if a given object implements the PersonStatSplitPlayer interface.
|
|
1612
|
+
*/
|
|
1613
|
+
export declare function instanceOfPersonStatSplitPlayer(value: object): value is PersonStatSplitPlayer;
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* Check if a given object implements the PersonStatsResponse interface.
|
|
1617
|
+
*/
|
|
1618
|
+
export declare function instanceOfPersonStatsResponse(value: object): value is PersonStatsResponse;
|
|
1619
|
+
|
|
1437
1620
|
/**
|
|
1438
1621
|
* Check if a given object implements the PitchingStats interface.
|
|
1439
1622
|
*/
|
|
@@ -1479,11 +1662,6 @@ export declare function instanceOfPlayerStatus(value: object): value is PlayerSt
|
|
|
1479
1662
|
*/
|
|
1480
1663
|
export declare function instanceOfPosition(value: object): value is Position;
|
|
1481
1664
|
|
|
1482
|
-
/**
|
|
1483
|
-
* Check if a given object implements the Record interface.
|
|
1484
|
-
*/
|
|
1485
|
-
export declare function instanceOfRecord(value: object): value is Record_2;
|
|
1486
|
-
|
|
1487
1665
|
/**
|
|
1488
1666
|
* Check if a given object implements the Schedule interface.
|
|
1489
1667
|
*/
|
|
@@ -1544,7 +1722,7 @@ export declare class JSONApiResponse<T> {
|
|
|
1544
1722
|
}
|
|
1545
1723
|
|
|
1546
1724
|
/**
|
|
1547
|
-
* League
|
|
1725
|
+
* League. When embedded (e.g. in division), may contain only id and link.
|
|
1548
1726
|
*
|
|
1549
1727
|
* @export
|
|
1550
1728
|
* @interface League
|
|
@@ -1552,16 +1730,16 @@ export declare class JSONApiResponse<T> {
|
|
|
1552
1730
|
export declare interface League {
|
|
1553
1731
|
/**
|
|
1554
1732
|
*
|
|
1555
|
-
* @type {
|
|
1733
|
+
* @type {string}
|
|
1556
1734
|
* @memberof League
|
|
1557
1735
|
*/
|
|
1558
|
-
|
|
1736
|
+
name?: string;
|
|
1559
1737
|
/**
|
|
1560
1738
|
*
|
|
1561
|
-
* @type {
|
|
1739
|
+
* @type {number}
|
|
1562
1740
|
* @memberof League
|
|
1563
1741
|
*/
|
|
1564
|
-
|
|
1742
|
+
id: number;
|
|
1565
1743
|
/**
|
|
1566
1744
|
*
|
|
1567
1745
|
* @type {string}
|
|
@@ -1604,6 +1782,24 @@ export declare interface League {
|
|
|
1604
1782
|
* @memberof League
|
|
1605
1783
|
*/
|
|
1606
1784
|
hasPlayoffPoints?: boolean;
|
|
1785
|
+
/**
|
|
1786
|
+
*
|
|
1787
|
+
* @type {number}
|
|
1788
|
+
* @memberof League
|
|
1789
|
+
*/
|
|
1790
|
+
numGames?: number;
|
|
1791
|
+
/**
|
|
1792
|
+
*
|
|
1793
|
+
* @type {number}
|
|
1794
|
+
* @memberof League
|
|
1795
|
+
*/
|
|
1796
|
+
numTeams?: number;
|
|
1797
|
+
/**
|
|
1798
|
+
*
|
|
1799
|
+
* @type {number}
|
|
1800
|
+
* @memberof League
|
|
1801
|
+
*/
|
|
1802
|
+
numWildcardTeams?: number;
|
|
1607
1803
|
/**
|
|
1608
1804
|
*
|
|
1609
1805
|
* @type {LeagueDates}
|
|
@@ -1650,9 +1846,9 @@ export declare interface League {
|
|
|
1650
1846
|
|
|
1651
1847
|
/**
|
|
1652
1848
|
* MLB StatAPI
|
|
1653
|
-
*
|
|
1849
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1654
1850
|
*
|
|
1655
|
-
* The version of the OpenAPI document: 0.
|
|
1851
|
+
* The version of the OpenAPI document: 0.7.4
|
|
1656
1852
|
*
|
|
1657
1853
|
*
|
|
1658
1854
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1701,6 +1897,54 @@ export declare interface LeagueDates {
|
|
|
1701
1897
|
* @memberof LeagueDates
|
|
1702
1898
|
*/
|
|
1703
1899
|
springEndDate?: string;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {string}
|
|
1903
|
+
* @memberof LeagueDates
|
|
1904
|
+
*/
|
|
1905
|
+
regularSeasonStartDate?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
*
|
|
1908
|
+
* @type {string}
|
|
1909
|
+
* @memberof LeagueDates
|
|
1910
|
+
*/
|
|
1911
|
+
lastDate1stHalf?: string;
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @type {string}
|
|
1915
|
+
* @memberof LeagueDates
|
|
1916
|
+
*/
|
|
1917
|
+
allStarDate?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
*
|
|
1920
|
+
* @type {string}
|
|
1921
|
+
* @memberof LeagueDates
|
|
1922
|
+
*/
|
|
1923
|
+
firstDate2ndHalf?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
*
|
|
1926
|
+
* @type {string}
|
|
1927
|
+
* @memberof LeagueDates
|
|
1928
|
+
*/
|
|
1929
|
+
regularSeasonEndDate?: string;
|
|
1930
|
+
/**
|
|
1931
|
+
*
|
|
1932
|
+
* @type {string}
|
|
1933
|
+
* @memberof LeagueDates
|
|
1934
|
+
*/
|
|
1935
|
+
postSeasonStartDate?: string;
|
|
1936
|
+
/**
|
|
1937
|
+
*
|
|
1938
|
+
* @type {string}
|
|
1939
|
+
* @memberof LeagueDates
|
|
1940
|
+
*/
|
|
1941
|
+
postSeasonEndDate?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
* @type {string}
|
|
1945
|
+
* @memberof LeagueDates
|
|
1946
|
+
*/
|
|
1947
|
+
seasonEndDate?: string;
|
|
1704
1948
|
/**
|
|
1705
1949
|
*
|
|
1706
1950
|
* @type {string}
|
|
@@ -1712,7 +1956,19 @@ export declare interface LeagueDates {
|
|
|
1712
1956
|
* @type {string}
|
|
1713
1957
|
* @memberof LeagueDates
|
|
1714
1958
|
*/
|
|
1715
|
-
|
|
1959
|
+
offSeasonEndDate?: string;
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @type {number}
|
|
1963
|
+
* @memberof LeagueDates
|
|
1964
|
+
*/
|
|
1965
|
+
qualifierPlateAppearances?: number;
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {number}
|
|
1969
|
+
* @memberof LeagueDates
|
|
1970
|
+
*/
|
|
1971
|
+
qualifierOutsPitched?: number;
|
|
1716
1972
|
/**
|
|
1717
1973
|
*
|
|
1718
1974
|
* @type {string}
|
|
@@ -1741,9 +1997,9 @@ export declare function LeagueFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
1741
1997
|
|
|
1742
1998
|
/**
|
|
1743
1999
|
* MLB StatAPI
|
|
1744
|
-
*
|
|
2000
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1745
2001
|
*
|
|
1746
|
-
* The version of the OpenAPI document: 0.
|
|
2002
|
+
* The version of the OpenAPI document: 0.7.4
|
|
1747
2003
|
*
|
|
1748
2004
|
*
|
|
1749
2005
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1897,9 +2153,9 @@ export declare function LinescoreFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
1897
2153
|
|
|
1898
2154
|
/**
|
|
1899
2155
|
* MLB StatAPI
|
|
1900
|
-
*
|
|
2156
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1901
2157
|
*
|
|
1902
|
-
* The version of the OpenAPI document: 0.
|
|
2158
|
+
* The version of the OpenAPI document: 0.7.4
|
|
1903
2159
|
*
|
|
1904
2160
|
*
|
|
1905
2161
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1989,109 +2245,808 @@ export declare interface Middleware {
|
|
|
1989
2245
|
onError?(context: ErrorContext): Promise<Response | void>;
|
|
1990
2246
|
}
|
|
1991
2247
|
|
|
2248
|
+
export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
2249
|
+
|
|
1992
2250
|
/**
|
|
2251
|
+
* Record
|
|
1993
2252
|
*
|
|
2253
|
+
* @export
|
|
2254
|
+
* @interface ModelRecord
|
|
1994
2255
|
*/
|
|
1995
|
-
export declare
|
|
2256
|
+
export declare interface ModelRecord {
|
|
1996
2257
|
/**
|
|
1997
|
-
*
|
|
1998
|
-
*
|
|
2258
|
+
*
|
|
2259
|
+
* @type {Team}
|
|
2260
|
+
* @memberof ModelRecord
|
|
1999
2261
|
*/
|
|
2000
|
-
|
|
2262
|
+
team: Team;
|
|
2001
2263
|
/**
|
|
2002
|
-
*
|
|
2003
|
-
*
|
|
2264
|
+
*
|
|
2265
|
+
* @type {string}
|
|
2266
|
+
* @memberof ModelRecord
|
|
2004
2267
|
*/
|
|
2005
|
-
|
|
2268
|
+
season: string;
|
|
2006
2269
|
/**
|
|
2007
|
-
*
|
|
2008
|
-
*
|
|
2270
|
+
*
|
|
2271
|
+
* @type {Streak}
|
|
2272
|
+
* @memberof ModelRecord
|
|
2009
2273
|
*/
|
|
2010
|
-
|
|
2274
|
+
streak: Streak;
|
|
2011
2275
|
/**
|
|
2012
|
-
*
|
|
2013
|
-
*
|
|
2276
|
+
*
|
|
2277
|
+
* @type {string}
|
|
2278
|
+
* @memberof ModelRecord
|
|
2014
2279
|
*/
|
|
2015
|
-
|
|
2280
|
+
divisionRank: string;
|
|
2016
2281
|
/**
|
|
2017
|
-
*
|
|
2018
|
-
*
|
|
2282
|
+
*
|
|
2283
|
+
* @type {string}
|
|
2284
|
+
* @memberof ModelRecord
|
|
2019
2285
|
*/
|
|
2020
|
-
|
|
2286
|
+
leagueRank: string;
|
|
2021
2287
|
/**
|
|
2022
|
-
*
|
|
2023
|
-
*
|
|
2288
|
+
*
|
|
2289
|
+
* @type {string}
|
|
2290
|
+
* @memberof ModelRecord
|
|
2024
2291
|
*/
|
|
2025
|
-
|
|
2292
|
+
sportRank?: string;
|
|
2026
2293
|
/**
|
|
2027
|
-
*
|
|
2028
|
-
*
|
|
2294
|
+
*
|
|
2295
|
+
* @type {number}
|
|
2296
|
+
* @memberof ModelRecord
|
|
2029
2297
|
*/
|
|
2030
|
-
|
|
2298
|
+
gamesPlayed?: number;
|
|
2031
2299
|
/**
|
|
2032
|
-
*
|
|
2033
|
-
*
|
|
2300
|
+
*
|
|
2301
|
+
* @type {string}
|
|
2302
|
+
* @memberof ModelRecord
|
|
2034
2303
|
*/
|
|
2035
|
-
|
|
2304
|
+
gamesBack: string;
|
|
2036
2305
|
/**
|
|
2037
|
-
*
|
|
2038
|
-
*
|
|
2306
|
+
*
|
|
2307
|
+
* @type {string}
|
|
2308
|
+
* @memberof ModelRecord
|
|
2039
2309
|
*/
|
|
2040
|
-
|
|
2310
|
+
wildCardGamesBack?: string;
|
|
2041
2311
|
/**
|
|
2042
|
-
*
|
|
2043
|
-
*
|
|
2312
|
+
*
|
|
2313
|
+
* @type {string}
|
|
2314
|
+
* @memberof ModelRecord
|
|
2044
2315
|
*/
|
|
2045
|
-
|
|
2316
|
+
leagueGamesBack?: string;
|
|
2046
2317
|
/**
|
|
2047
|
-
*
|
|
2048
|
-
*
|
|
2318
|
+
*
|
|
2319
|
+
* @type {string}
|
|
2320
|
+
* @memberof ModelRecord
|
|
2049
2321
|
*/
|
|
2050
|
-
|
|
2322
|
+
sportGamesBack?: string;
|
|
2051
2323
|
/**
|
|
2052
|
-
*
|
|
2053
|
-
*
|
|
2324
|
+
*
|
|
2325
|
+
* @type {string}
|
|
2326
|
+
* @memberof ModelRecord
|
|
2054
2327
|
*/
|
|
2055
|
-
|
|
2328
|
+
divisionGamesBack?: string;
|
|
2056
2329
|
/**
|
|
2057
|
-
*
|
|
2058
|
-
*
|
|
2330
|
+
*
|
|
2331
|
+
* @type {string}
|
|
2332
|
+
* @memberof ModelRecord
|
|
2059
2333
|
*/
|
|
2060
|
-
|
|
2334
|
+
conferenceGamesBack?: string;
|
|
2061
2335
|
/**
|
|
2062
|
-
*
|
|
2063
|
-
*
|
|
2336
|
+
*
|
|
2337
|
+
* @type {LeagueRecord}
|
|
2338
|
+
* @memberof ModelRecord
|
|
2064
2339
|
*/
|
|
2065
|
-
|
|
2340
|
+
leagueRecord: LeagueRecord;
|
|
2066
2341
|
/**
|
|
2067
|
-
*
|
|
2068
|
-
*
|
|
2342
|
+
*
|
|
2343
|
+
* @type {string}
|
|
2344
|
+
* @memberof ModelRecord
|
|
2345
|
+
*/
|
|
2346
|
+
lastUpdated?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
*
|
|
2349
|
+
* @type {number}
|
|
2350
|
+
* @memberof ModelRecord
|
|
2351
|
+
*/
|
|
2352
|
+
runsAllowed?: number;
|
|
2353
|
+
/**
|
|
2354
|
+
*
|
|
2355
|
+
* @type {number}
|
|
2356
|
+
* @memberof ModelRecord
|
|
2357
|
+
*/
|
|
2358
|
+
runsScored?: number;
|
|
2359
|
+
/**
|
|
2360
|
+
*
|
|
2361
|
+
* @type {boolean}
|
|
2362
|
+
* @memberof ModelRecord
|
|
2363
|
+
*/
|
|
2364
|
+
divisionChamp?: boolean;
|
|
2365
|
+
/**
|
|
2366
|
+
*
|
|
2367
|
+
* @type {boolean}
|
|
2368
|
+
* @memberof ModelRecord
|
|
2369
|
+
*/
|
|
2370
|
+
divisionLeader?: boolean;
|
|
2371
|
+
/**
|
|
2372
|
+
*
|
|
2373
|
+
* @type {boolean}
|
|
2374
|
+
* @memberof ModelRecord
|
|
2375
|
+
*/
|
|
2376
|
+
hasWildcard?: boolean;
|
|
2377
|
+
/**
|
|
2378
|
+
*
|
|
2379
|
+
* @type {boolean}
|
|
2380
|
+
* @memberof ModelRecord
|
|
2381
|
+
*/
|
|
2382
|
+
clinched?: boolean;
|
|
2383
|
+
/**
|
|
2384
|
+
*
|
|
2385
|
+
* @type {string}
|
|
2386
|
+
* @memberof ModelRecord
|
|
2387
|
+
*/
|
|
2388
|
+
eliminationNumber?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
*
|
|
2391
|
+
* @type {string}
|
|
2392
|
+
* @memberof ModelRecord
|
|
2393
|
+
*/
|
|
2394
|
+
eliminationNumberSport?: string;
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @type {string}
|
|
2398
|
+
* @memberof ModelRecord
|
|
2399
|
+
*/
|
|
2400
|
+
eliminationNumberLeague?: string;
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @type {string}
|
|
2404
|
+
* @memberof ModelRecord
|
|
2405
|
+
*/
|
|
2406
|
+
eliminationNumberDivision?: string;
|
|
2407
|
+
/**
|
|
2408
|
+
*
|
|
2409
|
+
* @type {string}
|
|
2410
|
+
* @memberof ModelRecord
|
|
2411
|
+
*/
|
|
2412
|
+
eliminationNumberConference?: string;
|
|
2413
|
+
/**
|
|
2414
|
+
*
|
|
2415
|
+
* @type {string}
|
|
2416
|
+
* @memberof ModelRecord
|
|
2417
|
+
*/
|
|
2418
|
+
wildCardEliminationNumber?: string;
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @type {string}
|
|
2422
|
+
* @memberof ModelRecord
|
|
2423
|
+
*/
|
|
2424
|
+
magicNumber?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
*
|
|
2427
|
+
* @type {number}
|
|
2428
|
+
* @memberof ModelRecord
|
|
2429
|
+
*/
|
|
2430
|
+
wins: number;
|
|
2431
|
+
/**
|
|
2432
|
+
*
|
|
2433
|
+
* @type {number}
|
|
2434
|
+
* @memberof ModelRecord
|
|
2435
|
+
*/
|
|
2436
|
+
losses: number;
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @type {number}
|
|
2440
|
+
* @memberof ModelRecord
|
|
2441
|
+
*/
|
|
2442
|
+
runDifferential?: number;
|
|
2443
|
+
/**
|
|
2444
|
+
*
|
|
2445
|
+
* @type {string}
|
|
2446
|
+
* @memberof ModelRecord
|
|
2447
|
+
*/
|
|
2448
|
+
winningPercentage?: string;
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
export declare function ModelRecordFromJSON(json: any): ModelRecord;
|
|
2452
|
+
|
|
2453
|
+
export declare function ModelRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelRecord;
|
|
2454
|
+
|
|
2455
|
+
export declare function ModelRecordToJSON(json: any): ModelRecord;
|
|
2456
|
+
|
|
2457
|
+
export declare function ModelRecordToJSONTyped(value?: ModelRecord | null, ignoreDiscriminator?: boolean): any;
|
|
2458
|
+
|
|
2459
|
+
/**
|
|
2460
|
+
* MLB StatAPI
|
|
2461
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2462
|
+
*
|
|
2463
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2464
|
+
*
|
|
2465
|
+
*
|
|
2466
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2467
|
+
* https://openapi-generator.tech
|
|
2468
|
+
* Do not edit the class manually.
|
|
2469
|
+
*/
|
|
2470
|
+
/**
|
|
2471
|
+
*
|
|
2472
|
+
* @export
|
|
2473
|
+
* @interface Official
|
|
2474
|
+
*/
|
|
2475
|
+
export declare interface Official {
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @type {number}
|
|
2479
|
+
* @memberof Official
|
|
2480
|
+
*/
|
|
2481
|
+
id?: number;
|
|
2482
|
+
/**
|
|
2483
|
+
*
|
|
2484
|
+
* @type {string}
|
|
2485
|
+
* @memberof Official
|
|
2486
|
+
*/
|
|
2487
|
+
fullName?: string;
|
|
2488
|
+
/**
|
|
2489
|
+
*
|
|
2490
|
+
* @type {string}
|
|
2491
|
+
* @memberof Official
|
|
2492
|
+
*/
|
|
2493
|
+
link?: string;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
export declare function OfficialFromJSON(json: any): Official;
|
|
2497
|
+
|
|
2498
|
+
export declare function OfficialFromJSONTyped(json: any, ignoreDiscriminator: boolean): Official;
|
|
2499
|
+
|
|
2500
|
+
export declare function OfficialToJSON(json: any): Official;
|
|
2501
|
+
|
|
2502
|
+
export declare function OfficialToJSONTyped(value?: Official | null, ignoreDiscriminator?: boolean): any;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2506
|
+
*/
|
|
2507
|
+
export declare class PeopleApi extends runtime.BaseAPI {
|
|
2508
|
+
/**
|
|
2509
|
+
* Creates request options for getPerson without sending the request
|
|
2510
|
+
*/
|
|
2511
|
+
getPersonRequestOpts(requestParameters: GetPersonRequest): Promise<runtime.RequestOpts>;
|
|
2512
|
+
/**
|
|
2513
|
+
* Returns a single person by ID. Use the hydrate query parameter to expand related resources (e.g. hydrate=currentTeam,team,stats(group=[hitting],type=[yearByYear],...) includes currentTeam, team on stats, and hitting stats by year).
|
|
2514
|
+
* Retrieves a person (player)
|
|
2515
|
+
*/
|
|
2516
|
+
getPersonRaw(requestParameters: GetPersonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PeopleResponse>>;
|
|
2517
|
+
/**
|
|
2518
|
+
* Returns a single person by ID. Use the hydrate query parameter to expand related resources (e.g. hydrate=currentTeam,team,stats(group=[hitting],type=[yearByYear],...) includes currentTeam, team on stats, and hitting stats by year).
|
|
2519
|
+
* Retrieves a person (player)
|
|
2520
|
+
*/
|
|
2521
|
+
getPerson(requestParameters: GetPersonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PeopleResponse>;
|
|
2522
|
+
/**
|
|
2523
|
+
* Creates request options for getPersonStats without sending the request
|
|
2524
|
+
*/
|
|
2525
|
+
getPersonStatsRequestOpts(requestParameters: GetPersonStatsRequest): Promise<runtime.RequestOpts>;
|
|
2526
|
+
/**
|
|
2527
|
+
* Returns stats for a person (player) by ID. Use query parameters to request stat types (stats=gameLog,statSplits,statsSingleSeason), group (e.g. group=hitting for batting stats, group=pitching for pitching stats), and season (e.g. season=2022). Splits and stat keys vary by group (hitting vs pitching).
|
|
2528
|
+
* Retrieves a person\'s stats
|
|
2529
|
+
*/
|
|
2530
|
+
getPersonStatsRaw(requestParameters: GetPersonStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PersonStatsResponse>>;
|
|
2531
|
+
/**
|
|
2532
|
+
* Returns stats for a person (player) by ID. Use query parameters to request stat types (stats=gameLog,statSplits,statsSingleSeason), group (e.g. group=hitting for batting stats, group=pitching for pitching stats), and season (e.g. season=2022). Splits and stat keys vary by group (hitting vs pitching).
|
|
2533
|
+
* Retrieves a person\'s stats
|
|
2534
|
+
*/
|
|
2535
|
+
getPersonStats(requestParameters: GetPersonStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonStatsResponse>;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* Response for GET /v1/people/{personId}. Contains a people array (one item when requesting a single person).
|
|
2540
|
+
*
|
|
2541
|
+
* @export
|
|
2542
|
+
* @interface PeopleResponse
|
|
2543
|
+
*/
|
|
2544
|
+
export declare interface PeopleResponse {
|
|
2545
|
+
/**
|
|
2546
|
+
*
|
|
2547
|
+
* @type {Array<Person>}
|
|
2548
|
+
* @memberof PeopleResponse
|
|
2549
|
+
*/
|
|
2550
|
+
people: Array<Person>;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
export declare function PeopleResponseFromJSON(json: any): PeopleResponse;
|
|
2554
|
+
|
|
2555
|
+
export declare function PeopleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeopleResponse;
|
|
2556
|
+
|
|
2557
|
+
export declare function PeopleResponseToJSON(json: any): PeopleResponse;
|
|
2558
|
+
|
|
2559
|
+
export declare function PeopleResponseToJSONTyped(value?: PeopleResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2560
|
+
|
|
2561
|
+
/**
|
|
2562
|
+
* A person (player) from the people API. Use hydrate to expand currentTeam, team, stats, etc.
|
|
2563
|
+
*
|
|
2564
|
+
* @export
|
|
2565
|
+
* @interface Person
|
|
2566
|
+
*/
|
|
2567
|
+
export declare interface Person {
|
|
2568
|
+
/**
|
|
2569
|
+
*
|
|
2570
|
+
* @type {number}
|
|
2571
|
+
* @memberof Person
|
|
2572
|
+
*/
|
|
2573
|
+
id: number;
|
|
2574
|
+
/**
|
|
2575
|
+
*
|
|
2576
|
+
* @type {string}
|
|
2577
|
+
* @memberof Person
|
|
2578
|
+
*/
|
|
2579
|
+
fullName: string;
|
|
2580
|
+
/**
|
|
2581
|
+
*
|
|
2582
|
+
* @type {string}
|
|
2583
|
+
* @memberof Person
|
|
2584
|
+
*/
|
|
2585
|
+
link: string;
|
|
2586
|
+
/**
|
|
2587
|
+
*
|
|
2588
|
+
* @type {string}
|
|
2589
|
+
* @memberof Person
|
|
2590
|
+
*/
|
|
2591
|
+
firstName?: string;
|
|
2592
|
+
/**
|
|
2593
|
+
*
|
|
2594
|
+
* @type {string}
|
|
2595
|
+
* @memberof Person
|
|
2596
|
+
*/
|
|
2597
|
+
lastName?: string;
|
|
2598
|
+
/**
|
|
2599
|
+
*
|
|
2600
|
+
* @type {string}
|
|
2601
|
+
* @memberof Person
|
|
2602
|
+
*/
|
|
2603
|
+
primaryNumber?: string;
|
|
2604
|
+
/**
|
|
2605
|
+
*
|
|
2606
|
+
* @type {string}
|
|
2607
|
+
* @memberof Person
|
|
2608
|
+
*/
|
|
2609
|
+
birthDate?: string;
|
|
2610
|
+
/**
|
|
2611
|
+
*
|
|
2612
|
+
* @type {number}
|
|
2613
|
+
* @memberof Person
|
|
2614
|
+
*/
|
|
2615
|
+
currentAge?: number;
|
|
2616
|
+
/**
|
|
2617
|
+
*
|
|
2618
|
+
* @type {string}
|
|
2619
|
+
* @memberof Person
|
|
2620
|
+
*/
|
|
2621
|
+
birthCity?: string;
|
|
2622
|
+
/**
|
|
2623
|
+
*
|
|
2624
|
+
* @type {string}
|
|
2625
|
+
* @memberof Person
|
|
2626
|
+
*/
|
|
2627
|
+
birthStateProvince?: string;
|
|
2628
|
+
/**
|
|
2629
|
+
*
|
|
2630
|
+
* @type {string}
|
|
2631
|
+
* @memberof Person
|
|
2632
|
+
*/
|
|
2633
|
+
birthCountry?: string;
|
|
2634
|
+
/**
|
|
2635
|
+
*
|
|
2636
|
+
* @type {string}
|
|
2637
|
+
* @memberof Person
|
|
2638
|
+
*/
|
|
2639
|
+
height?: string;
|
|
2640
|
+
/**
|
|
2641
|
+
*
|
|
2642
|
+
* @type {number}
|
|
2643
|
+
* @memberof Person
|
|
2644
|
+
*/
|
|
2645
|
+
weight?: number;
|
|
2646
|
+
/**
|
|
2647
|
+
*
|
|
2648
|
+
* @type {boolean}
|
|
2649
|
+
* @memberof Person
|
|
2650
|
+
*/
|
|
2651
|
+
active?: boolean;
|
|
2652
|
+
/**
|
|
2653
|
+
*
|
|
2654
|
+
* @type {Team}
|
|
2655
|
+
* @memberof Person
|
|
2656
|
+
*/
|
|
2657
|
+
currentTeam?: Team;
|
|
2658
|
+
/**
|
|
2659
|
+
*
|
|
2660
|
+
* @type {Position}
|
|
2661
|
+
* @memberof Person
|
|
2662
|
+
*/
|
|
2663
|
+
primaryPosition?: Position;
|
|
2664
|
+
/**
|
|
2665
|
+
*
|
|
2666
|
+
* @type {string}
|
|
2667
|
+
* @memberof Person
|
|
2668
|
+
*/
|
|
2669
|
+
useName?: string;
|
|
2670
|
+
/**
|
|
2671
|
+
*
|
|
2672
|
+
* @type {string}
|
|
2673
|
+
* @memberof Person
|
|
2674
|
+
*/
|
|
2675
|
+
useLastName?: string;
|
|
2676
|
+
/**
|
|
2677
|
+
*
|
|
2678
|
+
* @type {string}
|
|
2679
|
+
* @memberof Person
|
|
2680
|
+
*/
|
|
2681
|
+
middleName?: string;
|
|
2682
|
+
/**
|
|
2683
|
+
*
|
|
2684
|
+
* @type {string}
|
|
2685
|
+
* @memberof Person
|
|
2686
|
+
*/
|
|
2687
|
+
boxscoreName?: string;
|
|
2688
|
+
/**
|
|
2689
|
+
*
|
|
2690
|
+
* @type {string}
|
|
2691
|
+
* @memberof Person
|
|
2692
|
+
*/
|
|
2693
|
+
gender?: string;
|
|
2694
|
+
/**
|
|
2695
|
+
*
|
|
2696
|
+
* @type {boolean}
|
|
2697
|
+
* @memberof Person
|
|
2698
|
+
*/
|
|
2699
|
+
isPlayer?: boolean;
|
|
2700
|
+
/**
|
|
2701
|
+
*
|
|
2702
|
+
* @type {boolean}
|
|
2703
|
+
* @memberof Person
|
|
2704
|
+
*/
|
|
2705
|
+
isVerified?: boolean;
|
|
2706
|
+
/**
|
|
2707
|
+
*
|
|
2708
|
+
* @type {number}
|
|
2709
|
+
* @memberof Person
|
|
2710
|
+
*/
|
|
2711
|
+
draftYear?: number;
|
|
2712
|
+
/**
|
|
2713
|
+
*
|
|
2714
|
+
* @type {string}
|
|
2715
|
+
* @memberof Person
|
|
2716
|
+
*/
|
|
2717
|
+
pronunciation?: string;
|
|
2718
|
+
/**
|
|
2719
|
+
*
|
|
2720
|
+
* @type {Array<PersonStatsItem>}
|
|
2721
|
+
* @memberof Person
|
|
2722
|
+
*/
|
|
2723
|
+
stats?: Array<PersonStatsItem>;
|
|
2724
|
+
/**
|
|
2725
|
+
*
|
|
2726
|
+
* @type {string}
|
|
2727
|
+
* @memberof Person
|
|
2728
|
+
*/
|
|
2729
|
+
mlbDebutDate?: string;
|
|
2730
|
+
/**
|
|
2731
|
+
*
|
|
2732
|
+
* @type {CodeDescription}
|
|
2733
|
+
* @memberof Person
|
|
2734
|
+
*/
|
|
2735
|
+
batSide?: CodeDescription;
|
|
2736
|
+
/**
|
|
2737
|
+
*
|
|
2738
|
+
* @type {CodeDescription}
|
|
2739
|
+
* @memberof Person
|
|
2740
|
+
*/
|
|
2741
|
+
pitchHand?: CodeDescription;
|
|
2742
|
+
/**
|
|
2743
|
+
*
|
|
2744
|
+
* @type {string}
|
|
2745
|
+
* @memberof Person
|
|
2746
|
+
*/
|
|
2747
|
+
nameFirstLast?: string;
|
|
2748
|
+
/**
|
|
2749
|
+
*
|
|
2750
|
+
* @type {string}
|
|
2751
|
+
* @memberof Person
|
|
2752
|
+
*/
|
|
2753
|
+
nameSlug?: string;
|
|
2754
|
+
/**
|
|
2755
|
+
*
|
|
2756
|
+
* @type {string}
|
|
2757
|
+
* @memberof Person
|
|
2758
|
+
*/
|
|
2759
|
+
firstLastName?: string;
|
|
2760
|
+
/**
|
|
2761
|
+
*
|
|
2762
|
+
* @type {string}
|
|
2763
|
+
* @memberof Person
|
|
2764
|
+
*/
|
|
2765
|
+
lastFirstName?: string;
|
|
2766
|
+
/**
|
|
2767
|
+
*
|
|
2768
|
+
* @type {string}
|
|
2769
|
+
* @memberof Person
|
|
2770
|
+
*/
|
|
2771
|
+
lastInitName?: string;
|
|
2772
|
+
/**
|
|
2773
|
+
*
|
|
2774
|
+
* @type {string}
|
|
2775
|
+
* @memberof Person
|
|
2776
|
+
*/
|
|
2777
|
+
initLastName?: string;
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @type {string}
|
|
2781
|
+
* @memberof Person
|
|
2782
|
+
*/
|
|
2783
|
+
fullFMLName?: string;
|
|
2784
|
+
/**
|
|
2785
|
+
*
|
|
2786
|
+
* @type {string}
|
|
2787
|
+
* @memberof Person
|
|
2788
|
+
*/
|
|
2789
|
+
fullLFMName?: string;
|
|
2790
|
+
/**
|
|
2791
|
+
*
|
|
2792
|
+
* @type {number}
|
|
2793
|
+
* @memberof Person
|
|
2794
|
+
*/
|
|
2795
|
+
strikeZoneTop?: number;
|
|
2796
|
+
/**
|
|
2797
|
+
*
|
|
2798
|
+
* @type {number}
|
|
2799
|
+
* @memberof Person
|
|
2800
|
+
*/
|
|
2801
|
+
strikeZoneBottom?: number;
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
export declare function PersonFromJSON(json: any): Person;
|
|
2805
|
+
|
|
2806
|
+
export declare function PersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Person;
|
|
2807
|
+
|
|
2808
|
+
/**
|
|
2809
|
+
* One stats block for a person (e.g. yearByYear hitting, careerAdvanced hitting). Contains type, optional group, exemptions, and splits.
|
|
2810
|
+
*
|
|
2811
|
+
* @export
|
|
2812
|
+
* @interface PersonStatsItem
|
|
2813
|
+
*/
|
|
2814
|
+
export declare interface PersonStatsItem {
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @type {PersonStatsItemType}
|
|
2818
|
+
* @memberof PersonStatsItem
|
|
2819
|
+
*/
|
|
2820
|
+
type?: PersonStatsItemType;
|
|
2821
|
+
/**
|
|
2822
|
+
*
|
|
2823
|
+
* @type {PersonStatsItemType}
|
|
2824
|
+
* @memberof PersonStatsItem
|
|
2825
|
+
*/
|
|
2826
|
+
group?: PersonStatsItemType;
|
|
2827
|
+
/**
|
|
2828
|
+
*
|
|
2829
|
+
* @type {Array<any>}
|
|
2830
|
+
* @memberof PersonStatsItem
|
|
2831
|
+
*/
|
|
2832
|
+
exemptions?: Array<any>;
|
|
2833
|
+
/**
|
|
2834
|
+
*
|
|
2835
|
+
* @type {Array<PersonStatSplit>}
|
|
2836
|
+
* @memberof PersonStatsItem
|
|
2837
|
+
*/
|
|
2838
|
+
splits?: Array<PersonStatSplit>;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
export declare function PersonStatsItemFromJSON(json: any): PersonStatsItem;
|
|
2842
|
+
|
|
2843
|
+
export declare function PersonStatsItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsItem;
|
|
2844
|
+
|
|
2845
|
+
export declare function PersonStatsItemToJSON(json: any): PersonStatsItem;
|
|
2846
|
+
|
|
2847
|
+
export declare function PersonStatsItemToJSONTyped(value?: PersonStatsItem | null, ignoreDiscriminator?: boolean): any;
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* MLB StatAPI
|
|
2851
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2852
|
+
*
|
|
2853
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2854
|
+
*
|
|
2855
|
+
*
|
|
2856
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2857
|
+
* https://openapi-generator.tech
|
|
2858
|
+
* Do not edit the class manually.
|
|
2859
|
+
*/
|
|
2860
|
+
/**
|
|
2861
|
+
*
|
|
2862
|
+
* @export
|
|
2863
|
+
* @interface PersonStatsItemType
|
|
2864
|
+
*/
|
|
2865
|
+
export declare interface PersonStatsItemType {
|
|
2866
|
+
/**
|
|
2867
|
+
*
|
|
2868
|
+
* @type {string}
|
|
2869
|
+
* @memberof PersonStatsItemType
|
|
2870
|
+
*/
|
|
2871
|
+
displayName?: string;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
export declare function PersonStatsItemTypeFromJSON(json: any): PersonStatsItemType;
|
|
2875
|
+
|
|
2876
|
+
export declare function PersonStatsItemTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsItemType;
|
|
2877
|
+
|
|
2878
|
+
export declare function PersonStatsItemTypeToJSON(json: any): PersonStatsItemType;
|
|
2879
|
+
|
|
2880
|
+
export declare function PersonStatsItemTypeToJSONTyped(value?: PersonStatsItemType | null, ignoreDiscriminator?: boolean): any;
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* A single split within person stats (e.g. one season's stats, or career, or a placeholder for available splits). Structure varies by stats type; season/stat/team/player/league/sport/gameType/type/group are optional.
|
|
2884
|
+
*
|
|
2885
|
+
* @export
|
|
2886
|
+
* @interface PersonStatSplit
|
|
2887
|
+
*/
|
|
2888
|
+
export declare interface PersonStatSplit {
|
|
2889
|
+
/**
|
|
2890
|
+
*
|
|
2891
|
+
* @type {string}
|
|
2892
|
+
* @memberof PersonStatSplit
|
|
2893
|
+
*/
|
|
2894
|
+
season?: string;
|
|
2895
|
+
/**
|
|
2896
|
+
* Stat keys vary by group/type (e.g. hitting avg, gamesPlayed, plateAppearances).
|
|
2897
|
+
* @type {{ [key: string]: any; }}
|
|
2898
|
+
* @memberof PersonStatSplit
|
|
2899
|
+
*/
|
|
2900
|
+
stat?: {
|
|
2901
|
+
[key: string]: any;
|
|
2902
|
+
};
|
|
2903
|
+
/**
|
|
2904
|
+
*
|
|
2905
|
+
* @type {Team}
|
|
2906
|
+
* @memberof PersonStatSplit
|
|
2907
|
+
*/
|
|
2908
|
+
team?: Team;
|
|
2909
|
+
/**
|
|
2910
|
+
*
|
|
2911
|
+
* @type {PersonStatSplitPlayer}
|
|
2912
|
+
* @memberof PersonStatSplit
|
|
2913
|
+
*/
|
|
2914
|
+
player?: PersonStatSplitPlayer;
|
|
2915
|
+
/**
|
|
2916
|
+
*
|
|
2917
|
+
* @type {League}
|
|
2918
|
+
* @memberof PersonStatSplit
|
|
2919
|
+
*/
|
|
2920
|
+
league?: League;
|
|
2921
|
+
/**
|
|
2922
|
+
*
|
|
2923
|
+
* @type {Sport}
|
|
2924
|
+
* @memberof PersonStatSplit
|
|
2925
|
+
*/
|
|
2926
|
+
sport?: Sport;
|
|
2927
|
+
/**
|
|
2928
|
+
*
|
|
2929
|
+
* @type {string}
|
|
2930
|
+
* @memberof PersonStatSplit
|
|
2931
|
+
*/
|
|
2932
|
+
gameType?: string;
|
|
2933
|
+
/**
|
|
2934
|
+
* e.g. gameLog, statSplits
|
|
2935
|
+
* @type {string}
|
|
2936
|
+
* @memberof PersonStatSplit
|
|
2937
|
+
*/
|
|
2938
|
+
type?: string;
|
|
2939
|
+
/**
|
|
2940
|
+
* e.g. fielding, hitting
|
|
2941
|
+
* @type {string}
|
|
2942
|
+
* @memberof PersonStatSplit
|
|
2943
|
+
*/
|
|
2944
|
+
group?: string;
|
|
2945
|
+
/**
|
|
2946
|
+
* Opponent team (e.g. in gameLog splits)
|
|
2947
|
+
* @type {Team}
|
|
2948
|
+
* @memberof PersonStatSplit
|
|
2949
|
+
*/
|
|
2950
|
+
opponent?: Team;
|
|
2951
|
+
/**
|
|
2952
|
+
* Game date (e.g. in gameLog splits)
|
|
2953
|
+
* @type {string}
|
|
2954
|
+
* @memberof PersonStatSplit
|
|
2955
|
+
*/
|
|
2956
|
+
date?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
2959
|
+
* @type {boolean}
|
|
2960
|
+
* @memberof PersonStatSplit
|
|
2961
|
+
*/
|
|
2962
|
+
isHome?: boolean;
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @type {boolean}
|
|
2966
|
+
* @memberof PersonStatSplit
|
|
2967
|
+
*/
|
|
2968
|
+
isWin?: boolean;
|
|
2969
|
+
/**
|
|
2970
|
+
*
|
|
2971
|
+
* @type {Array<Position>}
|
|
2972
|
+
* @memberof PersonStatSplit
|
|
2973
|
+
*/
|
|
2974
|
+
positionsPlayed?: Array<Position>;
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @type {PersonStatSplitGame}
|
|
2978
|
+
* @memberof PersonStatSplit
|
|
2979
|
+
*/
|
|
2980
|
+
game?: PersonStatSplitGame;
|
|
2981
|
+
/**
|
|
2982
|
+
*
|
|
2983
|
+
* @type {number}
|
|
2984
|
+
* @memberof PersonStatSplit
|
|
2985
|
+
*/
|
|
2986
|
+
numTeams?: number;
|
|
2987
|
+
/**
|
|
2988
|
+
*
|
|
2989
|
+
* @type {number}
|
|
2990
|
+
* @memberof PersonStatSplit
|
|
2991
|
+
*/
|
|
2992
|
+
numLeagues?: number;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
export declare function PersonStatSplitFromJSON(json: any): PersonStatSplit;
|
|
2996
|
+
|
|
2997
|
+
export declare function PersonStatSplitFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplit;
|
|
2998
|
+
|
|
2999
|
+
/**
|
|
3000
|
+
* Game summary (e.g. in gameLog splits)
|
|
3001
|
+
* @export
|
|
3002
|
+
* @interface PersonStatSplitGame
|
|
3003
|
+
*/
|
|
3004
|
+
export declare interface PersonStatSplitGame {
|
|
3005
|
+
/**
|
|
3006
|
+
*
|
|
3007
|
+
* @type {number}
|
|
3008
|
+
* @memberof PersonStatSplitGame
|
|
3009
|
+
*/
|
|
3010
|
+
gamePk?: number;
|
|
3011
|
+
/**
|
|
3012
|
+
*
|
|
3013
|
+
* @type {string}
|
|
3014
|
+
* @memberof PersonStatSplitGame
|
|
2069
3015
|
*/
|
|
2070
|
-
|
|
3016
|
+
link?: string;
|
|
2071
3017
|
/**
|
|
2072
|
-
*
|
|
2073
|
-
*
|
|
3018
|
+
*
|
|
3019
|
+
* @type {Content}
|
|
3020
|
+
* @memberof PersonStatSplitGame
|
|
2074
3021
|
*/
|
|
2075
|
-
|
|
3022
|
+
content?: Content;
|
|
2076
3023
|
/**
|
|
2077
|
-
*
|
|
2078
|
-
*
|
|
3024
|
+
*
|
|
3025
|
+
* @type {number}
|
|
3026
|
+
* @memberof PersonStatSplitGame
|
|
2079
3027
|
*/
|
|
2080
|
-
|
|
3028
|
+
gameNumber?: number;
|
|
2081
3029
|
/**
|
|
2082
|
-
*
|
|
2083
|
-
*
|
|
3030
|
+
*
|
|
3031
|
+
* @type {string}
|
|
3032
|
+
* @memberof PersonStatSplitGame
|
|
2084
3033
|
*/
|
|
2085
|
-
|
|
3034
|
+
dayNight?: string;
|
|
2086
3035
|
}
|
|
2087
3036
|
|
|
2088
|
-
export declare
|
|
3037
|
+
export declare function PersonStatSplitGameFromJSON(json: any): PersonStatSplitGame;
|
|
3038
|
+
|
|
3039
|
+
export declare function PersonStatSplitGameFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplitGame;
|
|
3040
|
+
|
|
3041
|
+
export declare function PersonStatSplitGameToJSON(json: any): PersonStatSplitGame;
|
|
3042
|
+
|
|
3043
|
+
export declare function PersonStatSplitGameToJSONTyped(value?: PersonStatSplitGame | null, ignoreDiscriminator?: boolean): any;
|
|
2089
3044
|
|
|
2090
3045
|
/**
|
|
2091
3046
|
* MLB StatAPI
|
|
2092
|
-
*
|
|
3047
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2093
3048
|
*
|
|
2094
|
-
* The version of the OpenAPI document: 0.
|
|
3049
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2095
3050
|
*
|
|
2096
3051
|
*
|
|
2097
3052
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2101,42 +3056,79 @@ export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCa
|
|
|
2101
3056
|
/**
|
|
2102
3057
|
*
|
|
2103
3058
|
* @export
|
|
2104
|
-
* @interface
|
|
3059
|
+
* @interface PersonStatSplitPlayer
|
|
2105
3060
|
*/
|
|
2106
|
-
export declare interface
|
|
3061
|
+
export declare interface PersonStatSplitPlayer {
|
|
2107
3062
|
/**
|
|
2108
3063
|
*
|
|
2109
3064
|
* @type {number}
|
|
2110
|
-
* @memberof
|
|
3065
|
+
* @memberof PersonStatSplitPlayer
|
|
2111
3066
|
*/
|
|
2112
3067
|
id?: number;
|
|
2113
3068
|
/**
|
|
2114
3069
|
*
|
|
2115
3070
|
* @type {string}
|
|
2116
|
-
* @memberof
|
|
3071
|
+
* @memberof PersonStatSplitPlayer
|
|
2117
3072
|
*/
|
|
2118
3073
|
fullName?: string;
|
|
2119
3074
|
/**
|
|
2120
3075
|
*
|
|
2121
3076
|
* @type {string}
|
|
2122
|
-
* @memberof
|
|
3077
|
+
* @memberof PersonStatSplitPlayer
|
|
2123
3078
|
*/
|
|
2124
3079
|
link?: string;
|
|
2125
3080
|
}
|
|
2126
3081
|
|
|
2127
|
-
export declare function
|
|
3082
|
+
export declare function PersonStatSplitPlayerFromJSON(json: any): PersonStatSplitPlayer;
|
|
2128
3083
|
|
|
2129
|
-
export declare function
|
|
3084
|
+
export declare function PersonStatSplitPlayerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplitPlayer;
|
|
2130
3085
|
|
|
2131
|
-
export declare function
|
|
3086
|
+
export declare function PersonStatSplitPlayerToJSON(json: any): PersonStatSplitPlayer;
|
|
2132
3087
|
|
|
2133
|
-
export declare function
|
|
3088
|
+
export declare function PersonStatSplitPlayerToJSONTyped(value?: PersonStatSplitPlayer | null, ignoreDiscriminator?: boolean): any;
|
|
3089
|
+
|
|
3090
|
+
export declare function PersonStatSplitToJSON(json: any): PersonStatSplit;
|
|
3091
|
+
|
|
3092
|
+
export declare function PersonStatSplitToJSONTyped(value?: PersonStatSplit | null, ignoreDiscriminator?: boolean): any;
|
|
3093
|
+
|
|
3094
|
+
/**
|
|
3095
|
+
* Response for GET /v1/people/{personId}/stats. Contains a stats array (type/group/splits per requested stat type, e.g. gameLog, statsSingleSeason).
|
|
3096
|
+
*
|
|
3097
|
+
* @export
|
|
3098
|
+
* @interface PersonStatsResponse
|
|
3099
|
+
*/
|
|
3100
|
+
export declare interface PersonStatsResponse {
|
|
3101
|
+
/**
|
|
3102
|
+
*
|
|
3103
|
+
* @type {string}
|
|
3104
|
+
* @memberof PersonStatsResponse
|
|
3105
|
+
*/
|
|
3106
|
+
copyright?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
*
|
|
3109
|
+
* @type {Array<PersonStatsItem>}
|
|
3110
|
+
* @memberof PersonStatsResponse
|
|
3111
|
+
*/
|
|
3112
|
+
stats: Array<PersonStatsItem>;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export declare function PersonStatsResponseFromJSON(json: any): PersonStatsResponse;
|
|
3116
|
+
|
|
3117
|
+
export declare function PersonStatsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsResponse;
|
|
3118
|
+
|
|
3119
|
+
export declare function PersonStatsResponseToJSON(json: any): PersonStatsResponse;
|
|
3120
|
+
|
|
3121
|
+
export declare function PersonStatsResponseToJSONTyped(value?: PersonStatsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3122
|
+
|
|
3123
|
+
export declare function PersonToJSON(json: any): Person;
|
|
3124
|
+
|
|
3125
|
+
export declare function PersonToJSONTyped(value?: Person | null, ignoreDiscriminator?: boolean): any;
|
|
2134
3126
|
|
|
2135
3127
|
/**
|
|
2136
3128
|
* MLB StatAPI
|
|
2137
|
-
*
|
|
3129
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2138
3130
|
*
|
|
2139
|
-
* The version of the OpenAPI document: 0.
|
|
3131
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2140
3132
|
*
|
|
2141
3133
|
*
|
|
2142
3134
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2541,9 +3533,9 @@ export declare function PlayerFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
2541
3533
|
|
|
2542
3534
|
/**
|
|
2543
3535
|
* MLB StatAPI
|
|
2544
|
-
*
|
|
3536
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2545
3537
|
*
|
|
2546
|
-
* The version of the OpenAPI document: 0.
|
|
3538
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2547
3539
|
*
|
|
2548
3540
|
*
|
|
2549
3541
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2592,9 +3584,9 @@ export declare function PlayerGameStatusToJSONTyped(value?: PlayerGameStatus | n
|
|
|
2592
3584
|
|
|
2593
3585
|
/**
|
|
2594
3586
|
* MLB StatAPI
|
|
2595
|
-
*
|
|
3587
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2596
3588
|
*
|
|
2597
|
-
* The version of the OpenAPI document: 0.
|
|
3589
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2598
3590
|
*
|
|
2599
3591
|
*
|
|
2600
3592
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2643,9 +3635,9 @@ export declare function PlayerPersonToJSONTyped(value?: PlayerPerson | null, ign
|
|
|
2643
3635
|
|
|
2644
3636
|
/**
|
|
2645
3637
|
* MLB StatAPI
|
|
2646
|
-
*
|
|
3638
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2647
3639
|
*
|
|
2648
|
-
* The version of the OpenAPI document: 0.
|
|
3640
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2649
3641
|
*
|
|
2650
3642
|
*
|
|
2651
3643
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2762,9 +3754,9 @@ export declare function PlayerStatsToJSONTyped(value?: PlayerStats | null, ignor
|
|
|
2762
3754
|
|
|
2763
3755
|
/**
|
|
2764
3756
|
* MLB StatAPI
|
|
2765
|
-
*
|
|
3757
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2766
3758
|
*
|
|
2767
|
-
* The version of the OpenAPI document: 0.
|
|
3759
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2768
3760
|
*
|
|
2769
3761
|
*
|
|
2770
3762
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2805,9 +3797,9 @@ export declare function PlayerToJSONTyped(value?: Player | null, ignoreDiscrimin
|
|
|
2805
3797
|
|
|
2806
3798
|
/**
|
|
2807
3799
|
* MLB StatAPI
|
|
2808
|
-
*
|
|
3800
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2809
3801
|
*
|
|
2810
|
-
* The version of the OpenAPI document: 0.
|
|
3802
|
+
* The version of the OpenAPI document: 0.7.4
|
|
2811
3803
|
*
|
|
2812
3804
|
*
|
|
2813
3805
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2857,214 +3849,80 @@ export declare function PositionToJSONTyped(value?: Position | null, ignoreDiscr
|
|
|
2857
3849
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
2858
3850
|
|
|
2859
3851
|
/**
|
|
2860
|
-
* Record
|
|
2861
3852
|
*
|
|
2862
|
-
* @export
|
|
2863
|
-
* @interface Record
|
|
2864
3853
|
*/
|
|
2865
|
-
declare
|
|
2866
|
-
/**
|
|
2867
|
-
*
|
|
2868
|
-
* @type {Team}
|
|
2869
|
-
* @memberof Record
|
|
2870
|
-
*/
|
|
2871
|
-
team: Team;
|
|
2872
|
-
/**
|
|
2873
|
-
*
|
|
2874
|
-
* @type {string}
|
|
2875
|
-
* @memberof Record
|
|
2876
|
-
*/
|
|
2877
|
-
season: string;
|
|
2878
|
-
/**
|
|
2879
|
-
*
|
|
2880
|
-
* @type {Streak}
|
|
2881
|
-
* @memberof Record
|
|
2882
|
-
*/
|
|
2883
|
-
streak: Streak;
|
|
2884
|
-
/**
|
|
2885
|
-
*
|
|
2886
|
-
* @type {string}
|
|
2887
|
-
* @memberof Record
|
|
2888
|
-
*/
|
|
2889
|
-
divisionRank: string;
|
|
2890
|
-
/**
|
|
2891
|
-
*
|
|
2892
|
-
* @type {string}
|
|
2893
|
-
* @memberof Record
|
|
2894
|
-
*/
|
|
2895
|
-
leagueRank: string;
|
|
2896
|
-
/**
|
|
2897
|
-
*
|
|
2898
|
-
* @type {string}
|
|
2899
|
-
* @memberof Record
|
|
2900
|
-
*/
|
|
2901
|
-
sportRank?: string;
|
|
2902
|
-
/**
|
|
2903
|
-
*
|
|
2904
|
-
* @type {number}
|
|
2905
|
-
* @memberof Record
|
|
2906
|
-
*/
|
|
2907
|
-
gamesPlayed?: number;
|
|
2908
|
-
/**
|
|
2909
|
-
*
|
|
2910
|
-
* @type {string}
|
|
2911
|
-
* @memberof Record
|
|
2912
|
-
*/
|
|
2913
|
-
gamesBack: string;
|
|
2914
|
-
/**
|
|
2915
|
-
*
|
|
2916
|
-
* @type {string}
|
|
2917
|
-
* @memberof Record
|
|
2918
|
-
*/
|
|
2919
|
-
wildCardGamesBack?: string;
|
|
2920
|
-
/**
|
|
2921
|
-
*
|
|
2922
|
-
* @type {string}
|
|
2923
|
-
* @memberof Record
|
|
2924
|
-
*/
|
|
2925
|
-
leagueGamesBack?: string;
|
|
2926
|
-
/**
|
|
2927
|
-
*
|
|
2928
|
-
* @type {string}
|
|
2929
|
-
* @memberof Record
|
|
2930
|
-
*/
|
|
2931
|
-
sportGamesBack?: string;
|
|
2932
|
-
/**
|
|
2933
|
-
*
|
|
2934
|
-
* @type {string}
|
|
2935
|
-
* @memberof Record
|
|
2936
|
-
*/
|
|
2937
|
-
divisionGamesBack?: string;
|
|
2938
|
-
/**
|
|
2939
|
-
*
|
|
2940
|
-
* @type {string}
|
|
2941
|
-
* @memberof Record
|
|
2942
|
-
*/
|
|
2943
|
-
conferenceGamesBack?: string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {LeagueRecord}
|
|
2947
|
-
* @memberof Record
|
|
2948
|
-
*/
|
|
2949
|
-
leagueRecord: LeagueRecord;
|
|
2950
|
-
/**
|
|
2951
|
-
*
|
|
2952
|
-
* @type {string}
|
|
2953
|
-
* @memberof Record
|
|
2954
|
-
*/
|
|
2955
|
-
lastUpdated?: string;
|
|
2956
|
-
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @type {number}
|
|
2959
|
-
* @memberof Record
|
|
2960
|
-
*/
|
|
2961
|
-
runsAllowed?: number;
|
|
2962
|
-
/**
|
|
2963
|
-
*
|
|
2964
|
-
* @type {number}
|
|
2965
|
-
* @memberof Record
|
|
2966
|
-
*/
|
|
2967
|
-
runsScored?: number;
|
|
3854
|
+
export declare class ReferenceApi extends runtime.BaseAPI {
|
|
2968
3855
|
/**
|
|
2969
|
-
*
|
|
2970
|
-
* @type {boolean}
|
|
2971
|
-
* @memberof Record
|
|
3856
|
+
* Creates request options for getAllSeasons without sending the request
|
|
2972
3857
|
*/
|
|
2973
|
-
|
|
3858
|
+
getAllSeasonsRequestOpts(requestParameters: GetAllSeasonsRequest): Promise<runtime.RequestOpts>;
|
|
2974
3859
|
/**
|
|
2975
|
-
*
|
|
2976
|
-
*
|
|
2977
|
-
* @memberof Record
|
|
3860
|
+
* Returns All Seasons
|
|
3861
|
+
* Retrieves All Seasons over time
|
|
2978
3862
|
*/
|
|
2979
|
-
|
|
3863
|
+
getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Seasons>>;
|
|
2980
3864
|
/**
|
|
2981
|
-
*
|
|
2982
|
-
*
|
|
2983
|
-
* @memberof Record
|
|
3865
|
+
* Returns All Seasons
|
|
3866
|
+
* Retrieves All Seasons over time
|
|
2984
3867
|
*/
|
|
2985
|
-
|
|
3868
|
+
getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Seasons>;
|
|
2986
3869
|
/**
|
|
2987
|
-
*
|
|
2988
|
-
* @type {boolean}
|
|
2989
|
-
* @memberof Record
|
|
3870
|
+
* Creates request options for getDivisions without sending the request
|
|
2990
3871
|
*/
|
|
2991
|
-
|
|
3872
|
+
getDivisionsRequestOpts(requestParameters: GetDivisionsRequest): Promise<runtime.RequestOpts>;
|
|
2992
3873
|
/**
|
|
2993
|
-
*
|
|
2994
|
-
*
|
|
2995
|
-
* @memberof Record
|
|
3874
|
+
* Returns Divisions
|
|
3875
|
+
* Retrieves Divisions
|
|
2996
3876
|
*/
|
|
2997
|
-
|
|
3877
|
+
getDivisionsRaw(requestParameters: GetDivisionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Divisions>>;
|
|
2998
3878
|
/**
|
|
2999
|
-
*
|
|
3000
|
-
*
|
|
3001
|
-
* @memberof Record
|
|
3879
|
+
* Returns Divisions
|
|
3880
|
+
* Retrieves Divisions
|
|
3002
3881
|
*/
|
|
3003
|
-
|
|
3882
|
+
getDivisions(requestParameters: GetDivisionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Divisions>;
|
|
3004
3883
|
/**
|
|
3005
|
-
*
|
|
3006
|
-
* @type {string}
|
|
3007
|
-
* @memberof Record
|
|
3884
|
+
* Creates request options for getLeagues without sending the request
|
|
3008
3885
|
*/
|
|
3009
|
-
|
|
3886
|
+
getLeaguesRequestOpts(requestParameters: GetLeaguesRequest): Promise<runtime.RequestOpts>;
|
|
3010
3887
|
/**
|
|
3011
|
-
*
|
|
3012
|
-
*
|
|
3013
|
-
* @memberof Record
|
|
3888
|
+
* Returns Leagues
|
|
3889
|
+
* Retrieves Leagues
|
|
3014
3890
|
*/
|
|
3015
|
-
|
|
3891
|
+
getLeaguesRaw(requestParameters: GetLeaguesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Leagues>>;
|
|
3016
3892
|
/**
|
|
3017
|
-
*
|
|
3018
|
-
*
|
|
3019
|
-
* @memberof Record
|
|
3893
|
+
* Returns Leagues
|
|
3894
|
+
* Retrieves Leagues
|
|
3020
3895
|
*/
|
|
3021
|
-
|
|
3896
|
+
getLeagues(requestParameters: GetLeaguesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Leagues>;
|
|
3022
3897
|
/**
|
|
3023
|
-
*
|
|
3024
|
-
* @type {string}
|
|
3025
|
-
* @memberof Record
|
|
3898
|
+
* Creates request options for getSeason without sending the request
|
|
3026
3899
|
*/
|
|
3027
|
-
|
|
3900
|
+
getSeasonRequestOpts(requestParameters: GetSeasonRequest): Promise<runtime.RequestOpts>;
|
|
3028
3901
|
/**
|
|
3029
|
-
*
|
|
3030
|
-
*
|
|
3031
|
-
* @memberof Record
|
|
3902
|
+
* Returns Season
|
|
3903
|
+
* Retrieves season
|
|
3032
3904
|
*/
|
|
3033
|
-
|
|
3905
|
+
getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Seasons>>;
|
|
3034
3906
|
/**
|
|
3035
|
-
*
|
|
3036
|
-
*
|
|
3037
|
-
* @memberof Record
|
|
3907
|
+
* Returns Season
|
|
3908
|
+
* Retrieves season
|
|
3038
3909
|
*/
|
|
3039
|
-
|
|
3910
|
+
getSeason(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Seasons>;
|
|
3040
3911
|
/**
|
|
3041
|
-
*
|
|
3042
|
-
* @type {number}
|
|
3043
|
-
* @memberof Record
|
|
3912
|
+
* Creates request options for getTeams without sending the request
|
|
3044
3913
|
*/
|
|
3045
|
-
|
|
3914
|
+
getTeamsRequestOpts(requestParameters: GetTeamsRequest): Promise<runtime.RequestOpts>;
|
|
3046
3915
|
/**
|
|
3047
|
-
*
|
|
3048
|
-
*
|
|
3049
|
-
* @memberof Record
|
|
3916
|
+
* Returns teams for the given sport and season. Use the hydrate query parameter to expand related resources (e.g. hydrate=division includes full division, league, and sport objects on each team).
|
|
3917
|
+
* Retrieves Teams
|
|
3050
3918
|
*/
|
|
3051
|
-
|
|
3919
|
+
getTeamsRaw(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Teams>>;
|
|
3052
3920
|
/**
|
|
3053
|
-
*
|
|
3054
|
-
*
|
|
3055
|
-
* @memberof Record
|
|
3921
|
+
* Returns teams for the given sport and season. Use the hydrate query parameter to expand related resources (e.g. hydrate=division includes full division, league, and sport objects on each team).
|
|
3922
|
+
* Retrieves Teams
|
|
3056
3923
|
*/
|
|
3057
|
-
|
|
3924
|
+
getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Teams>;
|
|
3058
3925
|
}
|
|
3059
|
-
export { Record_2 as Record }
|
|
3060
|
-
|
|
3061
|
-
export declare function RecordFromJSON(json: any): Record_2;
|
|
3062
|
-
|
|
3063
|
-
export declare function RecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): Record_2;
|
|
3064
|
-
|
|
3065
|
-
export declare function RecordToJSON(json: any): Record_2;
|
|
3066
|
-
|
|
3067
|
-
export declare function RecordToJSONTyped(value?: Record_2 | null, ignoreDiscriminator?: boolean): any;
|
|
3068
3926
|
|
|
3069
3927
|
export declare interface RequestContext {
|
|
3070
3928
|
fetch: FetchAPI;
|
|
@@ -3182,6 +4040,26 @@ export declare interface Schedule {
|
|
|
3182
4040
|
dates: Array<ScheduleDay>;
|
|
3183
4041
|
}
|
|
3184
4042
|
|
|
4043
|
+
/**
|
|
4044
|
+
*
|
|
4045
|
+
*/
|
|
4046
|
+
export declare class ScheduleApi extends runtime.BaseAPI {
|
|
4047
|
+
/**
|
|
4048
|
+
* Creates request options for getSchedule without sending the request
|
|
4049
|
+
*/
|
|
4050
|
+
getScheduleRequestOpts(requestParameters: GetScheduleRequest): Promise<runtime.RequestOpts>;
|
|
4051
|
+
/**
|
|
4052
|
+
* Returns Schedule
|
|
4053
|
+
* Retrieves schedule
|
|
4054
|
+
*/
|
|
4055
|
+
getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Schedule>>;
|
|
4056
|
+
/**
|
|
4057
|
+
* Returns Schedule
|
|
4058
|
+
* Retrieves schedule
|
|
4059
|
+
*/
|
|
4060
|
+
getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Schedule>;
|
|
4061
|
+
}
|
|
4062
|
+
|
|
3185
4063
|
/**
|
|
3186
4064
|
*
|
|
3187
4065
|
* @export
|
|
@@ -3193,7 +4071,7 @@ export declare interface ScheduleDay {
|
|
|
3193
4071
|
* @type {string}
|
|
3194
4072
|
* @memberof ScheduleDay
|
|
3195
4073
|
*/
|
|
3196
|
-
date
|
|
4074
|
+
date: string;
|
|
3197
4075
|
/**
|
|
3198
4076
|
*
|
|
3199
4077
|
* @type {number}
|
|
@@ -3244,9 +4122,9 @@ export declare function ScheduleToJSONTyped(value?: Schedule | null, ignoreDiscr
|
|
|
3244
4122
|
|
|
3245
4123
|
/**
|
|
3246
4124
|
* MLB StatAPI
|
|
3247
|
-
*
|
|
4125
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3248
4126
|
*
|
|
3249
|
-
* The version of the OpenAPI document: 0.
|
|
4127
|
+
* The version of the OpenAPI document: 0.7.4
|
|
3250
4128
|
*
|
|
3251
4129
|
*
|
|
3252
4130
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3321,11 +4199,11 @@ export declare interface Season {
|
|
|
3321
4199
|
*/
|
|
3322
4200
|
lastDate1stHalf?: string;
|
|
3323
4201
|
/**
|
|
3324
|
-
*
|
|
4202
|
+
* All-Star Game date
|
|
3325
4203
|
* @type {string}
|
|
3326
4204
|
* @memberof Season
|
|
3327
4205
|
*/
|
|
3328
|
-
|
|
4206
|
+
allStarDate?: string;
|
|
3329
4207
|
/**
|
|
3330
4208
|
*
|
|
3331
4209
|
* @type {string}
|
|
@@ -3351,13 +4229,13 @@ export declare interface Season {
|
|
|
3351
4229
|
*/
|
|
3352
4230
|
postSeasonEndDate?: string;
|
|
3353
4231
|
/**
|
|
3354
|
-
*
|
|
4232
|
+
* Alternative spelling returned by API (offseason, one word, lowercase)
|
|
3355
4233
|
* @type {string}
|
|
3356
4234
|
* @memberof Season
|
|
3357
4235
|
*/
|
|
3358
|
-
|
|
4236
|
+
offseasonStartDate?: string;
|
|
3359
4237
|
/**
|
|
3360
|
-
*
|
|
4238
|
+
* Alternative spelling returned by API (offSeason, one word, camelCase)
|
|
3361
4239
|
* @type {string}
|
|
3362
4240
|
* @memberof Season
|
|
3363
4241
|
*/
|
|
@@ -3420,9 +4298,9 @@ export declare function SeasonToJSONTyped(value?: Season | null, ignoreDiscrimin
|
|
|
3420
4298
|
|
|
3421
4299
|
/**
|
|
3422
4300
|
* MLB StatAPI
|
|
3423
|
-
*
|
|
4301
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3424
4302
|
*
|
|
3425
|
-
* The version of the OpenAPI document: 0.
|
|
4303
|
+
* The version of the OpenAPI document: 0.7.4
|
|
3426
4304
|
*
|
|
3427
4305
|
*
|
|
3428
4306
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3488,11 +4366,31 @@ export declare function SportToJSON(json: any): Sport;
|
|
|
3488
4366
|
|
|
3489
4367
|
export declare function SportToJSONTyped(value?: Sport | null, ignoreDiscriminator?: boolean): any;
|
|
3490
4368
|
|
|
4369
|
+
/**
|
|
4370
|
+
*
|
|
4371
|
+
*/
|
|
4372
|
+
export declare class StandingsApi extends runtime.BaseAPI {
|
|
4373
|
+
/**
|
|
4374
|
+
* Creates request options for getStandings without sending the request
|
|
4375
|
+
*/
|
|
4376
|
+
getStandingsRequestOpts(requestParameters: GetStandingsRequest): Promise<runtime.RequestOpts>;
|
|
4377
|
+
/**
|
|
4378
|
+
* Returns Standing
|
|
4379
|
+
* Retrieves Standings
|
|
4380
|
+
*/
|
|
4381
|
+
getStandingsRaw(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DivisionStandingsList>>;
|
|
4382
|
+
/**
|
|
4383
|
+
* Returns Standing
|
|
4384
|
+
* Retrieves Standings
|
|
4385
|
+
*/
|
|
4386
|
+
getStandings(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DivisionStandingsList>;
|
|
4387
|
+
}
|
|
4388
|
+
|
|
3491
4389
|
/**
|
|
3492
4390
|
* MLB StatAPI
|
|
3493
|
-
*
|
|
4391
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3494
4392
|
*
|
|
3495
|
-
* The version of the OpenAPI document: 0.
|
|
4393
|
+
* The version of the OpenAPI document: 0.7.4
|
|
3496
4394
|
*
|
|
3497
4395
|
*
|
|
3498
4396
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3510,7 +4408,7 @@ export declare interface Streak {
|
|
|
3510
4408
|
* * Losing Streak
|
|
3511
4409
|
* * Winning Streak
|
|
3512
4410
|
*
|
|
3513
|
-
* @type {
|
|
4411
|
+
* @type {StreakStreakTypeEnum}
|
|
3514
4412
|
* @memberof Streak
|
|
3515
4413
|
*/
|
|
3516
4414
|
streakType?: StreakStreakTypeEnum;
|
|
@@ -3644,10 +4542,10 @@ export declare interface Team {
|
|
|
3644
4542
|
sport?: Sport;
|
|
3645
4543
|
/**
|
|
3646
4544
|
*
|
|
3647
|
-
* @type {
|
|
4545
|
+
* @type {ModelRecord}
|
|
3648
4546
|
* @memberof Team
|
|
3649
4547
|
*/
|
|
3650
|
-
record?:
|
|
4548
|
+
record?: ModelRecord;
|
|
3651
4549
|
/**
|
|
3652
4550
|
*
|
|
3653
4551
|
* @type {string}
|
|
@@ -3746,9 +4644,9 @@ export declare class TextApiResponse {
|
|
|
3746
4644
|
|
|
3747
4645
|
/**
|
|
3748
4646
|
* MLB StatAPI
|
|
3749
|
-
*
|
|
4647
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3750
4648
|
*
|
|
3751
|
-
* The version of the OpenAPI document: 0.
|
|
4649
|
+
* The version of the OpenAPI document: 0.7.4
|
|
3752
4650
|
*
|
|
3753
4651
|
*
|
|
3754
4652
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3756,7 +4654,7 @@ export declare class TextApiResponse {
|
|
|
3756
4654
|
* Do not edit the class manually.
|
|
3757
4655
|
*/
|
|
3758
4656
|
/**
|
|
3759
|
-
* Venue
|
|
4657
|
+
* Venue. When embedded as springVenue, may contain only id and link.
|
|
3760
4658
|
*
|
|
3761
4659
|
* @export
|
|
3762
4660
|
* @interface Venue
|
|
@@ -3773,7 +4671,7 @@ export declare interface Venue {
|
|
|
3773
4671
|
* @type {string}
|
|
3774
4672
|
* @memberof Venue
|
|
3775
4673
|
*/
|
|
3776
|
-
name
|
|
4674
|
+
name?: string;
|
|
3777
4675
|
/**
|
|
3778
4676
|
*
|
|
3779
4677
|
* @type {string}
|