@bp1222/stats-api 0.6.0 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -0
- package/dist/index.d.ts +1204 -305
- package/dist/index.js +1549 -1019
- 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.5
|
|
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.5
|
|
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.5
|
|
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.5
|
|
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.5
|
|
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.5
|
|
1024
1138
|
*
|
|
1025
1139
|
*
|
|
1026
1140
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1033,6 +1147,7 @@ export declare interface GameStatus {
|
|
|
1033
1147
|
* * `D` - Delayed/Postponed
|
|
1034
1148
|
* * `S` - Scheduled
|
|
1035
1149
|
* * `I` - In Progress
|
|
1150
|
+
* * `M` - Challenge
|
|
1036
1151
|
* * `P` - Pregame
|
|
1037
1152
|
* * `O` - Game Over
|
|
1038
1153
|
* * `C` - Canceled
|
|
@@ -1045,6 +1160,7 @@ export declare enum GameStatusCode {
|
|
|
1045
1160
|
Postponed = "D",
|
|
1046
1161
|
Scheduled = "S",
|
|
1047
1162
|
InProgress = "I",
|
|
1163
|
+
Challenge = "M",
|
|
1048
1164
|
Pregame = "P",
|
|
1049
1165
|
GameOver = "O",
|
|
1050
1166
|
Canceled = "C"
|
|
@@ -1153,9 +1269,9 @@ export declare function GameToJSONTyped(value?: Game | null, ignoreDiscriminator
|
|
|
1153
1269
|
|
|
1154
1270
|
/**
|
|
1155
1271
|
* MLB StatAPI
|
|
1156
|
-
*
|
|
1272
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1157
1273
|
*
|
|
1158
|
-
* The version of the OpenAPI document: 0.
|
|
1274
|
+
* The version of the OpenAPI document: 0.7.5
|
|
1159
1275
|
*
|
|
1160
1276
|
*
|
|
1161
1277
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1217,6 +1333,19 @@ export declare interface GetLinescoreRequest {
|
|
|
1217
1333
|
fields?: Array<string>;
|
|
1218
1334
|
}
|
|
1219
1335
|
|
|
1336
|
+
export declare interface GetPersonRequest {
|
|
1337
|
+
personId: number;
|
|
1338
|
+
fields?: Array<string>;
|
|
1339
|
+
hydrate?: string;
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
export declare interface GetPersonStatsRequest {
|
|
1343
|
+
personId: number;
|
|
1344
|
+
season: string;
|
|
1345
|
+
stats?: string;
|
|
1346
|
+
group?: string;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1220
1349
|
export declare interface GetScheduleRequest {
|
|
1221
1350
|
sportId: number;
|
|
1222
1351
|
gamePk?: number;
|
|
@@ -1336,6 +1465,16 @@ export declare function instanceOfBoxscoreTeam(value: object): value is Boxscore
|
|
|
1336
1465
|
*/
|
|
1337
1466
|
export declare function instanceOfBoxscoreTeams(value: object): value is BoxscoreTeams;
|
|
1338
1467
|
|
|
1468
|
+
/**
|
|
1469
|
+
* Check if a given object implements the CodeDescription interface.
|
|
1470
|
+
*/
|
|
1471
|
+
export declare function instanceOfCodeDescription(value: object): value is CodeDescription;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* Check if a given object implements the Content interface.
|
|
1475
|
+
*/
|
|
1476
|
+
export declare function instanceOfContent(value: object): value is Content;
|
|
1477
|
+
|
|
1339
1478
|
/**
|
|
1340
1479
|
* Check if a given object implements the Division interface.
|
|
1341
1480
|
*/
|
|
@@ -1430,11 +1569,56 @@ export declare function instanceOfLinescoreTeam(value: object): value is Linesco
|
|
|
1430
1569
|
*/
|
|
1431
1570
|
export declare function instanceOfLinescoreTeams(value: object): value is LinescoreTeams;
|
|
1432
1571
|
|
|
1572
|
+
/**
|
|
1573
|
+
* Check if a given object implements the ModelRecord interface.
|
|
1574
|
+
*/
|
|
1575
|
+
export declare function instanceOfModelRecord(value: object): value is ModelRecord;
|
|
1576
|
+
|
|
1433
1577
|
/**
|
|
1434
1578
|
* Check if a given object implements the Official interface.
|
|
1435
1579
|
*/
|
|
1436
1580
|
export declare function instanceOfOfficial(value: object): value is Official;
|
|
1437
1581
|
|
|
1582
|
+
/**
|
|
1583
|
+
* Check if a given object implements the PeopleResponse interface.
|
|
1584
|
+
*/
|
|
1585
|
+
export declare function instanceOfPeopleResponse(value: object): value is PeopleResponse;
|
|
1586
|
+
|
|
1587
|
+
/**
|
|
1588
|
+
* Check if a given object implements the Person interface.
|
|
1589
|
+
*/
|
|
1590
|
+
export declare function instanceOfPerson(value: object): value is Person;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* Check if a given object implements the PersonStatsItem interface.
|
|
1594
|
+
*/
|
|
1595
|
+
export declare function instanceOfPersonStatsItem(value: object): value is PersonStatsItem;
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Check if a given object implements the PersonStatsItemType interface.
|
|
1599
|
+
*/
|
|
1600
|
+
export declare function instanceOfPersonStatsItemType(value: object): value is PersonStatsItemType;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* Check if a given object implements the PersonStatSplit interface.
|
|
1604
|
+
*/
|
|
1605
|
+
export declare function instanceOfPersonStatSplit(value: object): value is PersonStatSplit;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Check if a given object implements the PersonStatSplitGame interface.
|
|
1609
|
+
*/
|
|
1610
|
+
export declare function instanceOfPersonStatSplitGame(value: object): value is PersonStatSplitGame;
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* Check if a given object implements the PersonStatSplitPlayer interface.
|
|
1614
|
+
*/
|
|
1615
|
+
export declare function instanceOfPersonStatSplitPlayer(value: object): value is PersonStatSplitPlayer;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* Check if a given object implements the PersonStatsResponse interface.
|
|
1619
|
+
*/
|
|
1620
|
+
export declare function instanceOfPersonStatsResponse(value: object): value is PersonStatsResponse;
|
|
1621
|
+
|
|
1438
1622
|
/**
|
|
1439
1623
|
* Check if a given object implements the PitchingStats interface.
|
|
1440
1624
|
*/
|
|
@@ -1480,11 +1664,6 @@ export declare function instanceOfPlayerStatus(value: object): value is PlayerSt
|
|
|
1480
1664
|
*/
|
|
1481
1665
|
export declare function instanceOfPosition(value: object): value is Position;
|
|
1482
1666
|
|
|
1483
|
-
/**
|
|
1484
|
-
* Check if a given object implements the Record interface.
|
|
1485
|
-
*/
|
|
1486
|
-
export declare function instanceOfRecord(value: object): value is Record_2;
|
|
1487
|
-
|
|
1488
1667
|
/**
|
|
1489
1668
|
* Check if a given object implements the Schedule interface.
|
|
1490
1669
|
*/
|
|
@@ -1545,7 +1724,7 @@ export declare class JSONApiResponse<T> {
|
|
|
1545
1724
|
}
|
|
1546
1725
|
|
|
1547
1726
|
/**
|
|
1548
|
-
* League
|
|
1727
|
+
* League. When embedded (e.g. in division), may contain only id and link.
|
|
1549
1728
|
*
|
|
1550
1729
|
* @export
|
|
1551
1730
|
* @interface League
|
|
@@ -1553,16 +1732,16 @@ export declare class JSONApiResponse<T> {
|
|
|
1553
1732
|
export declare interface League {
|
|
1554
1733
|
/**
|
|
1555
1734
|
*
|
|
1556
|
-
* @type {
|
|
1735
|
+
* @type {string}
|
|
1557
1736
|
* @memberof League
|
|
1558
1737
|
*/
|
|
1559
|
-
|
|
1738
|
+
name?: string;
|
|
1560
1739
|
/**
|
|
1561
1740
|
*
|
|
1562
|
-
* @type {
|
|
1741
|
+
* @type {number}
|
|
1563
1742
|
* @memberof League
|
|
1564
1743
|
*/
|
|
1565
|
-
|
|
1744
|
+
id: number;
|
|
1566
1745
|
/**
|
|
1567
1746
|
*
|
|
1568
1747
|
* @type {string}
|
|
@@ -1605,6 +1784,24 @@ export declare interface League {
|
|
|
1605
1784
|
* @memberof League
|
|
1606
1785
|
*/
|
|
1607
1786
|
hasPlayoffPoints?: boolean;
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @type {number}
|
|
1790
|
+
* @memberof League
|
|
1791
|
+
*/
|
|
1792
|
+
numGames?: number;
|
|
1793
|
+
/**
|
|
1794
|
+
*
|
|
1795
|
+
* @type {number}
|
|
1796
|
+
* @memberof League
|
|
1797
|
+
*/
|
|
1798
|
+
numTeams?: number;
|
|
1799
|
+
/**
|
|
1800
|
+
*
|
|
1801
|
+
* @type {number}
|
|
1802
|
+
* @memberof League
|
|
1803
|
+
*/
|
|
1804
|
+
numWildcardTeams?: number;
|
|
1608
1805
|
/**
|
|
1609
1806
|
*
|
|
1610
1807
|
* @type {LeagueDates}
|
|
@@ -1651,9 +1848,9 @@ export declare interface League {
|
|
|
1651
1848
|
|
|
1652
1849
|
/**
|
|
1653
1850
|
* MLB StatAPI
|
|
1654
|
-
*
|
|
1851
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1655
1852
|
*
|
|
1656
|
-
* The version of the OpenAPI document: 0.
|
|
1853
|
+
* The version of the OpenAPI document: 0.7.5
|
|
1657
1854
|
*
|
|
1658
1855
|
*
|
|
1659
1856
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1702,6 +1899,54 @@ export declare interface LeagueDates {
|
|
|
1702
1899
|
* @memberof LeagueDates
|
|
1703
1900
|
*/
|
|
1704
1901
|
springEndDate?: string;
|
|
1902
|
+
/**
|
|
1903
|
+
*
|
|
1904
|
+
* @type {string}
|
|
1905
|
+
* @memberof LeagueDates
|
|
1906
|
+
*/
|
|
1907
|
+
regularSeasonStartDate?: string;
|
|
1908
|
+
/**
|
|
1909
|
+
*
|
|
1910
|
+
* @type {string}
|
|
1911
|
+
* @memberof LeagueDates
|
|
1912
|
+
*/
|
|
1913
|
+
lastDate1stHalf?: string;
|
|
1914
|
+
/**
|
|
1915
|
+
*
|
|
1916
|
+
* @type {string}
|
|
1917
|
+
* @memberof LeagueDates
|
|
1918
|
+
*/
|
|
1919
|
+
allStarDate?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
*
|
|
1922
|
+
* @type {string}
|
|
1923
|
+
* @memberof LeagueDates
|
|
1924
|
+
*/
|
|
1925
|
+
firstDate2ndHalf?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
*
|
|
1928
|
+
* @type {string}
|
|
1929
|
+
* @memberof LeagueDates
|
|
1930
|
+
*/
|
|
1931
|
+
regularSeasonEndDate?: string;
|
|
1932
|
+
/**
|
|
1933
|
+
*
|
|
1934
|
+
* @type {string}
|
|
1935
|
+
* @memberof LeagueDates
|
|
1936
|
+
*/
|
|
1937
|
+
postSeasonStartDate?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
*
|
|
1940
|
+
* @type {string}
|
|
1941
|
+
* @memberof LeagueDates
|
|
1942
|
+
*/
|
|
1943
|
+
postSeasonEndDate?: string;
|
|
1944
|
+
/**
|
|
1945
|
+
*
|
|
1946
|
+
* @type {string}
|
|
1947
|
+
* @memberof LeagueDates
|
|
1948
|
+
*/
|
|
1949
|
+
seasonEndDate?: string;
|
|
1705
1950
|
/**
|
|
1706
1951
|
*
|
|
1707
1952
|
* @type {string}
|
|
@@ -1713,7 +1958,19 @@ export declare interface LeagueDates {
|
|
|
1713
1958
|
* @type {string}
|
|
1714
1959
|
* @memberof LeagueDates
|
|
1715
1960
|
*/
|
|
1716
|
-
|
|
1961
|
+
offSeasonEndDate?: string;
|
|
1962
|
+
/**
|
|
1963
|
+
*
|
|
1964
|
+
* @type {number}
|
|
1965
|
+
* @memberof LeagueDates
|
|
1966
|
+
*/
|
|
1967
|
+
qualifierPlateAppearances?: number;
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @type {number}
|
|
1971
|
+
* @memberof LeagueDates
|
|
1972
|
+
*/
|
|
1973
|
+
qualifierOutsPitched?: number;
|
|
1717
1974
|
/**
|
|
1718
1975
|
*
|
|
1719
1976
|
* @type {string}
|
|
@@ -1742,9 +1999,9 @@ export declare function LeagueFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
1742
1999
|
|
|
1743
2000
|
/**
|
|
1744
2001
|
* MLB StatAPI
|
|
1745
|
-
*
|
|
2002
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1746
2003
|
*
|
|
1747
|
-
* The version of the OpenAPI document: 0.
|
|
2004
|
+
* The version of the OpenAPI document: 0.7.5
|
|
1748
2005
|
*
|
|
1749
2006
|
*
|
|
1750
2007
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1898,9 +2155,9 @@ export declare function LinescoreFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
1898
2155
|
|
|
1899
2156
|
/**
|
|
1900
2157
|
* MLB StatAPI
|
|
1901
|
-
*
|
|
2158
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
1902
2159
|
*
|
|
1903
|
-
* The version of the OpenAPI document: 0.
|
|
2160
|
+
* The version of the OpenAPI document: 0.7.5
|
|
1904
2161
|
*
|
|
1905
2162
|
*
|
|
1906
2163
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1990,109 +2247,808 @@ export declare interface Middleware {
|
|
|
1990
2247
|
onError?(context: ErrorContext): Promise<Response | void>;
|
|
1991
2248
|
}
|
|
1992
2249
|
|
|
2250
|
+
export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
2251
|
+
|
|
1993
2252
|
/**
|
|
2253
|
+
* Record
|
|
1994
2254
|
*
|
|
2255
|
+
* @export
|
|
2256
|
+
* @interface ModelRecord
|
|
1995
2257
|
*/
|
|
1996
|
-
export declare
|
|
2258
|
+
export declare interface ModelRecord {
|
|
1997
2259
|
/**
|
|
1998
|
-
*
|
|
1999
|
-
*
|
|
2260
|
+
*
|
|
2261
|
+
* @type {Team}
|
|
2262
|
+
* @memberof ModelRecord
|
|
2000
2263
|
*/
|
|
2001
|
-
|
|
2264
|
+
team: Team;
|
|
2002
2265
|
/**
|
|
2003
|
-
*
|
|
2004
|
-
*
|
|
2266
|
+
*
|
|
2267
|
+
* @type {string}
|
|
2268
|
+
* @memberof ModelRecord
|
|
2005
2269
|
*/
|
|
2006
|
-
|
|
2270
|
+
season: string;
|
|
2007
2271
|
/**
|
|
2008
|
-
*
|
|
2009
|
-
*
|
|
2272
|
+
*
|
|
2273
|
+
* @type {Streak}
|
|
2274
|
+
* @memberof ModelRecord
|
|
2010
2275
|
*/
|
|
2011
|
-
|
|
2276
|
+
streak: Streak;
|
|
2012
2277
|
/**
|
|
2013
|
-
*
|
|
2014
|
-
*
|
|
2278
|
+
*
|
|
2279
|
+
* @type {string}
|
|
2280
|
+
* @memberof ModelRecord
|
|
2015
2281
|
*/
|
|
2016
|
-
|
|
2282
|
+
divisionRank: string;
|
|
2017
2283
|
/**
|
|
2018
|
-
*
|
|
2019
|
-
*
|
|
2284
|
+
*
|
|
2285
|
+
* @type {string}
|
|
2286
|
+
* @memberof ModelRecord
|
|
2020
2287
|
*/
|
|
2021
|
-
|
|
2288
|
+
leagueRank: string;
|
|
2022
2289
|
/**
|
|
2023
|
-
*
|
|
2024
|
-
*
|
|
2290
|
+
*
|
|
2291
|
+
* @type {string}
|
|
2292
|
+
* @memberof ModelRecord
|
|
2025
2293
|
*/
|
|
2026
|
-
|
|
2294
|
+
sportRank?: string;
|
|
2027
2295
|
/**
|
|
2028
|
-
*
|
|
2029
|
-
*
|
|
2296
|
+
*
|
|
2297
|
+
* @type {number}
|
|
2298
|
+
* @memberof ModelRecord
|
|
2030
2299
|
*/
|
|
2031
|
-
|
|
2300
|
+
gamesPlayed?: number;
|
|
2032
2301
|
/**
|
|
2033
|
-
*
|
|
2034
|
-
*
|
|
2302
|
+
*
|
|
2303
|
+
* @type {string}
|
|
2304
|
+
* @memberof ModelRecord
|
|
2035
2305
|
*/
|
|
2036
|
-
|
|
2306
|
+
gamesBack: string;
|
|
2037
2307
|
/**
|
|
2038
|
-
*
|
|
2039
|
-
*
|
|
2308
|
+
*
|
|
2309
|
+
* @type {string}
|
|
2310
|
+
* @memberof ModelRecord
|
|
2040
2311
|
*/
|
|
2041
|
-
|
|
2312
|
+
wildCardGamesBack?: string;
|
|
2042
2313
|
/**
|
|
2043
|
-
*
|
|
2044
|
-
*
|
|
2314
|
+
*
|
|
2315
|
+
* @type {string}
|
|
2316
|
+
* @memberof ModelRecord
|
|
2045
2317
|
*/
|
|
2046
|
-
|
|
2318
|
+
leagueGamesBack?: string;
|
|
2047
2319
|
/**
|
|
2048
|
-
*
|
|
2049
|
-
*
|
|
2320
|
+
*
|
|
2321
|
+
* @type {string}
|
|
2322
|
+
* @memberof ModelRecord
|
|
2050
2323
|
*/
|
|
2051
|
-
|
|
2324
|
+
sportGamesBack?: string;
|
|
2052
2325
|
/**
|
|
2053
|
-
*
|
|
2054
|
-
*
|
|
2326
|
+
*
|
|
2327
|
+
* @type {string}
|
|
2328
|
+
* @memberof ModelRecord
|
|
2055
2329
|
*/
|
|
2056
|
-
|
|
2330
|
+
divisionGamesBack?: string;
|
|
2057
2331
|
/**
|
|
2058
|
-
*
|
|
2059
|
-
*
|
|
2332
|
+
*
|
|
2333
|
+
* @type {string}
|
|
2334
|
+
* @memberof ModelRecord
|
|
2060
2335
|
*/
|
|
2061
|
-
|
|
2336
|
+
conferenceGamesBack?: string;
|
|
2062
2337
|
/**
|
|
2063
|
-
*
|
|
2064
|
-
*
|
|
2338
|
+
*
|
|
2339
|
+
* @type {LeagueRecord}
|
|
2340
|
+
* @memberof ModelRecord
|
|
2065
2341
|
*/
|
|
2066
|
-
|
|
2342
|
+
leagueRecord: LeagueRecord;
|
|
2067
2343
|
/**
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
2344
|
+
*
|
|
2345
|
+
* @type {string}
|
|
2346
|
+
* @memberof ModelRecord
|
|
2347
|
+
*/
|
|
2348
|
+
lastUpdated?: string;
|
|
2349
|
+
/**
|
|
2350
|
+
*
|
|
2351
|
+
* @type {number}
|
|
2352
|
+
* @memberof ModelRecord
|
|
2353
|
+
*/
|
|
2354
|
+
runsAllowed?: number;
|
|
2355
|
+
/**
|
|
2356
|
+
*
|
|
2357
|
+
* @type {number}
|
|
2358
|
+
* @memberof ModelRecord
|
|
2359
|
+
*/
|
|
2360
|
+
runsScored?: number;
|
|
2361
|
+
/**
|
|
2362
|
+
*
|
|
2363
|
+
* @type {boolean}
|
|
2364
|
+
* @memberof ModelRecord
|
|
2365
|
+
*/
|
|
2366
|
+
divisionChamp?: boolean;
|
|
2367
|
+
/**
|
|
2368
|
+
*
|
|
2369
|
+
* @type {boolean}
|
|
2370
|
+
* @memberof ModelRecord
|
|
2371
|
+
*/
|
|
2372
|
+
divisionLeader?: boolean;
|
|
2373
|
+
/**
|
|
2374
|
+
*
|
|
2375
|
+
* @type {boolean}
|
|
2376
|
+
* @memberof ModelRecord
|
|
2377
|
+
*/
|
|
2378
|
+
hasWildcard?: boolean;
|
|
2379
|
+
/**
|
|
2380
|
+
*
|
|
2381
|
+
* @type {boolean}
|
|
2382
|
+
* @memberof ModelRecord
|
|
2383
|
+
*/
|
|
2384
|
+
clinched?: boolean;
|
|
2385
|
+
/**
|
|
2386
|
+
*
|
|
2387
|
+
* @type {string}
|
|
2388
|
+
* @memberof ModelRecord
|
|
2389
|
+
*/
|
|
2390
|
+
eliminationNumber?: string;
|
|
2391
|
+
/**
|
|
2392
|
+
*
|
|
2393
|
+
* @type {string}
|
|
2394
|
+
* @memberof ModelRecord
|
|
2395
|
+
*/
|
|
2396
|
+
eliminationNumberSport?: string;
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {string}
|
|
2400
|
+
* @memberof ModelRecord
|
|
2401
|
+
*/
|
|
2402
|
+
eliminationNumberLeague?: string;
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @type {string}
|
|
2406
|
+
* @memberof ModelRecord
|
|
2407
|
+
*/
|
|
2408
|
+
eliminationNumberDivision?: string;
|
|
2409
|
+
/**
|
|
2410
|
+
*
|
|
2411
|
+
* @type {string}
|
|
2412
|
+
* @memberof ModelRecord
|
|
2413
|
+
*/
|
|
2414
|
+
eliminationNumberConference?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
*
|
|
2417
|
+
* @type {string}
|
|
2418
|
+
* @memberof ModelRecord
|
|
2419
|
+
*/
|
|
2420
|
+
wildCardEliminationNumber?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
*
|
|
2423
|
+
* @type {string}
|
|
2424
|
+
* @memberof ModelRecord
|
|
2425
|
+
*/
|
|
2426
|
+
magicNumber?: string;
|
|
2427
|
+
/**
|
|
2428
|
+
*
|
|
2429
|
+
* @type {number}
|
|
2430
|
+
* @memberof ModelRecord
|
|
2431
|
+
*/
|
|
2432
|
+
wins: number;
|
|
2433
|
+
/**
|
|
2434
|
+
*
|
|
2435
|
+
* @type {number}
|
|
2436
|
+
* @memberof ModelRecord
|
|
2437
|
+
*/
|
|
2438
|
+
losses: number;
|
|
2439
|
+
/**
|
|
2440
|
+
*
|
|
2441
|
+
* @type {number}
|
|
2442
|
+
* @memberof ModelRecord
|
|
2443
|
+
*/
|
|
2444
|
+
runDifferential?: number;
|
|
2445
|
+
/**
|
|
2446
|
+
*
|
|
2447
|
+
* @type {string}
|
|
2448
|
+
* @memberof ModelRecord
|
|
2449
|
+
*/
|
|
2450
|
+
winningPercentage?: string;
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
export declare function ModelRecordFromJSON(json: any): ModelRecord;
|
|
2454
|
+
|
|
2455
|
+
export declare function ModelRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelRecord;
|
|
2456
|
+
|
|
2457
|
+
export declare function ModelRecordToJSON(json: any): ModelRecord;
|
|
2458
|
+
|
|
2459
|
+
export declare function ModelRecordToJSONTyped(value?: ModelRecord | null, ignoreDiscriminator?: boolean): any;
|
|
2460
|
+
|
|
2461
|
+
/**
|
|
2462
|
+
* MLB StatAPI
|
|
2463
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2464
|
+
*
|
|
2465
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2466
|
+
*
|
|
2467
|
+
*
|
|
2468
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2469
|
+
* https://openapi-generator.tech
|
|
2470
|
+
* Do not edit the class manually.
|
|
2471
|
+
*/
|
|
2472
|
+
/**
|
|
2473
|
+
*
|
|
2474
|
+
* @export
|
|
2475
|
+
* @interface Official
|
|
2476
|
+
*/
|
|
2477
|
+
export declare interface Official {
|
|
2478
|
+
/**
|
|
2479
|
+
*
|
|
2480
|
+
* @type {number}
|
|
2481
|
+
* @memberof Official
|
|
2482
|
+
*/
|
|
2483
|
+
id?: number;
|
|
2484
|
+
/**
|
|
2485
|
+
*
|
|
2486
|
+
* @type {string}
|
|
2487
|
+
* @memberof Official
|
|
2488
|
+
*/
|
|
2489
|
+
fullName?: string;
|
|
2490
|
+
/**
|
|
2491
|
+
*
|
|
2492
|
+
* @type {string}
|
|
2493
|
+
* @memberof Official
|
|
2494
|
+
*/
|
|
2495
|
+
link?: string;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
export declare function OfficialFromJSON(json: any): Official;
|
|
2499
|
+
|
|
2500
|
+
export declare function OfficialFromJSONTyped(json: any, ignoreDiscriminator: boolean): Official;
|
|
2501
|
+
|
|
2502
|
+
export declare function OfficialToJSON(json: any): Official;
|
|
2503
|
+
|
|
2504
|
+
export declare function OfficialToJSONTyped(value?: Official | null, ignoreDiscriminator?: boolean): any;
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
*
|
|
2508
|
+
*/
|
|
2509
|
+
export declare class PeopleApi extends runtime.BaseAPI {
|
|
2510
|
+
/**
|
|
2511
|
+
* Creates request options for getPerson without sending the request
|
|
2512
|
+
*/
|
|
2513
|
+
getPersonRequestOpts(requestParameters: GetPersonRequest): Promise<runtime.RequestOpts>;
|
|
2514
|
+
/**
|
|
2515
|
+
* 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).
|
|
2516
|
+
* Retrieves a person (player)
|
|
2517
|
+
*/
|
|
2518
|
+
getPersonRaw(requestParameters: GetPersonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PeopleResponse>>;
|
|
2519
|
+
/**
|
|
2520
|
+
* 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).
|
|
2521
|
+
* Retrieves a person (player)
|
|
2522
|
+
*/
|
|
2523
|
+
getPerson(requestParameters: GetPersonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PeopleResponse>;
|
|
2524
|
+
/**
|
|
2525
|
+
* Creates request options for getPersonStats without sending the request
|
|
2526
|
+
*/
|
|
2527
|
+
getPersonStatsRequestOpts(requestParameters: GetPersonStatsRequest): Promise<runtime.RequestOpts>;
|
|
2528
|
+
/**
|
|
2529
|
+
* 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).
|
|
2530
|
+
* Retrieves a person\'s stats
|
|
2531
|
+
*/
|
|
2532
|
+
getPersonStatsRaw(requestParameters: GetPersonStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PersonStatsResponse>>;
|
|
2533
|
+
/**
|
|
2534
|
+
* 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).
|
|
2535
|
+
* Retrieves a person\'s stats
|
|
2536
|
+
*/
|
|
2537
|
+
getPersonStats(requestParameters: GetPersonStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonStatsResponse>;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
/**
|
|
2541
|
+
* Response for GET /v1/people/{personId}. Contains a people array (one item when requesting a single person).
|
|
2542
|
+
*
|
|
2543
|
+
* @export
|
|
2544
|
+
* @interface PeopleResponse
|
|
2545
|
+
*/
|
|
2546
|
+
export declare interface PeopleResponse {
|
|
2547
|
+
/**
|
|
2548
|
+
*
|
|
2549
|
+
* @type {Array<Person>}
|
|
2550
|
+
* @memberof PeopleResponse
|
|
2551
|
+
*/
|
|
2552
|
+
people: Array<Person>;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
export declare function PeopleResponseFromJSON(json: any): PeopleResponse;
|
|
2556
|
+
|
|
2557
|
+
export declare function PeopleResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeopleResponse;
|
|
2558
|
+
|
|
2559
|
+
export declare function PeopleResponseToJSON(json: any): PeopleResponse;
|
|
2560
|
+
|
|
2561
|
+
export declare function PeopleResponseToJSONTyped(value?: PeopleResponse | null, ignoreDiscriminator?: boolean): any;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* A person (player) from the people API. Use hydrate to expand currentTeam, team, stats, etc.
|
|
2565
|
+
*
|
|
2566
|
+
* @export
|
|
2567
|
+
* @interface Person
|
|
2568
|
+
*/
|
|
2569
|
+
export declare interface Person {
|
|
2570
|
+
/**
|
|
2571
|
+
*
|
|
2572
|
+
* @type {number}
|
|
2573
|
+
* @memberof Person
|
|
2574
|
+
*/
|
|
2575
|
+
id: number;
|
|
2576
|
+
/**
|
|
2577
|
+
*
|
|
2578
|
+
* @type {string}
|
|
2579
|
+
* @memberof Person
|
|
2580
|
+
*/
|
|
2581
|
+
fullName: string;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @type {string}
|
|
2585
|
+
* @memberof Person
|
|
2586
|
+
*/
|
|
2587
|
+
link: string;
|
|
2588
|
+
/**
|
|
2589
|
+
*
|
|
2590
|
+
* @type {string}
|
|
2591
|
+
* @memberof Person
|
|
2592
|
+
*/
|
|
2593
|
+
firstName?: string;
|
|
2594
|
+
/**
|
|
2595
|
+
*
|
|
2596
|
+
* @type {string}
|
|
2597
|
+
* @memberof Person
|
|
2598
|
+
*/
|
|
2599
|
+
lastName?: string;
|
|
2600
|
+
/**
|
|
2601
|
+
*
|
|
2602
|
+
* @type {string}
|
|
2603
|
+
* @memberof Person
|
|
2604
|
+
*/
|
|
2605
|
+
primaryNumber?: string;
|
|
2606
|
+
/**
|
|
2607
|
+
*
|
|
2608
|
+
* @type {string}
|
|
2609
|
+
* @memberof Person
|
|
2610
|
+
*/
|
|
2611
|
+
birthDate?: string;
|
|
2612
|
+
/**
|
|
2613
|
+
*
|
|
2614
|
+
* @type {number}
|
|
2615
|
+
* @memberof Person
|
|
2616
|
+
*/
|
|
2617
|
+
currentAge?: number;
|
|
2618
|
+
/**
|
|
2619
|
+
*
|
|
2620
|
+
* @type {string}
|
|
2621
|
+
* @memberof Person
|
|
2622
|
+
*/
|
|
2623
|
+
birthCity?: string;
|
|
2624
|
+
/**
|
|
2625
|
+
*
|
|
2626
|
+
* @type {string}
|
|
2627
|
+
* @memberof Person
|
|
2628
|
+
*/
|
|
2629
|
+
birthStateProvince?: string;
|
|
2630
|
+
/**
|
|
2631
|
+
*
|
|
2632
|
+
* @type {string}
|
|
2633
|
+
* @memberof Person
|
|
2634
|
+
*/
|
|
2635
|
+
birthCountry?: string;
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @type {string}
|
|
2639
|
+
* @memberof Person
|
|
2640
|
+
*/
|
|
2641
|
+
height?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
*
|
|
2644
|
+
* @type {number}
|
|
2645
|
+
* @memberof Person
|
|
2646
|
+
*/
|
|
2647
|
+
weight?: number;
|
|
2648
|
+
/**
|
|
2649
|
+
*
|
|
2650
|
+
* @type {boolean}
|
|
2651
|
+
* @memberof Person
|
|
2652
|
+
*/
|
|
2653
|
+
active?: boolean;
|
|
2654
|
+
/**
|
|
2655
|
+
*
|
|
2656
|
+
* @type {Team}
|
|
2657
|
+
* @memberof Person
|
|
2658
|
+
*/
|
|
2659
|
+
currentTeam?: Team;
|
|
2660
|
+
/**
|
|
2661
|
+
*
|
|
2662
|
+
* @type {Position}
|
|
2663
|
+
* @memberof Person
|
|
2664
|
+
*/
|
|
2665
|
+
primaryPosition?: Position;
|
|
2666
|
+
/**
|
|
2667
|
+
*
|
|
2668
|
+
* @type {string}
|
|
2669
|
+
* @memberof Person
|
|
2670
|
+
*/
|
|
2671
|
+
useName?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
*
|
|
2674
|
+
* @type {string}
|
|
2675
|
+
* @memberof Person
|
|
2676
|
+
*/
|
|
2677
|
+
useLastName?: string;
|
|
2678
|
+
/**
|
|
2679
|
+
*
|
|
2680
|
+
* @type {string}
|
|
2681
|
+
* @memberof Person
|
|
2682
|
+
*/
|
|
2683
|
+
middleName?: string;
|
|
2684
|
+
/**
|
|
2685
|
+
*
|
|
2686
|
+
* @type {string}
|
|
2687
|
+
* @memberof Person
|
|
2688
|
+
*/
|
|
2689
|
+
boxscoreName?: string;
|
|
2690
|
+
/**
|
|
2691
|
+
*
|
|
2692
|
+
* @type {string}
|
|
2693
|
+
* @memberof Person
|
|
2694
|
+
*/
|
|
2695
|
+
gender?: string;
|
|
2696
|
+
/**
|
|
2697
|
+
*
|
|
2698
|
+
* @type {boolean}
|
|
2699
|
+
* @memberof Person
|
|
2700
|
+
*/
|
|
2701
|
+
isPlayer?: boolean;
|
|
2702
|
+
/**
|
|
2703
|
+
*
|
|
2704
|
+
* @type {boolean}
|
|
2705
|
+
* @memberof Person
|
|
2706
|
+
*/
|
|
2707
|
+
isVerified?: boolean;
|
|
2708
|
+
/**
|
|
2709
|
+
*
|
|
2710
|
+
* @type {number}
|
|
2711
|
+
* @memberof Person
|
|
2712
|
+
*/
|
|
2713
|
+
draftYear?: number;
|
|
2714
|
+
/**
|
|
2715
|
+
*
|
|
2716
|
+
* @type {string}
|
|
2717
|
+
* @memberof Person
|
|
2718
|
+
*/
|
|
2719
|
+
pronunciation?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
*
|
|
2722
|
+
* @type {Array<PersonStatsItem>}
|
|
2723
|
+
* @memberof Person
|
|
2724
|
+
*/
|
|
2725
|
+
stats?: Array<PersonStatsItem>;
|
|
2726
|
+
/**
|
|
2727
|
+
*
|
|
2728
|
+
* @type {string}
|
|
2729
|
+
* @memberof Person
|
|
2730
|
+
*/
|
|
2731
|
+
mlbDebutDate?: string;
|
|
2732
|
+
/**
|
|
2733
|
+
*
|
|
2734
|
+
* @type {CodeDescription}
|
|
2735
|
+
* @memberof Person
|
|
2736
|
+
*/
|
|
2737
|
+
batSide?: CodeDescription;
|
|
2738
|
+
/**
|
|
2739
|
+
*
|
|
2740
|
+
* @type {CodeDescription}
|
|
2741
|
+
* @memberof Person
|
|
2742
|
+
*/
|
|
2743
|
+
pitchHand?: CodeDescription;
|
|
2744
|
+
/**
|
|
2745
|
+
*
|
|
2746
|
+
* @type {string}
|
|
2747
|
+
* @memberof Person
|
|
2748
|
+
*/
|
|
2749
|
+
nameFirstLast?: string;
|
|
2750
|
+
/**
|
|
2751
|
+
*
|
|
2752
|
+
* @type {string}
|
|
2753
|
+
* @memberof Person
|
|
2754
|
+
*/
|
|
2755
|
+
nameSlug?: string;
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @type {string}
|
|
2759
|
+
* @memberof Person
|
|
2760
|
+
*/
|
|
2761
|
+
firstLastName?: string;
|
|
2762
|
+
/**
|
|
2763
|
+
*
|
|
2764
|
+
* @type {string}
|
|
2765
|
+
* @memberof Person
|
|
2766
|
+
*/
|
|
2767
|
+
lastFirstName?: string;
|
|
2768
|
+
/**
|
|
2769
|
+
*
|
|
2770
|
+
* @type {string}
|
|
2771
|
+
* @memberof Person
|
|
2772
|
+
*/
|
|
2773
|
+
lastInitName?: string;
|
|
2774
|
+
/**
|
|
2775
|
+
*
|
|
2776
|
+
* @type {string}
|
|
2777
|
+
* @memberof Person
|
|
2778
|
+
*/
|
|
2779
|
+
initLastName?: string;
|
|
2780
|
+
/**
|
|
2781
|
+
*
|
|
2782
|
+
* @type {string}
|
|
2783
|
+
* @memberof Person
|
|
2784
|
+
*/
|
|
2785
|
+
fullFMLName?: string;
|
|
2786
|
+
/**
|
|
2787
|
+
*
|
|
2788
|
+
* @type {string}
|
|
2789
|
+
* @memberof Person
|
|
2790
|
+
*/
|
|
2791
|
+
fullLFMName?: string;
|
|
2792
|
+
/**
|
|
2793
|
+
*
|
|
2794
|
+
* @type {number}
|
|
2795
|
+
* @memberof Person
|
|
2796
|
+
*/
|
|
2797
|
+
strikeZoneTop?: number;
|
|
2798
|
+
/**
|
|
2799
|
+
*
|
|
2800
|
+
* @type {number}
|
|
2801
|
+
* @memberof Person
|
|
2802
|
+
*/
|
|
2803
|
+
strikeZoneBottom?: number;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
export declare function PersonFromJSON(json: any): Person;
|
|
2807
|
+
|
|
2808
|
+
export declare function PersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Person;
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* One stats block for a person (e.g. yearByYear hitting, careerAdvanced hitting). Contains type, optional group, exemptions, and splits.
|
|
2812
|
+
*
|
|
2813
|
+
* @export
|
|
2814
|
+
* @interface PersonStatsItem
|
|
2815
|
+
*/
|
|
2816
|
+
export declare interface PersonStatsItem {
|
|
2817
|
+
/**
|
|
2818
|
+
*
|
|
2819
|
+
* @type {PersonStatsItemType}
|
|
2820
|
+
* @memberof PersonStatsItem
|
|
2821
|
+
*/
|
|
2822
|
+
type?: PersonStatsItemType;
|
|
2823
|
+
/**
|
|
2824
|
+
*
|
|
2825
|
+
* @type {PersonStatsItemType}
|
|
2826
|
+
* @memberof PersonStatsItem
|
|
2827
|
+
*/
|
|
2828
|
+
group?: PersonStatsItemType;
|
|
2829
|
+
/**
|
|
2830
|
+
*
|
|
2831
|
+
* @type {Array<any>}
|
|
2832
|
+
* @memberof PersonStatsItem
|
|
2833
|
+
*/
|
|
2834
|
+
exemptions?: Array<any>;
|
|
2835
|
+
/**
|
|
2836
|
+
*
|
|
2837
|
+
* @type {Array<PersonStatSplit>}
|
|
2838
|
+
* @memberof PersonStatsItem
|
|
2839
|
+
*/
|
|
2840
|
+
splits?: Array<PersonStatSplit>;
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
export declare function PersonStatsItemFromJSON(json: any): PersonStatsItem;
|
|
2844
|
+
|
|
2845
|
+
export declare function PersonStatsItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsItem;
|
|
2846
|
+
|
|
2847
|
+
export declare function PersonStatsItemToJSON(json: any): PersonStatsItem;
|
|
2848
|
+
|
|
2849
|
+
export declare function PersonStatsItemToJSONTyped(value?: PersonStatsItem | null, ignoreDiscriminator?: boolean): any;
|
|
2850
|
+
|
|
2851
|
+
/**
|
|
2852
|
+
* MLB StatAPI
|
|
2853
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2854
|
+
*
|
|
2855
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2856
|
+
*
|
|
2857
|
+
*
|
|
2858
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2859
|
+
* https://openapi-generator.tech
|
|
2860
|
+
* Do not edit the class manually.
|
|
2861
|
+
*/
|
|
2862
|
+
/**
|
|
2863
|
+
*
|
|
2864
|
+
* @export
|
|
2865
|
+
* @interface PersonStatsItemType
|
|
2866
|
+
*/
|
|
2867
|
+
export declare interface PersonStatsItemType {
|
|
2868
|
+
/**
|
|
2869
|
+
*
|
|
2870
|
+
* @type {string}
|
|
2871
|
+
* @memberof PersonStatsItemType
|
|
2872
|
+
*/
|
|
2873
|
+
displayName?: string;
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
export declare function PersonStatsItemTypeFromJSON(json: any): PersonStatsItemType;
|
|
2877
|
+
|
|
2878
|
+
export declare function PersonStatsItemTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsItemType;
|
|
2879
|
+
|
|
2880
|
+
export declare function PersonStatsItemTypeToJSON(json: any): PersonStatsItemType;
|
|
2881
|
+
|
|
2882
|
+
export declare function PersonStatsItemTypeToJSONTyped(value?: PersonStatsItemType | null, ignoreDiscriminator?: boolean): any;
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* 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.
|
|
2886
|
+
*
|
|
2887
|
+
* @export
|
|
2888
|
+
* @interface PersonStatSplit
|
|
2889
|
+
*/
|
|
2890
|
+
export declare interface PersonStatSplit {
|
|
2891
|
+
/**
|
|
2892
|
+
*
|
|
2893
|
+
* @type {string}
|
|
2894
|
+
* @memberof PersonStatSplit
|
|
2895
|
+
*/
|
|
2896
|
+
season?: string;
|
|
2897
|
+
/**
|
|
2898
|
+
* Stat keys vary by group/type (e.g. hitting avg, gamesPlayed, plateAppearances).
|
|
2899
|
+
* @type {{ [key: string]: any; }}
|
|
2900
|
+
* @memberof PersonStatSplit
|
|
2901
|
+
*/
|
|
2902
|
+
stat?: {
|
|
2903
|
+
[key: string]: any;
|
|
2904
|
+
};
|
|
2905
|
+
/**
|
|
2906
|
+
*
|
|
2907
|
+
* @type {Team}
|
|
2908
|
+
* @memberof PersonStatSplit
|
|
2909
|
+
*/
|
|
2910
|
+
team?: Team;
|
|
2911
|
+
/**
|
|
2912
|
+
*
|
|
2913
|
+
* @type {PersonStatSplitPlayer}
|
|
2914
|
+
* @memberof PersonStatSplit
|
|
2915
|
+
*/
|
|
2916
|
+
player?: PersonStatSplitPlayer;
|
|
2917
|
+
/**
|
|
2918
|
+
*
|
|
2919
|
+
* @type {League}
|
|
2920
|
+
* @memberof PersonStatSplit
|
|
2921
|
+
*/
|
|
2922
|
+
league?: League;
|
|
2923
|
+
/**
|
|
2924
|
+
*
|
|
2925
|
+
* @type {Sport}
|
|
2926
|
+
* @memberof PersonStatSplit
|
|
2927
|
+
*/
|
|
2928
|
+
sport?: Sport;
|
|
2929
|
+
/**
|
|
2930
|
+
*
|
|
2931
|
+
* @type {string}
|
|
2932
|
+
* @memberof PersonStatSplit
|
|
2933
|
+
*/
|
|
2934
|
+
gameType?: string;
|
|
2935
|
+
/**
|
|
2936
|
+
* e.g. gameLog, statSplits
|
|
2937
|
+
* @type {string}
|
|
2938
|
+
* @memberof PersonStatSplit
|
|
2939
|
+
*/
|
|
2940
|
+
type?: string;
|
|
2941
|
+
/**
|
|
2942
|
+
* e.g. fielding, hitting
|
|
2943
|
+
* @type {string}
|
|
2944
|
+
* @memberof PersonStatSplit
|
|
2945
|
+
*/
|
|
2946
|
+
group?: string;
|
|
2947
|
+
/**
|
|
2948
|
+
* Opponent team (e.g. in gameLog splits)
|
|
2949
|
+
* @type {Team}
|
|
2950
|
+
* @memberof PersonStatSplit
|
|
2951
|
+
*/
|
|
2952
|
+
opponent?: Team;
|
|
2953
|
+
/**
|
|
2954
|
+
* Game date (e.g. in gameLog splits)
|
|
2955
|
+
* @type {string}
|
|
2956
|
+
* @memberof PersonStatSplit
|
|
2957
|
+
*/
|
|
2958
|
+
date?: string;
|
|
2959
|
+
/**
|
|
2960
|
+
*
|
|
2961
|
+
* @type {boolean}
|
|
2962
|
+
* @memberof PersonStatSplit
|
|
2963
|
+
*/
|
|
2964
|
+
isHome?: boolean;
|
|
2965
|
+
/**
|
|
2966
|
+
*
|
|
2967
|
+
* @type {boolean}
|
|
2968
|
+
* @memberof PersonStatSplit
|
|
2969
|
+
*/
|
|
2970
|
+
isWin?: boolean;
|
|
2971
|
+
/**
|
|
2972
|
+
*
|
|
2973
|
+
* @type {Array<Position>}
|
|
2974
|
+
* @memberof PersonStatSplit
|
|
2975
|
+
*/
|
|
2976
|
+
positionsPlayed?: Array<Position>;
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @type {PersonStatSplitGame}
|
|
2980
|
+
* @memberof PersonStatSplit
|
|
2981
|
+
*/
|
|
2982
|
+
game?: PersonStatSplitGame;
|
|
2983
|
+
/**
|
|
2984
|
+
*
|
|
2985
|
+
* @type {number}
|
|
2986
|
+
* @memberof PersonStatSplit
|
|
2987
|
+
*/
|
|
2988
|
+
numTeams?: number;
|
|
2989
|
+
/**
|
|
2990
|
+
*
|
|
2991
|
+
* @type {number}
|
|
2992
|
+
* @memberof PersonStatSplit
|
|
2993
|
+
*/
|
|
2994
|
+
numLeagues?: number;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
export declare function PersonStatSplitFromJSON(json: any): PersonStatSplit;
|
|
2998
|
+
|
|
2999
|
+
export declare function PersonStatSplitFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplit;
|
|
3000
|
+
|
|
3001
|
+
/**
|
|
3002
|
+
* Game summary (e.g. in gameLog splits)
|
|
3003
|
+
* @export
|
|
3004
|
+
* @interface PersonStatSplitGame
|
|
3005
|
+
*/
|
|
3006
|
+
export declare interface PersonStatSplitGame {
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @type {number}
|
|
3010
|
+
* @memberof PersonStatSplitGame
|
|
3011
|
+
*/
|
|
3012
|
+
gamePk?: number;
|
|
3013
|
+
/**
|
|
3014
|
+
*
|
|
3015
|
+
* @type {string}
|
|
3016
|
+
* @memberof PersonStatSplitGame
|
|
2070
3017
|
*/
|
|
2071
|
-
|
|
3018
|
+
link?: string;
|
|
2072
3019
|
/**
|
|
2073
|
-
*
|
|
2074
|
-
*
|
|
3020
|
+
*
|
|
3021
|
+
* @type {Content}
|
|
3022
|
+
* @memberof PersonStatSplitGame
|
|
2075
3023
|
*/
|
|
2076
|
-
|
|
3024
|
+
content?: Content;
|
|
2077
3025
|
/**
|
|
2078
|
-
*
|
|
2079
|
-
*
|
|
3026
|
+
*
|
|
3027
|
+
* @type {number}
|
|
3028
|
+
* @memberof PersonStatSplitGame
|
|
2080
3029
|
*/
|
|
2081
|
-
|
|
3030
|
+
gameNumber?: number;
|
|
2082
3031
|
/**
|
|
2083
|
-
*
|
|
2084
|
-
*
|
|
3032
|
+
*
|
|
3033
|
+
* @type {string}
|
|
3034
|
+
* @memberof PersonStatSplitGame
|
|
2085
3035
|
*/
|
|
2086
|
-
|
|
3036
|
+
dayNight?: string;
|
|
2087
3037
|
}
|
|
2088
3038
|
|
|
2089
|
-
export declare
|
|
3039
|
+
export declare function PersonStatSplitGameFromJSON(json: any): PersonStatSplitGame;
|
|
3040
|
+
|
|
3041
|
+
export declare function PersonStatSplitGameFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplitGame;
|
|
3042
|
+
|
|
3043
|
+
export declare function PersonStatSplitGameToJSON(json: any): PersonStatSplitGame;
|
|
3044
|
+
|
|
3045
|
+
export declare function PersonStatSplitGameToJSONTyped(value?: PersonStatSplitGame | null, ignoreDiscriminator?: boolean): any;
|
|
2090
3046
|
|
|
2091
3047
|
/**
|
|
2092
3048
|
* MLB StatAPI
|
|
2093
|
-
*
|
|
3049
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2094
3050
|
*
|
|
2095
|
-
* The version of the OpenAPI document: 0.
|
|
3051
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2096
3052
|
*
|
|
2097
3053
|
*
|
|
2098
3054
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2102,42 +3058,79 @@ export declare type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCa
|
|
|
2102
3058
|
/**
|
|
2103
3059
|
*
|
|
2104
3060
|
* @export
|
|
2105
|
-
* @interface
|
|
3061
|
+
* @interface PersonStatSplitPlayer
|
|
2106
3062
|
*/
|
|
2107
|
-
export declare interface
|
|
3063
|
+
export declare interface PersonStatSplitPlayer {
|
|
2108
3064
|
/**
|
|
2109
3065
|
*
|
|
2110
3066
|
* @type {number}
|
|
2111
|
-
* @memberof
|
|
3067
|
+
* @memberof PersonStatSplitPlayer
|
|
2112
3068
|
*/
|
|
2113
3069
|
id?: number;
|
|
2114
3070
|
/**
|
|
2115
3071
|
*
|
|
2116
3072
|
* @type {string}
|
|
2117
|
-
* @memberof
|
|
3073
|
+
* @memberof PersonStatSplitPlayer
|
|
2118
3074
|
*/
|
|
2119
3075
|
fullName?: string;
|
|
2120
3076
|
/**
|
|
2121
3077
|
*
|
|
2122
3078
|
* @type {string}
|
|
2123
|
-
* @memberof
|
|
3079
|
+
* @memberof PersonStatSplitPlayer
|
|
2124
3080
|
*/
|
|
2125
3081
|
link?: string;
|
|
2126
3082
|
}
|
|
2127
3083
|
|
|
2128
|
-
export declare function
|
|
3084
|
+
export declare function PersonStatSplitPlayerFromJSON(json: any): PersonStatSplitPlayer;
|
|
2129
3085
|
|
|
2130
|
-
export declare function
|
|
3086
|
+
export declare function PersonStatSplitPlayerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatSplitPlayer;
|
|
2131
3087
|
|
|
2132
|
-
export declare function
|
|
3088
|
+
export declare function PersonStatSplitPlayerToJSON(json: any): PersonStatSplitPlayer;
|
|
2133
3089
|
|
|
2134
|
-
export declare function
|
|
3090
|
+
export declare function PersonStatSplitPlayerToJSONTyped(value?: PersonStatSplitPlayer | null, ignoreDiscriminator?: boolean): any;
|
|
3091
|
+
|
|
3092
|
+
export declare function PersonStatSplitToJSON(json: any): PersonStatSplit;
|
|
3093
|
+
|
|
3094
|
+
export declare function PersonStatSplitToJSONTyped(value?: PersonStatSplit | null, ignoreDiscriminator?: boolean): any;
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* Response for GET /v1/people/{personId}/stats. Contains a stats array (type/group/splits per requested stat type, e.g. gameLog, statsSingleSeason).
|
|
3098
|
+
*
|
|
3099
|
+
* @export
|
|
3100
|
+
* @interface PersonStatsResponse
|
|
3101
|
+
*/
|
|
3102
|
+
export declare interface PersonStatsResponse {
|
|
3103
|
+
/**
|
|
3104
|
+
*
|
|
3105
|
+
* @type {string}
|
|
3106
|
+
* @memberof PersonStatsResponse
|
|
3107
|
+
*/
|
|
3108
|
+
copyright?: string;
|
|
3109
|
+
/**
|
|
3110
|
+
*
|
|
3111
|
+
* @type {Array<PersonStatsItem>}
|
|
3112
|
+
* @memberof PersonStatsResponse
|
|
3113
|
+
*/
|
|
3114
|
+
stats: Array<PersonStatsItem>;
|
|
3115
|
+
}
|
|
3116
|
+
|
|
3117
|
+
export declare function PersonStatsResponseFromJSON(json: any): PersonStatsResponse;
|
|
3118
|
+
|
|
3119
|
+
export declare function PersonStatsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonStatsResponse;
|
|
3120
|
+
|
|
3121
|
+
export declare function PersonStatsResponseToJSON(json: any): PersonStatsResponse;
|
|
3122
|
+
|
|
3123
|
+
export declare function PersonStatsResponseToJSONTyped(value?: PersonStatsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
3124
|
+
|
|
3125
|
+
export declare function PersonToJSON(json: any): Person;
|
|
3126
|
+
|
|
3127
|
+
export declare function PersonToJSONTyped(value?: Person | null, ignoreDiscriminator?: boolean): any;
|
|
2135
3128
|
|
|
2136
3129
|
/**
|
|
2137
3130
|
* MLB StatAPI
|
|
2138
|
-
*
|
|
3131
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2139
3132
|
*
|
|
2140
|
-
* The version of the OpenAPI document: 0.
|
|
3133
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2141
3134
|
*
|
|
2142
3135
|
*
|
|
2143
3136
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2542,9 +3535,9 @@ export declare function PlayerFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
2542
3535
|
|
|
2543
3536
|
/**
|
|
2544
3537
|
* MLB StatAPI
|
|
2545
|
-
*
|
|
3538
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2546
3539
|
*
|
|
2547
|
-
* The version of the OpenAPI document: 0.
|
|
3540
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2548
3541
|
*
|
|
2549
3542
|
*
|
|
2550
3543
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2593,9 +3586,9 @@ export declare function PlayerGameStatusToJSONTyped(value?: PlayerGameStatus | n
|
|
|
2593
3586
|
|
|
2594
3587
|
/**
|
|
2595
3588
|
* MLB StatAPI
|
|
2596
|
-
*
|
|
3589
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2597
3590
|
*
|
|
2598
|
-
* The version of the OpenAPI document: 0.
|
|
3591
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2599
3592
|
*
|
|
2600
3593
|
*
|
|
2601
3594
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2644,9 +3637,9 @@ export declare function PlayerPersonToJSONTyped(value?: PlayerPerson | null, ign
|
|
|
2644
3637
|
|
|
2645
3638
|
/**
|
|
2646
3639
|
* MLB StatAPI
|
|
2647
|
-
*
|
|
3640
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2648
3641
|
*
|
|
2649
|
-
* The version of the OpenAPI document: 0.
|
|
3642
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2650
3643
|
*
|
|
2651
3644
|
*
|
|
2652
3645
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2763,9 +3756,9 @@ export declare function PlayerStatsToJSONTyped(value?: PlayerStats | null, ignor
|
|
|
2763
3756
|
|
|
2764
3757
|
/**
|
|
2765
3758
|
* MLB StatAPI
|
|
2766
|
-
*
|
|
3759
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2767
3760
|
*
|
|
2768
|
-
* The version of the OpenAPI document: 0.
|
|
3761
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2769
3762
|
*
|
|
2770
3763
|
*
|
|
2771
3764
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2806,9 +3799,9 @@ export declare function PlayerToJSONTyped(value?: Player | null, ignoreDiscrimin
|
|
|
2806
3799
|
|
|
2807
3800
|
/**
|
|
2808
3801
|
* MLB StatAPI
|
|
2809
|
-
*
|
|
3802
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
2810
3803
|
*
|
|
2811
|
-
* The version of the OpenAPI document: 0.
|
|
3804
|
+
* The version of the OpenAPI document: 0.7.5
|
|
2812
3805
|
*
|
|
2813
3806
|
*
|
|
2814
3807
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2858,214 +3851,80 @@ export declare function PositionToJSONTyped(value?: Position | null, ignoreDiscr
|
|
|
2858
3851
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
2859
3852
|
|
|
2860
3853
|
/**
|
|
2861
|
-
* Record
|
|
2862
3854
|
*
|
|
2863
|
-
* @export
|
|
2864
|
-
* @interface Record
|
|
2865
3855
|
*/
|
|
2866
|
-
declare
|
|
2867
|
-
/**
|
|
2868
|
-
*
|
|
2869
|
-
* @type {Team}
|
|
2870
|
-
* @memberof Record
|
|
2871
|
-
*/
|
|
2872
|
-
team: Team;
|
|
2873
|
-
/**
|
|
2874
|
-
*
|
|
2875
|
-
* @type {string}
|
|
2876
|
-
* @memberof Record
|
|
2877
|
-
*/
|
|
2878
|
-
season: string;
|
|
2879
|
-
/**
|
|
2880
|
-
*
|
|
2881
|
-
* @type {Streak}
|
|
2882
|
-
* @memberof Record
|
|
2883
|
-
*/
|
|
2884
|
-
streak: Streak;
|
|
2885
|
-
/**
|
|
2886
|
-
*
|
|
2887
|
-
* @type {string}
|
|
2888
|
-
* @memberof Record
|
|
2889
|
-
*/
|
|
2890
|
-
divisionRank: string;
|
|
2891
|
-
/**
|
|
2892
|
-
*
|
|
2893
|
-
* @type {string}
|
|
2894
|
-
* @memberof Record
|
|
2895
|
-
*/
|
|
2896
|
-
leagueRank: string;
|
|
2897
|
-
/**
|
|
2898
|
-
*
|
|
2899
|
-
* @type {string}
|
|
2900
|
-
* @memberof Record
|
|
2901
|
-
*/
|
|
2902
|
-
sportRank?: string;
|
|
2903
|
-
/**
|
|
2904
|
-
*
|
|
2905
|
-
* @type {number}
|
|
2906
|
-
* @memberof Record
|
|
2907
|
-
*/
|
|
2908
|
-
gamesPlayed?: number;
|
|
2909
|
-
/**
|
|
2910
|
-
*
|
|
2911
|
-
* @type {string}
|
|
2912
|
-
* @memberof Record
|
|
2913
|
-
*/
|
|
2914
|
-
gamesBack: string;
|
|
2915
|
-
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @type {string}
|
|
2918
|
-
* @memberof Record
|
|
2919
|
-
*/
|
|
2920
|
-
wildCardGamesBack?: string;
|
|
2921
|
-
/**
|
|
2922
|
-
*
|
|
2923
|
-
* @type {string}
|
|
2924
|
-
* @memberof Record
|
|
2925
|
-
*/
|
|
2926
|
-
leagueGamesBack?: string;
|
|
2927
|
-
/**
|
|
2928
|
-
*
|
|
2929
|
-
* @type {string}
|
|
2930
|
-
* @memberof Record
|
|
2931
|
-
*/
|
|
2932
|
-
sportGamesBack?: string;
|
|
2933
|
-
/**
|
|
2934
|
-
*
|
|
2935
|
-
* @type {string}
|
|
2936
|
-
* @memberof Record
|
|
2937
|
-
*/
|
|
2938
|
-
divisionGamesBack?: string;
|
|
2939
|
-
/**
|
|
2940
|
-
*
|
|
2941
|
-
* @type {string}
|
|
2942
|
-
* @memberof Record
|
|
2943
|
-
*/
|
|
2944
|
-
conferenceGamesBack?: string;
|
|
2945
|
-
/**
|
|
2946
|
-
*
|
|
2947
|
-
* @type {LeagueRecord}
|
|
2948
|
-
* @memberof Record
|
|
2949
|
-
*/
|
|
2950
|
-
leagueRecord: LeagueRecord;
|
|
2951
|
-
/**
|
|
2952
|
-
*
|
|
2953
|
-
* @type {string}
|
|
2954
|
-
* @memberof Record
|
|
2955
|
-
*/
|
|
2956
|
-
lastUpdated?: string;
|
|
2957
|
-
/**
|
|
2958
|
-
*
|
|
2959
|
-
* @type {number}
|
|
2960
|
-
* @memberof Record
|
|
2961
|
-
*/
|
|
2962
|
-
runsAllowed?: number;
|
|
2963
|
-
/**
|
|
2964
|
-
*
|
|
2965
|
-
* @type {number}
|
|
2966
|
-
* @memberof Record
|
|
2967
|
-
*/
|
|
2968
|
-
runsScored?: number;
|
|
3856
|
+
export declare class ReferenceApi extends runtime.BaseAPI {
|
|
2969
3857
|
/**
|
|
2970
|
-
*
|
|
2971
|
-
* @type {boolean}
|
|
2972
|
-
* @memberof Record
|
|
3858
|
+
* Creates request options for getAllSeasons without sending the request
|
|
2973
3859
|
*/
|
|
2974
|
-
|
|
3860
|
+
getAllSeasonsRequestOpts(requestParameters: GetAllSeasonsRequest): Promise<runtime.RequestOpts>;
|
|
2975
3861
|
/**
|
|
2976
|
-
*
|
|
2977
|
-
*
|
|
2978
|
-
* @memberof Record
|
|
3862
|
+
* Returns All Seasons
|
|
3863
|
+
* Retrieves All Seasons over time
|
|
2979
3864
|
*/
|
|
2980
|
-
|
|
3865
|
+
getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Seasons>>;
|
|
2981
3866
|
/**
|
|
2982
|
-
*
|
|
2983
|
-
*
|
|
2984
|
-
* @memberof Record
|
|
3867
|
+
* Returns All Seasons
|
|
3868
|
+
* Retrieves All Seasons over time
|
|
2985
3869
|
*/
|
|
2986
|
-
|
|
3870
|
+
getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Seasons>;
|
|
2987
3871
|
/**
|
|
2988
|
-
*
|
|
2989
|
-
* @type {boolean}
|
|
2990
|
-
* @memberof Record
|
|
3872
|
+
* Creates request options for getDivisions without sending the request
|
|
2991
3873
|
*/
|
|
2992
|
-
|
|
3874
|
+
getDivisionsRequestOpts(requestParameters: GetDivisionsRequest): Promise<runtime.RequestOpts>;
|
|
2993
3875
|
/**
|
|
2994
|
-
*
|
|
2995
|
-
*
|
|
2996
|
-
* @memberof Record
|
|
3876
|
+
* Returns Divisions
|
|
3877
|
+
* Retrieves Divisions
|
|
2997
3878
|
*/
|
|
2998
|
-
|
|
3879
|
+
getDivisionsRaw(requestParameters: GetDivisionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Divisions>>;
|
|
2999
3880
|
/**
|
|
3000
|
-
*
|
|
3001
|
-
*
|
|
3002
|
-
* @memberof Record
|
|
3881
|
+
* Returns Divisions
|
|
3882
|
+
* Retrieves Divisions
|
|
3003
3883
|
*/
|
|
3004
|
-
|
|
3884
|
+
getDivisions(requestParameters: GetDivisionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Divisions>;
|
|
3005
3885
|
/**
|
|
3006
|
-
*
|
|
3007
|
-
* @type {string}
|
|
3008
|
-
* @memberof Record
|
|
3886
|
+
* Creates request options for getLeagues without sending the request
|
|
3009
3887
|
*/
|
|
3010
|
-
|
|
3888
|
+
getLeaguesRequestOpts(requestParameters: GetLeaguesRequest): Promise<runtime.RequestOpts>;
|
|
3011
3889
|
/**
|
|
3012
|
-
*
|
|
3013
|
-
*
|
|
3014
|
-
* @memberof Record
|
|
3890
|
+
* Returns Leagues
|
|
3891
|
+
* Retrieves Leagues
|
|
3015
3892
|
*/
|
|
3016
|
-
|
|
3893
|
+
getLeaguesRaw(requestParameters: GetLeaguesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Leagues>>;
|
|
3017
3894
|
/**
|
|
3018
|
-
*
|
|
3019
|
-
*
|
|
3020
|
-
* @memberof Record
|
|
3895
|
+
* Returns Leagues
|
|
3896
|
+
* Retrieves Leagues
|
|
3021
3897
|
*/
|
|
3022
|
-
|
|
3898
|
+
getLeagues(requestParameters: GetLeaguesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Leagues>;
|
|
3023
3899
|
/**
|
|
3024
|
-
*
|
|
3025
|
-
* @type {string}
|
|
3026
|
-
* @memberof Record
|
|
3900
|
+
* Creates request options for getSeason without sending the request
|
|
3027
3901
|
*/
|
|
3028
|
-
|
|
3902
|
+
getSeasonRequestOpts(requestParameters: GetSeasonRequest): Promise<runtime.RequestOpts>;
|
|
3029
3903
|
/**
|
|
3030
|
-
*
|
|
3031
|
-
*
|
|
3032
|
-
* @memberof Record
|
|
3904
|
+
* Returns Season
|
|
3905
|
+
* Retrieves season
|
|
3033
3906
|
*/
|
|
3034
|
-
|
|
3907
|
+
getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Seasons>>;
|
|
3035
3908
|
/**
|
|
3036
|
-
*
|
|
3037
|
-
*
|
|
3038
|
-
* @memberof Record
|
|
3909
|
+
* Returns Season
|
|
3910
|
+
* Retrieves season
|
|
3039
3911
|
*/
|
|
3040
|
-
|
|
3912
|
+
getSeason(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Seasons>;
|
|
3041
3913
|
/**
|
|
3042
|
-
*
|
|
3043
|
-
* @type {number}
|
|
3044
|
-
* @memberof Record
|
|
3914
|
+
* Creates request options for getTeams without sending the request
|
|
3045
3915
|
*/
|
|
3046
|
-
|
|
3916
|
+
getTeamsRequestOpts(requestParameters: GetTeamsRequest): Promise<runtime.RequestOpts>;
|
|
3047
3917
|
/**
|
|
3048
|
-
*
|
|
3049
|
-
*
|
|
3050
|
-
* @memberof Record
|
|
3918
|
+
* 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).
|
|
3919
|
+
* Retrieves Teams
|
|
3051
3920
|
*/
|
|
3052
|
-
|
|
3921
|
+
getTeamsRaw(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Teams>>;
|
|
3053
3922
|
/**
|
|
3054
|
-
*
|
|
3055
|
-
*
|
|
3056
|
-
* @memberof Record
|
|
3923
|
+
* 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).
|
|
3924
|
+
* Retrieves Teams
|
|
3057
3925
|
*/
|
|
3058
|
-
|
|
3926
|
+
getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Teams>;
|
|
3059
3927
|
}
|
|
3060
|
-
export { Record_2 as Record }
|
|
3061
|
-
|
|
3062
|
-
export declare function RecordFromJSON(json: any): Record_2;
|
|
3063
|
-
|
|
3064
|
-
export declare function RecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): Record_2;
|
|
3065
|
-
|
|
3066
|
-
export declare function RecordToJSON(json: any): Record_2;
|
|
3067
|
-
|
|
3068
|
-
export declare function RecordToJSONTyped(value?: Record_2 | null, ignoreDiscriminator?: boolean): any;
|
|
3069
3928
|
|
|
3070
3929
|
export declare interface RequestContext {
|
|
3071
3930
|
fetch: FetchAPI;
|
|
@@ -3183,6 +4042,26 @@ export declare interface Schedule {
|
|
|
3183
4042
|
dates: Array<ScheduleDay>;
|
|
3184
4043
|
}
|
|
3185
4044
|
|
|
4045
|
+
/**
|
|
4046
|
+
*
|
|
4047
|
+
*/
|
|
4048
|
+
export declare class ScheduleApi extends runtime.BaseAPI {
|
|
4049
|
+
/**
|
|
4050
|
+
* Creates request options for getSchedule without sending the request
|
|
4051
|
+
*/
|
|
4052
|
+
getScheduleRequestOpts(requestParameters: GetScheduleRequest): Promise<runtime.RequestOpts>;
|
|
4053
|
+
/**
|
|
4054
|
+
* Returns Schedule
|
|
4055
|
+
* Retrieves schedule
|
|
4056
|
+
*/
|
|
4057
|
+
getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Schedule>>;
|
|
4058
|
+
/**
|
|
4059
|
+
* Returns Schedule
|
|
4060
|
+
* Retrieves schedule
|
|
4061
|
+
*/
|
|
4062
|
+
getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Schedule>;
|
|
4063
|
+
}
|
|
4064
|
+
|
|
3186
4065
|
/**
|
|
3187
4066
|
*
|
|
3188
4067
|
* @export
|
|
@@ -3194,7 +4073,7 @@ export declare interface ScheduleDay {
|
|
|
3194
4073
|
* @type {string}
|
|
3195
4074
|
* @memberof ScheduleDay
|
|
3196
4075
|
*/
|
|
3197
|
-
date
|
|
4076
|
+
date: string;
|
|
3198
4077
|
/**
|
|
3199
4078
|
*
|
|
3200
4079
|
* @type {number}
|
|
@@ -3245,9 +4124,9 @@ export declare function ScheduleToJSONTyped(value?: Schedule | null, ignoreDiscr
|
|
|
3245
4124
|
|
|
3246
4125
|
/**
|
|
3247
4126
|
* MLB StatAPI
|
|
3248
|
-
*
|
|
4127
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3249
4128
|
*
|
|
3250
|
-
* The version of the OpenAPI document: 0.
|
|
4129
|
+
* The version of the OpenAPI document: 0.7.5
|
|
3251
4130
|
*
|
|
3252
4131
|
*
|
|
3253
4132
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3322,11 +4201,11 @@ export declare interface Season {
|
|
|
3322
4201
|
*/
|
|
3323
4202
|
lastDate1stHalf?: string;
|
|
3324
4203
|
/**
|
|
3325
|
-
*
|
|
4204
|
+
* All-Star Game date
|
|
3326
4205
|
* @type {string}
|
|
3327
4206
|
* @memberof Season
|
|
3328
4207
|
*/
|
|
3329
|
-
|
|
4208
|
+
allStarDate?: string;
|
|
3330
4209
|
/**
|
|
3331
4210
|
*
|
|
3332
4211
|
* @type {string}
|
|
@@ -3352,13 +4231,13 @@ export declare interface Season {
|
|
|
3352
4231
|
*/
|
|
3353
4232
|
postSeasonEndDate?: string;
|
|
3354
4233
|
/**
|
|
3355
|
-
*
|
|
4234
|
+
* Alternative spelling returned by API (offseason, one word, lowercase)
|
|
3356
4235
|
* @type {string}
|
|
3357
4236
|
* @memberof Season
|
|
3358
4237
|
*/
|
|
3359
|
-
|
|
4238
|
+
offseasonStartDate?: string;
|
|
3360
4239
|
/**
|
|
3361
|
-
*
|
|
4240
|
+
* Alternative spelling returned by API (offSeason, one word, camelCase)
|
|
3362
4241
|
* @type {string}
|
|
3363
4242
|
* @memberof Season
|
|
3364
4243
|
*/
|
|
@@ -3421,9 +4300,9 @@ export declare function SeasonToJSONTyped(value?: Season | null, ignoreDiscrimin
|
|
|
3421
4300
|
|
|
3422
4301
|
/**
|
|
3423
4302
|
* MLB StatAPI
|
|
3424
|
-
*
|
|
4303
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3425
4304
|
*
|
|
3426
|
-
* The version of the OpenAPI document: 0.
|
|
4305
|
+
* The version of the OpenAPI document: 0.7.5
|
|
3427
4306
|
*
|
|
3428
4307
|
*
|
|
3429
4308
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3489,11 +4368,31 @@ export declare function SportToJSON(json: any): Sport;
|
|
|
3489
4368
|
|
|
3490
4369
|
export declare function SportToJSONTyped(value?: Sport | null, ignoreDiscriminator?: boolean): any;
|
|
3491
4370
|
|
|
4371
|
+
/**
|
|
4372
|
+
*
|
|
4373
|
+
*/
|
|
4374
|
+
export declare class StandingsApi extends runtime.BaseAPI {
|
|
4375
|
+
/**
|
|
4376
|
+
* Creates request options for getStandings without sending the request
|
|
4377
|
+
*/
|
|
4378
|
+
getStandingsRequestOpts(requestParameters: GetStandingsRequest): Promise<runtime.RequestOpts>;
|
|
4379
|
+
/**
|
|
4380
|
+
* Returns Standing
|
|
4381
|
+
* Retrieves Standings
|
|
4382
|
+
*/
|
|
4383
|
+
getStandingsRaw(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DivisionStandingsList>>;
|
|
4384
|
+
/**
|
|
4385
|
+
* Returns Standing
|
|
4386
|
+
* Retrieves Standings
|
|
4387
|
+
*/
|
|
4388
|
+
getStandings(requestParameters: GetStandingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DivisionStandingsList>;
|
|
4389
|
+
}
|
|
4390
|
+
|
|
3492
4391
|
/**
|
|
3493
4392
|
* MLB StatAPI
|
|
3494
|
-
*
|
|
4393
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3495
4394
|
*
|
|
3496
|
-
* The version of the OpenAPI document: 0.
|
|
4395
|
+
* The version of the OpenAPI document: 0.7.5
|
|
3497
4396
|
*
|
|
3498
4397
|
*
|
|
3499
4398
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3511,7 +4410,7 @@ export declare interface Streak {
|
|
|
3511
4410
|
* * Losing Streak
|
|
3512
4411
|
* * Winning Streak
|
|
3513
4412
|
*
|
|
3514
|
-
* @type {
|
|
4413
|
+
* @type {StreakStreakTypeEnum}
|
|
3515
4414
|
* @memberof Streak
|
|
3516
4415
|
*/
|
|
3517
4416
|
streakType?: StreakStreakTypeEnum;
|
|
@@ -3645,10 +4544,10 @@ export declare interface Team {
|
|
|
3645
4544
|
sport?: Sport;
|
|
3646
4545
|
/**
|
|
3647
4546
|
*
|
|
3648
|
-
* @type {
|
|
4547
|
+
* @type {ModelRecord}
|
|
3649
4548
|
* @memberof Team
|
|
3650
4549
|
*/
|
|
3651
|
-
record?:
|
|
4550
|
+
record?: ModelRecord;
|
|
3652
4551
|
/**
|
|
3653
4552
|
*
|
|
3654
4553
|
* @type {string}
|
|
@@ -3747,9 +4646,9 @@ export declare class TextApiResponse {
|
|
|
3747
4646
|
|
|
3748
4647
|
/**
|
|
3749
4648
|
* MLB StatAPI
|
|
3750
|
-
*
|
|
4649
|
+
* OpenAPI spec for the MLB Stats API (upstream API is undocumented).
|
|
3751
4650
|
*
|
|
3752
|
-
* The version of the OpenAPI document: 0.
|
|
4651
|
+
* The version of the OpenAPI document: 0.7.5
|
|
3753
4652
|
*
|
|
3754
4653
|
*
|
|
3755
4654
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3757,7 +4656,7 @@ export declare class TextApiResponse {
|
|
|
3757
4656
|
* Do not edit the class manually.
|
|
3758
4657
|
*/
|
|
3759
4658
|
/**
|
|
3760
|
-
* Venue
|
|
4659
|
+
* Venue. When embedded as springVenue, may contain only id and link.
|
|
3761
4660
|
*
|
|
3762
4661
|
* @export
|
|
3763
4662
|
* @interface Venue
|
|
@@ -3774,7 +4673,7 @@ export declare interface Venue {
|
|
|
3774
4673
|
* @type {string}
|
|
3775
4674
|
* @memberof Venue
|
|
3776
4675
|
*/
|
|
3777
|
-
name
|
|
4676
|
+
name?: string;
|
|
3778
4677
|
/**
|
|
3779
4678
|
*
|
|
3780
4679
|
* @type {string}
|