fitzroy 1.0.2 → 1.1.1

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