@scoreboardmax/api-types 1.0.34-next.23 → 1.0.34-next.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -365,9 +365,9 @@ export interface BaseballScoreboardTeamRequest extends ScoreboardTeamBaseRequest
365
365
  hits: number;
366
366
  errors: number;
367
367
  pitcher: PlayerSummaryRequest | null;
368
- pitchCount: Record<string, number>;
368
+ pitcherStats: PitcherStatsRequest[];
369
369
  batter: PlayerSummaryRequest | null;
370
- battingRecord: Record<string, (boolean | null)[]>;
370
+ battingRecord: BattingRecordRequest[];
371
371
  battingList: PlayerSummaryRequest[];
372
372
  isHomeTeam: boolean;
373
373
  }
@@ -380,9 +380,9 @@ export interface BaseballScoreboardTeamResponse extends ScoreboardTeamBaseRespon
380
380
  hits: number;
381
381
  errors: number;
382
382
  pitcher: PlayerSummaryResponse | null;
383
- pitchCount: Record<string, number>;
383
+ pitcherStats: PitcherStatsResponse[];
384
384
  batter: PlayerSummaryResponse | null;
385
- battingRecord: Record<string, (boolean | null)[]>;
385
+ battingRecord: BattingRecordResponse[];
386
386
  battingList: PlayerSummaryResponse[];
387
387
  isHomeTeam: boolean;
388
388
  }
@@ -625,6 +625,23 @@ export declare enum BasketballTimeoutAllocation {
625
625
  PerGame = "perGame",
626
626
  PerHalf = "perHalf"
627
627
  }
628
+ /**
629
+ * Batting record
630
+ */
631
+ export interface BattingRecord {
632
+ playerId: string;
633
+ results: (boolean | null)[];
634
+ }
635
+ /**
636
+ * Batting record request
637
+ */
638
+ export interface BattingRecordRequest extends BattingRecord {
639
+ }
640
+ /**
641
+ * Batting record response
642
+ */
643
+ export interface BattingRecordResponse extends BattingRecord {
644
+ }
628
645
  /**
629
646
  * Boolean toggle input type
630
647
  */
@@ -1075,8 +1092,7 @@ export declare enum OAuthProvider {
1075
1092
  export interface OverlayRequest {
1076
1093
  type: "players" | "sponsors";
1077
1094
  data: PlayerSummaryRequest[] | SponsorSummaryRequest[];
1078
- title?: string | null;
1079
- color?: string;
1095
+ title?: string;
1080
1096
  }
1081
1097
  /**
1082
1098
  * Overlay details response
@@ -1084,8 +1100,7 @@ export interface OverlayRequest {
1084
1100
  export interface OverlayResponse {
1085
1101
  type: "players" | "sponsors";
1086
1102
  data: PlayerSummaryResponse[] | SponsorSummaryResponse[];
1087
- title?: string | null;
1088
- color?: string;
1103
+ title?: string;
1089
1104
  }
1090
1105
  /**
1091
1106
  * Paginated list of accounts
@@ -1235,6 +1250,25 @@ export interface UserListResponse {
1235
1250
  export type PermissionItem = {
1236
1251
  [uri: string]: ApiAction[];
1237
1252
  };
1253
+ /**
1254
+ * Pitcher stats
1255
+ */
1256
+ export interface PitcherStats {
1257
+ playerId: string;
1258
+ pitchCount?: number;
1259
+ strikeouts?: number;
1260
+ walks?: number;
1261
+ }
1262
+ /**
1263
+ * Pitcher stats request
1264
+ */
1265
+ export interface PitcherStatsRequest extends PitcherStats {
1266
+ }
1267
+ /**
1268
+ * Pitcher stats response
1269
+ */
1270
+ export interface PitcherStatsResponse extends PitcherStats {
1271
+ }
1238
1272
  /**
1239
1273
  * Player creation/update request
1240
1274
  */
@@ -1282,6 +1316,7 @@ export interface PlayerSummaryRequest {
1282
1316
  position: string | null;
1283
1317
  imageFilename: string | null;
1284
1318
  reference?: string;
1319
+ teamReference: string;
1285
1320
  }
1286
1321
  /**
1287
1322
  * Player summary response
@@ -1297,6 +1332,7 @@ export interface PlayerSummaryResponse {
1297
1332
  imagePreviewUrl: string | null;
1298
1333
  imageMediumUrl: string | null;
1299
1334
  reference: string;
1335
+ teamReference: string;
1300
1336
  }
1301
1337
  /**
1302
1338
  * Preferences for tuning AI-generated talking points
@@ -388,9 +388,9 @@ export interface BaseballScoreboardTeamRequest extends ScoreboardTeamBaseRequest
388
388
  hits: number;
389
389
  errors: number;
390
390
  pitcher: PlayerSummaryRequest | null;
391
- pitchCount: Record<string, number>;
391
+ pitcherStats: PitcherStatsRequest[];
392
392
  batter: PlayerSummaryRequest | null;
393
- battingRecord: Record<string, (boolean | null)[]>;
393
+ battingRecord: BattingRecordRequest[];
394
394
  battingList: PlayerSummaryRequest[];
395
395
  isHomeTeam: boolean;
396
396
  }
@@ -403,9 +403,9 @@ export interface BaseballScoreboardTeamResponse extends ScoreboardTeamBaseRespon
403
403
  hits: number;
404
404
  errors: number;
405
405
  pitcher: PlayerSummaryResponse | null;
406
- pitchCount: Record<string, number>;
406
+ pitcherStats: PitcherStatsResponse[];
407
407
  batter: PlayerSummaryResponse | null;
408
- battingRecord: Record<string, (boolean | null)[]>;
408
+ battingRecord: BattingRecordResponse[];
409
409
  battingList: PlayerSummaryResponse[];
410
410
  isHomeTeam: boolean;
411
411
  }
@@ -648,6 +648,23 @@ export declare enum BasketballTimeoutAllocation {
648
648
  PerGame = "perGame",
649
649
  PerHalf = "perHalf"
650
650
  }
651
+ /**
652
+ * Batting record
653
+ */
654
+ export interface BattingRecord {
655
+ playerId: string;
656
+ results: (boolean | null)[];
657
+ }
658
+ /**
659
+ * Batting record request
660
+ */
661
+ export interface BattingRecordRequest extends BattingRecord {
662
+ }
663
+ /**
664
+ * Batting record response
665
+ */
666
+ export interface BattingRecordResponse extends BattingRecord {
667
+ }
651
668
  /**
652
669
  * Boolean toggle input type
653
670
  */
@@ -1098,8 +1115,7 @@ export declare enum OAuthProvider {
1098
1115
  export interface OverlayRequest {
1099
1116
  type: "players" | "sponsors";
1100
1117
  data: PlayerSummaryRequest[] | SponsorSummaryRequest[];
1101
- title?: string | null;
1102
- color?: string;
1118
+ title?: string;
1103
1119
  }
1104
1120
  /**
1105
1121
  * Overlay details response
@@ -1107,8 +1123,7 @@ export interface OverlayRequest {
1107
1123
  export interface OverlayResponse {
1108
1124
  type: "players" | "sponsors";
1109
1125
  data: PlayerSummaryResponse[] | SponsorSummaryResponse[];
1110
- title?: string | null;
1111
- color?: string;
1126
+ title?: string;
1112
1127
  }
1113
1128
  /**
1114
1129
  * Paginated list of accounts
@@ -1258,6 +1273,25 @@ export interface UserListResponse {
1258
1273
  export type PermissionItem = {
1259
1274
  [uri: string]: ApiAction[];
1260
1275
  };
1276
+ /**
1277
+ * Pitcher stats
1278
+ */
1279
+ export interface PitcherStats {
1280
+ playerId: string;
1281
+ pitchCount?: number;
1282
+ strikeouts?: number;
1283
+ walks?: number;
1284
+ }
1285
+ /**
1286
+ * Pitcher stats request
1287
+ */
1288
+ export interface PitcherStatsRequest extends PitcherStats {
1289
+ }
1290
+ /**
1291
+ * Pitcher stats response
1292
+ */
1293
+ export interface PitcherStatsResponse extends PitcherStats {
1294
+ }
1261
1295
  /**
1262
1296
  * Player creation/update request
1263
1297
  */
@@ -1305,6 +1339,7 @@ export interface PlayerSummaryRequest {
1305
1339
  position: string | null;
1306
1340
  imageFilename: string | null;
1307
1341
  reference?: string;
1342
+ teamReference: string;
1308
1343
  }
1309
1344
  /**
1310
1345
  * Player summary response
@@ -1320,6 +1355,7 @@ export interface PlayerSummaryResponse {
1320
1355
  imagePreviewUrl: string | null;
1321
1356
  imageMediumUrl: string | null;
1322
1357
  reference: string;
1358
+ teamReference: string;
1323
1359
  }
1324
1360
  /**
1325
1361
  * Preferences for tuning AI-generated talking points
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.34-next.23",
3
+ "version": "1.0.34-next.25",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",