fitzroy 1.0.2 → 1.1.0
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/cli.js +2630 -673
- package/dist/index.d.ts +1372 -914
- package/dist/index.js +2874 -1056
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ type CompetitionCode = "AFLM" | "AFLW";
|
|
|
35
35
|
/** Round classification. */
|
|
36
36
|
type RoundType = "HomeAndAway" | "Finals";
|
|
37
37
|
/** Supported data sources mirroring the R package's `source` parameter. */
|
|
38
|
-
type DataSource = "afl-api" | "footywire" | "afl-tables";
|
|
38
|
+
type DataSource = "afl-api" | "footywire" | "afl-tables" | "squiggle";
|
|
39
39
|
/** Match status as reported by the AFL API. */
|
|
40
40
|
type MatchStatus = "Upcoming" | "Live" | "Complete" | "Postponed" | "Cancelled";
|
|
41
41
|
/** Goals-behinds-points breakdown for a single quarter. */
|
|
@@ -268,6 +268,97 @@ interface Squad {
|
|
|
268
268
|
readonly players: readonly SquadPlayer[];
|
|
269
269
|
readonly competition: CompetitionCode;
|
|
270
270
|
}
|
|
271
|
+
/** Biographical details for a single player. */
|
|
272
|
+
interface PlayerDetails {
|
|
273
|
+
readonly playerId: string;
|
|
274
|
+
readonly givenName: string;
|
|
275
|
+
readonly surname: string;
|
|
276
|
+
readonly displayName: string;
|
|
277
|
+
readonly team: string;
|
|
278
|
+
readonly jumperNumber: number | null;
|
|
279
|
+
readonly position: string | null;
|
|
280
|
+
readonly dateOfBirth: string | null;
|
|
281
|
+
readonly heightCm: number | null;
|
|
282
|
+
readonly weightKg: number | null;
|
|
283
|
+
readonly gamesPlayed: number | null;
|
|
284
|
+
readonly goals: number | null;
|
|
285
|
+
readonly draftYear: number | null;
|
|
286
|
+
readonly draftPosition: number | null;
|
|
287
|
+
readonly draftType: string | null;
|
|
288
|
+
readonly debutYear: number | null;
|
|
289
|
+
readonly recruitedFrom: string | null;
|
|
290
|
+
readonly source: DataSource;
|
|
291
|
+
readonly competition: CompetitionCode;
|
|
292
|
+
}
|
|
293
|
+
/** Query parameters for fetching player details. */
|
|
294
|
+
interface PlayerDetailsQuery {
|
|
295
|
+
readonly source: DataSource;
|
|
296
|
+
readonly team: string;
|
|
297
|
+
readonly season?: number | undefined;
|
|
298
|
+
readonly current?: boolean | undefined;
|
|
299
|
+
readonly competition?: CompetitionCode | undefined;
|
|
300
|
+
}
|
|
301
|
+
/** Types of awards available. */
|
|
302
|
+
type AwardType = "brownlow" | "all-australian" | "rising-star";
|
|
303
|
+
/** A Brownlow Medal vote tally for a player. */
|
|
304
|
+
interface BrownlowVote {
|
|
305
|
+
readonly type: "brownlow";
|
|
306
|
+
readonly season: number;
|
|
307
|
+
readonly player: string;
|
|
308
|
+
readonly team: string;
|
|
309
|
+
readonly votes: number;
|
|
310
|
+
readonly votes3: number;
|
|
311
|
+
readonly votes2: number;
|
|
312
|
+
readonly votes1: number;
|
|
313
|
+
readonly gamesPolled: number | null;
|
|
314
|
+
}
|
|
315
|
+
/** An All-Australian team selection. */
|
|
316
|
+
interface AllAustralianSelection {
|
|
317
|
+
readonly type: "all-australian";
|
|
318
|
+
readonly season: number;
|
|
319
|
+
readonly position: string;
|
|
320
|
+
readonly player: string;
|
|
321
|
+
readonly team: string;
|
|
322
|
+
}
|
|
323
|
+
/** A Rising Star nomination with stats. */
|
|
324
|
+
interface RisingStarNomination {
|
|
325
|
+
readonly type: "rising-star";
|
|
326
|
+
readonly season: number;
|
|
327
|
+
readonly round: number;
|
|
328
|
+
readonly player: string;
|
|
329
|
+
readonly team: string;
|
|
330
|
+
readonly opponent: string;
|
|
331
|
+
readonly kicks: number | null;
|
|
332
|
+
readonly handballs: number | null;
|
|
333
|
+
readonly disposals: number | null;
|
|
334
|
+
readonly marks: number | null;
|
|
335
|
+
readonly goals: number | null;
|
|
336
|
+
readonly behinds: number | null;
|
|
337
|
+
readonly tackles: number | null;
|
|
338
|
+
}
|
|
339
|
+
/** Discriminated union of award types. */
|
|
340
|
+
type Award = BrownlowVote | AllAustralianSelection | RisingStarNomination;
|
|
341
|
+
/** Query parameters for fetching awards. */
|
|
342
|
+
interface AwardQuery {
|
|
343
|
+
readonly award: AwardType;
|
|
344
|
+
readonly season: number;
|
|
345
|
+
}
|
|
346
|
+
/** AFLCA coaches votes for a player in a single match. */
|
|
347
|
+
interface CoachesVote {
|
|
348
|
+
readonly season: number;
|
|
349
|
+
readonly round: number;
|
|
350
|
+
readonly homeTeam: string;
|
|
351
|
+
readonly awayTeam: string;
|
|
352
|
+
readonly playerName: string;
|
|
353
|
+
readonly votes: number;
|
|
354
|
+
}
|
|
355
|
+
/** Query parameters for fetching coaches votes. */
|
|
356
|
+
interface CoachesVoteQuery {
|
|
357
|
+
readonly season: number;
|
|
358
|
+
readonly round?: number | undefined;
|
|
359
|
+
readonly competition?: CompetitionCode | undefined;
|
|
360
|
+
readonly team?: string | undefined;
|
|
361
|
+
}
|
|
271
362
|
/** Query for data by season and optional round. */
|
|
272
363
|
interface SeasonRoundQuery {
|
|
273
364
|
readonly source: DataSource;
|
|
@@ -314,6 +405,57 @@ interface SquadQuery {
|
|
|
314
405
|
readonly season: number;
|
|
315
406
|
readonly competition?: CompetitionCode | undefined;
|
|
316
407
|
}
|
|
408
|
+
/** Summary type for team statistics. */
|
|
409
|
+
type TeamStatsSummaryType = "totals" | "averages";
|
|
410
|
+
/**
|
|
411
|
+
* Aggregate statistics for a single team in a season.
|
|
412
|
+
*
|
|
413
|
+
* The `stats` record uses flexible string keys because stat columns
|
|
414
|
+
* differ between data sources (FootyWire vs AFL Tables).
|
|
415
|
+
*/
|
|
416
|
+
interface TeamStatsEntry {
|
|
417
|
+
readonly season: number;
|
|
418
|
+
readonly team: string;
|
|
419
|
+
readonly gamesPlayed: number;
|
|
420
|
+
readonly stats: Readonly<Record<string, number>>;
|
|
421
|
+
readonly source: DataSource;
|
|
422
|
+
}
|
|
423
|
+
/** Query parameters for fetching team statistics. */
|
|
424
|
+
interface TeamStatsQuery {
|
|
425
|
+
readonly source: DataSource;
|
|
426
|
+
readonly season: number;
|
|
427
|
+
readonly summaryType?: TeamStatsSummaryType | undefined;
|
|
428
|
+
}
|
|
429
|
+
/**
|
|
430
|
+
* Fetch awards data from FootyWire.
|
|
431
|
+
*
|
|
432
|
+
* @param query - Award type and season.
|
|
433
|
+
* @returns Array of award entries (discriminated union by `type` field).
|
|
434
|
+
*
|
|
435
|
+
* @example
|
|
436
|
+
* ```ts
|
|
437
|
+
* const result = await fetchAwards({ award: "brownlow", season: 2023 });
|
|
438
|
+
* ```
|
|
439
|
+
*/
|
|
440
|
+
declare function fetchAwards(query: AwardQuery): Promise<Result<Award[], Error>>;
|
|
441
|
+
/**
|
|
442
|
+
* Fetch AFLCA coaches votes for a season (and optionally a specific round/team).
|
|
443
|
+
*
|
|
444
|
+
* Scrapes the AFL Coaches Association website for vote data. Available from
|
|
445
|
+
* approximately 2006 onwards for AFLM and 2018 onwards for AFLW.
|
|
446
|
+
*
|
|
447
|
+
* @param query - Season, optional round, competition, and team filter.
|
|
448
|
+
* @returns Array of coaches vote records.
|
|
449
|
+
*
|
|
450
|
+
* @example
|
|
451
|
+
* ```ts
|
|
452
|
+
* const result = await fetchCoachesVotes({ season: 2024, competition: "AFLM" });
|
|
453
|
+
* if (result.success) {
|
|
454
|
+
* console.log(result.data); // CoachesVote[]
|
|
455
|
+
* }
|
|
456
|
+
* ```
|
|
457
|
+
*/
|
|
458
|
+
declare function fetchCoachesVotes(query: CoachesVoteQuery): Promise<Result<CoachesVote[], Error>>;
|
|
317
459
|
/**
|
|
318
460
|
* Fetch fixture (schedule) data for a season.
|
|
319
461
|
*
|
|
@@ -356,6 +498,24 @@ declare function fetchLineup(query: LineupQuery): Promise<Result<Lineup[], Error
|
|
|
356
498
|
*/
|
|
357
499
|
declare function fetchMatchResults(query: SeasonRoundQuery): Promise<Result<MatchResult[], Error>>;
|
|
358
500
|
/**
|
|
501
|
+
* Fetch player biographical details (DOB, height, draft info, etc.).
|
|
502
|
+
*
|
|
503
|
+
* Dispatches to the appropriate data source based on `query.source`.
|
|
504
|
+
*
|
|
505
|
+
* @param query - Team name, source, and optional season/competition filters.
|
|
506
|
+
* @returns Array of player details.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* ```ts
|
|
510
|
+
* const result = await fetchPlayerDetails({
|
|
511
|
+
* source: "afl-api",
|
|
512
|
+
* team: "Carlton",
|
|
513
|
+
* season: 2025,
|
|
514
|
+
* });
|
|
515
|
+
* ```
|
|
516
|
+
*/
|
|
517
|
+
declare function fetchPlayerDetails(query: PlayerDetailsQuery): Promise<Result<PlayerDetails[], Error>>;
|
|
518
|
+
/**
|
|
359
519
|
* Fetch per-player match statistics.
|
|
360
520
|
*
|
|
361
521
|
* @param query - Source, season, optional round/matchId, and competition.
|
|
@@ -370,6 +530,26 @@ declare function fetchMatchResults(query: SeasonRoundQuery): Promise<Result<Matc
|
|
|
370
530
|
*/
|
|
371
531
|
declare function fetchPlayerStats2(query: PlayerStatsQuery): Promise<Result<PlayerStats[], Error>>;
|
|
372
532
|
/**
|
|
533
|
+
* Fetch team-level aggregate statistics for a season.
|
|
534
|
+
*
|
|
535
|
+
* Returns per-team stat totals or averages from FootyWire or AFL Tables.
|
|
536
|
+
* Not available from the AFL API or Squiggle.
|
|
537
|
+
*
|
|
538
|
+
* @param query - Source, season, and optional summary type.
|
|
539
|
+
* @returns Array of team stats entries.
|
|
540
|
+
*
|
|
541
|
+
* @example
|
|
542
|
+
* ```ts
|
|
543
|
+
* const result = await fetchTeamStats({ source: "footywire", season: 2024 });
|
|
544
|
+
* if (result.success) {
|
|
545
|
+
* for (const entry of result.data) {
|
|
546
|
+
* console.log(entry.team, entry.stats);
|
|
547
|
+
* }
|
|
548
|
+
* }
|
|
549
|
+
* ```
|
|
550
|
+
*/
|
|
551
|
+
declare function fetchTeamStats2(query: TeamStatsQuery): Promise<Result<TeamStatsEntry[], Error>>;
|
|
552
|
+
/**
|
|
373
553
|
* Fetch team lists.
|
|
374
554
|
*
|
|
375
555
|
* @param query - Optional competition and team type filters.
|
|
@@ -501,20 +681,109 @@ declare class ValidationError extends Error {
|
|
|
501
681
|
message: string;
|
|
502
682
|
}> | undefined);
|
|
503
683
|
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
684
|
+
import { z } from "zod";
|
|
685
|
+
/** A single game from the Squiggle API. */
|
|
686
|
+
declare const SquiggleGameSchema: z.ZodObject<{
|
|
687
|
+
id: z.ZodNumber;
|
|
688
|
+
year: z.ZodNumber;
|
|
689
|
+
round: z.ZodNumber;
|
|
690
|
+
roundname: z.ZodString;
|
|
691
|
+
hteam: z.ZodString;
|
|
692
|
+
ateam: z.ZodString;
|
|
693
|
+
hteamid: z.ZodNumber;
|
|
694
|
+
ateamid: z.ZodNumber;
|
|
695
|
+
hscore: z.ZodNullable<z.ZodNumber>;
|
|
696
|
+
ascore: z.ZodNullable<z.ZodNumber>;
|
|
697
|
+
hgoals: z.ZodNullable<z.ZodNumber>;
|
|
698
|
+
agoals: z.ZodNullable<z.ZodNumber>;
|
|
699
|
+
hbehinds: z.ZodNullable<z.ZodNumber>;
|
|
700
|
+
abehinds: z.ZodNullable<z.ZodNumber>;
|
|
701
|
+
winner: z.ZodNullable<z.ZodString>;
|
|
702
|
+
winnerteamid: z.ZodNullable<z.ZodNumber>;
|
|
703
|
+
venue: z.ZodString;
|
|
704
|
+
date: z.ZodString;
|
|
705
|
+
localtime: z.ZodString;
|
|
706
|
+
tz: z.ZodString;
|
|
707
|
+
unixtime: z.ZodNumber;
|
|
708
|
+
timestr: z.ZodNullable<z.ZodString>;
|
|
709
|
+
complete: z.ZodNumber;
|
|
710
|
+
is_final: z.ZodNumber;
|
|
711
|
+
is_grand_final: z.ZodNumber;
|
|
712
|
+
updated: z.ZodString;
|
|
713
|
+
}, z.core.$strip>;
|
|
714
|
+
type SquiggleGame = z.infer<typeof SquiggleGameSchema>;
|
|
715
|
+
/** Response wrapper for Squiggle games query. */
|
|
716
|
+
declare const SquiggleGamesResponseSchema: z.ZodObject<{
|
|
717
|
+
games: z.ZodArray<z.ZodObject<{
|
|
718
|
+
id: z.ZodNumber;
|
|
719
|
+
year: z.ZodNumber;
|
|
720
|
+
round: z.ZodNumber;
|
|
721
|
+
roundname: z.ZodString;
|
|
722
|
+
hteam: z.ZodString;
|
|
723
|
+
ateam: z.ZodString;
|
|
724
|
+
hteamid: z.ZodNumber;
|
|
725
|
+
ateamid: z.ZodNumber;
|
|
726
|
+
hscore: z.ZodNullable<z.ZodNumber>;
|
|
727
|
+
ascore: z.ZodNullable<z.ZodNumber>;
|
|
728
|
+
hgoals: z.ZodNullable<z.ZodNumber>;
|
|
729
|
+
agoals: z.ZodNullable<z.ZodNumber>;
|
|
730
|
+
hbehinds: z.ZodNullable<z.ZodNumber>;
|
|
731
|
+
abehinds: z.ZodNullable<z.ZodNumber>;
|
|
732
|
+
winner: z.ZodNullable<z.ZodString>;
|
|
733
|
+
winnerteamid: z.ZodNullable<z.ZodNumber>;
|
|
734
|
+
venue: z.ZodString;
|
|
735
|
+
date: z.ZodString;
|
|
736
|
+
localtime: z.ZodString;
|
|
737
|
+
tz: z.ZodString;
|
|
738
|
+
unixtime: z.ZodNumber;
|
|
739
|
+
timestr: z.ZodNullable<z.ZodString>;
|
|
740
|
+
complete: z.ZodNumber;
|
|
741
|
+
is_final: z.ZodNumber;
|
|
742
|
+
is_grand_final: z.ZodNumber;
|
|
743
|
+
updated: z.ZodString;
|
|
744
|
+
}, z.core.$strip>>;
|
|
745
|
+
}, z.core.$strip>;
|
|
746
|
+
type SquiggleGamesResponse = z.infer<typeof SquiggleGamesResponseSchema>;
|
|
747
|
+
/** A single standing from the Squiggle API. */
|
|
748
|
+
declare const SquiggleStandingSchema: z.ZodObject<{
|
|
749
|
+
id: z.ZodNumber;
|
|
750
|
+
name: z.ZodString;
|
|
751
|
+
rank: z.ZodNumber;
|
|
752
|
+
played: z.ZodNumber;
|
|
753
|
+
wins: z.ZodNumber;
|
|
754
|
+
losses: z.ZodNumber;
|
|
755
|
+
draws: z.ZodNumber;
|
|
756
|
+
pts: z.ZodNumber;
|
|
757
|
+
for: z.ZodNumber;
|
|
758
|
+
against: z.ZodNumber;
|
|
759
|
+
percentage: z.ZodNumber;
|
|
760
|
+
goals_for: z.ZodNumber;
|
|
761
|
+
goals_against: z.ZodNumber;
|
|
762
|
+
behinds_for: z.ZodNumber;
|
|
763
|
+
behinds_against: z.ZodNumber;
|
|
764
|
+
}, z.core.$strip>;
|
|
765
|
+
type SquiggleStanding = z.infer<typeof SquiggleStandingSchema>;
|
|
766
|
+
/** Response wrapper for Squiggle standings query. */
|
|
767
|
+
declare const SquiggleStandingsResponseSchema: z.ZodObject<{
|
|
768
|
+
standings: z.ZodArray<z.ZodObject<{
|
|
769
|
+
id: z.ZodNumber;
|
|
770
|
+
name: z.ZodString;
|
|
771
|
+
rank: z.ZodNumber;
|
|
772
|
+
played: z.ZodNumber;
|
|
773
|
+
wins: z.ZodNumber;
|
|
774
|
+
losses: z.ZodNumber;
|
|
775
|
+
draws: z.ZodNumber;
|
|
776
|
+
pts: z.ZodNumber;
|
|
777
|
+
for: z.ZodNumber;
|
|
778
|
+
against: z.ZodNumber;
|
|
779
|
+
percentage: z.ZodNumber;
|
|
780
|
+
goals_for: z.ZodNumber;
|
|
781
|
+
goals_against: z.ZodNumber;
|
|
782
|
+
behinds_for: z.ZodNumber;
|
|
783
|
+
behinds_against: z.ZodNumber;
|
|
784
|
+
}, z.core.$strip>>;
|
|
785
|
+
}, z.core.$strip>;
|
|
786
|
+
type SquiggleStandingsResponse = z.infer<typeof SquiggleStandingsResponseSchema>;
|
|
518
787
|
/**
|
|
519
788
|
* Normalise a team name to its canonical form.
|
|
520
789
|
*
|
|
@@ -526,961 +795,961 @@ declare class ValidationError extends Error {
|
|
|
526
795
|
* @returns The canonical team name, or the trimmed input if unknown.
|
|
527
796
|
*/
|
|
528
797
|
declare function normaliseTeamName(raw: string): string;
|
|
529
|
-
import { z } from "zod/v4";
|
|
798
|
+
import { z as z2 } from "zod/v4";
|
|
530
799
|
/** Schema for the AFL API WMCTok token response. */
|
|
531
|
-
declare const AflApiTokenSchema:
|
|
532
|
-
token:
|
|
533
|
-
disclaimer:
|
|
534
|
-
},
|
|
800
|
+
declare const AflApiTokenSchema: z2.ZodObject<{
|
|
801
|
+
token: z2.ZodString;
|
|
802
|
+
disclaimer: z2.ZodOptional<z2.ZodString>;
|
|
803
|
+
}, z2.core.$loose>;
|
|
535
804
|
/** Inferred type for the AFL API token response. */
|
|
536
|
-
type AflApiToken =
|
|
805
|
+
type AflApiToken = z2.infer<typeof AflApiTokenSchema>;
|
|
537
806
|
/** Schema for a single competition entry. */
|
|
538
|
-
declare const CompetitionSchema:
|
|
539
|
-
id:
|
|
540
|
-
name:
|
|
541
|
-
code:
|
|
542
|
-
},
|
|
807
|
+
declare const CompetitionSchema: z2.ZodObject<{
|
|
808
|
+
id: z2.ZodNumber;
|
|
809
|
+
name: z2.ZodString;
|
|
810
|
+
code: z2.ZodOptional<z2.ZodString>;
|
|
811
|
+
}, z2.core.$loose>;
|
|
543
812
|
/** Schema for the competition list response. */
|
|
544
|
-
declare const CompetitionListSchema:
|
|
545
|
-
competitions:
|
|
546
|
-
id:
|
|
547
|
-
name:
|
|
548
|
-
code:
|
|
549
|
-
},
|
|
550
|
-
},
|
|
813
|
+
declare const CompetitionListSchema: z2.ZodObject<{
|
|
814
|
+
competitions: z2.ZodArray<z2.ZodObject<{
|
|
815
|
+
id: z2.ZodNumber;
|
|
816
|
+
name: z2.ZodString;
|
|
817
|
+
code: z2.ZodOptional<z2.ZodString>;
|
|
818
|
+
}, z2.core.$loose>>;
|
|
819
|
+
}, z2.core.$loose>;
|
|
551
820
|
/** Inferred type for a single competition. */
|
|
552
|
-
type Competition =
|
|
821
|
+
type Competition = z2.infer<typeof CompetitionSchema>;
|
|
553
822
|
/** Inferred type for the competition list response. */
|
|
554
|
-
type CompetitionList =
|
|
823
|
+
type CompetitionList = z2.infer<typeof CompetitionListSchema>;
|
|
555
824
|
/** Schema for a single compseason (competition-season) entry. */
|
|
556
|
-
declare const CompseasonSchema:
|
|
557
|
-
id:
|
|
558
|
-
name:
|
|
559
|
-
shortName:
|
|
560
|
-
currentRoundNumber:
|
|
561
|
-
},
|
|
825
|
+
declare const CompseasonSchema: z2.ZodObject<{
|
|
826
|
+
id: z2.ZodNumber;
|
|
827
|
+
name: z2.ZodString;
|
|
828
|
+
shortName: z2.ZodOptional<z2.ZodString>;
|
|
829
|
+
currentRoundNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
830
|
+
}, z2.core.$loose>;
|
|
562
831
|
/** Schema for the compseason list response. */
|
|
563
|
-
declare const CompseasonListSchema:
|
|
564
|
-
compSeasons:
|
|
565
|
-
id:
|
|
566
|
-
name:
|
|
567
|
-
shortName:
|
|
568
|
-
currentRoundNumber:
|
|
569
|
-
},
|
|
570
|
-
},
|
|
832
|
+
declare const CompseasonListSchema: z2.ZodObject<{
|
|
833
|
+
compSeasons: z2.ZodArray<z2.ZodObject<{
|
|
834
|
+
id: z2.ZodNumber;
|
|
835
|
+
name: z2.ZodString;
|
|
836
|
+
shortName: z2.ZodOptional<z2.ZodString>;
|
|
837
|
+
currentRoundNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
838
|
+
}, z2.core.$loose>>;
|
|
839
|
+
}, z2.core.$loose>;
|
|
571
840
|
/** Inferred type for a single compseason. */
|
|
572
|
-
type Compseason =
|
|
841
|
+
type Compseason = z2.infer<typeof CompseasonSchema>;
|
|
573
842
|
/** Inferred type for the compseason list response. */
|
|
574
|
-
type CompseasonList =
|
|
843
|
+
type CompseasonList = z2.infer<typeof CompseasonListSchema>;
|
|
575
844
|
/** Schema for a single round entry. */
|
|
576
|
-
declare const RoundSchema:
|
|
577
|
-
id:
|
|
578
|
-
providerId:
|
|
579
|
-
name:
|
|
580
|
-
abbreviation:
|
|
581
|
-
roundNumber:
|
|
582
|
-
utcStartTime:
|
|
583
|
-
utcEndTime:
|
|
584
|
-
},
|
|
845
|
+
declare const RoundSchema: z2.ZodObject<{
|
|
846
|
+
id: z2.ZodNumber;
|
|
847
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
848
|
+
name: z2.ZodString;
|
|
849
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
850
|
+
roundNumber: z2.ZodNumber;
|
|
851
|
+
utcStartTime: z2.ZodOptional<z2.ZodString>;
|
|
852
|
+
utcEndTime: z2.ZodOptional<z2.ZodString>;
|
|
853
|
+
}, z2.core.$loose>;
|
|
585
854
|
/** Schema for the round list response. */
|
|
586
|
-
declare const RoundListSchema:
|
|
587
|
-
rounds:
|
|
588
|
-
id:
|
|
589
|
-
providerId:
|
|
590
|
-
name:
|
|
591
|
-
abbreviation:
|
|
592
|
-
roundNumber:
|
|
593
|
-
utcStartTime:
|
|
594
|
-
utcEndTime:
|
|
595
|
-
},
|
|
596
|
-
},
|
|
855
|
+
declare const RoundListSchema: z2.ZodObject<{
|
|
856
|
+
rounds: z2.ZodArray<z2.ZodObject<{
|
|
857
|
+
id: z2.ZodNumber;
|
|
858
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
859
|
+
name: z2.ZodString;
|
|
860
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
861
|
+
roundNumber: z2.ZodNumber;
|
|
862
|
+
utcStartTime: z2.ZodOptional<z2.ZodString>;
|
|
863
|
+
utcEndTime: z2.ZodOptional<z2.ZodString>;
|
|
864
|
+
}, z2.core.$loose>>;
|
|
865
|
+
}, z2.core.$loose>;
|
|
597
866
|
/** Inferred type for a single round. */
|
|
598
|
-
type Round =
|
|
867
|
+
type Round = z2.infer<typeof RoundSchema>;
|
|
599
868
|
/** Inferred type for the round list response. */
|
|
600
|
-
type RoundList =
|
|
869
|
+
type RoundList = z2.infer<typeof RoundListSchema>;
|
|
601
870
|
/** Schema for a goals/behinds/total score object (used in match and period scores). */
|
|
602
|
-
declare const ScoreSchema:
|
|
603
|
-
totalScore:
|
|
604
|
-
goals:
|
|
605
|
-
behinds:
|
|
606
|
-
superGoals:
|
|
607
|
-
},
|
|
871
|
+
declare const ScoreSchema: z2.ZodObject<{
|
|
872
|
+
totalScore: z2.ZodNumber;
|
|
873
|
+
goals: z2.ZodNumber;
|
|
874
|
+
behinds: z2.ZodNumber;
|
|
875
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
876
|
+
}, z2.core.$loose>;
|
|
608
877
|
/** Schema for a period (quarter) score entry within a match. */
|
|
609
|
-
declare const PeriodScoreSchema:
|
|
610
|
-
periodNumber:
|
|
611
|
-
score:
|
|
612
|
-
totalScore:
|
|
613
|
-
goals:
|
|
614
|
-
behinds:
|
|
615
|
-
superGoals:
|
|
616
|
-
},
|
|
617
|
-
},
|
|
878
|
+
declare const PeriodScoreSchema: z2.ZodObject<{
|
|
879
|
+
periodNumber: z2.ZodNumber;
|
|
880
|
+
score: z2.ZodObject<{
|
|
881
|
+
totalScore: z2.ZodNumber;
|
|
882
|
+
goals: z2.ZodNumber;
|
|
883
|
+
behinds: z2.ZodNumber;
|
|
884
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
885
|
+
}, z2.core.$loose>;
|
|
886
|
+
}, z2.core.$loose>;
|
|
618
887
|
/** Schema for a team's total score (match + period breakdown). */
|
|
619
|
-
declare const TeamScoreSchema:
|
|
620
|
-
matchScore:
|
|
621
|
-
totalScore:
|
|
622
|
-
goals:
|
|
623
|
-
behinds:
|
|
624
|
-
superGoals:
|
|
625
|
-
},
|
|
626
|
-
periodScore:
|
|
627
|
-
periodNumber:
|
|
628
|
-
score:
|
|
629
|
-
totalScore:
|
|
630
|
-
goals:
|
|
631
|
-
behinds:
|
|
632
|
-
superGoals:
|
|
633
|
-
},
|
|
634
|
-
},
|
|
635
|
-
rushedBehinds:
|
|
636
|
-
minutesInFront:
|
|
637
|
-
},
|
|
888
|
+
declare const TeamScoreSchema: z2.ZodObject<{
|
|
889
|
+
matchScore: z2.ZodObject<{
|
|
890
|
+
totalScore: z2.ZodNumber;
|
|
891
|
+
goals: z2.ZodNumber;
|
|
892
|
+
behinds: z2.ZodNumber;
|
|
893
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
894
|
+
}, z2.core.$loose>;
|
|
895
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
896
|
+
periodNumber: z2.ZodNumber;
|
|
897
|
+
score: z2.ZodObject<{
|
|
898
|
+
totalScore: z2.ZodNumber;
|
|
899
|
+
goals: z2.ZodNumber;
|
|
900
|
+
behinds: z2.ZodNumber;
|
|
901
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
902
|
+
}, z2.core.$loose>;
|
|
903
|
+
}, z2.core.$loose>>>;
|
|
904
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
905
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
906
|
+
}, z2.core.$loose>;
|
|
638
907
|
/** Inferred type for a score object. */
|
|
639
|
-
type Score =
|
|
908
|
+
type Score = z2.infer<typeof ScoreSchema>;
|
|
640
909
|
/** Inferred type for a period score. */
|
|
641
|
-
type PeriodScore =
|
|
910
|
+
type PeriodScore = z2.infer<typeof PeriodScoreSchema>;
|
|
642
911
|
/** Inferred type for a team score. */
|
|
643
|
-
type TeamScore =
|
|
912
|
+
type TeamScore = z2.infer<typeof TeamScoreSchema>;
|
|
644
913
|
/** Schema for a team entry within a /cfs/ match object. */
|
|
645
|
-
declare const CfsMatchTeamSchema:
|
|
646
|
-
name:
|
|
647
|
-
teamId:
|
|
648
|
-
abbr:
|
|
649
|
-
nickname:
|
|
650
|
-
},
|
|
914
|
+
declare const CfsMatchTeamSchema: z2.ZodObject<{
|
|
915
|
+
name: z2.ZodString;
|
|
916
|
+
teamId: z2.ZodString;
|
|
917
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
918
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
919
|
+
}, z2.core.$loose>;
|
|
651
920
|
/** Inferred type for a /cfs/ match team. */
|
|
652
|
-
type CfsMatchTeam =
|
|
921
|
+
type CfsMatchTeam = z2.infer<typeof CfsMatchTeamSchema>;
|
|
653
922
|
/** Schema for the inner match object within a /cfs/ match item. */
|
|
654
|
-
declare const CfsMatchSchema:
|
|
655
|
-
matchId:
|
|
656
|
-
name:
|
|
657
|
-
status:
|
|
658
|
-
utcStartTime:
|
|
659
|
-
homeTeamId:
|
|
660
|
-
awayTeamId:
|
|
661
|
-
homeTeam:
|
|
662
|
-
name:
|
|
663
|
-
teamId:
|
|
664
|
-
abbr:
|
|
665
|
-
nickname:
|
|
666
|
-
},
|
|
667
|
-
awayTeam:
|
|
668
|
-
name:
|
|
669
|
-
teamId:
|
|
670
|
-
abbr:
|
|
671
|
-
nickname:
|
|
672
|
-
},
|
|
673
|
-
round:
|
|
674
|
-
abbr:
|
|
675
|
-
},
|
|
923
|
+
declare const CfsMatchSchema: z2.ZodObject<{
|
|
924
|
+
matchId: z2.ZodString;
|
|
925
|
+
name: z2.ZodOptional<z2.ZodString>;
|
|
926
|
+
status: z2.ZodString;
|
|
927
|
+
utcStartTime: z2.ZodString;
|
|
928
|
+
homeTeamId: z2.ZodString;
|
|
929
|
+
awayTeamId: z2.ZodString;
|
|
930
|
+
homeTeam: z2.ZodObject<{
|
|
931
|
+
name: z2.ZodString;
|
|
932
|
+
teamId: z2.ZodString;
|
|
933
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
934
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
935
|
+
}, z2.core.$loose>;
|
|
936
|
+
awayTeam: z2.ZodObject<{
|
|
937
|
+
name: z2.ZodString;
|
|
938
|
+
teamId: z2.ZodString;
|
|
939
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
940
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
941
|
+
}, z2.core.$loose>;
|
|
942
|
+
round: z2.ZodOptional<z2.ZodString>;
|
|
943
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
944
|
+
}, z2.core.$loose>;
|
|
676
945
|
/** Inferred type for a /cfs/ match. */
|
|
677
|
-
type CfsMatch =
|
|
946
|
+
type CfsMatch = z2.infer<typeof CfsMatchSchema>;
|
|
678
947
|
/** Schema for the score wrapper within a /cfs/ match item. */
|
|
679
|
-
declare const CfsScoreSchema:
|
|
680
|
-
status:
|
|
681
|
-
matchId:
|
|
682
|
-
homeTeamScore:
|
|
683
|
-
matchScore:
|
|
684
|
-
totalScore:
|
|
685
|
-
goals:
|
|
686
|
-
behinds:
|
|
687
|
-
superGoals:
|
|
688
|
-
},
|
|
689
|
-
periodScore:
|
|
690
|
-
periodNumber:
|
|
691
|
-
score:
|
|
692
|
-
totalScore:
|
|
693
|
-
goals:
|
|
694
|
-
behinds:
|
|
695
|
-
superGoals:
|
|
696
|
-
},
|
|
697
|
-
},
|
|
698
|
-
rushedBehinds:
|
|
699
|
-
minutesInFront:
|
|
700
|
-
},
|
|
701
|
-
awayTeamScore:
|
|
702
|
-
matchScore:
|
|
703
|
-
totalScore:
|
|
704
|
-
goals:
|
|
705
|
-
behinds:
|
|
706
|
-
superGoals:
|
|
707
|
-
},
|
|
708
|
-
periodScore:
|
|
709
|
-
periodNumber:
|
|
710
|
-
score:
|
|
711
|
-
totalScore:
|
|
712
|
-
goals:
|
|
713
|
-
behinds:
|
|
714
|
-
superGoals:
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
rushedBehinds:
|
|
718
|
-
minutesInFront:
|
|
719
|
-
},
|
|
720
|
-
},
|
|
948
|
+
declare const CfsScoreSchema: z2.ZodObject<{
|
|
949
|
+
status: z2.ZodString;
|
|
950
|
+
matchId: z2.ZodString;
|
|
951
|
+
homeTeamScore: z2.ZodObject<{
|
|
952
|
+
matchScore: z2.ZodObject<{
|
|
953
|
+
totalScore: z2.ZodNumber;
|
|
954
|
+
goals: z2.ZodNumber;
|
|
955
|
+
behinds: z2.ZodNumber;
|
|
956
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
957
|
+
}, z2.core.$loose>;
|
|
958
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
959
|
+
periodNumber: z2.ZodNumber;
|
|
960
|
+
score: z2.ZodObject<{
|
|
961
|
+
totalScore: z2.ZodNumber;
|
|
962
|
+
goals: z2.ZodNumber;
|
|
963
|
+
behinds: z2.ZodNumber;
|
|
964
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
965
|
+
}, z2.core.$loose>;
|
|
966
|
+
}, z2.core.$loose>>>;
|
|
967
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
968
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
969
|
+
}, z2.core.$loose>;
|
|
970
|
+
awayTeamScore: z2.ZodObject<{
|
|
971
|
+
matchScore: z2.ZodObject<{
|
|
972
|
+
totalScore: z2.ZodNumber;
|
|
973
|
+
goals: z2.ZodNumber;
|
|
974
|
+
behinds: z2.ZodNumber;
|
|
975
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
976
|
+
}, z2.core.$loose>;
|
|
977
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
978
|
+
periodNumber: z2.ZodNumber;
|
|
979
|
+
score: z2.ZodObject<{
|
|
980
|
+
totalScore: z2.ZodNumber;
|
|
981
|
+
goals: z2.ZodNumber;
|
|
982
|
+
behinds: z2.ZodNumber;
|
|
983
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
984
|
+
}, z2.core.$loose>;
|
|
985
|
+
}, z2.core.$loose>>>;
|
|
986
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
987
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
988
|
+
}, z2.core.$loose>;
|
|
989
|
+
}, z2.core.$loose>;
|
|
721
990
|
/** Inferred type for a /cfs/ score wrapper. */
|
|
722
|
-
type CfsScore =
|
|
991
|
+
type CfsScore = z2.infer<typeof CfsScoreSchema>;
|
|
723
992
|
/** Schema for venue info in /cfs/ responses. */
|
|
724
|
-
declare const CfsVenueSchema:
|
|
725
|
-
name:
|
|
726
|
-
venueId:
|
|
727
|
-
state:
|
|
728
|
-
timeZone:
|
|
729
|
-
},
|
|
993
|
+
declare const CfsVenueSchema: z2.ZodObject<{
|
|
994
|
+
name: z2.ZodString;
|
|
995
|
+
venueId: z2.ZodOptional<z2.ZodString>;
|
|
996
|
+
state: z2.ZodOptional<z2.ZodString>;
|
|
997
|
+
timeZone: z2.ZodOptional<z2.ZodString>;
|
|
998
|
+
}, z2.core.$loose>;
|
|
730
999
|
/** Inferred type for a /cfs/ venue. */
|
|
731
|
-
type CfsVenue =
|
|
1000
|
+
type CfsVenue = z2.infer<typeof CfsVenueSchema>;
|
|
732
1001
|
/** Schema for a single match item in round results. */
|
|
733
|
-
declare const MatchItemSchema:
|
|
734
|
-
match:
|
|
735
|
-
matchId:
|
|
736
|
-
name:
|
|
737
|
-
status:
|
|
738
|
-
utcStartTime:
|
|
739
|
-
homeTeamId:
|
|
740
|
-
awayTeamId:
|
|
741
|
-
homeTeam:
|
|
742
|
-
name:
|
|
743
|
-
teamId:
|
|
744
|
-
abbr:
|
|
745
|
-
nickname:
|
|
746
|
-
},
|
|
747
|
-
awayTeam:
|
|
748
|
-
name:
|
|
749
|
-
teamId:
|
|
750
|
-
abbr:
|
|
751
|
-
nickname:
|
|
752
|
-
},
|
|
753
|
-
round:
|
|
754
|
-
abbr:
|
|
755
|
-
},
|
|
756
|
-
score:
|
|
757
|
-
status:
|
|
758
|
-
matchId:
|
|
759
|
-
homeTeamScore:
|
|
760
|
-
matchScore:
|
|
761
|
-
totalScore:
|
|
762
|
-
goals:
|
|
763
|
-
behinds:
|
|
764
|
-
superGoals:
|
|
765
|
-
},
|
|
766
|
-
periodScore:
|
|
767
|
-
periodNumber:
|
|
768
|
-
score:
|
|
769
|
-
totalScore:
|
|
770
|
-
goals:
|
|
771
|
-
behinds:
|
|
772
|
-
superGoals:
|
|
773
|
-
},
|
|
774
|
-
},
|
|
775
|
-
rushedBehinds:
|
|
776
|
-
minutesInFront:
|
|
777
|
-
},
|
|
778
|
-
awayTeamScore:
|
|
779
|
-
matchScore:
|
|
780
|
-
totalScore:
|
|
781
|
-
goals:
|
|
782
|
-
behinds:
|
|
783
|
-
superGoals:
|
|
784
|
-
},
|
|
785
|
-
periodScore:
|
|
786
|
-
periodNumber:
|
|
787
|
-
score:
|
|
788
|
-
totalScore:
|
|
789
|
-
goals:
|
|
790
|
-
behinds:
|
|
791
|
-
superGoals:
|
|
792
|
-
},
|
|
793
|
-
},
|
|
794
|
-
rushedBehinds:
|
|
795
|
-
minutesInFront:
|
|
796
|
-
},
|
|
797
|
-
},
|
|
798
|
-
venue:
|
|
799
|
-
name:
|
|
800
|
-
venueId:
|
|
801
|
-
state:
|
|
802
|
-
timeZone:
|
|
803
|
-
},
|
|
804
|
-
round:
|
|
805
|
-
name:
|
|
806
|
-
roundId:
|
|
807
|
-
roundNumber:
|
|
808
|
-
},
|
|
809
|
-
},
|
|
1002
|
+
declare const MatchItemSchema: z2.ZodObject<{
|
|
1003
|
+
match: z2.ZodObject<{
|
|
1004
|
+
matchId: z2.ZodString;
|
|
1005
|
+
name: z2.ZodOptional<z2.ZodString>;
|
|
1006
|
+
status: z2.ZodString;
|
|
1007
|
+
utcStartTime: z2.ZodString;
|
|
1008
|
+
homeTeamId: z2.ZodString;
|
|
1009
|
+
awayTeamId: z2.ZodString;
|
|
1010
|
+
homeTeam: z2.ZodObject<{
|
|
1011
|
+
name: z2.ZodString;
|
|
1012
|
+
teamId: z2.ZodString;
|
|
1013
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1014
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1015
|
+
}, z2.core.$loose>;
|
|
1016
|
+
awayTeam: z2.ZodObject<{
|
|
1017
|
+
name: z2.ZodString;
|
|
1018
|
+
teamId: z2.ZodString;
|
|
1019
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1020
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1021
|
+
}, z2.core.$loose>;
|
|
1022
|
+
round: z2.ZodOptional<z2.ZodString>;
|
|
1023
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1024
|
+
}, z2.core.$loose>;
|
|
1025
|
+
score: z2.ZodOptional<z2.ZodNullable<z2.ZodObject<{
|
|
1026
|
+
status: z2.ZodString;
|
|
1027
|
+
matchId: z2.ZodString;
|
|
1028
|
+
homeTeamScore: z2.ZodObject<{
|
|
1029
|
+
matchScore: z2.ZodObject<{
|
|
1030
|
+
totalScore: z2.ZodNumber;
|
|
1031
|
+
goals: z2.ZodNumber;
|
|
1032
|
+
behinds: z2.ZodNumber;
|
|
1033
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1034
|
+
}, z2.core.$loose>;
|
|
1035
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
1036
|
+
periodNumber: z2.ZodNumber;
|
|
1037
|
+
score: z2.ZodObject<{
|
|
1038
|
+
totalScore: z2.ZodNumber;
|
|
1039
|
+
goals: z2.ZodNumber;
|
|
1040
|
+
behinds: z2.ZodNumber;
|
|
1041
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1042
|
+
}, z2.core.$loose>;
|
|
1043
|
+
}, z2.core.$loose>>>;
|
|
1044
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1045
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
1046
|
+
}, z2.core.$loose>;
|
|
1047
|
+
awayTeamScore: z2.ZodObject<{
|
|
1048
|
+
matchScore: z2.ZodObject<{
|
|
1049
|
+
totalScore: z2.ZodNumber;
|
|
1050
|
+
goals: z2.ZodNumber;
|
|
1051
|
+
behinds: z2.ZodNumber;
|
|
1052
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1053
|
+
}, z2.core.$loose>;
|
|
1054
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
1055
|
+
periodNumber: z2.ZodNumber;
|
|
1056
|
+
score: z2.ZodObject<{
|
|
1057
|
+
totalScore: z2.ZodNumber;
|
|
1058
|
+
goals: z2.ZodNumber;
|
|
1059
|
+
behinds: z2.ZodNumber;
|
|
1060
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1061
|
+
}, z2.core.$loose>;
|
|
1062
|
+
}, z2.core.$loose>>>;
|
|
1063
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1064
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
1065
|
+
}, z2.core.$loose>;
|
|
1066
|
+
}, z2.core.$loose>>>;
|
|
1067
|
+
venue: z2.ZodOptional<z2.ZodObject<{
|
|
1068
|
+
name: z2.ZodString;
|
|
1069
|
+
venueId: z2.ZodOptional<z2.ZodString>;
|
|
1070
|
+
state: z2.ZodOptional<z2.ZodString>;
|
|
1071
|
+
timeZone: z2.ZodOptional<z2.ZodString>;
|
|
1072
|
+
}, z2.core.$loose>>;
|
|
1073
|
+
round: z2.ZodOptional<z2.ZodObject<{
|
|
1074
|
+
name: z2.ZodString;
|
|
1075
|
+
roundId: z2.ZodString;
|
|
1076
|
+
roundNumber: z2.ZodNumber;
|
|
1077
|
+
}, z2.core.$loose>>;
|
|
1078
|
+
}, z2.core.$loose>;
|
|
810
1079
|
/** Schema for the match items (round results) response. */
|
|
811
|
-
declare const MatchItemListSchema:
|
|
812
|
-
roundId:
|
|
813
|
-
items:
|
|
814
|
-
match:
|
|
815
|
-
matchId:
|
|
816
|
-
name:
|
|
817
|
-
status:
|
|
818
|
-
utcStartTime:
|
|
819
|
-
homeTeamId:
|
|
820
|
-
awayTeamId:
|
|
821
|
-
homeTeam:
|
|
822
|
-
name:
|
|
823
|
-
teamId:
|
|
824
|
-
abbr:
|
|
825
|
-
nickname:
|
|
826
|
-
},
|
|
827
|
-
awayTeam:
|
|
828
|
-
name:
|
|
829
|
-
teamId:
|
|
830
|
-
abbr:
|
|
831
|
-
nickname:
|
|
832
|
-
},
|
|
833
|
-
round:
|
|
834
|
-
abbr:
|
|
835
|
-
},
|
|
836
|
-
score:
|
|
837
|
-
status:
|
|
838
|
-
matchId:
|
|
839
|
-
homeTeamScore:
|
|
840
|
-
matchScore:
|
|
841
|
-
totalScore:
|
|
842
|
-
goals:
|
|
843
|
-
behinds:
|
|
844
|
-
superGoals:
|
|
845
|
-
},
|
|
846
|
-
periodScore:
|
|
847
|
-
periodNumber:
|
|
848
|
-
score:
|
|
849
|
-
totalScore:
|
|
850
|
-
goals:
|
|
851
|
-
behinds:
|
|
852
|
-
superGoals:
|
|
853
|
-
},
|
|
854
|
-
},
|
|
855
|
-
rushedBehinds:
|
|
856
|
-
minutesInFront:
|
|
857
|
-
},
|
|
858
|
-
awayTeamScore:
|
|
859
|
-
matchScore:
|
|
860
|
-
totalScore:
|
|
861
|
-
goals:
|
|
862
|
-
behinds:
|
|
863
|
-
superGoals:
|
|
864
|
-
},
|
|
865
|
-
periodScore:
|
|
866
|
-
periodNumber:
|
|
867
|
-
score:
|
|
868
|
-
totalScore:
|
|
869
|
-
goals:
|
|
870
|
-
behinds:
|
|
871
|
-
superGoals:
|
|
872
|
-
},
|
|
873
|
-
},
|
|
874
|
-
rushedBehinds:
|
|
875
|
-
minutesInFront:
|
|
876
|
-
},
|
|
877
|
-
},
|
|
878
|
-
venue:
|
|
879
|
-
name:
|
|
880
|
-
venueId:
|
|
881
|
-
state:
|
|
882
|
-
timeZone:
|
|
883
|
-
},
|
|
884
|
-
round:
|
|
885
|
-
name:
|
|
886
|
-
roundId:
|
|
887
|
-
roundNumber:
|
|
888
|
-
},
|
|
889
|
-
},
|
|
890
|
-
},
|
|
1080
|
+
declare const MatchItemListSchema: z2.ZodObject<{
|
|
1081
|
+
roundId: z2.ZodOptional<z2.ZodString>;
|
|
1082
|
+
items: z2.ZodArray<z2.ZodObject<{
|
|
1083
|
+
match: z2.ZodObject<{
|
|
1084
|
+
matchId: z2.ZodString;
|
|
1085
|
+
name: z2.ZodOptional<z2.ZodString>;
|
|
1086
|
+
status: z2.ZodString;
|
|
1087
|
+
utcStartTime: z2.ZodString;
|
|
1088
|
+
homeTeamId: z2.ZodString;
|
|
1089
|
+
awayTeamId: z2.ZodString;
|
|
1090
|
+
homeTeam: z2.ZodObject<{
|
|
1091
|
+
name: z2.ZodString;
|
|
1092
|
+
teamId: z2.ZodString;
|
|
1093
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1094
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1095
|
+
}, z2.core.$loose>;
|
|
1096
|
+
awayTeam: z2.ZodObject<{
|
|
1097
|
+
name: z2.ZodString;
|
|
1098
|
+
teamId: z2.ZodString;
|
|
1099
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1100
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1101
|
+
}, z2.core.$loose>;
|
|
1102
|
+
round: z2.ZodOptional<z2.ZodString>;
|
|
1103
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1104
|
+
}, z2.core.$loose>;
|
|
1105
|
+
score: z2.ZodOptional<z2.ZodNullable<z2.ZodObject<{
|
|
1106
|
+
status: z2.ZodString;
|
|
1107
|
+
matchId: z2.ZodString;
|
|
1108
|
+
homeTeamScore: z2.ZodObject<{
|
|
1109
|
+
matchScore: z2.ZodObject<{
|
|
1110
|
+
totalScore: z2.ZodNumber;
|
|
1111
|
+
goals: z2.ZodNumber;
|
|
1112
|
+
behinds: z2.ZodNumber;
|
|
1113
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1114
|
+
}, z2.core.$loose>;
|
|
1115
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
1116
|
+
periodNumber: z2.ZodNumber;
|
|
1117
|
+
score: z2.ZodObject<{
|
|
1118
|
+
totalScore: z2.ZodNumber;
|
|
1119
|
+
goals: z2.ZodNumber;
|
|
1120
|
+
behinds: z2.ZodNumber;
|
|
1121
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1122
|
+
}, z2.core.$loose>;
|
|
1123
|
+
}, z2.core.$loose>>>;
|
|
1124
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1125
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
1126
|
+
}, z2.core.$loose>;
|
|
1127
|
+
awayTeamScore: z2.ZodObject<{
|
|
1128
|
+
matchScore: z2.ZodObject<{
|
|
1129
|
+
totalScore: z2.ZodNumber;
|
|
1130
|
+
goals: z2.ZodNumber;
|
|
1131
|
+
behinds: z2.ZodNumber;
|
|
1132
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1133
|
+
}, z2.core.$loose>;
|
|
1134
|
+
periodScore: z2.ZodOptional<z2.ZodArray<z2.ZodObject<{
|
|
1135
|
+
periodNumber: z2.ZodNumber;
|
|
1136
|
+
score: z2.ZodObject<{
|
|
1137
|
+
totalScore: z2.ZodNumber;
|
|
1138
|
+
goals: z2.ZodNumber;
|
|
1139
|
+
behinds: z2.ZodNumber;
|
|
1140
|
+
superGoals: z2.ZodOptional<z2.ZodNullable<z2.ZodNumber>>;
|
|
1141
|
+
}, z2.core.$loose>;
|
|
1142
|
+
}, z2.core.$loose>>>;
|
|
1143
|
+
rushedBehinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1144
|
+
minutesInFront: z2.ZodOptional<z2.ZodNumber>;
|
|
1145
|
+
}, z2.core.$loose>;
|
|
1146
|
+
}, z2.core.$loose>>>;
|
|
1147
|
+
venue: z2.ZodOptional<z2.ZodObject<{
|
|
1148
|
+
name: z2.ZodString;
|
|
1149
|
+
venueId: z2.ZodOptional<z2.ZodString>;
|
|
1150
|
+
state: z2.ZodOptional<z2.ZodString>;
|
|
1151
|
+
timeZone: z2.ZodOptional<z2.ZodString>;
|
|
1152
|
+
}, z2.core.$loose>>;
|
|
1153
|
+
round: z2.ZodOptional<z2.ZodObject<{
|
|
1154
|
+
name: z2.ZodString;
|
|
1155
|
+
roundId: z2.ZodString;
|
|
1156
|
+
roundNumber: z2.ZodNumber;
|
|
1157
|
+
}, z2.core.$loose>>;
|
|
1158
|
+
}, z2.core.$loose>>;
|
|
1159
|
+
}, z2.core.$loose>;
|
|
891
1160
|
/** Inferred type for a single match item. */
|
|
892
|
-
type MatchItem =
|
|
1161
|
+
type MatchItem = z2.infer<typeof MatchItemSchema>;
|
|
893
1162
|
/** Inferred type for the match items list response. */
|
|
894
|
-
type MatchItemList =
|
|
1163
|
+
type MatchItemList = z2.infer<typeof MatchItemListSchema>;
|
|
895
1164
|
/** Schema for stat values (clearances is nested). */
|
|
896
|
-
declare const PlayerGameStatsSchema:
|
|
897
|
-
goals:
|
|
898
|
-
behinds:
|
|
899
|
-
kicks:
|
|
900
|
-
handballs:
|
|
901
|
-
disposals:
|
|
902
|
-
marks:
|
|
903
|
-
bounces:
|
|
904
|
-
tackles:
|
|
905
|
-
contestedPossessions:
|
|
906
|
-
uncontestedPossessions:
|
|
907
|
-
totalPossessions:
|
|
908
|
-
inside50s:
|
|
909
|
-
marksInside50:
|
|
910
|
-
contestedMarks:
|
|
911
|
-
hitouts:
|
|
912
|
-
onePercenters:
|
|
913
|
-
disposalEfficiency:
|
|
914
|
-
clangers:
|
|
915
|
-
freesFor:
|
|
916
|
-
freesAgainst:
|
|
917
|
-
dreamTeamPoints:
|
|
918
|
-
clearances:
|
|
919
|
-
centreClearances:
|
|
920
|
-
stoppageClearances:
|
|
921
|
-
totalClearances:
|
|
922
|
-
},
|
|
923
|
-
rebound50s:
|
|
924
|
-
goalAssists:
|
|
925
|
-
goalAccuracy:
|
|
926
|
-
turnovers:
|
|
927
|
-
intercepts:
|
|
928
|
-
tacklesInside50:
|
|
929
|
-
shotsAtGoal:
|
|
930
|
-
metresGained:
|
|
931
|
-
scoreInvolvements:
|
|
932
|
-
ratingPoints:
|
|
933
|
-
extendedStats:
|
|
934
|
-
effectiveDisposals:
|
|
935
|
-
effectiveKicks:
|
|
936
|
-
kickEfficiency:
|
|
937
|
-
kickToHandballRatio:
|
|
938
|
-
pressureActs:
|
|
939
|
-
defHalfPressureActs:
|
|
940
|
-
spoils:
|
|
941
|
-
hitoutsToAdvantage:
|
|
942
|
-
hitoutWinPercentage:
|
|
943
|
-
hitoutToAdvantageRate:
|
|
944
|
-
groundBallGets:
|
|
945
|
-
f50GroundBallGets:
|
|
946
|
-
interceptMarks:
|
|
947
|
-
marksOnLead:
|
|
948
|
-
contestedPossessionRate:
|
|
949
|
-
contestOffOneOnOnes:
|
|
950
|
-
contestOffWins:
|
|
951
|
-
contestOffWinsPercentage:
|
|
952
|
-
contestDefOneOnOnes:
|
|
953
|
-
contestDefLosses:
|
|
954
|
-
contestDefLossPercentage:
|
|
955
|
-
centreBounceAttendances:
|
|
956
|
-
kickins:
|
|
957
|
-
kickinsPlayon:
|
|
958
|
-
ruckContests:
|
|
959
|
-
scoreLaunches:
|
|
960
|
-
},
|
|
961
|
-
},
|
|
1165
|
+
declare const PlayerGameStatsSchema: z2.ZodObject<{
|
|
1166
|
+
goals: z2.ZodOptional<z2.ZodNumber>;
|
|
1167
|
+
behinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1168
|
+
kicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1169
|
+
handballs: z2.ZodOptional<z2.ZodNumber>;
|
|
1170
|
+
disposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1171
|
+
marks: z2.ZodOptional<z2.ZodNumber>;
|
|
1172
|
+
bounces: z2.ZodOptional<z2.ZodNumber>;
|
|
1173
|
+
tackles: z2.ZodOptional<z2.ZodNumber>;
|
|
1174
|
+
contestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1175
|
+
uncontestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1176
|
+
totalPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1177
|
+
inside50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1178
|
+
marksInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1179
|
+
contestedMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1180
|
+
hitouts: z2.ZodOptional<z2.ZodNumber>;
|
|
1181
|
+
onePercenters: z2.ZodOptional<z2.ZodNumber>;
|
|
1182
|
+
disposalEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1183
|
+
clangers: z2.ZodOptional<z2.ZodNumber>;
|
|
1184
|
+
freesFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1185
|
+
freesAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1186
|
+
dreamTeamPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1187
|
+
clearances: z2.ZodOptional<z2.ZodObject<{
|
|
1188
|
+
centreClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1189
|
+
stoppageClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1190
|
+
totalClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1191
|
+
}, z2.core.$loose>>;
|
|
1192
|
+
rebound50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1193
|
+
goalAssists: z2.ZodOptional<z2.ZodNumber>;
|
|
1194
|
+
goalAccuracy: z2.ZodOptional<z2.ZodNumber>;
|
|
1195
|
+
turnovers: z2.ZodOptional<z2.ZodNumber>;
|
|
1196
|
+
intercepts: z2.ZodOptional<z2.ZodNumber>;
|
|
1197
|
+
tacklesInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1198
|
+
shotsAtGoal: z2.ZodOptional<z2.ZodNumber>;
|
|
1199
|
+
metresGained: z2.ZodOptional<z2.ZodNumber>;
|
|
1200
|
+
scoreInvolvements: z2.ZodOptional<z2.ZodNumber>;
|
|
1201
|
+
ratingPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1202
|
+
extendedStats: z2.ZodOptional<z2.ZodObject<{
|
|
1203
|
+
effectiveDisposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1204
|
+
effectiveKicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1205
|
+
kickEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1206
|
+
kickToHandballRatio: z2.ZodOptional<z2.ZodNumber>;
|
|
1207
|
+
pressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1208
|
+
defHalfPressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1209
|
+
spoils: z2.ZodOptional<z2.ZodNumber>;
|
|
1210
|
+
hitoutsToAdvantage: z2.ZodOptional<z2.ZodNumber>;
|
|
1211
|
+
hitoutWinPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1212
|
+
hitoutToAdvantageRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1213
|
+
groundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1214
|
+
f50GroundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1215
|
+
interceptMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1216
|
+
marksOnLead: z2.ZodOptional<z2.ZodNumber>;
|
|
1217
|
+
contestedPossessionRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1218
|
+
contestOffOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1219
|
+
contestOffWins: z2.ZodOptional<z2.ZodNumber>;
|
|
1220
|
+
contestOffWinsPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1221
|
+
contestDefOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1222
|
+
contestDefLosses: z2.ZodOptional<z2.ZodNumber>;
|
|
1223
|
+
contestDefLossPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1224
|
+
centreBounceAttendances: z2.ZodOptional<z2.ZodNumber>;
|
|
1225
|
+
kickins: z2.ZodOptional<z2.ZodNumber>;
|
|
1226
|
+
kickinsPlayon: z2.ZodOptional<z2.ZodNumber>;
|
|
1227
|
+
ruckContests: z2.ZodOptional<z2.ZodNumber>;
|
|
1228
|
+
scoreLaunches: z2.ZodOptional<z2.ZodNumber>;
|
|
1229
|
+
}, z2.core.$loose>>;
|
|
1230
|
+
}, z2.core.$loose>;
|
|
962
1231
|
/** Schema for a single player's statistics in a match. */
|
|
963
|
-
declare const PlayerStatsItemSchema:
|
|
964
|
-
player:
|
|
965
|
-
player:
|
|
966
|
-
position:
|
|
967
|
-
player:
|
|
968
|
-
playerId:
|
|
969
|
-
playerName:
|
|
970
|
-
givenName:
|
|
971
|
-
surname:
|
|
972
|
-
},
|
|
973
|
-
captain:
|
|
974
|
-
playerJumperNumber:
|
|
975
|
-
},
|
|
976
|
-
},
|
|
977
|
-
jumperNumber:
|
|
978
|
-
},
|
|
979
|
-
teamId:
|
|
980
|
-
playerStats:
|
|
981
|
-
stats:
|
|
982
|
-
goals:
|
|
983
|
-
behinds:
|
|
984
|
-
kicks:
|
|
985
|
-
handballs:
|
|
986
|
-
disposals:
|
|
987
|
-
marks:
|
|
988
|
-
bounces:
|
|
989
|
-
tackles:
|
|
990
|
-
contestedPossessions:
|
|
991
|
-
uncontestedPossessions:
|
|
992
|
-
totalPossessions:
|
|
993
|
-
inside50s:
|
|
994
|
-
marksInside50:
|
|
995
|
-
contestedMarks:
|
|
996
|
-
hitouts:
|
|
997
|
-
onePercenters:
|
|
998
|
-
disposalEfficiency:
|
|
999
|
-
clangers:
|
|
1000
|
-
freesFor:
|
|
1001
|
-
freesAgainst:
|
|
1002
|
-
dreamTeamPoints:
|
|
1003
|
-
clearances:
|
|
1004
|
-
centreClearances:
|
|
1005
|
-
stoppageClearances:
|
|
1006
|
-
totalClearances:
|
|
1007
|
-
},
|
|
1008
|
-
rebound50s:
|
|
1009
|
-
goalAssists:
|
|
1010
|
-
goalAccuracy:
|
|
1011
|
-
turnovers:
|
|
1012
|
-
intercepts:
|
|
1013
|
-
tacklesInside50:
|
|
1014
|
-
shotsAtGoal:
|
|
1015
|
-
metresGained:
|
|
1016
|
-
scoreInvolvements:
|
|
1017
|
-
ratingPoints:
|
|
1018
|
-
extendedStats:
|
|
1019
|
-
effectiveDisposals:
|
|
1020
|
-
effectiveKicks:
|
|
1021
|
-
kickEfficiency:
|
|
1022
|
-
kickToHandballRatio:
|
|
1023
|
-
pressureActs:
|
|
1024
|
-
defHalfPressureActs:
|
|
1025
|
-
spoils:
|
|
1026
|
-
hitoutsToAdvantage:
|
|
1027
|
-
hitoutWinPercentage:
|
|
1028
|
-
hitoutToAdvantageRate:
|
|
1029
|
-
groundBallGets:
|
|
1030
|
-
f50GroundBallGets:
|
|
1031
|
-
interceptMarks:
|
|
1032
|
-
marksOnLead:
|
|
1033
|
-
contestedPossessionRate:
|
|
1034
|
-
contestOffOneOnOnes:
|
|
1035
|
-
contestOffWins:
|
|
1036
|
-
contestOffWinsPercentage:
|
|
1037
|
-
contestDefOneOnOnes:
|
|
1038
|
-
contestDefLosses:
|
|
1039
|
-
contestDefLossPercentage:
|
|
1040
|
-
centreBounceAttendances:
|
|
1041
|
-
kickins:
|
|
1042
|
-
kickinsPlayon:
|
|
1043
|
-
ruckContests:
|
|
1044
|
-
scoreLaunches:
|
|
1045
|
-
},
|
|
1046
|
-
},
|
|
1047
|
-
timeOnGroundPercentage:
|
|
1048
|
-
},
|
|
1049
|
-
},
|
|
1232
|
+
declare const PlayerStatsItemSchema: z2.ZodObject<{
|
|
1233
|
+
player: z2.ZodObject<{
|
|
1234
|
+
player: z2.ZodObject<{
|
|
1235
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1236
|
+
player: z2.ZodObject<{
|
|
1237
|
+
playerId: z2.ZodString;
|
|
1238
|
+
playerName: z2.ZodObject<{
|
|
1239
|
+
givenName: z2.ZodString;
|
|
1240
|
+
surname: z2.ZodString;
|
|
1241
|
+
}, z2.core.$loose>;
|
|
1242
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1243
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1244
|
+
}, z2.core.$loose>;
|
|
1245
|
+
}, z2.core.$loose>;
|
|
1246
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1247
|
+
}, z2.core.$loose>;
|
|
1248
|
+
teamId: z2.ZodString;
|
|
1249
|
+
playerStats: z2.ZodObject<{
|
|
1250
|
+
stats: z2.ZodObject<{
|
|
1251
|
+
goals: z2.ZodOptional<z2.ZodNumber>;
|
|
1252
|
+
behinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1253
|
+
kicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1254
|
+
handballs: z2.ZodOptional<z2.ZodNumber>;
|
|
1255
|
+
disposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1256
|
+
marks: z2.ZodOptional<z2.ZodNumber>;
|
|
1257
|
+
bounces: z2.ZodOptional<z2.ZodNumber>;
|
|
1258
|
+
tackles: z2.ZodOptional<z2.ZodNumber>;
|
|
1259
|
+
contestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1260
|
+
uncontestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1261
|
+
totalPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1262
|
+
inside50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1263
|
+
marksInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1264
|
+
contestedMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1265
|
+
hitouts: z2.ZodOptional<z2.ZodNumber>;
|
|
1266
|
+
onePercenters: z2.ZodOptional<z2.ZodNumber>;
|
|
1267
|
+
disposalEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1268
|
+
clangers: z2.ZodOptional<z2.ZodNumber>;
|
|
1269
|
+
freesFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1270
|
+
freesAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1271
|
+
dreamTeamPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1272
|
+
clearances: z2.ZodOptional<z2.ZodObject<{
|
|
1273
|
+
centreClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1274
|
+
stoppageClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1275
|
+
totalClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1276
|
+
}, z2.core.$loose>>;
|
|
1277
|
+
rebound50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1278
|
+
goalAssists: z2.ZodOptional<z2.ZodNumber>;
|
|
1279
|
+
goalAccuracy: z2.ZodOptional<z2.ZodNumber>;
|
|
1280
|
+
turnovers: z2.ZodOptional<z2.ZodNumber>;
|
|
1281
|
+
intercepts: z2.ZodOptional<z2.ZodNumber>;
|
|
1282
|
+
tacklesInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1283
|
+
shotsAtGoal: z2.ZodOptional<z2.ZodNumber>;
|
|
1284
|
+
metresGained: z2.ZodOptional<z2.ZodNumber>;
|
|
1285
|
+
scoreInvolvements: z2.ZodOptional<z2.ZodNumber>;
|
|
1286
|
+
ratingPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1287
|
+
extendedStats: z2.ZodOptional<z2.ZodObject<{
|
|
1288
|
+
effectiveDisposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1289
|
+
effectiveKicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1290
|
+
kickEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1291
|
+
kickToHandballRatio: z2.ZodOptional<z2.ZodNumber>;
|
|
1292
|
+
pressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1293
|
+
defHalfPressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1294
|
+
spoils: z2.ZodOptional<z2.ZodNumber>;
|
|
1295
|
+
hitoutsToAdvantage: z2.ZodOptional<z2.ZodNumber>;
|
|
1296
|
+
hitoutWinPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1297
|
+
hitoutToAdvantageRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1298
|
+
groundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1299
|
+
f50GroundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1300
|
+
interceptMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1301
|
+
marksOnLead: z2.ZodOptional<z2.ZodNumber>;
|
|
1302
|
+
contestedPossessionRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1303
|
+
contestOffOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1304
|
+
contestOffWins: z2.ZodOptional<z2.ZodNumber>;
|
|
1305
|
+
contestOffWinsPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1306
|
+
contestDefOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1307
|
+
contestDefLosses: z2.ZodOptional<z2.ZodNumber>;
|
|
1308
|
+
contestDefLossPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1309
|
+
centreBounceAttendances: z2.ZodOptional<z2.ZodNumber>;
|
|
1310
|
+
kickins: z2.ZodOptional<z2.ZodNumber>;
|
|
1311
|
+
kickinsPlayon: z2.ZodOptional<z2.ZodNumber>;
|
|
1312
|
+
ruckContests: z2.ZodOptional<z2.ZodNumber>;
|
|
1313
|
+
scoreLaunches: z2.ZodOptional<z2.ZodNumber>;
|
|
1314
|
+
}, z2.core.$loose>>;
|
|
1315
|
+
}, z2.core.$loose>;
|
|
1316
|
+
timeOnGroundPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1317
|
+
}, z2.core.$loose>;
|
|
1318
|
+
}, z2.core.$loose>;
|
|
1050
1319
|
/** Schema for the player stats response. */
|
|
1051
|
-
declare const PlayerStatsListSchema:
|
|
1052
|
-
homeTeamPlayerStats:
|
|
1053
|
-
player:
|
|
1054
|
-
player:
|
|
1055
|
-
position:
|
|
1056
|
-
player:
|
|
1057
|
-
playerId:
|
|
1058
|
-
playerName:
|
|
1059
|
-
givenName:
|
|
1060
|
-
surname:
|
|
1061
|
-
},
|
|
1062
|
-
captain:
|
|
1063
|
-
playerJumperNumber:
|
|
1064
|
-
},
|
|
1065
|
-
},
|
|
1066
|
-
jumperNumber:
|
|
1067
|
-
},
|
|
1068
|
-
teamId:
|
|
1069
|
-
playerStats:
|
|
1070
|
-
stats:
|
|
1071
|
-
goals:
|
|
1072
|
-
behinds:
|
|
1073
|
-
kicks:
|
|
1074
|
-
handballs:
|
|
1075
|
-
disposals:
|
|
1076
|
-
marks:
|
|
1077
|
-
bounces:
|
|
1078
|
-
tackles:
|
|
1079
|
-
contestedPossessions:
|
|
1080
|
-
uncontestedPossessions:
|
|
1081
|
-
totalPossessions:
|
|
1082
|
-
inside50s:
|
|
1083
|
-
marksInside50:
|
|
1084
|
-
contestedMarks:
|
|
1085
|
-
hitouts:
|
|
1086
|
-
onePercenters:
|
|
1087
|
-
disposalEfficiency:
|
|
1088
|
-
clangers:
|
|
1089
|
-
freesFor:
|
|
1090
|
-
freesAgainst:
|
|
1091
|
-
dreamTeamPoints:
|
|
1092
|
-
clearances:
|
|
1093
|
-
centreClearances:
|
|
1094
|
-
stoppageClearances:
|
|
1095
|
-
totalClearances:
|
|
1096
|
-
},
|
|
1097
|
-
rebound50s:
|
|
1098
|
-
goalAssists:
|
|
1099
|
-
goalAccuracy:
|
|
1100
|
-
turnovers:
|
|
1101
|
-
intercepts:
|
|
1102
|
-
tacklesInside50:
|
|
1103
|
-
shotsAtGoal:
|
|
1104
|
-
metresGained:
|
|
1105
|
-
scoreInvolvements:
|
|
1106
|
-
ratingPoints:
|
|
1107
|
-
extendedStats:
|
|
1108
|
-
effectiveDisposals:
|
|
1109
|
-
effectiveKicks:
|
|
1110
|
-
kickEfficiency:
|
|
1111
|
-
kickToHandballRatio:
|
|
1112
|
-
pressureActs:
|
|
1113
|
-
defHalfPressureActs:
|
|
1114
|
-
spoils:
|
|
1115
|
-
hitoutsToAdvantage:
|
|
1116
|
-
hitoutWinPercentage:
|
|
1117
|
-
hitoutToAdvantageRate:
|
|
1118
|
-
groundBallGets:
|
|
1119
|
-
f50GroundBallGets:
|
|
1120
|
-
interceptMarks:
|
|
1121
|
-
marksOnLead:
|
|
1122
|
-
contestedPossessionRate:
|
|
1123
|
-
contestOffOneOnOnes:
|
|
1124
|
-
contestOffWins:
|
|
1125
|
-
contestOffWinsPercentage:
|
|
1126
|
-
contestDefOneOnOnes:
|
|
1127
|
-
contestDefLosses:
|
|
1128
|
-
contestDefLossPercentage:
|
|
1129
|
-
centreBounceAttendances:
|
|
1130
|
-
kickins:
|
|
1131
|
-
kickinsPlayon:
|
|
1132
|
-
ruckContests:
|
|
1133
|
-
scoreLaunches:
|
|
1134
|
-
},
|
|
1135
|
-
},
|
|
1136
|
-
timeOnGroundPercentage:
|
|
1137
|
-
},
|
|
1138
|
-
},
|
|
1139
|
-
awayTeamPlayerStats:
|
|
1140
|
-
player:
|
|
1141
|
-
player:
|
|
1142
|
-
position:
|
|
1143
|
-
player:
|
|
1144
|
-
playerId:
|
|
1145
|
-
playerName:
|
|
1146
|
-
givenName:
|
|
1147
|
-
surname:
|
|
1148
|
-
},
|
|
1149
|
-
captain:
|
|
1150
|
-
playerJumperNumber:
|
|
1151
|
-
},
|
|
1152
|
-
},
|
|
1153
|
-
jumperNumber:
|
|
1154
|
-
},
|
|
1155
|
-
teamId:
|
|
1156
|
-
playerStats:
|
|
1157
|
-
stats:
|
|
1158
|
-
goals:
|
|
1159
|
-
behinds:
|
|
1160
|
-
kicks:
|
|
1161
|
-
handballs:
|
|
1162
|
-
disposals:
|
|
1163
|
-
marks:
|
|
1164
|
-
bounces:
|
|
1165
|
-
tackles:
|
|
1166
|
-
contestedPossessions:
|
|
1167
|
-
uncontestedPossessions:
|
|
1168
|
-
totalPossessions:
|
|
1169
|
-
inside50s:
|
|
1170
|
-
marksInside50:
|
|
1171
|
-
contestedMarks:
|
|
1172
|
-
hitouts:
|
|
1173
|
-
onePercenters:
|
|
1174
|
-
disposalEfficiency:
|
|
1175
|
-
clangers:
|
|
1176
|
-
freesFor:
|
|
1177
|
-
freesAgainst:
|
|
1178
|
-
dreamTeamPoints:
|
|
1179
|
-
clearances:
|
|
1180
|
-
centreClearances:
|
|
1181
|
-
stoppageClearances:
|
|
1182
|
-
totalClearances:
|
|
1183
|
-
},
|
|
1184
|
-
rebound50s:
|
|
1185
|
-
goalAssists:
|
|
1186
|
-
goalAccuracy:
|
|
1187
|
-
turnovers:
|
|
1188
|
-
intercepts:
|
|
1189
|
-
tacklesInside50:
|
|
1190
|
-
shotsAtGoal:
|
|
1191
|
-
metresGained:
|
|
1192
|
-
scoreInvolvements:
|
|
1193
|
-
ratingPoints:
|
|
1194
|
-
extendedStats:
|
|
1195
|
-
effectiveDisposals:
|
|
1196
|
-
effectiveKicks:
|
|
1197
|
-
kickEfficiency:
|
|
1198
|
-
kickToHandballRatio:
|
|
1199
|
-
pressureActs:
|
|
1200
|
-
defHalfPressureActs:
|
|
1201
|
-
spoils:
|
|
1202
|
-
hitoutsToAdvantage:
|
|
1203
|
-
hitoutWinPercentage:
|
|
1204
|
-
hitoutToAdvantageRate:
|
|
1205
|
-
groundBallGets:
|
|
1206
|
-
f50GroundBallGets:
|
|
1207
|
-
interceptMarks:
|
|
1208
|
-
marksOnLead:
|
|
1209
|
-
contestedPossessionRate:
|
|
1210
|
-
contestOffOneOnOnes:
|
|
1211
|
-
contestOffWins:
|
|
1212
|
-
contestOffWinsPercentage:
|
|
1213
|
-
contestDefOneOnOnes:
|
|
1214
|
-
contestDefLosses:
|
|
1215
|
-
contestDefLossPercentage:
|
|
1216
|
-
centreBounceAttendances:
|
|
1217
|
-
kickins:
|
|
1218
|
-
kickinsPlayon:
|
|
1219
|
-
ruckContests:
|
|
1220
|
-
scoreLaunches:
|
|
1221
|
-
},
|
|
1222
|
-
},
|
|
1223
|
-
timeOnGroundPercentage:
|
|
1224
|
-
},
|
|
1225
|
-
},
|
|
1226
|
-
},
|
|
1320
|
+
declare const PlayerStatsListSchema: z2.ZodObject<{
|
|
1321
|
+
homeTeamPlayerStats: z2.ZodArray<z2.ZodObject<{
|
|
1322
|
+
player: z2.ZodObject<{
|
|
1323
|
+
player: z2.ZodObject<{
|
|
1324
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1325
|
+
player: z2.ZodObject<{
|
|
1326
|
+
playerId: z2.ZodString;
|
|
1327
|
+
playerName: z2.ZodObject<{
|
|
1328
|
+
givenName: z2.ZodString;
|
|
1329
|
+
surname: z2.ZodString;
|
|
1330
|
+
}, z2.core.$loose>;
|
|
1331
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1332
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1333
|
+
}, z2.core.$loose>;
|
|
1334
|
+
}, z2.core.$loose>;
|
|
1335
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1336
|
+
}, z2.core.$loose>;
|
|
1337
|
+
teamId: z2.ZodString;
|
|
1338
|
+
playerStats: z2.ZodObject<{
|
|
1339
|
+
stats: z2.ZodObject<{
|
|
1340
|
+
goals: z2.ZodOptional<z2.ZodNumber>;
|
|
1341
|
+
behinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1342
|
+
kicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1343
|
+
handballs: z2.ZodOptional<z2.ZodNumber>;
|
|
1344
|
+
disposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1345
|
+
marks: z2.ZodOptional<z2.ZodNumber>;
|
|
1346
|
+
bounces: z2.ZodOptional<z2.ZodNumber>;
|
|
1347
|
+
tackles: z2.ZodOptional<z2.ZodNumber>;
|
|
1348
|
+
contestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1349
|
+
uncontestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1350
|
+
totalPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1351
|
+
inside50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1352
|
+
marksInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1353
|
+
contestedMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1354
|
+
hitouts: z2.ZodOptional<z2.ZodNumber>;
|
|
1355
|
+
onePercenters: z2.ZodOptional<z2.ZodNumber>;
|
|
1356
|
+
disposalEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1357
|
+
clangers: z2.ZodOptional<z2.ZodNumber>;
|
|
1358
|
+
freesFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1359
|
+
freesAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1360
|
+
dreamTeamPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1361
|
+
clearances: z2.ZodOptional<z2.ZodObject<{
|
|
1362
|
+
centreClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1363
|
+
stoppageClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1364
|
+
totalClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1365
|
+
}, z2.core.$loose>>;
|
|
1366
|
+
rebound50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1367
|
+
goalAssists: z2.ZodOptional<z2.ZodNumber>;
|
|
1368
|
+
goalAccuracy: z2.ZodOptional<z2.ZodNumber>;
|
|
1369
|
+
turnovers: z2.ZodOptional<z2.ZodNumber>;
|
|
1370
|
+
intercepts: z2.ZodOptional<z2.ZodNumber>;
|
|
1371
|
+
tacklesInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1372
|
+
shotsAtGoal: z2.ZodOptional<z2.ZodNumber>;
|
|
1373
|
+
metresGained: z2.ZodOptional<z2.ZodNumber>;
|
|
1374
|
+
scoreInvolvements: z2.ZodOptional<z2.ZodNumber>;
|
|
1375
|
+
ratingPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1376
|
+
extendedStats: z2.ZodOptional<z2.ZodObject<{
|
|
1377
|
+
effectiveDisposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1378
|
+
effectiveKicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1379
|
+
kickEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1380
|
+
kickToHandballRatio: z2.ZodOptional<z2.ZodNumber>;
|
|
1381
|
+
pressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1382
|
+
defHalfPressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1383
|
+
spoils: z2.ZodOptional<z2.ZodNumber>;
|
|
1384
|
+
hitoutsToAdvantage: z2.ZodOptional<z2.ZodNumber>;
|
|
1385
|
+
hitoutWinPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1386
|
+
hitoutToAdvantageRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1387
|
+
groundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1388
|
+
f50GroundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1389
|
+
interceptMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1390
|
+
marksOnLead: z2.ZodOptional<z2.ZodNumber>;
|
|
1391
|
+
contestedPossessionRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1392
|
+
contestOffOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1393
|
+
contestOffWins: z2.ZodOptional<z2.ZodNumber>;
|
|
1394
|
+
contestOffWinsPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1395
|
+
contestDefOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1396
|
+
contestDefLosses: z2.ZodOptional<z2.ZodNumber>;
|
|
1397
|
+
contestDefLossPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1398
|
+
centreBounceAttendances: z2.ZodOptional<z2.ZodNumber>;
|
|
1399
|
+
kickins: z2.ZodOptional<z2.ZodNumber>;
|
|
1400
|
+
kickinsPlayon: z2.ZodOptional<z2.ZodNumber>;
|
|
1401
|
+
ruckContests: z2.ZodOptional<z2.ZodNumber>;
|
|
1402
|
+
scoreLaunches: z2.ZodOptional<z2.ZodNumber>;
|
|
1403
|
+
}, z2.core.$loose>>;
|
|
1404
|
+
}, z2.core.$loose>;
|
|
1405
|
+
timeOnGroundPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1406
|
+
}, z2.core.$loose>;
|
|
1407
|
+
}, z2.core.$loose>>;
|
|
1408
|
+
awayTeamPlayerStats: z2.ZodArray<z2.ZodObject<{
|
|
1409
|
+
player: z2.ZodObject<{
|
|
1410
|
+
player: z2.ZodObject<{
|
|
1411
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1412
|
+
player: z2.ZodObject<{
|
|
1413
|
+
playerId: z2.ZodString;
|
|
1414
|
+
playerName: z2.ZodObject<{
|
|
1415
|
+
givenName: z2.ZodString;
|
|
1416
|
+
surname: z2.ZodString;
|
|
1417
|
+
}, z2.core.$loose>;
|
|
1418
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1419
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1420
|
+
}, z2.core.$loose>;
|
|
1421
|
+
}, z2.core.$loose>;
|
|
1422
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1423
|
+
}, z2.core.$loose>;
|
|
1424
|
+
teamId: z2.ZodString;
|
|
1425
|
+
playerStats: z2.ZodObject<{
|
|
1426
|
+
stats: z2.ZodObject<{
|
|
1427
|
+
goals: z2.ZodOptional<z2.ZodNumber>;
|
|
1428
|
+
behinds: z2.ZodOptional<z2.ZodNumber>;
|
|
1429
|
+
kicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1430
|
+
handballs: z2.ZodOptional<z2.ZodNumber>;
|
|
1431
|
+
disposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1432
|
+
marks: z2.ZodOptional<z2.ZodNumber>;
|
|
1433
|
+
bounces: z2.ZodOptional<z2.ZodNumber>;
|
|
1434
|
+
tackles: z2.ZodOptional<z2.ZodNumber>;
|
|
1435
|
+
contestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1436
|
+
uncontestedPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1437
|
+
totalPossessions: z2.ZodOptional<z2.ZodNumber>;
|
|
1438
|
+
inside50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1439
|
+
marksInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1440
|
+
contestedMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1441
|
+
hitouts: z2.ZodOptional<z2.ZodNumber>;
|
|
1442
|
+
onePercenters: z2.ZodOptional<z2.ZodNumber>;
|
|
1443
|
+
disposalEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1444
|
+
clangers: z2.ZodOptional<z2.ZodNumber>;
|
|
1445
|
+
freesFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1446
|
+
freesAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1447
|
+
dreamTeamPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1448
|
+
clearances: z2.ZodOptional<z2.ZodObject<{
|
|
1449
|
+
centreClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1450
|
+
stoppageClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1451
|
+
totalClearances: z2.ZodOptional<z2.ZodNumber>;
|
|
1452
|
+
}, z2.core.$loose>>;
|
|
1453
|
+
rebound50s: z2.ZodOptional<z2.ZodNumber>;
|
|
1454
|
+
goalAssists: z2.ZodOptional<z2.ZodNumber>;
|
|
1455
|
+
goalAccuracy: z2.ZodOptional<z2.ZodNumber>;
|
|
1456
|
+
turnovers: z2.ZodOptional<z2.ZodNumber>;
|
|
1457
|
+
intercepts: z2.ZodOptional<z2.ZodNumber>;
|
|
1458
|
+
tacklesInside50: z2.ZodOptional<z2.ZodNumber>;
|
|
1459
|
+
shotsAtGoal: z2.ZodOptional<z2.ZodNumber>;
|
|
1460
|
+
metresGained: z2.ZodOptional<z2.ZodNumber>;
|
|
1461
|
+
scoreInvolvements: z2.ZodOptional<z2.ZodNumber>;
|
|
1462
|
+
ratingPoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1463
|
+
extendedStats: z2.ZodOptional<z2.ZodObject<{
|
|
1464
|
+
effectiveDisposals: z2.ZodOptional<z2.ZodNumber>;
|
|
1465
|
+
effectiveKicks: z2.ZodOptional<z2.ZodNumber>;
|
|
1466
|
+
kickEfficiency: z2.ZodOptional<z2.ZodNumber>;
|
|
1467
|
+
kickToHandballRatio: z2.ZodOptional<z2.ZodNumber>;
|
|
1468
|
+
pressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1469
|
+
defHalfPressureActs: z2.ZodOptional<z2.ZodNumber>;
|
|
1470
|
+
spoils: z2.ZodOptional<z2.ZodNumber>;
|
|
1471
|
+
hitoutsToAdvantage: z2.ZodOptional<z2.ZodNumber>;
|
|
1472
|
+
hitoutWinPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1473
|
+
hitoutToAdvantageRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1474
|
+
groundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1475
|
+
f50GroundBallGets: z2.ZodOptional<z2.ZodNumber>;
|
|
1476
|
+
interceptMarks: z2.ZodOptional<z2.ZodNumber>;
|
|
1477
|
+
marksOnLead: z2.ZodOptional<z2.ZodNumber>;
|
|
1478
|
+
contestedPossessionRate: z2.ZodOptional<z2.ZodNumber>;
|
|
1479
|
+
contestOffOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1480
|
+
contestOffWins: z2.ZodOptional<z2.ZodNumber>;
|
|
1481
|
+
contestOffWinsPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1482
|
+
contestDefOneOnOnes: z2.ZodOptional<z2.ZodNumber>;
|
|
1483
|
+
contestDefLosses: z2.ZodOptional<z2.ZodNumber>;
|
|
1484
|
+
contestDefLossPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1485
|
+
centreBounceAttendances: z2.ZodOptional<z2.ZodNumber>;
|
|
1486
|
+
kickins: z2.ZodOptional<z2.ZodNumber>;
|
|
1487
|
+
kickinsPlayon: z2.ZodOptional<z2.ZodNumber>;
|
|
1488
|
+
ruckContests: z2.ZodOptional<z2.ZodNumber>;
|
|
1489
|
+
scoreLaunches: z2.ZodOptional<z2.ZodNumber>;
|
|
1490
|
+
}, z2.core.$loose>>;
|
|
1491
|
+
}, z2.core.$loose>;
|
|
1492
|
+
timeOnGroundPercentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1493
|
+
}, z2.core.$loose>;
|
|
1494
|
+
}, z2.core.$loose>>;
|
|
1495
|
+
}, z2.core.$loose>;
|
|
1227
1496
|
/** Inferred type for a single player stats item. */
|
|
1228
|
-
type PlayerStatsItem =
|
|
1497
|
+
type PlayerStatsItem = z2.infer<typeof PlayerStatsItemSchema>;
|
|
1229
1498
|
/** Inferred type for player game stats. */
|
|
1230
|
-
type PlayerGameStats =
|
|
1499
|
+
type PlayerGameStats = z2.infer<typeof PlayerGameStatsSchema>;
|
|
1231
1500
|
/** Inferred type for the player stats list response. */
|
|
1232
|
-
type PlayerStatsList =
|
|
1501
|
+
type PlayerStatsList = z2.infer<typeof PlayerStatsListSchema>;
|
|
1233
1502
|
/** Schema for a player entry within a match roster. */
|
|
1234
|
-
declare const RosterPlayerSchema:
|
|
1235
|
-
player:
|
|
1236
|
-
position:
|
|
1237
|
-
player:
|
|
1238
|
-
playerId:
|
|
1239
|
-
playerName:
|
|
1240
|
-
givenName:
|
|
1241
|
-
surname:
|
|
1242
|
-
},
|
|
1243
|
-
captain:
|
|
1244
|
-
playerJumperNumber:
|
|
1245
|
-
},
|
|
1246
|
-
},
|
|
1247
|
-
jumperNumber:
|
|
1248
|
-
},
|
|
1503
|
+
declare const RosterPlayerSchema: z2.ZodObject<{
|
|
1504
|
+
player: z2.ZodObject<{
|
|
1505
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1506
|
+
player: z2.ZodObject<{
|
|
1507
|
+
playerId: z2.ZodString;
|
|
1508
|
+
playerName: z2.ZodObject<{
|
|
1509
|
+
givenName: z2.ZodString;
|
|
1510
|
+
surname: z2.ZodString;
|
|
1511
|
+
}, z2.core.$loose>;
|
|
1512
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1513
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1514
|
+
}, z2.core.$loose>;
|
|
1515
|
+
}, z2.core.$loose>;
|
|
1516
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1517
|
+
}, z2.core.$loose>;
|
|
1249
1518
|
/** Schema for a team's player list in the roster. */
|
|
1250
|
-
declare const TeamPlayersSchema:
|
|
1251
|
-
teamId:
|
|
1252
|
-
players:
|
|
1253
|
-
player:
|
|
1254
|
-
position:
|
|
1255
|
-
player:
|
|
1256
|
-
playerId:
|
|
1257
|
-
playerName:
|
|
1258
|
-
givenName:
|
|
1259
|
-
surname:
|
|
1260
|
-
},
|
|
1261
|
-
captain:
|
|
1262
|
-
playerJumperNumber:
|
|
1263
|
-
},
|
|
1264
|
-
},
|
|
1265
|
-
jumperNumber:
|
|
1266
|
-
},
|
|
1267
|
-
},
|
|
1519
|
+
declare const TeamPlayersSchema: z2.ZodObject<{
|
|
1520
|
+
teamId: z2.ZodString;
|
|
1521
|
+
players: z2.ZodArray<z2.ZodObject<{
|
|
1522
|
+
player: z2.ZodObject<{
|
|
1523
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1524
|
+
player: z2.ZodObject<{
|
|
1525
|
+
playerId: z2.ZodString;
|
|
1526
|
+
playerName: z2.ZodObject<{
|
|
1527
|
+
givenName: z2.ZodString;
|
|
1528
|
+
surname: z2.ZodString;
|
|
1529
|
+
}, z2.core.$loose>;
|
|
1530
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1531
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1532
|
+
}, z2.core.$loose>;
|
|
1533
|
+
}, z2.core.$loose>;
|
|
1534
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1535
|
+
}, z2.core.$loose>>;
|
|
1536
|
+
}, z2.core.$loose>;
|
|
1268
1537
|
/** Schema for the full match roster response. */
|
|
1269
|
-
declare const MatchRosterSchema:
|
|
1270
|
-
match:
|
|
1271
|
-
matchId:
|
|
1272
|
-
name:
|
|
1273
|
-
status:
|
|
1274
|
-
utcStartTime:
|
|
1275
|
-
homeTeamId:
|
|
1276
|
-
awayTeamId:
|
|
1277
|
-
homeTeam:
|
|
1278
|
-
name:
|
|
1279
|
-
teamId:
|
|
1280
|
-
abbr:
|
|
1281
|
-
nickname:
|
|
1282
|
-
},
|
|
1283
|
-
awayTeam:
|
|
1284
|
-
name:
|
|
1285
|
-
teamId:
|
|
1286
|
-
abbr:
|
|
1287
|
-
nickname:
|
|
1288
|
-
},
|
|
1289
|
-
round:
|
|
1290
|
-
abbr:
|
|
1291
|
-
},
|
|
1292
|
-
teamPlayers:
|
|
1293
|
-
teamId:
|
|
1294
|
-
players:
|
|
1295
|
-
player:
|
|
1296
|
-
position:
|
|
1297
|
-
player:
|
|
1298
|
-
playerId:
|
|
1299
|
-
playerName:
|
|
1300
|
-
givenName:
|
|
1301
|
-
surname:
|
|
1302
|
-
},
|
|
1303
|
-
captain:
|
|
1304
|
-
playerJumperNumber:
|
|
1305
|
-
},
|
|
1306
|
-
},
|
|
1307
|
-
jumperNumber:
|
|
1308
|
-
},
|
|
1309
|
-
},
|
|
1310
|
-
},
|
|
1538
|
+
declare const MatchRosterSchema: z2.ZodObject<{
|
|
1539
|
+
match: z2.ZodObject<{
|
|
1540
|
+
matchId: z2.ZodString;
|
|
1541
|
+
name: z2.ZodOptional<z2.ZodString>;
|
|
1542
|
+
status: z2.ZodString;
|
|
1543
|
+
utcStartTime: z2.ZodString;
|
|
1544
|
+
homeTeamId: z2.ZodString;
|
|
1545
|
+
awayTeamId: z2.ZodString;
|
|
1546
|
+
homeTeam: z2.ZodObject<{
|
|
1547
|
+
name: z2.ZodString;
|
|
1548
|
+
teamId: z2.ZodString;
|
|
1549
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1550
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1551
|
+
}, z2.core.$loose>;
|
|
1552
|
+
awayTeam: z2.ZodObject<{
|
|
1553
|
+
name: z2.ZodString;
|
|
1554
|
+
teamId: z2.ZodString;
|
|
1555
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1556
|
+
nickname: z2.ZodOptional<z2.ZodString>;
|
|
1557
|
+
}, z2.core.$loose>;
|
|
1558
|
+
round: z2.ZodOptional<z2.ZodString>;
|
|
1559
|
+
abbr: z2.ZodOptional<z2.ZodString>;
|
|
1560
|
+
}, z2.core.$loose>;
|
|
1561
|
+
teamPlayers: z2.ZodArray<z2.ZodObject<{
|
|
1562
|
+
teamId: z2.ZodString;
|
|
1563
|
+
players: z2.ZodArray<z2.ZodObject<{
|
|
1564
|
+
player: z2.ZodObject<{
|
|
1565
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1566
|
+
player: z2.ZodObject<{
|
|
1567
|
+
playerId: z2.ZodString;
|
|
1568
|
+
playerName: z2.ZodObject<{
|
|
1569
|
+
givenName: z2.ZodString;
|
|
1570
|
+
surname: z2.ZodString;
|
|
1571
|
+
}, z2.core.$loose>;
|
|
1572
|
+
captain: z2.ZodOptional<z2.ZodBoolean>;
|
|
1573
|
+
playerJumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1574
|
+
}, z2.core.$loose>;
|
|
1575
|
+
}, z2.core.$loose>;
|
|
1576
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1577
|
+
}, z2.core.$loose>>;
|
|
1578
|
+
}, z2.core.$loose>>;
|
|
1579
|
+
}, z2.core.$loose>;
|
|
1311
1580
|
/** Inferred type for a roster player. */
|
|
1312
|
-
type RosterPlayer =
|
|
1581
|
+
type RosterPlayer = z2.infer<typeof RosterPlayerSchema>;
|
|
1313
1582
|
/** Inferred type for a team's player list. */
|
|
1314
|
-
type TeamPlayers =
|
|
1583
|
+
type TeamPlayers = z2.infer<typeof TeamPlayersSchema>;
|
|
1315
1584
|
/** Inferred type for the match roster response. */
|
|
1316
|
-
type MatchRoster =
|
|
1585
|
+
type MatchRoster = z2.infer<typeof MatchRosterSchema>;
|
|
1317
1586
|
/** Schema for a single team entry. */
|
|
1318
|
-
declare const TeamItemSchema:
|
|
1319
|
-
id:
|
|
1320
|
-
name:
|
|
1321
|
-
abbreviation:
|
|
1322
|
-
teamType:
|
|
1323
|
-
},
|
|
1587
|
+
declare const TeamItemSchema: z2.ZodObject<{
|
|
1588
|
+
id: z2.ZodNumber;
|
|
1589
|
+
name: z2.ZodString;
|
|
1590
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
1591
|
+
teamType: z2.ZodOptional<z2.ZodString>;
|
|
1592
|
+
}, z2.core.$loose>;
|
|
1324
1593
|
/** Schema for the team list response. */
|
|
1325
|
-
declare const TeamListSchema:
|
|
1326
|
-
teams:
|
|
1327
|
-
id:
|
|
1328
|
-
name:
|
|
1329
|
-
abbreviation:
|
|
1330
|
-
teamType:
|
|
1331
|
-
},
|
|
1332
|
-
},
|
|
1594
|
+
declare const TeamListSchema: z2.ZodObject<{
|
|
1595
|
+
teams: z2.ZodArray<z2.ZodObject<{
|
|
1596
|
+
id: z2.ZodNumber;
|
|
1597
|
+
name: z2.ZodString;
|
|
1598
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
1599
|
+
teamType: z2.ZodOptional<z2.ZodString>;
|
|
1600
|
+
}, z2.core.$loose>>;
|
|
1601
|
+
}, z2.core.$loose>;
|
|
1333
1602
|
/** Inferred type for a single team item. */
|
|
1334
|
-
type TeamItem =
|
|
1603
|
+
type TeamItem = z2.infer<typeof TeamItemSchema>;
|
|
1335
1604
|
/** Inferred type for the team list response. */
|
|
1336
|
-
type TeamList =
|
|
1605
|
+
type TeamList = z2.infer<typeof TeamListSchema>;
|
|
1337
1606
|
/** Schema for a player's inner identity within a squad. */
|
|
1338
|
-
declare const SquadPlayerInnerSchema:
|
|
1339
|
-
id:
|
|
1340
|
-
providerId:
|
|
1341
|
-
firstName:
|
|
1342
|
-
surname:
|
|
1343
|
-
dateOfBirth:
|
|
1344
|
-
heightInCm:
|
|
1345
|
-
weightInKg:
|
|
1346
|
-
draftYear:
|
|
1347
|
-
draftPosition:
|
|
1348
|
-
draftType:
|
|
1349
|
-
debutYear:
|
|
1350
|
-
recruitedFrom:
|
|
1351
|
-
},
|
|
1607
|
+
declare const SquadPlayerInnerSchema: z2.ZodObject<{
|
|
1608
|
+
id: z2.ZodNumber;
|
|
1609
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
1610
|
+
firstName: z2.ZodString;
|
|
1611
|
+
surname: z2.ZodString;
|
|
1612
|
+
dateOfBirth: z2.ZodOptional<z2.ZodString>;
|
|
1613
|
+
heightInCm: z2.ZodOptional<z2.ZodNumber>;
|
|
1614
|
+
weightInKg: z2.ZodOptional<z2.ZodNumber>;
|
|
1615
|
+
draftYear: z2.ZodOptional<z2.ZodString>;
|
|
1616
|
+
draftPosition: z2.ZodOptional<z2.ZodString>;
|
|
1617
|
+
draftType: z2.ZodOptional<z2.ZodString>;
|
|
1618
|
+
debutYear: z2.ZodOptional<z2.ZodString>;
|
|
1619
|
+
recruitedFrom: z2.ZodOptional<z2.ZodString>;
|
|
1620
|
+
}, z2.core.$loose>;
|
|
1352
1621
|
/** Schema for a single squad player entry. */
|
|
1353
|
-
declare const SquadPlayerItemSchema:
|
|
1354
|
-
player:
|
|
1355
|
-
id:
|
|
1356
|
-
providerId:
|
|
1357
|
-
firstName:
|
|
1358
|
-
surname:
|
|
1359
|
-
dateOfBirth:
|
|
1360
|
-
heightInCm:
|
|
1361
|
-
weightInKg:
|
|
1362
|
-
draftYear:
|
|
1363
|
-
draftPosition:
|
|
1364
|
-
draftType:
|
|
1365
|
-
debutYear:
|
|
1366
|
-
recruitedFrom:
|
|
1367
|
-
},
|
|
1368
|
-
jumperNumber:
|
|
1369
|
-
position:
|
|
1370
|
-
},
|
|
1622
|
+
declare const SquadPlayerItemSchema: z2.ZodObject<{
|
|
1623
|
+
player: z2.ZodObject<{
|
|
1624
|
+
id: z2.ZodNumber;
|
|
1625
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
1626
|
+
firstName: z2.ZodString;
|
|
1627
|
+
surname: z2.ZodString;
|
|
1628
|
+
dateOfBirth: z2.ZodOptional<z2.ZodString>;
|
|
1629
|
+
heightInCm: z2.ZodOptional<z2.ZodNumber>;
|
|
1630
|
+
weightInKg: z2.ZodOptional<z2.ZodNumber>;
|
|
1631
|
+
draftYear: z2.ZodOptional<z2.ZodString>;
|
|
1632
|
+
draftPosition: z2.ZodOptional<z2.ZodString>;
|
|
1633
|
+
draftType: z2.ZodOptional<z2.ZodString>;
|
|
1634
|
+
debutYear: z2.ZodOptional<z2.ZodString>;
|
|
1635
|
+
recruitedFrom: z2.ZodOptional<z2.ZodString>;
|
|
1636
|
+
}, z2.core.$loose>;
|
|
1637
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1638
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1639
|
+
}, z2.core.$loose>;
|
|
1371
1640
|
/** Schema for the squad wrapper object. */
|
|
1372
|
-
declare const SquadSchema:
|
|
1373
|
-
team:
|
|
1374
|
-
name:
|
|
1375
|
-
},
|
|
1376
|
-
players:
|
|
1377
|
-
player:
|
|
1378
|
-
id:
|
|
1379
|
-
providerId:
|
|
1380
|
-
firstName:
|
|
1381
|
-
surname:
|
|
1382
|
-
dateOfBirth:
|
|
1383
|
-
heightInCm:
|
|
1384
|
-
weightInKg:
|
|
1385
|
-
draftYear:
|
|
1386
|
-
draftPosition:
|
|
1387
|
-
draftType:
|
|
1388
|
-
debutYear:
|
|
1389
|
-
recruitedFrom:
|
|
1390
|
-
},
|
|
1391
|
-
jumperNumber:
|
|
1392
|
-
position:
|
|
1393
|
-
},
|
|
1394
|
-
},
|
|
1641
|
+
declare const SquadSchema: z2.ZodObject<{
|
|
1642
|
+
team: z2.ZodOptional<z2.ZodObject<{
|
|
1643
|
+
name: z2.ZodString;
|
|
1644
|
+
}, z2.core.$loose>>;
|
|
1645
|
+
players: z2.ZodArray<z2.ZodObject<{
|
|
1646
|
+
player: z2.ZodObject<{
|
|
1647
|
+
id: z2.ZodNumber;
|
|
1648
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
1649
|
+
firstName: z2.ZodString;
|
|
1650
|
+
surname: z2.ZodString;
|
|
1651
|
+
dateOfBirth: z2.ZodOptional<z2.ZodString>;
|
|
1652
|
+
heightInCm: z2.ZodOptional<z2.ZodNumber>;
|
|
1653
|
+
weightInKg: z2.ZodOptional<z2.ZodNumber>;
|
|
1654
|
+
draftYear: z2.ZodOptional<z2.ZodString>;
|
|
1655
|
+
draftPosition: z2.ZodOptional<z2.ZodString>;
|
|
1656
|
+
draftType: z2.ZodOptional<z2.ZodString>;
|
|
1657
|
+
debutYear: z2.ZodOptional<z2.ZodString>;
|
|
1658
|
+
recruitedFrom: z2.ZodOptional<z2.ZodString>;
|
|
1659
|
+
}, z2.core.$loose>;
|
|
1660
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1661
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1662
|
+
}, z2.core.$loose>>;
|
|
1663
|
+
}, z2.core.$loose>;
|
|
1395
1664
|
/** Schema for the squad response. */
|
|
1396
|
-
declare const SquadListSchema:
|
|
1397
|
-
squad:
|
|
1398
|
-
team:
|
|
1399
|
-
name:
|
|
1400
|
-
},
|
|
1401
|
-
players:
|
|
1402
|
-
player:
|
|
1403
|
-
id:
|
|
1404
|
-
providerId:
|
|
1405
|
-
firstName:
|
|
1406
|
-
surname:
|
|
1407
|
-
dateOfBirth:
|
|
1408
|
-
heightInCm:
|
|
1409
|
-
weightInKg:
|
|
1410
|
-
draftYear:
|
|
1411
|
-
draftPosition:
|
|
1412
|
-
draftType:
|
|
1413
|
-
debutYear:
|
|
1414
|
-
recruitedFrom:
|
|
1415
|
-
},
|
|
1416
|
-
jumperNumber:
|
|
1417
|
-
position:
|
|
1418
|
-
},
|
|
1419
|
-
},
|
|
1420
|
-
},
|
|
1665
|
+
declare const SquadListSchema: z2.ZodObject<{
|
|
1666
|
+
squad: z2.ZodObject<{
|
|
1667
|
+
team: z2.ZodOptional<z2.ZodObject<{
|
|
1668
|
+
name: z2.ZodString;
|
|
1669
|
+
}, z2.core.$loose>>;
|
|
1670
|
+
players: z2.ZodArray<z2.ZodObject<{
|
|
1671
|
+
player: z2.ZodObject<{
|
|
1672
|
+
id: z2.ZodNumber;
|
|
1673
|
+
providerId: z2.ZodOptional<z2.ZodString>;
|
|
1674
|
+
firstName: z2.ZodString;
|
|
1675
|
+
surname: z2.ZodString;
|
|
1676
|
+
dateOfBirth: z2.ZodOptional<z2.ZodString>;
|
|
1677
|
+
heightInCm: z2.ZodOptional<z2.ZodNumber>;
|
|
1678
|
+
weightInKg: z2.ZodOptional<z2.ZodNumber>;
|
|
1679
|
+
draftYear: z2.ZodOptional<z2.ZodString>;
|
|
1680
|
+
draftPosition: z2.ZodOptional<z2.ZodString>;
|
|
1681
|
+
draftType: z2.ZodOptional<z2.ZodString>;
|
|
1682
|
+
debutYear: z2.ZodOptional<z2.ZodString>;
|
|
1683
|
+
recruitedFrom: z2.ZodOptional<z2.ZodString>;
|
|
1684
|
+
}, z2.core.$loose>;
|
|
1685
|
+
jumperNumber: z2.ZodOptional<z2.ZodNumber>;
|
|
1686
|
+
position: z2.ZodOptional<z2.ZodString>;
|
|
1687
|
+
}, z2.core.$loose>>;
|
|
1688
|
+
}, z2.core.$loose>;
|
|
1689
|
+
}, z2.core.$loose>;
|
|
1421
1690
|
/** Inferred type for a single squad player item. */
|
|
1422
|
-
type SquadPlayerItem =
|
|
1691
|
+
type SquadPlayerItem = z2.infer<typeof SquadPlayerItemSchema>;
|
|
1423
1692
|
/** Inferred type for the squad response. */
|
|
1424
|
-
type SquadList =
|
|
1693
|
+
type SquadList = z2.infer<typeof SquadListSchema>;
|
|
1425
1694
|
/** Schema for a single ladder entry from the AFL API. */
|
|
1426
|
-
declare const LadderEntryRawSchema:
|
|
1427
|
-
position:
|
|
1428
|
-
team:
|
|
1429
|
-
name:
|
|
1430
|
-
id:
|
|
1431
|
-
abbreviation:
|
|
1432
|
-
},
|
|
1433
|
-
played:
|
|
1434
|
-
pointsFor:
|
|
1435
|
-
pointsAgainst:
|
|
1436
|
-
thisSeasonRecord:
|
|
1437
|
-
aggregatePoints:
|
|
1438
|
-
percentage:
|
|
1439
|
-
winLossRecord:
|
|
1440
|
-
wins:
|
|
1441
|
-
losses:
|
|
1442
|
-
draws:
|
|
1443
|
-
played:
|
|
1444
|
-
},
|
|
1445
|
-
},
|
|
1446
|
-
form:
|
|
1447
|
-
},
|
|
1695
|
+
declare const LadderEntryRawSchema: z2.ZodObject<{
|
|
1696
|
+
position: z2.ZodNumber;
|
|
1697
|
+
team: z2.ZodObject<{
|
|
1698
|
+
name: z2.ZodString;
|
|
1699
|
+
id: z2.ZodOptional<z2.ZodNumber>;
|
|
1700
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
1701
|
+
}, z2.core.$loose>;
|
|
1702
|
+
played: z2.ZodOptional<z2.ZodNumber>;
|
|
1703
|
+
pointsFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1704
|
+
pointsAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1705
|
+
thisSeasonRecord: z2.ZodOptional<z2.ZodObject<{
|
|
1706
|
+
aggregatePoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1707
|
+
percentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1708
|
+
winLossRecord: z2.ZodOptional<z2.ZodObject<{
|
|
1709
|
+
wins: z2.ZodNumber;
|
|
1710
|
+
losses: z2.ZodNumber;
|
|
1711
|
+
draws: z2.ZodNumber;
|
|
1712
|
+
played: z2.ZodOptional<z2.ZodNumber>;
|
|
1713
|
+
}, z2.core.$loose>>;
|
|
1714
|
+
}, z2.core.$loose>>;
|
|
1715
|
+
form: z2.ZodOptional<z2.ZodString>;
|
|
1716
|
+
}, z2.core.$loose>;
|
|
1448
1717
|
/** Schema for the ladder API response. */
|
|
1449
|
-
declare const LadderResponseSchema:
|
|
1450
|
-
ladders:
|
|
1451
|
-
entries:
|
|
1452
|
-
position:
|
|
1453
|
-
team:
|
|
1454
|
-
name:
|
|
1455
|
-
id:
|
|
1456
|
-
abbreviation:
|
|
1457
|
-
},
|
|
1458
|
-
played:
|
|
1459
|
-
pointsFor:
|
|
1460
|
-
pointsAgainst:
|
|
1461
|
-
thisSeasonRecord:
|
|
1462
|
-
aggregatePoints:
|
|
1463
|
-
percentage:
|
|
1464
|
-
winLossRecord:
|
|
1465
|
-
wins:
|
|
1466
|
-
losses:
|
|
1467
|
-
draws:
|
|
1468
|
-
played:
|
|
1469
|
-
},
|
|
1470
|
-
},
|
|
1471
|
-
form:
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
round:
|
|
1475
|
-
roundNumber:
|
|
1476
|
-
name:
|
|
1477
|
-
},
|
|
1478
|
-
},
|
|
1718
|
+
declare const LadderResponseSchema: z2.ZodObject<{
|
|
1719
|
+
ladders: z2.ZodArray<z2.ZodObject<{
|
|
1720
|
+
entries: z2.ZodArray<z2.ZodObject<{
|
|
1721
|
+
position: z2.ZodNumber;
|
|
1722
|
+
team: z2.ZodObject<{
|
|
1723
|
+
name: z2.ZodString;
|
|
1724
|
+
id: z2.ZodOptional<z2.ZodNumber>;
|
|
1725
|
+
abbreviation: z2.ZodOptional<z2.ZodString>;
|
|
1726
|
+
}, z2.core.$loose>;
|
|
1727
|
+
played: z2.ZodOptional<z2.ZodNumber>;
|
|
1728
|
+
pointsFor: z2.ZodOptional<z2.ZodNumber>;
|
|
1729
|
+
pointsAgainst: z2.ZodOptional<z2.ZodNumber>;
|
|
1730
|
+
thisSeasonRecord: z2.ZodOptional<z2.ZodObject<{
|
|
1731
|
+
aggregatePoints: z2.ZodOptional<z2.ZodNumber>;
|
|
1732
|
+
percentage: z2.ZodOptional<z2.ZodNumber>;
|
|
1733
|
+
winLossRecord: z2.ZodOptional<z2.ZodObject<{
|
|
1734
|
+
wins: z2.ZodNumber;
|
|
1735
|
+
losses: z2.ZodNumber;
|
|
1736
|
+
draws: z2.ZodNumber;
|
|
1737
|
+
played: z2.ZodOptional<z2.ZodNumber>;
|
|
1738
|
+
}, z2.core.$loose>>;
|
|
1739
|
+
}, z2.core.$loose>>;
|
|
1740
|
+
form: z2.ZodOptional<z2.ZodString>;
|
|
1741
|
+
}, z2.core.$loose>>;
|
|
1742
|
+
}, z2.core.$loose>>;
|
|
1743
|
+
round: z2.ZodOptional<z2.ZodObject<{
|
|
1744
|
+
roundNumber: z2.ZodNumber;
|
|
1745
|
+
name: z2.ZodOptional<z2.ZodString>;
|
|
1746
|
+
}, z2.core.$loose>>;
|
|
1747
|
+
}, z2.core.$loose>;
|
|
1479
1748
|
/** Inferred type for a raw ladder entry. */
|
|
1480
|
-
type LadderEntryRaw =
|
|
1749
|
+
type LadderEntryRaw = z2.infer<typeof LadderEntryRawSchema>;
|
|
1481
1750
|
/** Inferred type for the ladder API response. */
|
|
1482
|
-
type LadderResponse =
|
|
1483
|
-
import { z as
|
|
1751
|
+
type LadderResponse = z2.infer<typeof LadderResponseSchema>;
|
|
1752
|
+
import { z as z3 } from "zod/v4";
|
|
1484
1753
|
/** Options for constructing an {@link AflApiClient}. */
|
|
1485
1754
|
interface AflApiClientOptions {
|
|
1486
1755
|
/** Custom fetch implementation (defaults to global `fetch`). */
|
|
@@ -1529,7 +1798,7 @@ declare class AflApiClient {
|
|
|
1529
1798
|
* @param schema - Zod schema to validate the response against.
|
|
1530
1799
|
* @returns Validated data on success, or an error Result.
|
|
1531
1800
|
*/
|
|
1532
|
-
fetchJson<T>(url: string, schema:
|
|
1801
|
+
fetchJson<T>(url: string, schema: z3.ZodType<T>): Promise<Result<T, AflApiError | ValidationError>>;
|
|
1533
1802
|
/**
|
|
1534
1803
|
* Resolve a competition code (e.g. "AFLM") to its API competition ID.
|
|
1535
1804
|
*
|
|
@@ -1620,6 +1889,55 @@ declare class AflApiClient {
|
|
|
1620
1889
|
*/
|
|
1621
1890
|
fetchLadder(seasonId: number, roundId?: number): Promise<Result<LadderResponse, AflApiError | ValidationError>>;
|
|
1622
1891
|
}
|
|
1892
|
+
/** Options for constructing an AFL Coaches client. */
|
|
1893
|
+
interface AflCoachesClientOptions {
|
|
1894
|
+
readonly fetchFn?: typeof fetch | undefined;
|
|
1895
|
+
}
|
|
1896
|
+
/**
|
|
1897
|
+
* AFL Coaches Association scraper client.
|
|
1898
|
+
*
|
|
1899
|
+
* Scrapes the AFLCA website for coaches votes data.
|
|
1900
|
+
*/
|
|
1901
|
+
declare class AflCoachesClient {
|
|
1902
|
+
private readonly fetchFn;
|
|
1903
|
+
constructor(options?: AflCoachesClientOptions);
|
|
1904
|
+
/**
|
|
1905
|
+
* Fetch the HTML content of an AFLCA page.
|
|
1906
|
+
*/
|
|
1907
|
+
private fetchHtml;
|
|
1908
|
+
/**
|
|
1909
|
+
* Build the AFLCA leaderboard URL for a given season, round, and competition.
|
|
1910
|
+
*
|
|
1911
|
+
* Mirrors the R package URL construction from `helper-aflcoaches.R`.
|
|
1912
|
+
*
|
|
1913
|
+
* @param season - Season year (e.g. 2024).
|
|
1914
|
+
* @param roundNumber - Round number.
|
|
1915
|
+
* @param competition - "AFLM" or "AFLW".
|
|
1916
|
+
* @param isFinals - Whether this is a finals round.
|
|
1917
|
+
*/
|
|
1918
|
+
private buildUrl;
|
|
1919
|
+
/**
|
|
1920
|
+
* Scrape coaches votes for a single round.
|
|
1921
|
+
*
|
|
1922
|
+
* @param season - Season year.
|
|
1923
|
+
* @param roundNumber - Round number.
|
|
1924
|
+
* @param competition - "AFLM" or "AFLW".
|
|
1925
|
+
* @param isFinals - Whether this is a finals round.
|
|
1926
|
+
* @returns Array of coaches vote records for that round.
|
|
1927
|
+
*/
|
|
1928
|
+
scrapeRoundVotes(season: number, roundNumber: number, competition: CompetitionCode, isFinals: boolean): Promise<Result<CoachesVote[], ScrapeError>>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Fetch coaches votes for an entire season (all rounds).
|
|
1931
|
+
*
|
|
1932
|
+
* Iterates over rounds 1-30, skipping rounds that return errors (e.g. byes or
|
|
1933
|
+
* rounds that haven't been played yet). Finals rounds (>= 24) use the finals URL.
|
|
1934
|
+
*
|
|
1935
|
+
* @param season - Season year.
|
|
1936
|
+
* @param competition - "AFLM" or "AFLW".
|
|
1937
|
+
* @returns Combined array of coaches votes for the season.
|
|
1938
|
+
*/
|
|
1939
|
+
fetchSeasonVotes(season: number, competition: CompetitionCode): Promise<Result<CoachesVote[], ScrapeError>>;
|
|
1940
|
+
}
|
|
1623
1941
|
/** Options for constructing an AFL Tables client. */
|
|
1624
1942
|
interface AflTablesClientOptions {
|
|
1625
1943
|
readonly fetchFn?: typeof fetch | undefined;
|
|
@@ -1637,6 +1955,33 @@ declare class AflTablesClient {
|
|
|
1637
1955
|
* @returns Array of match results.
|
|
1638
1956
|
*/
|
|
1639
1957
|
fetchSeasonResults(year: number): Promise<Result<MatchResult[], ScrapeError>>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Fetch player statistics for an entire season from AFL Tables.
|
|
1960
|
+
*
|
|
1961
|
+
* Scrapes individual game pages linked from the season page.
|
|
1962
|
+
*
|
|
1963
|
+
* @param year - The season year.
|
|
1964
|
+
*/
|
|
1965
|
+
fetchSeasonPlayerStats(year: number): Promise<Result<PlayerStats[], ScrapeError>>;
|
|
1966
|
+
/**
|
|
1967
|
+
* Fetch team statistics from AFL Tables.
|
|
1968
|
+
*
|
|
1969
|
+
* Scrapes the season stats page which includes per-team aggregate stats.
|
|
1970
|
+
*
|
|
1971
|
+
* @param year - The season year.
|
|
1972
|
+
* @returns Array of team stats entries.
|
|
1973
|
+
*/
|
|
1974
|
+
fetchTeamStats(year: number): Promise<Result<TeamStatsEntry[], ScrapeError>>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Fetch player list from AFL Tables team page.
|
|
1977
|
+
*
|
|
1978
|
+
* Scrapes the team index page (e.g. `teams/swans_idx.html`) which lists
|
|
1979
|
+
* all players who have played for that team historically.
|
|
1980
|
+
*
|
|
1981
|
+
* @param teamName - Canonical team name (e.g. "Sydney Swans").
|
|
1982
|
+
* @returns Array of player details (without source/competition fields).
|
|
1983
|
+
*/
|
|
1984
|
+
fetchPlayerList(teamName: string): Promise<Result<Omit<PlayerDetails, "source" | "competition">[], ScrapeError>>;
|
|
1640
1985
|
}
|
|
1641
1986
|
/** Options for constructing a FootyWire client. */
|
|
1642
1987
|
interface FootyWireClientOptions {
|
|
@@ -1649,6 +1994,13 @@ declare class FootyWireClient {
|
|
|
1649
1994
|
private readonly fetchFn;
|
|
1650
1995
|
constructor(options?: FootyWireClientOptions);
|
|
1651
1996
|
/**
|
|
1997
|
+
* Fetch the HTML content of any URL using this client's fetch function.
|
|
1998
|
+
*
|
|
1999
|
+
* Public wrapper around the internal fetchHtml for use by external modules
|
|
2000
|
+
* (e.g. awards) that need to scrape FootyWire pages.
|
|
2001
|
+
*/
|
|
2002
|
+
fetchPage(url: string): Promise<Result<string, ScrapeError>>;
|
|
2003
|
+
/**
|
|
1652
2004
|
* Fetch the HTML content of a FootyWire page.
|
|
1653
2005
|
*/
|
|
1654
2006
|
private fetchHtml;
|
|
@@ -1659,6 +2011,55 @@ declare class FootyWireClient {
|
|
|
1659
2011
|
* @returns Array of match results.
|
|
1660
2012
|
*/
|
|
1661
2013
|
fetchSeasonResults(year: number): Promise<Result<MatchResult[], ScrapeError>>;
|
|
2014
|
+
/**
|
|
2015
|
+
* Fetch player statistics for a single match.
|
|
2016
|
+
*
|
|
2017
|
+
* Scrapes both the basic and advanced stats pages.
|
|
2018
|
+
* Available from 2010 onwards.
|
|
2019
|
+
*
|
|
2020
|
+
* @param matchId - The FootyWire match ID (numeric string).
|
|
2021
|
+
* @param season - The season year.
|
|
2022
|
+
* @param roundNumber - The round number.
|
|
2023
|
+
*/
|
|
2024
|
+
fetchMatchPlayerStats(matchId: string, season: number, roundNumber: number): Promise<Result<PlayerStats[], ScrapeError>>;
|
|
2025
|
+
/**
|
|
2026
|
+
* Fetch match IDs from a season's match list page.
|
|
2027
|
+
*
|
|
2028
|
+
* Extracts `mid=XXXX` values from score links.
|
|
2029
|
+
*
|
|
2030
|
+
* @param year - The season year.
|
|
2031
|
+
* @returns Array of match ID strings.
|
|
2032
|
+
*/
|
|
2033
|
+
fetchSeasonMatchIds(year: number): Promise<Result<string[], ScrapeError>>;
|
|
2034
|
+
/**
|
|
2035
|
+
* Fetch player list (team history) from FootyWire.
|
|
2036
|
+
*
|
|
2037
|
+
* Scrapes the team history page (e.g. `th-hawthorn-hawks`) which lists
|
|
2038
|
+
* all players who have played for that team.
|
|
2039
|
+
*
|
|
2040
|
+
* @param teamName - Canonical team name (e.g. "Hawthorn").
|
|
2041
|
+
* @returns Array of player details (without source/competition fields).
|
|
2042
|
+
*/
|
|
2043
|
+
fetchPlayerList(teamName: string): Promise<Result<Omit<PlayerDetails, "source" | "competition">[], ScrapeError>>;
|
|
2044
|
+
/**
|
|
2045
|
+
* Fetch fixture data from FootyWire.
|
|
2046
|
+
*
|
|
2047
|
+
* Parses the match list page to extract scheduled matches with dates and venues.
|
|
2048
|
+
*
|
|
2049
|
+
* @param year - The season year.
|
|
2050
|
+
* @returns Array of fixture entries.
|
|
2051
|
+
*/
|
|
2052
|
+
fetchSeasonFixture(year: number): Promise<Result<Fixture[], ScrapeError>>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Fetch team statistics from FootyWire.
|
|
2055
|
+
*
|
|
2056
|
+
* Scrapes team-level aggregate stats (totals or averages) for a season.
|
|
2057
|
+
*
|
|
2058
|
+
* @param year - The season year.
|
|
2059
|
+
* @param summaryType - "totals" or "averages" (default "totals").
|
|
2060
|
+
* @returns Array of team stats entries.
|
|
2061
|
+
*/
|
|
2062
|
+
fetchTeamStats(year: number, summaryType?: "totals" | "averages"): Promise<Result<TeamStatsEntry[], ScrapeError>>;
|
|
1662
2063
|
}
|
|
1663
2064
|
/**
|
|
1664
2065
|
* Attempt to fetch advanced player statistics from Fryzigg.
|
|
@@ -1667,6 +2068,47 @@ declare class FootyWireClient {
|
|
|
1667
2068
|
* not supported in the TypeScript port.
|
|
1668
2069
|
*/
|
|
1669
2070
|
declare function fetchFryziggStats(): Result<PlayerStats[], ScrapeError>;
|
|
2071
|
+
/** Options for constructing a Squiggle client. */
|
|
2072
|
+
interface SquiggleClientOptions {
|
|
2073
|
+
readonly fetchFn?: typeof fetch | undefined;
|
|
2074
|
+
}
|
|
2075
|
+
/**
|
|
2076
|
+
* Squiggle API client.
|
|
2077
|
+
*
|
|
2078
|
+
* Wraps the Squiggle JSON API with typed responses validated via Zod.
|
|
2079
|
+
*/
|
|
2080
|
+
declare class SquiggleClient {
|
|
2081
|
+
private readonly fetchFn;
|
|
2082
|
+
constructor(options?: SquiggleClientOptions);
|
|
2083
|
+
/**
|
|
2084
|
+
* Fetch JSON from the Squiggle API.
|
|
2085
|
+
*/
|
|
2086
|
+
private fetchJson;
|
|
2087
|
+
/**
|
|
2088
|
+
* Fetch games (match results or fixture) from the Squiggle API.
|
|
2089
|
+
*
|
|
2090
|
+
* @param year - Season year.
|
|
2091
|
+
* @param round - Optional round number.
|
|
2092
|
+
* @param complete - Optional completion filter (100 = complete, omit for all).
|
|
2093
|
+
*/
|
|
2094
|
+
fetchGames(year: number, round?: number, complete?: number): Promise<Result<SquiggleGamesResponse, ScrapeError>>;
|
|
2095
|
+
/**
|
|
2096
|
+
* Fetch standings (ladder) from the Squiggle API.
|
|
2097
|
+
*
|
|
2098
|
+
* @param year - Season year.
|
|
2099
|
+
* @param round - Optional round number.
|
|
2100
|
+
*/
|
|
2101
|
+
fetchStandings(year: number, round?: number): Promise<Result<SquiggleStandingsResponse, ScrapeError>>;
|
|
2102
|
+
}
|
|
2103
|
+
/**
|
|
2104
|
+
* Compute ladder standings from a list of match results.
|
|
2105
|
+
*
|
|
2106
|
+
* @param results - Match results to compute from.
|
|
2107
|
+
* @param upToRound - Optional round cutoff (inclusive). If provided, only
|
|
2108
|
+
* home-and-away results up to this round are included.
|
|
2109
|
+
* @returns Sorted ladder entries.
|
|
2110
|
+
*/
|
|
2111
|
+
declare function computeLadder(results: readonly MatchResult[], upToRound?: number): LadderEntry[];
|
|
1670
2112
|
/**
|
|
1671
2113
|
* Transform raw AFL API ladder entries into typed LadderEntry objects.
|
|
1672
2114
|
*
|
|
@@ -1706,4 +2148,20 @@ declare function transformMatchItems(items: readonly MatchItem[], season: number
|
|
|
1706
2148
|
* @returns Flattened PlayerStats array (home players first, then away).
|
|
1707
2149
|
*/
|
|
1708
2150
|
declare function transformPlayerStats(data: PlayerStatsList, matchId: string, season: number, roundNumber: number, competition: CompetitionCode, source?: DataSource, teamIdMap?: ReadonlyMap<string, string>): PlayerStats[];
|
|
1709
|
-
|
|
2151
|
+
/**
|
|
2152
|
+
* Transform Squiggle games into MatchResult objects.
|
|
2153
|
+
*
|
|
2154
|
+
* Only includes games that are complete (complete === 100).
|
|
2155
|
+
*/
|
|
2156
|
+
declare function transformSquiggleGamesToResults(games: readonly SquiggleGame[], season: number): MatchResult[];
|
|
2157
|
+
/**
|
|
2158
|
+
* Transform Squiggle games into Fixture objects.
|
|
2159
|
+
*
|
|
2160
|
+
* Includes all games regardless of completion status.
|
|
2161
|
+
*/
|
|
2162
|
+
declare function transformSquiggleGamesToFixture(games: readonly SquiggleGame[], season: number): Fixture[];
|
|
2163
|
+
/**
|
|
2164
|
+
* Transform Squiggle standings into LadderEntry objects.
|
|
2165
|
+
*/
|
|
2166
|
+
declare function transformSquiggleStandings(standings: readonly SquiggleStanding[]): LadderEntry[];
|
|
2167
|
+
export { transformSquiggleStandings, transformSquiggleGamesToResults, transformSquiggleGamesToFixture, transformPlayerStats, transformMatchRoster, transformMatchItems, transformLadderEntries, toAestString, parseFootyWireDate, parseAflTablesDate, parseAflApiDate, ok, normaliseTeamName, inferRoundType, fetchTeams2 as fetchTeams, fetchTeamStats2 as fetchTeamStats, fetchSquad2 as fetchSquad, fetchPlayerStats2 as fetchPlayerStats, fetchPlayerDetails, fetchMatchResults, fetchLineup, fetchLadder2 as fetchLadder, fetchFryziggStats, fetchFixture, fetchCoachesVotes, fetchAwards, err, computeLadder, ValidationError, UnsupportedSourceError, TeamStatsSummaryType, TeamStatsQuery, TeamStatsEntry, TeamScoreSchema, TeamScore, TeamQuery, TeamPlayersSchema, TeamPlayers, TeamListSchema, TeamList, TeamItemSchema, TeamItem, Team, SquiggleStandingsResponseSchema, SquiggleStandingsResponse, SquiggleStandingSchema, SquiggleStanding, SquiggleGamesResponseSchema, SquiggleGamesResponse, SquiggleGameSchema, SquiggleGame, SquiggleClientOptions, SquiggleClient, SquadSchema, SquadQuery, SquadPlayerItemSchema, SquadPlayerItem, SquadPlayerInnerSchema, SquadPlayer, SquadListSchema, SquadList, Squad, SeasonRoundQuery, ScrapeError, ScoreSchema, Score, RoundType, RoundSchema, RoundListSchema, RoundList, Round, RosterPlayerSchema, RosterPlayer, RisingStarNomination, Result, QuarterScore, PlayerStatsQuery, PlayerStatsListSchema, PlayerStatsList, PlayerStatsItemSchema, PlayerStatsItem, PlayerStats, PlayerGameStatsSchema, PlayerGameStats, PlayerDetailsQuery, PlayerDetails, PeriodScoreSchema, PeriodScore, Ok, MatchStatus, MatchRosterSchema, MatchRoster, MatchResult, MatchQuery, MatchItemSchema, MatchItemListSchema, MatchItemList, MatchItem, LineupQuery, LineupPlayer, Lineup, LadderResponseSchema, LadderResponse, LadderQuery, LadderEntryRawSchema, LadderEntryRaw, LadderEntry, Ladder, FootyWireClientOptions, FootyWireClient, Fixture, Err, DataSource, CompseasonSchema, CompseasonListSchema, CompseasonList, Compseason, CompetitionSchema, CompetitionListSchema, CompetitionList, CompetitionCode, Competition, CoachesVoteQuery, CoachesVote, CfsVenueSchema, CfsVenue, CfsScoreSchema, CfsScore, CfsMatchTeamSchema, CfsMatchTeam, CfsMatchSchema, CfsMatch, BrownlowVote, AwardType, AwardQuery, Award, AllAustralianSelection, AflTablesClientOptions, AflTablesClient, AflCoachesClientOptions, AflCoachesClient, AflApiTokenSchema, AflApiToken, AflApiError, AflApiClientOptions, AflApiClient };
|