@bp1222/stats-api 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +44 -1
- package/dist/index.d.ts +44 -1
- package/dist/index.js +157 -0
- package/dist/index.mjs +145 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -454,6 +454,44 @@ declare function GameFromJSON(json: any): Game;
|
|
|
454
454
|
declare function GameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Game;
|
|
455
455
|
declare function GameToJSON(value?: Game | null): any;
|
|
456
456
|
|
|
457
|
+
interface InningTeam {
|
|
458
|
+
hits?: number;
|
|
459
|
+
errors?: number;
|
|
460
|
+
leftOnBase?: number;
|
|
461
|
+
}
|
|
462
|
+
declare function instanceOfInningTeam(value: object): value is InningTeam;
|
|
463
|
+
declare function InningTeamFromJSON(json: any): InningTeam;
|
|
464
|
+
declare function InningTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): InningTeam;
|
|
465
|
+
declare function InningTeamToJSON(value?: InningTeam | null): any;
|
|
466
|
+
|
|
467
|
+
interface Inning {
|
|
468
|
+
num?: number;
|
|
469
|
+
ordinalNum?: string;
|
|
470
|
+
home?: InningTeam;
|
|
471
|
+
away?: InningTeam;
|
|
472
|
+
}
|
|
473
|
+
declare function instanceOfInning(value: object): value is Inning;
|
|
474
|
+
declare function InningFromJSON(json: any): Inning;
|
|
475
|
+
declare function InningFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inning;
|
|
476
|
+
declare function InningToJSON(value?: Inning | null): any;
|
|
477
|
+
|
|
478
|
+
interface Linescore {
|
|
479
|
+
currentInning?: number;
|
|
480
|
+
currentInningOrdinal?: string;
|
|
481
|
+
inningState?: string;
|
|
482
|
+
inningHalf?: string;
|
|
483
|
+
isTopInning?: boolean;
|
|
484
|
+
scheduledInnings?: number;
|
|
485
|
+
innings?: Array<Inning>;
|
|
486
|
+
balls?: number;
|
|
487
|
+
strikes?: number;
|
|
488
|
+
outs?: number;
|
|
489
|
+
}
|
|
490
|
+
declare function instanceOfLinescore(value: object): value is Linescore;
|
|
491
|
+
declare function LinescoreFromJSON(json: any): Linescore;
|
|
492
|
+
declare function LinescoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Linescore;
|
|
493
|
+
declare function LinescoreToJSON(value?: Linescore | null): any;
|
|
494
|
+
|
|
457
495
|
interface ScheduleDay {
|
|
458
496
|
date?: string;
|
|
459
497
|
totalItems?: number;
|
|
@@ -526,6 +564,9 @@ declare function TeamsToJSON(value?: Teams | null): any;
|
|
|
526
564
|
interface GetAllSeasonsRequest {
|
|
527
565
|
sportId: number;
|
|
528
566
|
}
|
|
567
|
+
interface GetLinescoreRequest {
|
|
568
|
+
gamePk: number;
|
|
569
|
+
}
|
|
529
570
|
interface GetScheduleRequest {
|
|
530
571
|
sportId: number;
|
|
531
572
|
teamId?: number;
|
|
@@ -554,6 +595,8 @@ interface GetTeamsRequest {
|
|
|
554
595
|
declare class MlbApi extends BaseAPI {
|
|
555
596
|
getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Seasons>>;
|
|
556
597
|
getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Seasons>;
|
|
598
|
+
getLinescoreRaw(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Linescore>>;
|
|
599
|
+
getLinescore(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Linescore>;
|
|
557
600
|
getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Schedule>>;
|
|
558
601
|
getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Schedule>;
|
|
559
602
|
getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Seasons>>;
|
|
@@ -564,4 +607,4 @@ declare class MlbApi extends BaseAPI {
|
|
|
564
607
|
getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Teams>;
|
|
565
608
|
}
|
|
566
609
|
|
|
567
|
-
export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsToJSON, DivisionToJSON, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameToJSON, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, type GetAllSeasonsRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueToJSON, type Middleware, MlbApi, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, type Team, TeamFromJSON, TeamFromJSONTyped, type TeamRecord, TeamRecordFromJSON, TeamRecordFromJSONTyped, TeamRecordToJSON, TeamToJSON, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VoidApiResponse, canConsumeForm, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeamRecord, instanceOfTeams, instanceOfVenue, mapValues, querystring };
|
|
610
|
+
export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsToJSON, DivisionToJSON, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameToJSON, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, type GetAllSeasonsRequest, type GetLinescoreRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type Inning, InningFromJSON, InningFromJSONTyped, type InningTeam, InningTeamFromJSON, InningTeamFromJSONTyped, InningTeamToJSON, InningToJSON, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueToJSON, type Linescore, LinescoreFromJSON, LinescoreFromJSONTyped, LinescoreToJSON, type Middleware, MlbApi, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, type Team, TeamFromJSON, TeamFromJSONTyped, type TeamRecord, TeamRecordFromJSON, TeamRecordFromJSONTyped, TeamRecordToJSON, TeamToJSON, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VoidApiResponse, canConsumeForm, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfInning, instanceOfInningTeam, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfLinescore, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeamRecord, instanceOfTeams, instanceOfVenue, mapValues, querystring };
|
package/dist/index.d.ts
CHANGED
|
@@ -454,6 +454,44 @@ declare function GameFromJSON(json: any): Game;
|
|
|
454
454
|
declare function GameFromJSONTyped(json: any, ignoreDiscriminator: boolean): Game;
|
|
455
455
|
declare function GameToJSON(value?: Game | null): any;
|
|
456
456
|
|
|
457
|
+
interface InningTeam {
|
|
458
|
+
hits?: number;
|
|
459
|
+
errors?: number;
|
|
460
|
+
leftOnBase?: number;
|
|
461
|
+
}
|
|
462
|
+
declare function instanceOfInningTeam(value: object): value is InningTeam;
|
|
463
|
+
declare function InningTeamFromJSON(json: any): InningTeam;
|
|
464
|
+
declare function InningTeamFromJSONTyped(json: any, ignoreDiscriminator: boolean): InningTeam;
|
|
465
|
+
declare function InningTeamToJSON(value?: InningTeam | null): any;
|
|
466
|
+
|
|
467
|
+
interface Inning {
|
|
468
|
+
num?: number;
|
|
469
|
+
ordinalNum?: string;
|
|
470
|
+
home?: InningTeam;
|
|
471
|
+
away?: InningTeam;
|
|
472
|
+
}
|
|
473
|
+
declare function instanceOfInning(value: object): value is Inning;
|
|
474
|
+
declare function InningFromJSON(json: any): Inning;
|
|
475
|
+
declare function InningFromJSONTyped(json: any, ignoreDiscriminator: boolean): Inning;
|
|
476
|
+
declare function InningToJSON(value?: Inning | null): any;
|
|
477
|
+
|
|
478
|
+
interface Linescore {
|
|
479
|
+
currentInning?: number;
|
|
480
|
+
currentInningOrdinal?: string;
|
|
481
|
+
inningState?: string;
|
|
482
|
+
inningHalf?: string;
|
|
483
|
+
isTopInning?: boolean;
|
|
484
|
+
scheduledInnings?: number;
|
|
485
|
+
innings?: Array<Inning>;
|
|
486
|
+
balls?: number;
|
|
487
|
+
strikes?: number;
|
|
488
|
+
outs?: number;
|
|
489
|
+
}
|
|
490
|
+
declare function instanceOfLinescore(value: object): value is Linescore;
|
|
491
|
+
declare function LinescoreFromJSON(json: any): Linescore;
|
|
492
|
+
declare function LinescoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): Linescore;
|
|
493
|
+
declare function LinescoreToJSON(value?: Linescore | null): any;
|
|
494
|
+
|
|
457
495
|
interface ScheduleDay {
|
|
458
496
|
date?: string;
|
|
459
497
|
totalItems?: number;
|
|
@@ -526,6 +564,9 @@ declare function TeamsToJSON(value?: Teams | null): any;
|
|
|
526
564
|
interface GetAllSeasonsRequest {
|
|
527
565
|
sportId: number;
|
|
528
566
|
}
|
|
567
|
+
interface GetLinescoreRequest {
|
|
568
|
+
gamePk: number;
|
|
569
|
+
}
|
|
529
570
|
interface GetScheduleRequest {
|
|
530
571
|
sportId: number;
|
|
531
572
|
teamId?: number;
|
|
@@ -554,6 +595,8 @@ interface GetTeamsRequest {
|
|
|
554
595
|
declare class MlbApi extends BaseAPI {
|
|
555
596
|
getAllSeasonsRaw(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Seasons>>;
|
|
556
597
|
getAllSeasons(requestParameters: GetAllSeasonsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Seasons>;
|
|
598
|
+
getLinescoreRaw(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Linescore>>;
|
|
599
|
+
getLinescore(requestParameters: GetLinescoreRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Linescore>;
|
|
557
600
|
getScheduleRaw(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Schedule>>;
|
|
558
601
|
getSchedule(requestParameters: GetScheduleRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Schedule>;
|
|
559
602
|
getSeasonRaw(requestParameters: GetSeasonRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<Seasons>>;
|
|
@@ -564,4 +607,4 @@ declare class MlbApi extends BaseAPI {
|
|
|
564
607
|
getTeams(requestParameters: GetTeamsRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<Teams>;
|
|
565
608
|
}
|
|
566
609
|
|
|
567
|
-
export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsToJSON, DivisionToJSON, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameToJSON, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, type GetAllSeasonsRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueToJSON, type Middleware, MlbApi, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, type Team, TeamFromJSON, TeamFromJSONTyped, type TeamRecord, TeamRecordFromJSON, TeamRecordFromJSONTyped, TeamRecordToJSON, TeamToJSON, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VoidApiResponse, canConsumeForm, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeamRecord, instanceOfTeams, instanceOfVenue, mapValues, querystring };
|
|
610
|
+
export { type ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, type ConfigurationParameters, type Consume, DefaultConfig, type Division, DivisionFromJSON, DivisionFromJSONTyped, type DivisionStandings, DivisionStandingsFromJSON, DivisionStandingsFromJSONTyped, type DivisionStandingsList, DivisionStandingsListFromJSON, DivisionStandingsListFromJSONTyped, DivisionStandingsListToJSON, DivisionStandingsToJSON, DivisionToJSON, type ErrorContext, type FetchAPI, FetchError, type FetchParams, type Game, GameFromJSON, GameFromJSONTyped, type GameStatus, GameStatusCode, GameStatusCodeFromJSON, GameStatusCodeFromJSONTyped, GameStatusCodeToJSON, GameStatusFromJSON, GameStatusFromJSONTyped, GameStatusToJSON, type GameTeam, GameTeamFromJSON, GameTeamFromJSONTyped, GameTeamToJSON, type GameTeams, GameTeamsFromJSON, GameTeamsFromJSONTyped, GameTeamsToJSON, GameToJSON, GameType, GameTypeFromJSON, GameTypeFromJSONTyped, GameTypeToJSON, type GetAllSeasonsRequest, type GetLinescoreRequest, type GetScheduleRequest, type GetSeasonRequest, type GetStandingsRequest, type GetTeamsRequest, type HTTPBody, type HTTPHeaders, type HTTPMethod, type HTTPQuery, type HTTPRequestInit, type InitOverrideFunction, type Inning, InningFromJSON, InningFromJSONTyped, type InningTeam, InningTeamFromJSON, InningTeamFromJSONTyped, InningTeamToJSON, InningToJSON, JSONApiResponse, type Json, type League, type LeagueDates, LeagueDatesFromJSON, LeagueDatesFromJSONTyped, LeagueDatesToJSON, LeagueFromJSON, LeagueFromJSONTyped, type LeagueRecord, LeagueRecordFromJSON, LeagueRecordFromJSONTyped, LeagueRecordToJSON, LeagueToJSON, type Linescore, LinescoreFromJSON, LinescoreFromJSONTyped, LinescoreToJSON, type Middleware, MlbApi, type ModelPropertyNaming, type RequestContext, type RequestOpts, RequiredError, type ResponseContext, ResponseError, type ResponseTransformer, type Schedule, type ScheduleDay, ScheduleDayFromJSON, ScheduleDayFromJSONTyped, ScheduleDayToJSON, ScheduleFromJSON, ScheduleFromJSONTyped, ScheduleToJSON, type Season, SeasonFromJSON, SeasonFromJSONTyped, SeasonToJSON, type Seasons, SeasonsFromJSON, SeasonsFromJSONTyped, SeasonsToJSON, type Sport, SportFromJSON, SportFromJSONTyped, SportToJSON, type Streak, StreakFromJSON, StreakFromJSONTyped, StreakStreakTypeEnum, StreakToJSON, type Team, TeamFromJSON, TeamFromJSONTyped, type TeamRecord, TeamRecordFromJSON, TeamRecordFromJSONTyped, TeamRecordToJSON, TeamToJSON, type Teams, TeamsFromJSON, TeamsFromJSONTyped, TeamsToJSON, TextApiResponse, type Venue, VenueFromJSON, VenueFromJSONTyped, VenueToJSON, VoidApiResponse, canConsumeForm, instanceOfDivision, instanceOfDivisionStandings, instanceOfDivisionStandingsList, instanceOfGame, instanceOfGameStatus, instanceOfGameStatusCode, instanceOfGameTeam, instanceOfGameTeams, instanceOfGameType, instanceOfInning, instanceOfInningTeam, instanceOfLeague, instanceOfLeagueDates, instanceOfLeagueRecord, instanceOfLinescore, instanceOfSchedule, instanceOfScheduleDay, instanceOfSeason, instanceOfSeasons, instanceOfSport, instanceOfStreak, instanceOfTeam, instanceOfTeamRecord, instanceOfTeams, instanceOfVenue, mapValues, querystring };
|
package/dist/index.js
CHANGED
|
@@ -93,6 +93,12 @@ __export(src_exports, {
|
|
|
93
93
|
GameTypeFromJSON: () => GameTypeFromJSON,
|
|
94
94
|
GameTypeFromJSONTyped: () => GameTypeFromJSONTyped,
|
|
95
95
|
GameTypeToJSON: () => GameTypeToJSON,
|
|
96
|
+
InningFromJSON: () => InningFromJSON,
|
|
97
|
+
InningFromJSONTyped: () => InningFromJSONTyped,
|
|
98
|
+
InningTeamFromJSON: () => InningTeamFromJSON,
|
|
99
|
+
InningTeamFromJSONTyped: () => InningTeamFromJSONTyped,
|
|
100
|
+
InningTeamToJSON: () => InningTeamToJSON,
|
|
101
|
+
InningToJSON: () => InningToJSON,
|
|
96
102
|
JSONApiResponse: () => JSONApiResponse,
|
|
97
103
|
LeagueDatesFromJSON: () => LeagueDatesFromJSON,
|
|
98
104
|
LeagueDatesFromJSONTyped: () => LeagueDatesFromJSONTyped,
|
|
@@ -103,6 +109,9 @@ __export(src_exports, {
|
|
|
103
109
|
LeagueRecordFromJSONTyped: () => LeagueRecordFromJSONTyped,
|
|
104
110
|
LeagueRecordToJSON: () => LeagueRecordToJSON,
|
|
105
111
|
LeagueToJSON: () => LeagueToJSON,
|
|
112
|
+
LinescoreFromJSON: () => LinescoreFromJSON,
|
|
113
|
+
LinescoreFromJSONTyped: () => LinescoreFromJSONTyped,
|
|
114
|
+
LinescoreToJSON: () => LinescoreToJSON,
|
|
106
115
|
MlbApi: () => MlbApi,
|
|
107
116
|
RequiredError: () => RequiredError,
|
|
108
117
|
ResponseError: () => ResponseError,
|
|
@@ -149,9 +158,12 @@ __export(src_exports, {
|
|
|
149
158
|
instanceOfGameTeam: () => instanceOfGameTeam,
|
|
150
159
|
instanceOfGameTeams: () => instanceOfGameTeams,
|
|
151
160
|
instanceOfGameType: () => instanceOfGameType,
|
|
161
|
+
instanceOfInning: () => instanceOfInning,
|
|
162
|
+
instanceOfInningTeam: () => instanceOfInningTeam,
|
|
152
163
|
instanceOfLeague: () => instanceOfLeague,
|
|
153
164
|
instanceOfLeagueDates: () => instanceOfLeagueDates,
|
|
154
165
|
instanceOfLeagueRecord: () => instanceOfLeagueRecord,
|
|
166
|
+
instanceOfLinescore: () => instanceOfLinescore,
|
|
155
167
|
instanceOfSchedule: () => instanceOfSchedule,
|
|
156
168
|
instanceOfScheduleDay: () => instanceOfScheduleDay,
|
|
157
169
|
instanceOfSeason: () => instanceOfSeason,
|
|
@@ -1223,6 +1235,106 @@ function GameToJSON(value) {
|
|
|
1223
1235
|
};
|
|
1224
1236
|
}
|
|
1225
1237
|
|
|
1238
|
+
// src/models/InningTeam.ts
|
|
1239
|
+
function instanceOfInningTeam(value) {
|
|
1240
|
+
return true;
|
|
1241
|
+
}
|
|
1242
|
+
function InningTeamFromJSON(json) {
|
|
1243
|
+
return InningTeamFromJSONTyped(json, false);
|
|
1244
|
+
}
|
|
1245
|
+
function InningTeamFromJSONTyped(json, ignoreDiscriminator) {
|
|
1246
|
+
if (json == null) {
|
|
1247
|
+
return json;
|
|
1248
|
+
}
|
|
1249
|
+
return {
|
|
1250
|
+
"hits": json["hits"] == null ? void 0 : json["hits"],
|
|
1251
|
+
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
1252
|
+
"leftOnBase": json["leftOnBase"] == null ? void 0 : json["leftOnBase"]
|
|
1253
|
+
};
|
|
1254
|
+
}
|
|
1255
|
+
function InningTeamToJSON(value) {
|
|
1256
|
+
if (value == null) {
|
|
1257
|
+
return value;
|
|
1258
|
+
}
|
|
1259
|
+
return {
|
|
1260
|
+
"hits": value["hits"],
|
|
1261
|
+
"errors": value["errors"],
|
|
1262
|
+
"leftOnBase": value["leftOnBase"]
|
|
1263
|
+
};
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
// src/models/Inning.ts
|
|
1267
|
+
function instanceOfInning(value) {
|
|
1268
|
+
return true;
|
|
1269
|
+
}
|
|
1270
|
+
function InningFromJSON(json) {
|
|
1271
|
+
return InningFromJSONTyped(json, false);
|
|
1272
|
+
}
|
|
1273
|
+
function InningFromJSONTyped(json, ignoreDiscriminator) {
|
|
1274
|
+
if (json == null) {
|
|
1275
|
+
return json;
|
|
1276
|
+
}
|
|
1277
|
+
return {
|
|
1278
|
+
"num": json["num"] == null ? void 0 : json["num"],
|
|
1279
|
+
"ordinalNum": json["ordinalNum"] == null ? void 0 : json["ordinalNum"],
|
|
1280
|
+
"home": json["home"] == null ? void 0 : InningTeamFromJSON(json["home"]),
|
|
1281
|
+
"away": json["away"] == null ? void 0 : InningTeamFromJSON(json["away"])
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
function InningToJSON(value) {
|
|
1285
|
+
if (value == null) {
|
|
1286
|
+
return value;
|
|
1287
|
+
}
|
|
1288
|
+
return {
|
|
1289
|
+
"num": value["num"],
|
|
1290
|
+
"ordinalNum": value["ordinalNum"],
|
|
1291
|
+
"home": InningTeamToJSON(value["home"]),
|
|
1292
|
+
"away": InningTeamToJSON(value["away"])
|
|
1293
|
+
};
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
// src/models/Linescore.ts
|
|
1297
|
+
function instanceOfLinescore(value) {
|
|
1298
|
+
return true;
|
|
1299
|
+
}
|
|
1300
|
+
function LinescoreFromJSON(json) {
|
|
1301
|
+
return LinescoreFromJSONTyped(json, false);
|
|
1302
|
+
}
|
|
1303
|
+
function LinescoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
1304
|
+
if (json == null) {
|
|
1305
|
+
return json;
|
|
1306
|
+
}
|
|
1307
|
+
return {
|
|
1308
|
+
"currentInning": json["currentInning"] == null ? void 0 : json["currentInning"],
|
|
1309
|
+
"currentInningOrdinal": json["currentInningOrdinal"] == null ? void 0 : json["currentInningOrdinal"],
|
|
1310
|
+
"inningState": json["inningState"] == null ? void 0 : json["inningState"],
|
|
1311
|
+
"inningHalf": json["inningHalf"] == null ? void 0 : json["inningHalf"],
|
|
1312
|
+
"isTopInning": json["isTopInning"] == null ? void 0 : json["isTopInning"],
|
|
1313
|
+
"scheduledInnings": json["scheduledInnings"] == null ? void 0 : json["scheduledInnings"],
|
|
1314
|
+
"innings": json["innings"] == null ? void 0 : json["innings"].map(InningFromJSON),
|
|
1315
|
+
"balls": json["balls"] == null ? void 0 : json["balls"],
|
|
1316
|
+
"strikes": json["strikes"] == null ? void 0 : json["strikes"],
|
|
1317
|
+
"outs": json["outs"] == null ? void 0 : json["outs"]
|
|
1318
|
+
};
|
|
1319
|
+
}
|
|
1320
|
+
function LinescoreToJSON(value) {
|
|
1321
|
+
if (value == null) {
|
|
1322
|
+
return value;
|
|
1323
|
+
}
|
|
1324
|
+
return {
|
|
1325
|
+
"currentInning": value["currentInning"],
|
|
1326
|
+
"currentInningOrdinal": value["currentInningOrdinal"],
|
|
1327
|
+
"inningState": value["inningState"],
|
|
1328
|
+
"inningHalf": value["inningHalf"],
|
|
1329
|
+
"isTopInning": value["isTopInning"],
|
|
1330
|
+
"scheduledInnings": value["scheduledInnings"],
|
|
1331
|
+
"innings": value["innings"] == null ? void 0 : value["innings"].map(InningToJSON),
|
|
1332
|
+
"balls": value["balls"],
|
|
1333
|
+
"strikes": value["strikes"],
|
|
1334
|
+
"outs": value["outs"]
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1226
1338
|
// src/models/ScheduleDay.ts
|
|
1227
1339
|
function instanceOfScheduleDay(value) {
|
|
1228
1340
|
if (!("games" in value) || value["games"] === void 0) return false;
|
|
@@ -1450,6 +1562,39 @@ var MlbApi = class extends BaseAPI {
|
|
|
1450
1562
|
return yield response.value();
|
|
1451
1563
|
});
|
|
1452
1564
|
}
|
|
1565
|
+
/**
|
|
1566
|
+
* Returns Linescore
|
|
1567
|
+
* Retrieves linescore
|
|
1568
|
+
*/
|
|
1569
|
+
getLinescoreRaw(requestParameters, initOverrides) {
|
|
1570
|
+
return __async(this, null, function* () {
|
|
1571
|
+
if (requestParameters["gamePk"] == null) {
|
|
1572
|
+
throw new RequiredError(
|
|
1573
|
+
"gamePk",
|
|
1574
|
+
'Required parameter "gamePk" was null or undefined when calling getLinescore().'
|
|
1575
|
+
);
|
|
1576
|
+
}
|
|
1577
|
+
const queryParameters = {};
|
|
1578
|
+
const headerParameters = {};
|
|
1579
|
+
const response = yield this.request({
|
|
1580
|
+
path: `/v1/game/{gamePk}/linescore`.replace(`{${"gamePk"}}`, encodeURIComponent(String(requestParameters["gamePk"]))),
|
|
1581
|
+
method: "GET",
|
|
1582
|
+
headers: headerParameters,
|
|
1583
|
+
query: queryParameters
|
|
1584
|
+
}, initOverrides);
|
|
1585
|
+
return new JSONApiResponse(response, (jsonValue) => LinescoreFromJSON(jsonValue));
|
|
1586
|
+
});
|
|
1587
|
+
}
|
|
1588
|
+
/**
|
|
1589
|
+
* Returns Linescore
|
|
1590
|
+
* Retrieves linescore
|
|
1591
|
+
*/
|
|
1592
|
+
getLinescore(requestParameters, initOverrides) {
|
|
1593
|
+
return __async(this, null, function* () {
|
|
1594
|
+
const response = yield this.getLinescoreRaw(requestParameters, initOverrides);
|
|
1595
|
+
return yield response.value();
|
|
1596
|
+
});
|
|
1597
|
+
}
|
|
1453
1598
|
/**
|
|
1454
1599
|
* Returns Schedule
|
|
1455
1600
|
* Retrieves schedule
|
|
@@ -1690,6 +1835,12 @@ var MlbApi = class extends BaseAPI {
|
|
|
1690
1835
|
GameTypeFromJSON,
|
|
1691
1836
|
GameTypeFromJSONTyped,
|
|
1692
1837
|
GameTypeToJSON,
|
|
1838
|
+
InningFromJSON,
|
|
1839
|
+
InningFromJSONTyped,
|
|
1840
|
+
InningTeamFromJSON,
|
|
1841
|
+
InningTeamFromJSONTyped,
|
|
1842
|
+
InningTeamToJSON,
|
|
1843
|
+
InningToJSON,
|
|
1693
1844
|
JSONApiResponse,
|
|
1694
1845
|
LeagueDatesFromJSON,
|
|
1695
1846
|
LeagueDatesFromJSONTyped,
|
|
@@ -1700,6 +1851,9 @@ var MlbApi = class extends BaseAPI {
|
|
|
1700
1851
|
LeagueRecordFromJSONTyped,
|
|
1701
1852
|
LeagueRecordToJSON,
|
|
1702
1853
|
LeagueToJSON,
|
|
1854
|
+
LinescoreFromJSON,
|
|
1855
|
+
LinescoreFromJSONTyped,
|
|
1856
|
+
LinescoreToJSON,
|
|
1703
1857
|
MlbApi,
|
|
1704
1858
|
RequiredError,
|
|
1705
1859
|
ResponseError,
|
|
@@ -1746,9 +1900,12 @@ var MlbApi = class extends BaseAPI {
|
|
|
1746
1900
|
instanceOfGameTeam,
|
|
1747
1901
|
instanceOfGameTeams,
|
|
1748
1902
|
instanceOfGameType,
|
|
1903
|
+
instanceOfInning,
|
|
1904
|
+
instanceOfInningTeam,
|
|
1749
1905
|
instanceOfLeague,
|
|
1750
1906
|
instanceOfLeagueDates,
|
|
1751
1907
|
instanceOfLeagueRecord,
|
|
1908
|
+
instanceOfLinescore,
|
|
1752
1909
|
instanceOfSchedule,
|
|
1753
1910
|
instanceOfScheduleDay,
|
|
1754
1911
|
instanceOfSeason,
|
package/dist/index.mjs
CHANGED
|
@@ -1094,6 +1094,106 @@ function GameToJSON(value) {
|
|
|
1094
1094
|
};
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
|
+
// src/models/InningTeam.ts
|
|
1098
|
+
function instanceOfInningTeam(value) {
|
|
1099
|
+
return true;
|
|
1100
|
+
}
|
|
1101
|
+
function InningTeamFromJSON(json) {
|
|
1102
|
+
return InningTeamFromJSONTyped(json, false);
|
|
1103
|
+
}
|
|
1104
|
+
function InningTeamFromJSONTyped(json, ignoreDiscriminator) {
|
|
1105
|
+
if (json == null) {
|
|
1106
|
+
return json;
|
|
1107
|
+
}
|
|
1108
|
+
return {
|
|
1109
|
+
"hits": json["hits"] == null ? void 0 : json["hits"],
|
|
1110
|
+
"errors": json["errors"] == null ? void 0 : json["errors"],
|
|
1111
|
+
"leftOnBase": json["leftOnBase"] == null ? void 0 : json["leftOnBase"]
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
function InningTeamToJSON(value) {
|
|
1115
|
+
if (value == null) {
|
|
1116
|
+
return value;
|
|
1117
|
+
}
|
|
1118
|
+
return {
|
|
1119
|
+
"hits": value["hits"],
|
|
1120
|
+
"errors": value["errors"],
|
|
1121
|
+
"leftOnBase": value["leftOnBase"]
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
// src/models/Inning.ts
|
|
1126
|
+
function instanceOfInning(value) {
|
|
1127
|
+
return true;
|
|
1128
|
+
}
|
|
1129
|
+
function InningFromJSON(json) {
|
|
1130
|
+
return InningFromJSONTyped(json, false);
|
|
1131
|
+
}
|
|
1132
|
+
function InningFromJSONTyped(json, ignoreDiscriminator) {
|
|
1133
|
+
if (json == null) {
|
|
1134
|
+
return json;
|
|
1135
|
+
}
|
|
1136
|
+
return {
|
|
1137
|
+
"num": json["num"] == null ? void 0 : json["num"],
|
|
1138
|
+
"ordinalNum": json["ordinalNum"] == null ? void 0 : json["ordinalNum"],
|
|
1139
|
+
"home": json["home"] == null ? void 0 : InningTeamFromJSON(json["home"]),
|
|
1140
|
+
"away": json["away"] == null ? void 0 : InningTeamFromJSON(json["away"])
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
function InningToJSON(value) {
|
|
1144
|
+
if (value == null) {
|
|
1145
|
+
return value;
|
|
1146
|
+
}
|
|
1147
|
+
return {
|
|
1148
|
+
"num": value["num"],
|
|
1149
|
+
"ordinalNum": value["ordinalNum"],
|
|
1150
|
+
"home": InningTeamToJSON(value["home"]),
|
|
1151
|
+
"away": InningTeamToJSON(value["away"])
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
// src/models/Linescore.ts
|
|
1156
|
+
function instanceOfLinescore(value) {
|
|
1157
|
+
return true;
|
|
1158
|
+
}
|
|
1159
|
+
function LinescoreFromJSON(json) {
|
|
1160
|
+
return LinescoreFromJSONTyped(json, false);
|
|
1161
|
+
}
|
|
1162
|
+
function LinescoreFromJSONTyped(json, ignoreDiscriminator) {
|
|
1163
|
+
if (json == null) {
|
|
1164
|
+
return json;
|
|
1165
|
+
}
|
|
1166
|
+
return {
|
|
1167
|
+
"currentInning": json["currentInning"] == null ? void 0 : json["currentInning"],
|
|
1168
|
+
"currentInningOrdinal": json["currentInningOrdinal"] == null ? void 0 : json["currentInningOrdinal"],
|
|
1169
|
+
"inningState": json["inningState"] == null ? void 0 : json["inningState"],
|
|
1170
|
+
"inningHalf": json["inningHalf"] == null ? void 0 : json["inningHalf"],
|
|
1171
|
+
"isTopInning": json["isTopInning"] == null ? void 0 : json["isTopInning"],
|
|
1172
|
+
"scheduledInnings": json["scheduledInnings"] == null ? void 0 : json["scheduledInnings"],
|
|
1173
|
+
"innings": json["innings"] == null ? void 0 : json["innings"].map(InningFromJSON),
|
|
1174
|
+
"balls": json["balls"] == null ? void 0 : json["balls"],
|
|
1175
|
+
"strikes": json["strikes"] == null ? void 0 : json["strikes"],
|
|
1176
|
+
"outs": json["outs"] == null ? void 0 : json["outs"]
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
function LinescoreToJSON(value) {
|
|
1180
|
+
if (value == null) {
|
|
1181
|
+
return value;
|
|
1182
|
+
}
|
|
1183
|
+
return {
|
|
1184
|
+
"currentInning": value["currentInning"],
|
|
1185
|
+
"currentInningOrdinal": value["currentInningOrdinal"],
|
|
1186
|
+
"inningState": value["inningState"],
|
|
1187
|
+
"inningHalf": value["inningHalf"],
|
|
1188
|
+
"isTopInning": value["isTopInning"],
|
|
1189
|
+
"scheduledInnings": value["scheduledInnings"],
|
|
1190
|
+
"innings": value["innings"] == null ? void 0 : value["innings"].map(InningToJSON),
|
|
1191
|
+
"balls": value["balls"],
|
|
1192
|
+
"strikes": value["strikes"],
|
|
1193
|
+
"outs": value["outs"]
|
|
1194
|
+
};
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1097
1197
|
// src/models/ScheduleDay.ts
|
|
1098
1198
|
function instanceOfScheduleDay(value) {
|
|
1099
1199
|
if (!("games" in value) || value["games"] === void 0) return false;
|
|
@@ -1321,6 +1421,39 @@ var MlbApi = class extends BaseAPI {
|
|
|
1321
1421
|
return yield response.value();
|
|
1322
1422
|
});
|
|
1323
1423
|
}
|
|
1424
|
+
/**
|
|
1425
|
+
* Returns Linescore
|
|
1426
|
+
* Retrieves linescore
|
|
1427
|
+
*/
|
|
1428
|
+
getLinescoreRaw(requestParameters, initOverrides) {
|
|
1429
|
+
return __async(this, null, function* () {
|
|
1430
|
+
if (requestParameters["gamePk"] == null) {
|
|
1431
|
+
throw new RequiredError(
|
|
1432
|
+
"gamePk",
|
|
1433
|
+
'Required parameter "gamePk" was null or undefined when calling getLinescore().'
|
|
1434
|
+
);
|
|
1435
|
+
}
|
|
1436
|
+
const queryParameters = {};
|
|
1437
|
+
const headerParameters = {};
|
|
1438
|
+
const response = yield this.request({
|
|
1439
|
+
path: `/v1/game/{gamePk}/linescore`.replace(`{${"gamePk"}}`, encodeURIComponent(String(requestParameters["gamePk"]))),
|
|
1440
|
+
method: "GET",
|
|
1441
|
+
headers: headerParameters,
|
|
1442
|
+
query: queryParameters
|
|
1443
|
+
}, initOverrides);
|
|
1444
|
+
return new JSONApiResponse(response, (jsonValue) => LinescoreFromJSON(jsonValue));
|
|
1445
|
+
});
|
|
1446
|
+
}
|
|
1447
|
+
/**
|
|
1448
|
+
* Returns Linescore
|
|
1449
|
+
* Retrieves linescore
|
|
1450
|
+
*/
|
|
1451
|
+
getLinescore(requestParameters, initOverrides) {
|
|
1452
|
+
return __async(this, null, function* () {
|
|
1453
|
+
const response = yield this.getLinescoreRaw(requestParameters, initOverrides);
|
|
1454
|
+
return yield response.value();
|
|
1455
|
+
});
|
|
1456
|
+
}
|
|
1324
1457
|
/**
|
|
1325
1458
|
* Returns Schedule
|
|
1326
1459
|
* Retrieves schedule
|
|
@@ -1560,6 +1693,12 @@ export {
|
|
|
1560
1693
|
GameTypeFromJSON,
|
|
1561
1694
|
GameTypeFromJSONTyped,
|
|
1562
1695
|
GameTypeToJSON,
|
|
1696
|
+
InningFromJSON,
|
|
1697
|
+
InningFromJSONTyped,
|
|
1698
|
+
InningTeamFromJSON,
|
|
1699
|
+
InningTeamFromJSONTyped,
|
|
1700
|
+
InningTeamToJSON,
|
|
1701
|
+
InningToJSON,
|
|
1563
1702
|
JSONApiResponse,
|
|
1564
1703
|
LeagueDatesFromJSON,
|
|
1565
1704
|
LeagueDatesFromJSONTyped,
|
|
@@ -1570,6 +1709,9 @@ export {
|
|
|
1570
1709
|
LeagueRecordFromJSONTyped,
|
|
1571
1710
|
LeagueRecordToJSON,
|
|
1572
1711
|
LeagueToJSON,
|
|
1712
|
+
LinescoreFromJSON,
|
|
1713
|
+
LinescoreFromJSONTyped,
|
|
1714
|
+
LinescoreToJSON,
|
|
1573
1715
|
MlbApi,
|
|
1574
1716
|
RequiredError,
|
|
1575
1717
|
ResponseError,
|
|
@@ -1616,9 +1758,12 @@ export {
|
|
|
1616
1758
|
instanceOfGameTeam,
|
|
1617
1759
|
instanceOfGameTeams,
|
|
1618
1760
|
instanceOfGameType,
|
|
1761
|
+
instanceOfInning,
|
|
1762
|
+
instanceOfInningTeam,
|
|
1619
1763
|
instanceOfLeague,
|
|
1620
1764
|
instanceOfLeagueDates,
|
|
1621
1765
|
instanceOfLeagueRecord,
|
|
1766
|
+
instanceOfLinescore,
|
|
1622
1767
|
instanceOfSchedule,
|
|
1623
1768
|
instanceOfScheduleDay,
|
|
1624
1769
|
instanceOfSeason,
|