@scoreboardmax/api-types 1.0.34-next.33 → 1.0.34-next.35
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.cjs +9 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.mjs +8 -0
- package/dist/internal.cjs +10 -2
- package/dist/internal.d.ts +14 -1
- package/dist/internal.mjs +8 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.PlateAppearanceResult = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.AppEntitlementRequirement = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.AppEntitlementType = exports.AppEntitlementGrantedBy = exports.ApiResource = exports.ApiAction = void 0;
|
|
10
|
+
exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.PlateAppearanceResult = exports.TalkingPointOutputType = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.AppEntitlementRequirement = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.AppEntitlementType = exports.AppEntitlementGrantedBy = exports.ApiResource = exports.ApiAction = void 0;
|
|
11
11
|
/**
|
|
12
12
|
* API action identifiers
|
|
13
13
|
*/
|
|
@@ -277,6 +277,14 @@ var OAuthProvider;
|
|
|
277
277
|
(function (OAuthProvider) {
|
|
278
278
|
OAuthProvider["Google"] = "google";
|
|
279
279
|
})(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
|
|
280
|
+
/**
|
|
281
|
+
* Output type for talking points generation
|
|
282
|
+
*/
|
|
283
|
+
var TalkingPointOutputType;
|
|
284
|
+
(function (TalkingPointOutputType) {
|
|
285
|
+
TalkingPointOutputType["Bullets"] = "bullets";
|
|
286
|
+
TalkingPointOutputType["Conversational"] = "conversational";
|
|
287
|
+
})(TalkingPointOutputType || (exports.TalkingPointOutputType = TalkingPointOutputType = {}));
|
|
280
288
|
/**
|
|
281
289
|
* Plate appearance result type
|
|
282
290
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -44,8 +44,10 @@ export interface AccountResponse {
|
|
|
44
44
|
* AI-generated talking points for a game
|
|
45
45
|
*/
|
|
46
46
|
export interface TalkingPointsResponse {
|
|
47
|
-
/** Each element is a discrete talking point */
|
|
47
|
+
/** Each element is a discrete talking point (a bullet for "bullets", a paragraph for "conversational") */
|
|
48
48
|
content: string[];
|
|
49
|
+
/** How the content was written: "bullets" or "conversational". */
|
|
50
|
+
outputType: TalkingPointOutputType;
|
|
49
51
|
/** When the talking points were generated (ISO 8601) */
|
|
50
52
|
dateCreated: string;
|
|
51
53
|
}
|
|
@@ -1147,6 +1149,13 @@ export interface OAuthResponse {
|
|
|
1147
1149
|
export declare enum OAuthProvider {
|
|
1148
1150
|
Google = "google"
|
|
1149
1151
|
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Output type for talking points generation
|
|
1154
|
+
*/
|
|
1155
|
+
export declare enum TalkingPointOutputType {
|
|
1156
|
+
Bullets = "bullets",
|
|
1157
|
+
Conversational = "conversational"
|
|
1158
|
+
}
|
|
1150
1159
|
/**
|
|
1151
1160
|
* Overlay creation/update request
|
|
1152
1161
|
*/
|
|
@@ -1511,6 +1520,8 @@ export interface TalkingPointPreferencesRequest {
|
|
|
1511
1520
|
energy?: TalkingPointEnergy;
|
|
1512
1521
|
/** Focus area: "story" for narrative, "balanced" for even coverage, "stats" for statistical analysis. */
|
|
1513
1522
|
focus?: TalkingPointFocus;
|
|
1523
|
+
/** Output type: "bullets" for short scannable points (default), "conversational" for flowing paragraphs that can be read aloud as-is. */
|
|
1524
|
+
outputType?: TalkingPointOutputType;
|
|
1514
1525
|
}
|
|
1515
1526
|
/**
|
|
1516
1527
|
* Preset creation/update request
|
|
@@ -1741,6 +1752,7 @@ export interface SoccerDataRequest {
|
|
|
1741
1752
|
team1: SoccerScoreboardTeamRequest;
|
|
1742
1753
|
team2: SoccerScoreboardTeamRequest;
|
|
1743
1754
|
settings?: SoccerSettingsRequest;
|
|
1755
|
+
addedStoppageTime: number | null;
|
|
1744
1756
|
}
|
|
1745
1757
|
/**
|
|
1746
1758
|
* Soccer game data response
|
|
@@ -1751,6 +1763,7 @@ export interface SoccerDataResponse {
|
|
|
1751
1763
|
team1: SoccerScoreboardTeamResponse;
|
|
1752
1764
|
team2: SoccerScoreboardTeamResponse;
|
|
1753
1765
|
settings: SoccerSettingsResponse;
|
|
1766
|
+
addedStoppageTime: number | null;
|
|
1754
1767
|
}
|
|
1755
1768
|
/**
|
|
1756
1769
|
* Soccer game settings model
|
package/dist/index.mjs
CHANGED
|
@@ -274,6 +274,14 @@ export var OAuthProvider;
|
|
|
274
274
|
(function (OAuthProvider) {
|
|
275
275
|
OAuthProvider["Google"] = "google";
|
|
276
276
|
})(OAuthProvider || (OAuthProvider = {}));
|
|
277
|
+
/**
|
|
278
|
+
* Output type for talking points generation
|
|
279
|
+
*/
|
|
280
|
+
export var TalkingPointOutputType;
|
|
281
|
+
(function (TalkingPointOutputType) {
|
|
282
|
+
TalkingPointOutputType["Bullets"] = "bullets";
|
|
283
|
+
TalkingPointOutputType["Conversational"] = "conversational";
|
|
284
|
+
})(TalkingPointOutputType || (TalkingPointOutputType = {}));
|
|
277
285
|
/**
|
|
278
286
|
* Plate appearance result type
|
|
279
287
|
*/
|
package/dist/internal.cjs
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.
|
|
14
|
-
exports.ErrorCode = void 0;
|
|
13
|
+
exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.PlateAppearanceResult = exports.TalkingPointOutputType = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.AppEntitlementRequirement = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.AppEntitlementType = exports.AppEntitlementGrantedBy = exports.ApiResource = exports.ApiAction = void 0;
|
|
14
|
+
exports.ErrorCode = exports.WrestlingStyle = void 0;
|
|
15
15
|
/**
|
|
16
16
|
* API action identifiers
|
|
17
17
|
*/
|
|
@@ -281,6 +281,14 @@ var OAuthProvider;
|
|
|
281
281
|
(function (OAuthProvider) {
|
|
282
282
|
OAuthProvider["Google"] = "google";
|
|
283
283
|
})(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
|
|
284
|
+
/**
|
|
285
|
+
* Output type for talking points generation
|
|
286
|
+
*/
|
|
287
|
+
var TalkingPointOutputType;
|
|
288
|
+
(function (TalkingPointOutputType) {
|
|
289
|
+
TalkingPointOutputType["Bullets"] = "bullets";
|
|
290
|
+
TalkingPointOutputType["Conversational"] = "conversational";
|
|
291
|
+
})(TalkingPointOutputType || (exports.TalkingPointOutputType = TalkingPointOutputType = {}));
|
|
284
292
|
/**
|
|
285
293
|
* Plate appearance result type
|
|
286
294
|
*/
|
package/dist/internal.d.ts
CHANGED
|
@@ -54,8 +54,10 @@ export interface AccountResponseAdmin extends AccountResponse {
|
|
|
54
54
|
* AI-generated talking points for a game
|
|
55
55
|
*/
|
|
56
56
|
export interface TalkingPointsResponse {
|
|
57
|
-
/** Each element is a discrete talking point */
|
|
57
|
+
/** Each element is a discrete talking point (a bullet for "bullets", a paragraph for "conversational") */
|
|
58
58
|
content: string[];
|
|
59
|
+
/** How the content was written: "bullets" or "conversational". */
|
|
60
|
+
outputType: TalkingPointOutputType;
|
|
59
61
|
/** When the talking points were generated (ISO 8601) */
|
|
60
62
|
dateCreated: string;
|
|
61
63
|
}
|
|
@@ -1170,6 +1172,13 @@ export interface OAuthResponse {
|
|
|
1170
1172
|
export declare enum OAuthProvider {
|
|
1171
1173
|
Google = "google"
|
|
1172
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* Output type for talking points generation
|
|
1177
|
+
*/
|
|
1178
|
+
export declare enum TalkingPointOutputType {
|
|
1179
|
+
Bullets = "bullets",
|
|
1180
|
+
Conversational = "conversational"
|
|
1181
|
+
}
|
|
1173
1182
|
/**
|
|
1174
1183
|
* Overlay creation/update request
|
|
1175
1184
|
*/
|
|
@@ -1534,6 +1543,8 @@ export interface TalkingPointPreferencesRequest {
|
|
|
1534
1543
|
energy?: TalkingPointEnergy;
|
|
1535
1544
|
/** Focus area: "story" for narrative, "balanced" for even coverage, "stats" for statistical analysis. */
|
|
1536
1545
|
focus?: TalkingPointFocus;
|
|
1546
|
+
/** Output type: "bullets" for short scannable points (default), "conversational" for flowing paragraphs that can be read aloud as-is. */
|
|
1547
|
+
outputType?: TalkingPointOutputType;
|
|
1537
1548
|
}
|
|
1538
1549
|
/**
|
|
1539
1550
|
* Preset creation/update request
|
|
@@ -1764,6 +1775,7 @@ export interface SoccerDataRequest {
|
|
|
1764
1775
|
team1: SoccerScoreboardTeamRequest;
|
|
1765
1776
|
team2: SoccerScoreboardTeamRequest;
|
|
1766
1777
|
settings?: SoccerSettingsRequest;
|
|
1778
|
+
addedStoppageTime: number | null;
|
|
1767
1779
|
}
|
|
1768
1780
|
/**
|
|
1769
1781
|
* Soccer game data response
|
|
@@ -1774,6 +1786,7 @@ export interface SoccerDataResponse {
|
|
|
1774
1786
|
team1: SoccerScoreboardTeamResponse;
|
|
1775
1787
|
team2: SoccerScoreboardTeamResponse;
|
|
1776
1788
|
settings: SoccerSettingsResponse;
|
|
1789
|
+
addedStoppageTime: number | null;
|
|
1777
1790
|
}
|
|
1778
1791
|
/**
|
|
1779
1792
|
* Soccer game settings model
|
package/dist/internal.mjs
CHANGED
|
@@ -277,6 +277,14 @@ export var OAuthProvider;
|
|
|
277
277
|
(function (OAuthProvider) {
|
|
278
278
|
OAuthProvider["Google"] = "google";
|
|
279
279
|
})(OAuthProvider || (OAuthProvider = {}));
|
|
280
|
+
/**
|
|
281
|
+
* Output type for talking points generation
|
|
282
|
+
*/
|
|
283
|
+
export var TalkingPointOutputType;
|
|
284
|
+
(function (TalkingPointOutputType) {
|
|
285
|
+
TalkingPointOutputType["Bullets"] = "bullets";
|
|
286
|
+
TalkingPointOutputType["Conversational"] = "conversational";
|
|
287
|
+
})(TalkingPointOutputType || (TalkingPointOutputType = {}));
|
|
280
288
|
/**
|
|
281
289
|
* Plate appearance result type
|
|
282
290
|
*/
|