@scoreboardmax/api-types 1.0.49 → 1.0.51

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
@@ -1075,8 +1075,7 @@ export declare enum OAuthProvider {
1075
1075
  export interface OverlayRequest {
1076
1076
  type: "players" | "sponsors";
1077
1077
  data: PlayerSummaryRequest[] | SponsorSummaryRequest[];
1078
- title?: string | null;
1079
- color?: string;
1078
+ title?: string;
1080
1079
  }
1081
1080
  /**
1082
1081
  * Overlay details response
@@ -1084,8 +1083,7 @@ export interface OverlayRequest {
1084
1083
  export interface OverlayResponse {
1085
1084
  type: "players" | "sponsors";
1086
1085
  data: PlayerSummaryResponse[] | SponsorSummaryResponse[];
1087
- title?: string | null;
1088
- color?: string;
1086
+ title?: string;
1089
1087
  }
1090
1088
  /**
1091
1089
  * Paginated list of accounts
@@ -1282,6 +1280,7 @@ export interface PlayerSummaryRequest {
1282
1280
  position: string | null;
1283
1281
  imageFilename: string | null;
1284
1282
  reference?: string;
1283
+ teamReference: string;
1285
1284
  }
1286
1285
  /**
1287
1286
  * Player summary response
@@ -1297,6 +1296,7 @@ export interface PlayerSummaryResponse {
1297
1296
  imagePreviewUrl: string | null;
1298
1297
  imageMediumUrl: string | null;
1299
1298
  reference: string;
1299
+ teamReference: string;
1300
1300
  }
1301
1301
  /**
1302
1302
  * Preferences for tuning AI-generated talking points
@@ -1441,7 +1441,6 @@ export interface ScoreboardRequest {
1441
1441
  type: ScoreboardType;
1442
1442
  version: number;
1443
1443
  data: BasketballDataRequest | FootballDataRequest | VolleyballDataRequest | SoccerDataRequest | BaseballDataRequest | WrestlingDataRequest;
1444
- templates?: TemplateSelection[];
1445
1444
  }
1446
1445
  /**
1447
1446
  * Scoreboard details response
@@ -1794,7 +1793,7 @@ export interface TemplateResponse {
1794
1793
  scoreboardType: string;
1795
1794
  useCases: TemplateUseCase[];
1796
1795
  description?: string;
1797
- previewImages?: string[];
1796
+ previewImageUrls?: string[];
1798
1797
  settings?: Record<string, InputDefinition>;
1799
1798
  accountId: string;
1800
1799
  latest: boolean;
@@ -1827,6 +1826,16 @@ export interface TemplateSelection {
1827
1826
  version?: string;
1828
1827
  settings?: Record<string, string | number | boolean | null>;
1829
1828
  }
1829
+ /**
1830
+ * Template selection request for updating scoreboard templates
1831
+ */
1832
+ export interface TemplateSelectionRequest extends TemplateSelection {
1833
+ }
1834
+ /**
1835
+ * Template selection response for scoreboard template updates
1836
+ */
1837
+ export interface TemplateSelectionResponse extends TemplateSelection {
1838
+ }
1830
1839
  /**
1831
1840
  * Template update request
1832
1841
  */
@@ -1098,8 +1098,7 @@ export declare enum OAuthProvider {
1098
1098
  export interface OverlayRequest {
1099
1099
  type: "players" | "sponsors";
1100
1100
  data: PlayerSummaryRequest[] | SponsorSummaryRequest[];
1101
- title?: string | null;
1102
- color?: string;
1101
+ title?: string;
1103
1102
  }
1104
1103
  /**
1105
1104
  * Overlay details response
@@ -1107,8 +1106,7 @@ export interface OverlayRequest {
1107
1106
  export interface OverlayResponse {
1108
1107
  type: "players" | "sponsors";
1109
1108
  data: PlayerSummaryResponse[] | SponsorSummaryResponse[];
1110
- title?: string | null;
1111
- color?: string;
1109
+ title?: string;
1112
1110
  }
1113
1111
  /**
1114
1112
  * Paginated list of accounts
@@ -1305,6 +1303,7 @@ export interface PlayerSummaryRequest {
1305
1303
  position: string | null;
1306
1304
  imageFilename: string | null;
1307
1305
  reference?: string;
1306
+ teamReference: string;
1308
1307
  }
1309
1308
  /**
1310
1309
  * Player summary response
@@ -1320,6 +1319,7 @@ export interface PlayerSummaryResponse {
1320
1319
  imagePreviewUrl: string | null;
1321
1320
  imageMediumUrl: string | null;
1322
1321
  reference: string;
1322
+ teamReference: string;
1323
1323
  }
1324
1324
  /**
1325
1325
  * Preferences for tuning AI-generated talking points
@@ -1464,7 +1464,6 @@ export interface ScoreboardRequest {
1464
1464
  type: ScoreboardType;
1465
1465
  version: number;
1466
1466
  data: BasketballDataRequest | FootballDataRequest | VolleyballDataRequest | SoccerDataRequest | BaseballDataRequest | WrestlingDataRequest;
1467
- templates?: TemplateSelection[];
1468
1467
  }
1469
1468
  /**
1470
1469
  * Scoreboard details response
@@ -1817,7 +1816,7 @@ export interface TemplateResponse {
1817
1816
  scoreboardType: string;
1818
1817
  useCases: TemplateUseCase[];
1819
1818
  description?: string;
1820
- previewImages?: string[];
1819
+ previewImageUrls?: string[];
1821
1820
  settings?: Record<string, InputDefinition>;
1822
1821
  accountId: string;
1823
1822
  latest: boolean;
@@ -1850,6 +1849,16 @@ export interface TemplateSelection {
1850
1849
  version?: string;
1851
1850
  settings?: Record<string, string | number | boolean | null>;
1852
1851
  }
1852
+ /**
1853
+ * Template selection request for updating scoreboard templates
1854
+ */
1855
+ export interface TemplateSelectionRequest extends TemplateSelection {
1856
+ }
1857
+ /**
1858
+ * Template selection response for scoreboard template updates
1859
+ */
1860
+ export interface TemplateSelectionResponse extends TemplateSelection {
1861
+ }
1853
1862
  /**
1854
1863
  * Template update request
1855
1864
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",