@scoreboardmax/api-types 1.0.34-next.15 → 1.0.34-next.17
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 +23 -1
- package/dist/index.d.ts +62 -15
- package/dist/index.mjs +22 -0
- package/dist/internal.cjs +23 -1
- package/dist/internal.d.ts +62 -15
- package/dist/internal.mjs +22 -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.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = 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.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
|
|
11
11
|
/**
|
|
12
12
|
* API action identifiers
|
|
13
13
|
*/
|
|
@@ -101,6 +101,7 @@ var BasketballPeriod;
|
|
|
101
101
|
BasketballPeriod["Third"] = "3";
|
|
102
102
|
BasketballPeriod["Fourth"] = "4";
|
|
103
103
|
BasketballPeriod["Overtime"] = "overtime";
|
|
104
|
+
BasketballPeriod["Final"] = "final";
|
|
104
105
|
})(BasketballPeriod || (exports.BasketballPeriod = BasketballPeriod = {}));
|
|
105
106
|
/**
|
|
106
107
|
* Basketball period structure options
|
|
@@ -148,6 +149,14 @@ var DownAndDistanceDisplay;
|
|
|
148
149
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
149
150
|
DownAndDistanceDisplay["None"] = "none";
|
|
150
151
|
})(DownAndDistanceDisplay || (exports.DownAndDistanceDisplay = DownAndDistanceDisplay = {}));
|
|
152
|
+
/**
|
|
153
|
+
* Energy level for talking points generation
|
|
154
|
+
*/
|
|
155
|
+
var TalkingPointEnergy;
|
|
156
|
+
(function (TalkingPointEnergy) {
|
|
157
|
+
TalkingPointEnergy["Standard"] = "standard";
|
|
158
|
+
TalkingPointEnergy["Hype"] = "hype";
|
|
159
|
+
})(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
|
|
151
160
|
/**
|
|
152
161
|
* Event action identifiers
|
|
153
162
|
*/
|
|
@@ -192,6 +201,15 @@ var FileType;
|
|
|
192
201
|
FileType["InsightLogo"] = "insightLogo";
|
|
193
202
|
FileType["Temporary"] = "temporary";
|
|
194
203
|
})(FileType || (exports.FileType = FileType = {}));
|
|
204
|
+
/**
|
|
205
|
+
* Focus area for talking points generation
|
|
206
|
+
*/
|
|
207
|
+
var TalkingPointFocus;
|
|
208
|
+
(function (TalkingPointFocus) {
|
|
209
|
+
TalkingPointFocus["Story"] = "story";
|
|
210
|
+
TalkingPointFocus["Balanced"] = "balanced";
|
|
211
|
+
TalkingPointFocus["Stats"] = "stats";
|
|
212
|
+
})(TalkingPointFocus || (exports.TalkingPointFocus = TalkingPointFocus = {}));
|
|
195
213
|
/**
|
|
196
214
|
* Football period identifiers
|
|
197
215
|
*/
|
|
@@ -204,6 +222,7 @@ var FootballPeriod;
|
|
|
204
222
|
FootballPeriod["Third"] = "3";
|
|
205
223
|
FootballPeriod["Fourth"] = "4";
|
|
206
224
|
FootballPeriod["Overtime"] = "overtime";
|
|
225
|
+
FootballPeriod["Final"] = "final";
|
|
207
226
|
})(FootballPeriod || (exports.FootballPeriod = FootballPeriod = {}));
|
|
208
227
|
/**
|
|
209
228
|
* Magic link type identifiers
|
|
@@ -265,6 +284,7 @@ var SoccerPeriod;
|
|
|
265
284
|
SoccerPeriod["ExtraTime1"] = "ET 1";
|
|
266
285
|
SoccerPeriod["ExtraTime2"] = "ET 2";
|
|
267
286
|
SoccerPeriod["Shootout"] = "shootout";
|
|
287
|
+
SoccerPeriod["Final"] = "final";
|
|
268
288
|
})(SoccerPeriod || (exports.SoccerPeriod = SoccerPeriod = {}));
|
|
269
289
|
/**
|
|
270
290
|
* Soccer period structure options
|
|
@@ -358,6 +378,7 @@ var VolleyballSet;
|
|
|
358
378
|
VolleyballSet["Third"] = "3";
|
|
359
379
|
VolleyballSet["Fourth"] = "4";
|
|
360
380
|
VolleyballSet["Fifth"] = "5";
|
|
381
|
+
VolleyballSet["Final"] = "final";
|
|
361
382
|
})(VolleyballSet || (exports.VolleyballSet = VolleyballSet = {}));
|
|
362
383
|
/**
|
|
363
384
|
* Websocket message type identifiers
|
|
@@ -412,6 +433,7 @@ var WrestlingPeriod;
|
|
|
412
433
|
WrestlingPeriod["Second"] = "2";
|
|
413
434
|
WrestlingPeriod["Third"] = "3";
|
|
414
435
|
WrestlingPeriod["Overtime"] = "overtime";
|
|
436
|
+
WrestlingPeriod["Final"] = "final";
|
|
415
437
|
})(WrestlingPeriod || (exports.WrestlingPeriod = WrestlingPeriod = {}));
|
|
416
438
|
/**
|
|
417
439
|
* Wrestling style options
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,15 @@ export interface AccountResponse {
|
|
|
31
31
|
subscriptionId: string | null;
|
|
32
32
|
token?: string;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* AI-generated talking points for a game
|
|
36
|
+
*/
|
|
37
|
+
export interface TalkingPointsResponse {
|
|
38
|
+
/** Each element is a discrete talking point */
|
|
39
|
+
content: string[];
|
|
40
|
+
/** When the talking points were generated (ISO 8601) */
|
|
41
|
+
dateCreated: string;
|
|
42
|
+
}
|
|
34
43
|
/**
|
|
35
44
|
* API action identifiers
|
|
36
45
|
*/
|
|
@@ -110,10 +119,6 @@ export interface AppResponse {
|
|
|
110
119
|
* App input field definition
|
|
111
120
|
*/
|
|
112
121
|
export type InputDefinition = SelectInput | BooleanInput | ColorInput | TextInput | NumberInput | RangeInput;
|
|
113
|
-
/**
|
|
114
|
-
* App input field selection
|
|
115
|
-
*/
|
|
116
|
-
export type InputSelection = Record<string, string | number | boolean>;
|
|
117
122
|
/**
|
|
118
123
|
* App manifest definition
|
|
119
124
|
*/
|
|
@@ -208,6 +213,16 @@ export interface BaseInput {
|
|
|
208
213
|
description?: string;
|
|
209
214
|
default: any;
|
|
210
215
|
}
|
|
216
|
+
/**
|
|
217
|
+
* Base insight team response shared across sports
|
|
218
|
+
*/
|
|
219
|
+
export interface InsightTeamBaseResponse {
|
|
220
|
+
name: string;
|
|
221
|
+
abbreviation: string;
|
|
222
|
+
color: string;
|
|
223
|
+
logoUrl: string | null;
|
|
224
|
+
reference: string;
|
|
225
|
+
}
|
|
211
226
|
/**
|
|
212
227
|
* Base settings shared across sports
|
|
213
228
|
*/
|
|
@@ -259,6 +274,7 @@ export interface BaseballDataRequest {
|
|
|
259
274
|
runnerOnFirst: boolean;
|
|
260
275
|
runnerOnSecond: boolean;
|
|
261
276
|
runnerOnThird: boolean;
|
|
277
|
+
isFinal: boolean;
|
|
262
278
|
team1: BaseballScoreboardTeamRequest;
|
|
263
279
|
team2: BaseballScoreboardTeamRequest;
|
|
264
280
|
settings?: BaseballSettingsRequest;
|
|
@@ -276,6 +292,7 @@ export interface BaseballDataResponse {
|
|
|
276
292
|
runnerOnFirst: boolean;
|
|
277
293
|
runnerOnSecond: boolean;
|
|
278
294
|
runnerOnThird: boolean;
|
|
295
|
+
isFinal: boolean;
|
|
279
296
|
team1: BaseballScoreboardTeamResponse;
|
|
280
297
|
team2: BaseballScoreboardTeamResponse;
|
|
281
298
|
settings: BaseballSettingsResponse;
|
|
@@ -410,11 +427,7 @@ export interface BasketballSettings extends ScoreboardSettingsBase {
|
|
|
410
427
|
/**
|
|
411
428
|
* Basketball insight team statistics
|
|
412
429
|
*/
|
|
413
|
-
export interface BasketballInsightTeamResponse {
|
|
414
|
-
name: string;
|
|
415
|
-
abbreviation: string;
|
|
416
|
-
color: string;
|
|
417
|
-
logoUrl: string | null;
|
|
430
|
+
export interface BasketballInsightTeamResponse extends InsightTeamBaseResponse {
|
|
418
431
|
score: number;
|
|
419
432
|
}
|
|
420
433
|
/**
|
|
@@ -487,7 +500,8 @@ export declare enum BasketballPeriod {
|
|
|
487
500
|
Half = "half",
|
|
488
501
|
Third = "3",
|
|
489
502
|
Fourth = "4",
|
|
490
|
-
Overtime = "overtime"
|
|
503
|
+
Overtime = "overtime",
|
|
504
|
+
Final = "final"
|
|
491
505
|
}
|
|
492
506
|
/**
|
|
493
507
|
* Basketball period structure options
|
|
@@ -695,6 +709,13 @@ export declare enum DownAndDistanceDisplay {
|
|
|
695
709
|
DownOnly = "downOnly",
|
|
696
710
|
None = "none"
|
|
697
711
|
}
|
|
712
|
+
/**
|
|
713
|
+
* Energy level for talking points generation
|
|
714
|
+
*/
|
|
715
|
+
export declare enum TalkingPointEnergy {
|
|
716
|
+
Standard = "standard",
|
|
717
|
+
Hype = "hype"
|
|
718
|
+
}
|
|
698
719
|
/**
|
|
699
720
|
* Event action identifiers
|
|
700
721
|
*/
|
|
@@ -784,6 +805,14 @@ export declare enum FileType {
|
|
|
784
805
|
InsightLogo = "insightLogo",
|
|
785
806
|
Temporary = "temporary"
|
|
786
807
|
}
|
|
808
|
+
/**
|
|
809
|
+
* Focus area for talking points generation
|
|
810
|
+
*/
|
|
811
|
+
export declare enum TalkingPointFocus {
|
|
812
|
+
Story = "story",
|
|
813
|
+
Balanced = "balanced",
|
|
814
|
+
Stats = "stats"
|
|
815
|
+
}
|
|
787
816
|
/**
|
|
788
817
|
* Football game data request
|
|
789
818
|
*/
|
|
@@ -843,7 +872,8 @@ export declare enum FootballPeriod {
|
|
|
843
872
|
Half = "half",
|
|
844
873
|
Third = "3",
|
|
845
874
|
Fourth = "4",
|
|
846
|
-
Overtime = "overtime"
|
|
875
|
+
Overtime = "overtime",
|
|
876
|
+
Final = "final"
|
|
847
877
|
}
|
|
848
878
|
/**
|
|
849
879
|
* Football settings request
|
|
@@ -893,6 +923,7 @@ export interface InsightResponse {
|
|
|
893
923
|
dateGameEnd?: string;
|
|
894
924
|
qualityScore: number;
|
|
895
925
|
data: BasketballInsightResponse;
|
|
926
|
+
talkingPoints: TalkingPointsResponse[];
|
|
896
927
|
}
|
|
897
928
|
/**
|
|
898
929
|
* Game record response
|
|
@@ -1207,6 +1238,19 @@ export interface PlayerSummaryResponse {
|
|
|
1207
1238
|
imageMediumUrl: string | null;
|
|
1208
1239
|
reference: string;
|
|
1209
1240
|
}
|
|
1241
|
+
/**
|
|
1242
|
+
* Preferences for tuning AI-generated talking points
|
|
1243
|
+
*/
|
|
1244
|
+
export interface TalkingPointPreferencesRequest {
|
|
1245
|
+
/** Browser locale code (e.g., "en-US", "es-MX"). When set, talking points are generated in this language. */
|
|
1246
|
+
language?: string;
|
|
1247
|
+
/** Team reference from the insight document. When set, commentary is framed from that team's perspective. */
|
|
1248
|
+
teamPerspective?: string;
|
|
1249
|
+
/** Energy level: "standard" for neutral commentary, "hype" for excited, emphatic language. */
|
|
1250
|
+
energy?: TalkingPointEnergy;
|
|
1251
|
+
/** Focus area: "story" for narrative, "balanced" for even coverage, "stats" for statistical analysis. */
|
|
1252
|
+
focus?: TalkingPointFocus;
|
|
1253
|
+
}
|
|
1210
1254
|
/**
|
|
1211
1255
|
* Preset creation/update request
|
|
1212
1256
|
*/
|
|
@@ -1487,7 +1531,8 @@ export declare enum SoccerPeriod {
|
|
|
1487
1531
|
Fourth = "4",
|
|
1488
1532
|
ExtraTime1 = "ET 1",
|
|
1489
1533
|
ExtraTime2 = "ET 2",
|
|
1490
|
-
Shootout = "shootout"
|
|
1534
|
+
Shootout = "shootout",
|
|
1535
|
+
Final = "final"
|
|
1491
1536
|
}
|
|
1492
1537
|
/**
|
|
1493
1538
|
* Soccer period structure options
|
|
@@ -1693,7 +1738,7 @@ export interface TemplateSelection {
|
|
|
1693
1738
|
appId: string;
|
|
1694
1739
|
useCase: TemplateUseCase;
|
|
1695
1740
|
version?: string;
|
|
1696
|
-
settings?: Record<string,
|
|
1741
|
+
settings?: Record<string, string | number | boolean | null>;
|
|
1697
1742
|
}
|
|
1698
1743
|
/**
|
|
1699
1744
|
* Template use case categories
|
|
@@ -1869,7 +1914,8 @@ export declare enum VolleyballSet {
|
|
|
1869
1914
|
Second = "2",
|
|
1870
1915
|
Third = "3",
|
|
1871
1916
|
Fourth = "4",
|
|
1872
|
-
Fifth = "5"
|
|
1917
|
+
Fifth = "5",
|
|
1918
|
+
Final = "final"
|
|
1873
1919
|
}
|
|
1874
1920
|
/**
|
|
1875
1921
|
* Volleyball settings request
|
|
@@ -2059,7 +2105,8 @@ export declare enum WrestlingPeriod {
|
|
|
2059
2105
|
First = "1",
|
|
2060
2106
|
Second = "2",
|
|
2061
2107
|
Third = "3",
|
|
2062
|
-
Overtime = "overtime"
|
|
2108
|
+
Overtime = "overtime",
|
|
2109
|
+
Final = "final"
|
|
2063
2110
|
}
|
|
2064
2111
|
/**
|
|
2065
2112
|
* Wrestling settings request
|
package/dist/index.mjs
CHANGED
|
@@ -98,6 +98,7 @@ export var BasketballPeriod;
|
|
|
98
98
|
BasketballPeriod["Third"] = "3";
|
|
99
99
|
BasketballPeriod["Fourth"] = "4";
|
|
100
100
|
BasketballPeriod["Overtime"] = "overtime";
|
|
101
|
+
BasketballPeriod["Final"] = "final";
|
|
101
102
|
})(BasketballPeriod || (BasketballPeriod = {}));
|
|
102
103
|
/**
|
|
103
104
|
* Basketball period structure options
|
|
@@ -145,6 +146,14 @@ export var DownAndDistanceDisplay;
|
|
|
145
146
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
146
147
|
DownAndDistanceDisplay["None"] = "none";
|
|
147
148
|
})(DownAndDistanceDisplay || (DownAndDistanceDisplay = {}));
|
|
149
|
+
/**
|
|
150
|
+
* Energy level for talking points generation
|
|
151
|
+
*/
|
|
152
|
+
export var TalkingPointEnergy;
|
|
153
|
+
(function (TalkingPointEnergy) {
|
|
154
|
+
TalkingPointEnergy["Standard"] = "standard";
|
|
155
|
+
TalkingPointEnergy["Hype"] = "hype";
|
|
156
|
+
})(TalkingPointEnergy || (TalkingPointEnergy = {}));
|
|
148
157
|
/**
|
|
149
158
|
* Event action identifiers
|
|
150
159
|
*/
|
|
@@ -189,6 +198,15 @@ export var FileType;
|
|
|
189
198
|
FileType["InsightLogo"] = "insightLogo";
|
|
190
199
|
FileType["Temporary"] = "temporary";
|
|
191
200
|
})(FileType || (FileType = {}));
|
|
201
|
+
/**
|
|
202
|
+
* Focus area for talking points generation
|
|
203
|
+
*/
|
|
204
|
+
export var TalkingPointFocus;
|
|
205
|
+
(function (TalkingPointFocus) {
|
|
206
|
+
TalkingPointFocus["Story"] = "story";
|
|
207
|
+
TalkingPointFocus["Balanced"] = "balanced";
|
|
208
|
+
TalkingPointFocus["Stats"] = "stats";
|
|
209
|
+
})(TalkingPointFocus || (TalkingPointFocus = {}));
|
|
192
210
|
/**
|
|
193
211
|
* Football period identifiers
|
|
194
212
|
*/
|
|
@@ -201,6 +219,7 @@ export var FootballPeriod;
|
|
|
201
219
|
FootballPeriod["Third"] = "3";
|
|
202
220
|
FootballPeriod["Fourth"] = "4";
|
|
203
221
|
FootballPeriod["Overtime"] = "overtime";
|
|
222
|
+
FootballPeriod["Final"] = "final";
|
|
204
223
|
})(FootballPeriod || (FootballPeriod = {}));
|
|
205
224
|
/**
|
|
206
225
|
* Magic link type identifiers
|
|
@@ -262,6 +281,7 @@ export var SoccerPeriod;
|
|
|
262
281
|
SoccerPeriod["ExtraTime1"] = "ET 1";
|
|
263
282
|
SoccerPeriod["ExtraTime2"] = "ET 2";
|
|
264
283
|
SoccerPeriod["Shootout"] = "shootout";
|
|
284
|
+
SoccerPeriod["Final"] = "final";
|
|
265
285
|
})(SoccerPeriod || (SoccerPeriod = {}));
|
|
266
286
|
/**
|
|
267
287
|
* Soccer period structure options
|
|
@@ -349,6 +369,7 @@ export var VolleyballSet;
|
|
|
349
369
|
VolleyballSet["Third"] = "3";
|
|
350
370
|
VolleyballSet["Fourth"] = "4";
|
|
351
371
|
VolleyballSet["Fifth"] = "5";
|
|
372
|
+
VolleyballSet["Final"] = "final";
|
|
352
373
|
})(VolleyballSet || (VolleyballSet = {}));
|
|
353
374
|
/**
|
|
354
375
|
* Websocket message type identifiers
|
|
@@ -403,6 +424,7 @@ export var WrestlingPeriod;
|
|
|
403
424
|
WrestlingPeriod["Second"] = "2";
|
|
404
425
|
WrestlingPeriod["Third"] = "3";
|
|
405
426
|
WrestlingPeriod["Overtime"] = "overtime";
|
|
427
|
+
WrestlingPeriod["Final"] = "final";
|
|
406
428
|
})(WrestlingPeriod || (WrestlingPeriod = {}));
|
|
407
429
|
/**
|
|
408
430
|
* Wrestling style options
|
package/dist/internal.cjs
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
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.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
|
|
13
|
+
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.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
|
|
14
14
|
/**
|
|
15
15
|
* API action identifiers
|
|
16
16
|
*/
|
|
@@ -104,6 +104,7 @@ var BasketballPeriod;
|
|
|
104
104
|
BasketballPeriod["Third"] = "3";
|
|
105
105
|
BasketballPeriod["Fourth"] = "4";
|
|
106
106
|
BasketballPeriod["Overtime"] = "overtime";
|
|
107
|
+
BasketballPeriod["Final"] = "final";
|
|
107
108
|
})(BasketballPeriod || (exports.BasketballPeriod = BasketballPeriod = {}));
|
|
108
109
|
/**
|
|
109
110
|
* Basketball period structure options
|
|
@@ -151,6 +152,14 @@ var DownAndDistanceDisplay;
|
|
|
151
152
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
152
153
|
DownAndDistanceDisplay["None"] = "none";
|
|
153
154
|
})(DownAndDistanceDisplay || (exports.DownAndDistanceDisplay = DownAndDistanceDisplay = {}));
|
|
155
|
+
/**
|
|
156
|
+
* Energy level for talking points generation
|
|
157
|
+
*/
|
|
158
|
+
var TalkingPointEnergy;
|
|
159
|
+
(function (TalkingPointEnergy) {
|
|
160
|
+
TalkingPointEnergy["Standard"] = "standard";
|
|
161
|
+
TalkingPointEnergy["Hype"] = "hype";
|
|
162
|
+
})(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
|
|
154
163
|
/**
|
|
155
164
|
* Event action identifiers
|
|
156
165
|
*/
|
|
@@ -195,6 +204,15 @@ var FileType;
|
|
|
195
204
|
FileType["InsightLogo"] = "insightLogo";
|
|
196
205
|
FileType["Temporary"] = "temporary";
|
|
197
206
|
})(FileType || (exports.FileType = FileType = {}));
|
|
207
|
+
/**
|
|
208
|
+
* Focus area for talking points generation
|
|
209
|
+
*/
|
|
210
|
+
var TalkingPointFocus;
|
|
211
|
+
(function (TalkingPointFocus) {
|
|
212
|
+
TalkingPointFocus["Story"] = "story";
|
|
213
|
+
TalkingPointFocus["Balanced"] = "balanced";
|
|
214
|
+
TalkingPointFocus["Stats"] = "stats";
|
|
215
|
+
})(TalkingPointFocus || (exports.TalkingPointFocus = TalkingPointFocus = {}));
|
|
198
216
|
/**
|
|
199
217
|
* Football period identifiers
|
|
200
218
|
*/
|
|
@@ -207,6 +225,7 @@ var FootballPeriod;
|
|
|
207
225
|
FootballPeriod["Third"] = "3";
|
|
208
226
|
FootballPeriod["Fourth"] = "4";
|
|
209
227
|
FootballPeriod["Overtime"] = "overtime";
|
|
228
|
+
FootballPeriod["Final"] = "final";
|
|
210
229
|
})(FootballPeriod || (exports.FootballPeriod = FootballPeriod = {}));
|
|
211
230
|
/**
|
|
212
231
|
* Magic link type identifiers
|
|
@@ -268,6 +287,7 @@ var SoccerPeriod;
|
|
|
268
287
|
SoccerPeriod["ExtraTime1"] = "ET 1";
|
|
269
288
|
SoccerPeriod["ExtraTime2"] = "ET 2";
|
|
270
289
|
SoccerPeriod["Shootout"] = "shootout";
|
|
290
|
+
SoccerPeriod["Final"] = "final";
|
|
271
291
|
})(SoccerPeriod || (exports.SoccerPeriod = SoccerPeriod = {}));
|
|
272
292
|
/**
|
|
273
293
|
* Soccer period structure options
|
|
@@ -389,6 +409,7 @@ var VolleyballSet;
|
|
|
389
409
|
VolleyballSet["Third"] = "3";
|
|
390
410
|
VolleyballSet["Fourth"] = "4";
|
|
391
411
|
VolleyballSet["Fifth"] = "5";
|
|
412
|
+
VolleyballSet["Final"] = "final";
|
|
392
413
|
})(VolleyballSet || (exports.VolleyballSet = VolleyballSet = {}));
|
|
393
414
|
/**
|
|
394
415
|
* Websocket message type identifiers
|
|
@@ -443,6 +464,7 @@ var WrestlingPeriod;
|
|
|
443
464
|
WrestlingPeriod["Second"] = "2";
|
|
444
465
|
WrestlingPeriod["Third"] = "3";
|
|
445
466
|
WrestlingPeriod["Overtime"] = "overtime";
|
|
467
|
+
WrestlingPeriod["Final"] = "final";
|
|
446
468
|
})(WrestlingPeriod || (exports.WrestlingPeriod = WrestlingPeriod = {}));
|
|
447
469
|
/**
|
|
448
470
|
* Wrestling style options
|
package/dist/internal.d.ts
CHANGED
|
@@ -41,6 +41,15 @@ export interface AccountResponseAdmin extends AccountResponse {
|
|
|
41
41
|
paymentProvider: string | null;
|
|
42
42
|
paymentProviderCustomerId: string | null;
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* AI-generated talking points for a game
|
|
46
|
+
*/
|
|
47
|
+
export interface TalkingPointsResponse {
|
|
48
|
+
/** Each element is a discrete talking point */
|
|
49
|
+
content: string[];
|
|
50
|
+
/** When the talking points were generated (ISO 8601) */
|
|
51
|
+
dateCreated: string;
|
|
52
|
+
}
|
|
44
53
|
/**
|
|
45
54
|
* API action identifiers
|
|
46
55
|
*/
|
|
@@ -120,10 +129,6 @@ export interface AppResponse {
|
|
|
120
129
|
* App input field definition
|
|
121
130
|
*/
|
|
122
131
|
export type InputDefinition = SelectInput | BooleanInput | ColorInput | TextInput | NumberInput | RangeInput;
|
|
123
|
-
/**
|
|
124
|
-
* App input field selection
|
|
125
|
-
*/
|
|
126
|
-
export type InputSelection = Record<string, string | number | boolean>;
|
|
127
132
|
/**
|
|
128
133
|
* App manifest definition
|
|
129
134
|
*/
|
|
@@ -231,6 +236,16 @@ export interface BaseInput {
|
|
|
231
236
|
description?: string;
|
|
232
237
|
default: any;
|
|
233
238
|
}
|
|
239
|
+
/**
|
|
240
|
+
* Base insight team response shared across sports
|
|
241
|
+
*/
|
|
242
|
+
export interface InsightTeamBaseResponse {
|
|
243
|
+
name: string;
|
|
244
|
+
abbreviation: string;
|
|
245
|
+
color: string;
|
|
246
|
+
logoUrl: string | null;
|
|
247
|
+
reference: string;
|
|
248
|
+
}
|
|
234
249
|
/**
|
|
235
250
|
* Base settings shared across sports
|
|
236
251
|
*/
|
|
@@ -282,6 +297,7 @@ export interface BaseballDataRequest {
|
|
|
282
297
|
runnerOnFirst: boolean;
|
|
283
298
|
runnerOnSecond: boolean;
|
|
284
299
|
runnerOnThird: boolean;
|
|
300
|
+
isFinal: boolean;
|
|
285
301
|
team1: BaseballScoreboardTeamRequest;
|
|
286
302
|
team2: BaseballScoreboardTeamRequest;
|
|
287
303
|
settings?: BaseballSettingsRequest;
|
|
@@ -299,6 +315,7 @@ export interface BaseballDataResponse {
|
|
|
299
315
|
runnerOnFirst: boolean;
|
|
300
316
|
runnerOnSecond: boolean;
|
|
301
317
|
runnerOnThird: boolean;
|
|
318
|
+
isFinal: boolean;
|
|
302
319
|
team1: BaseballScoreboardTeamResponse;
|
|
303
320
|
team2: BaseballScoreboardTeamResponse;
|
|
304
321
|
settings: BaseballSettingsResponse;
|
|
@@ -433,11 +450,7 @@ export interface BasketballSettings extends ScoreboardSettingsBase {
|
|
|
433
450
|
/**
|
|
434
451
|
* Basketball insight team statistics
|
|
435
452
|
*/
|
|
436
|
-
export interface BasketballInsightTeamResponse {
|
|
437
|
-
name: string;
|
|
438
|
-
abbreviation: string;
|
|
439
|
-
color: string;
|
|
440
|
-
logoUrl: string | null;
|
|
453
|
+
export interface BasketballInsightTeamResponse extends InsightTeamBaseResponse {
|
|
441
454
|
score: number;
|
|
442
455
|
}
|
|
443
456
|
/**
|
|
@@ -510,7 +523,8 @@ export declare enum BasketballPeriod {
|
|
|
510
523
|
Half = "half",
|
|
511
524
|
Third = "3",
|
|
512
525
|
Fourth = "4",
|
|
513
|
-
Overtime = "overtime"
|
|
526
|
+
Overtime = "overtime",
|
|
527
|
+
Final = "final"
|
|
514
528
|
}
|
|
515
529
|
/**
|
|
516
530
|
* Basketball period structure options
|
|
@@ -718,6 +732,13 @@ export declare enum DownAndDistanceDisplay {
|
|
|
718
732
|
DownOnly = "downOnly",
|
|
719
733
|
None = "none"
|
|
720
734
|
}
|
|
735
|
+
/**
|
|
736
|
+
* Energy level for talking points generation
|
|
737
|
+
*/
|
|
738
|
+
export declare enum TalkingPointEnergy {
|
|
739
|
+
Standard = "standard",
|
|
740
|
+
Hype = "hype"
|
|
741
|
+
}
|
|
721
742
|
/**
|
|
722
743
|
* Event action identifiers
|
|
723
744
|
*/
|
|
@@ -807,6 +828,14 @@ export declare enum FileType {
|
|
|
807
828
|
InsightLogo = "insightLogo",
|
|
808
829
|
Temporary = "temporary"
|
|
809
830
|
}
|
|
831
|
+
/**
|
|
832
|
+
* Focus area for talking points generation
|
|
833
|
+
*/
|
|
834
|
+
export declare enum TalkingPointFocus {
|
|
835
|
+
Story = "story",
|
|
836
|
+
Balanced = "balanced",
|
|
837
|
+
Stats = "stats"
|
|
838
|
+
}
|
|
810
839
|
/**
|
|
811
840
|
* Football game data request
|
|
812
841
|
*/
|
|
@@ -866,7 +895,8 @@ export declare enum FootballPeriod {
|
|
|
866
895
|
Half = "half",
|
|
867
896
|
Third = "3",
|
|
868
897
|
Fourth = "4",
|
|
869
|
-
Overtime = "overtime"
|
|
898
|
+
Overtime = "overtime",
|
|
899
|
+
Final = "final"
|
|
870
900
|
}
|
|
871
901
|
/**
|
|
872
902
|
* Football settings request
|
|
@@ -916,6 +946,7 @@ export interface InsightResponse {
|
|
|
916
946
|
dateGameEnd?: string;
|
|
917
947
|
qualityScore: number;
|
|
918
948
|
data: BasketballInsightResponse;
|
|
949
|
+
talkingPoints: TalkingPointsResponse[];
|
|
919
950
|
}
|
|
920
951
|
/**
|
|
921
952
|
* Game record response
|
|
@@ -1230,6 +1261,19 @@ export interface PlayerSummaryResponse {
|
|
|
1230
1261
|
imageMediumUrl: string | null;
|
|
1231
1262
|
reference: string;
|
|
1232
1263
|
}
|
|
1264
|
+
/**
|
|
1265
|
+
* Preferences for tuning AI-generated talking points
|
|
1266
|
+
*/
|
|
1267
|
+
export interface TalkingPointPreferencesRequest {
|
|
1268
|
+
/** Browser locale code (e.g., "en-US", "es-MX"). When set, talking points are generated in this language. */
|
|
1269
|
+
language?: string;
|
|
1270
|
+
/** Team reference from the insight document. When set, commentary is framed from that team's perspective. */
|
|
1271
|
+
teamPerspective?: string;
|
|
1272
|
+
/** Energy level: "standard" for neutral commentary, "hype" for excited, emphatic language. */
|
|
1273
|
+
energy?: TalkingPointEnergy;
|
|
1274
|
+
/** Focus area: "story" for narrative, "balanced" for even coverage, "stats" for statistical analysis. */
|
|
1275
|
+
focus?: TalkingPointFocus;
|
|
1276
|
+
}
|
|
1233
1277
|
/**
|
|
1234
1278
|
* Preset creation/update request
|
|
1235
1279
|
*/
|
|
@@ -1510,7 +1554,8 @@ export declare enum SoccerPeriod {
|
|
|
1510
1554
|
Fourth = "4",
|
|
1511
1555
|
ExtraTime1 = "ET 1",
|
|
1512
1556
|
ExtraTime2 = "ET 2",
|
|
1513
|
-
Shootout = "shootout"
|
|
1557
|
+
Shootout = "shootout",
|
|
1558
|
+
Final = "final"
|
|
1514
1559
|
}
|
|
1515
1560
|
/**
|
|
1516
1561
|
* Soccer period structure options
|
|
@@ -1716,7 +1761,7 @@ export interface TemplateSelection {
|
|
|
1716
1761
|
appId: string;
|
|
1717
1762
|
useCase: TemplateUseCase;
|
|
1718
1763
|
version?: string;
|
|
1719
|
-
settings?: Record<string,
|
|
1764
|
+
settings?: Record<string, string | number | boolean | null>;
|
|
1720
1765
|
}
|
|
1721
1766
|
/**
|
|
1722
1767
|
* Template use case categories
|
|
@@ -1930,7 +1975,8 @@ export declare enum VolleyballSet {
|
|
|
1930
1975
|
Second = "2",
|
|
1931
1976
|
Third = "3",
|
|
1932
1977
|
Fourth = "4",
|
|
1933
|
-
Fifth = "5"
|
|
1978
|
+
Fifth = "5",
|
|
1979
|
+
Final = "final"
|
|
1934
1980
|
}
|
|
1935
1981
|
/**
|
|
1936
1982
|
* Volleyball settings request
|
|
@@ -2120,7 +2166,8 @@ export declare enum WrestlingPeriod {
|
|
|
2120
2166
|
First = "1",
|
|
2121
2167
|
Second = "2",
|
|
2122
2168
|
Third = "3",
|
|
2123
|
-
Overtime = "overtime"
|
|
2169
|
+
Overtime = "overtime",
|
|
2170
|
+
Final = "final"
|
|
2124
2171
|
}
|
|
2125
2172
|
/**
|
|
2126
2173
|
* Wrestling settings request
|
package/dist/internal.mjs
CHANGED
|
@@ -101,6 +101,7 @@ export var BasketballPeriod;
|
|
|
101
101
|
BasketballPeriod["Third"] = "3";
|
|
102
102
|
BasketballPeriod["Fourth"] = "4";
|
|
103
103
|
BasketballPeriod["Overtime"] = "overtime";
|
|
104
|
+
BasketballPeriod["Final"] = "final";
|
|
104
105
|
})(BasketballPeriod || (BasketballPeriod = {}));
|
|
105
106
|
/**
|
|
106
107
|
* Basketball period structure options
|
|
@@ -148,6 +149,14 @@ export var DownAndDistanceDisplay;
|
|
|
148
149
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
149
150
|
DownAndDistanceDisplay["None"] = "none";
|
|
150
151
|
})(DownAndDistanceDisplay || (DownAndDistanceDisplay = {}));
|
|
152
|
+
/**
|
|
153
|
+
* Energy level for talking points generation
|
|
154
|
+
*/
|
|
155
|
+
export var TalkingPointEnergy;
|
|
156
|
+
(function (TalkingPointEnergy) {
|
|
157
|
+
TalkingPointEnergy["Standard"] = "standard";
|
|
158
|
+
TalkingPointEnergy["Hype"] = "hype";
|
|
159
|
+
})(TalkingPointEnergy || (TalkingPointEnergy = {}));
|
|
151
160
|
/**
|
|
152
161
|
* Event action identifiers
|
|
153
162
|
*/
|
|
@@ -192,6 +201,15 @@ export var FileType;
|
|
|
192
201
|
FileType["InsightLogo"] = "insightLogo";
|
|
193
202
|
FileType["Temporary"] = "temporary";
|
|
194
203
|
})(FileType || (FileType = {}));
|
|
204
|
+
/**
|
|
205
|
+
* Focus area for talking points generation
|
|
206
|
+
*/
|
|
207
|
+
export var TalkingPointFocus;
|
|
208
|
+
(function (TalkingPointFocus) {
|
|
209
|
+
TalkingPointFocus["Story"] = "story";
|
|
210
|
+
TalkingPointFocus["Balanced"] = "balanced";
|
|
211
|
+
TalkingPointFocus["Stats"] = "stats";
|
|
212
|
+
})(TalkingPointFocus || (TalkingPointFocus = {}));
|
|
195
213
|
/**
|
|
196
214
|
* Football period identifiers
|
|
197
215
|
*/
|
|
@@ -204,6 +222,7 @@ export var FootballPeriod;
|
|
|
204
222
|
FootballPeriod["Third"] = "3";
|
|
205
223
|
FootballPeriod["Fourth"] = "4";
|
|
206
224
|
FootballPeriod["Overtime"] = "overtime";
|
|
225
|
+
FootballPeriod["Final"] = "final";
|
|
207
226
|
})(FootballPeriod || (FootballPeriod = {}));
|
|
208
227
|
/**
|
|
209
228
|
* Magic link type identifiers
|
|
@@ -265,6 +284,7 @@ export var SoccerPeriod;
|
|
|
265
284
|
SoccerPeriod["ExtraTime1"] = "ET 1";
|
|
266
285
|
SoccerPeriod["ExtraTime2"] = "ET 2";
|
|
267
286
|
SoccerPeriod["Shootout"] = "shootout";
|
|
287
|
+
SoccerPeriod["Final"] = "final";
|
|
268
288
|
})(SoccerPeriod || (SoccerPeriod = {}));
|
|
269
289
|
/**
|
|
270
290
|
* Soccer period structure options
|
|
@@ -376,6 +396,7 @@ export var VolleyballSet;
|
|
|
376
396
|
VolleyballSet["Third"] = "3";
|
|
377
397
|
VolleyballSet["Fourth"] = "4";
|
|
378
398
|
VolleyballSet["Fifth"] = "5";
|
|
399
|
+
VolleyballSet["Final"] = "final";
|
|
379
400
|
})(VolleyballSet || (VolleyballSet = {}));
|
|
380
401
|
/**
|
|
381
402
|
* Websocket message type identifiers
|
|
@@ -430,6 +451,7 @@ export var WrestlingPeriod;
|
|
|
430
451
|
WrestlingPeriod["Second"] = "2";
|
|
431
452
|
WrestlingPeriod["Third"] = "3";
|
|
432
453
|
WrestlingPeriod["Overtime"] = "overtime";
|
|
454
|
+
WrestlingPeriod["Final"] = "final";
|
|
433
455
|
})(WrestlingPeriod || (WrestlingPeriod = {}));
|
|
434
456
|
/**
|
|
435
457
|
* Wrestling style options
|