@scoreboardmax/api-types 1.0.34-next.1 → 1.0.34-next.11
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 +7 -0
- package/dist/index.d.ts +103 -1
- package/dist/index.mjs +7 -0
- package/dist/internal.cjs +7 -0
- package/dist/internal.d.ts +103 -1
- package/dist/internal.mjs +7 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -55,12 +55,15 @@ var ApiResource;
|
|
|
55
55
|
ApiResource["AuthList"] = "authList";
|
|
56
56
|
ApiResource["Clock"] = "clock";
|
|
57
57
|
ApiResource["ClockList"] = "clockList";
|
|
58
|
+
ApiResource["Insight"] = "insight";
|
|
58
59
|
ApiResource["Player"] = "player";
|
|
59
60
|
ApiResource["PlayerList"] = "playerList";
|
|
60
61
|
ApiResource["Roster"] = "roster";
|
|
61
62
|
ApiResource["RosterList"] = "rosterList";
|
|
62
63
|
ApiResource["Scoreboard"] = "scoreboard";
|
|
63
64
|
ApiResource["ScoreboardList"] = "scoreboardList";
|
|
65
|
+
ApiResource["ScoreboardLog"] = "scoreboardLog";
|
|
66
|
+
ApiResource["ScoreboardLogList"] = "scoreboardLogList";
|
|
64
67
|
ApiResource["Sponsor"] = "sponsor";
|
|
65
68
|
ApiResource["SponsorList"] = "sponsorList";
|
|
66
69
|
ApiResource["Team"] = "team";
|
|
@@ -75,6 +78,8 @@ var ApiResource;
|
|
|
75
78
|
ApiResource["OverlayList"] = "overlayList";
|
|
76
79
|
ApiResource["Preset"] = "preset";
|
|
77
80
|
ApiResource["PresetList"] = "presetList";
|
|
81
|
+
ApiResource["Game"] = "game";
|
|
82
|
+
ApiResource["GameList"] = "gameList";
|
|
78
83
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
79
84
|
var AppType;
|
|
80
85
|
(function (AppType) {
|
|
@@ -154,6 +159,7 @@ var ErrorCode;
|
|
|
154
159
|
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
155
160
|
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
156
161
|
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
162
|
+
ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
|
|
157
163
|
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
158
164
|
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
159
165
|
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
@@ -196,6 +202,7 @@ var FileType;
|
|
|
196
202
|
FileType["AccountLogo"] = "accountLogo";
|
|
197
203
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
198
204
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
205
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
199
206
|
FileType["Temporary"] = "temporary";
|
|
200
207
|
})(FileType || (exports.FileType = FileType = {}));
|
|
201
208
|
var FootballPeriod;
|
package/dist/index.d.ts
CHANGED
|
@@ -32,12 +32,15 @@ export declare enum ApiResource {
|
|
|
32
32
|
AuthList = "authList",
|
|
33
33
|
Clock = "clock",
|
|
34
34
|
ClockList = "clockList",
|
|
35
|
+
Insight = "insight",
|
|
35
36
|
Player = "player",
|
|
36
37
|
PlayerList = "playerList",
|
|
37
38
|
Roster = "roster",
|
|
38
39
|
RosterList = "rosterList",
|
|
39
40
|
Scoreboard = "scoreboard",
|
|
40
41
|
ScoreboardList = "scoreboardList",
|
|
42
|
+
ScoreboardLog = "scoreboardLog",
|
|
43
|
+
ScoreboardLogList = "scoreboardLogList",
|
|
41
44
|
Sponsor = "sponsor",
|
|
42
45
|
SponsorList = "sponsorList",
|
|
43
46
|
Team = "team",
|
|
@@ -51,7 +54,9 @@ export declare enum ApiResource {
|
|
|
51
54
|
Overlay = "overlay",
|
|
52
55
|
OverlayList = "overlayList",
|
|
53
56
|
Preset = "preset",
|
|
54
|
-
PresetList = "presetList"
|
|
57
|
+
PresetList = "presetList",
|
|
58
|
+
Game = "game",
|
|
59
|
+
GameList = "gameList"
|
|
55
60
|
}
|
|
56
61
|
export declare enum AppType {
|
|
57
62
|
Template = "template"
|
|
@@ -120,6 +125,7 @@ export declare enum ErrorCode {
|
|
|
120
125
|
InsufficientResourcePermissions = "InsufficientResourcePermissions",
|
|
121
126
|
InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
|
|
122
127
|
InvalidAuthType = "InvalidAuthType",
|
|
128
|
+
InvalidCaptchaToken = "InvalidCaptchaToken",
|
|
123
129
|
InvalidColorFormat = "InvalidColorFormat",
|
|
124
130
|
InvalidDate = "InvalidDate",
|
|
125
131
|
InvalidInput = "InvalidInput",
|
|
@@ -159,6 +165,7 @@ export declare enum FileType {
|
|
|
159
165
|
AccountLogo = "accountLogo",
|
|
160
166
|
PlayerPhoto = "playerPhoto",
|
|
161
167
|
SponsorLogo = "sponsorLogo",
|
|
168
|
+
InsightLogo = "insightLogo",
|
|
162
169
|
Temporary = "temporary"
|
|
163
170
|
}
|
|
164
171
|
export declare enum FootballPeriod {
|
|
@@ -456,6 +463,7 @@ export interface BaseInput {
|
|
|
456
463
|
}
|
|
457
464
|
export interface BasketballDataRequest {
|
|
458
465
|
period: BasketballPeriod;
|
|
466
|
+
overtimeNumber?: number;
|
|
459
467
|
team1: BasketballScoreboardTeamRequest;
|
|
460
468
|
team2: BasketballScoreboardTeamRequest;
|
|
461
469
|
settings?: BasketballSettingsRequest;
|
|
@@ -463,10 +471,46 @@ export interface BasketballDataRequest {
|
|
|
463
471
|
export interface BasketballDataResponse {
|
|
464
472
|
type: ScoreboardType;
|
|
465
473
|
period: BasketballPeriod;
|
|
474
|
+
overtimeNumber?: number;
|
|
466
475
|
team1: BasketballScoreboardTeamResponse;
|
|
467
476
|
team2: BasketballScoreboardTeamResponse;
|
|
468
477
|
settings: BasketballSettingsResponse;
|
|
469
478
|
}
|
|
479
|
+
export interface BasketballInsightResponse {
|
|
480
|
+
team1: BasketballInsightTeamResponse;
|
|
481
|
+
team2: BasketballInsightTeamResponse;
|
|
482
|
+
timelinePoints: TimelinePointResponse[];
|
|
483
|
+
periodEndPoints: TimelinePointResponse[];
|
|
484
|
+
runs: BasketballRunSummaryResponse[];
|
|
485
|
+
periodLength: number;
|
|
486
|
+
overtimeLength: number;
|
|
487
|
+
gamePeriods: BasketballGamePeriods;
|
|
488
|
+
overtimeCount: number;
|
|
489
|
+
regulationLength: number;
|
|
490
|
+
gameLength: number;
|
|
491
|
+
leadChanges: number;
|
|
492
|
+
largestLeadPointTeam1: TimelinePointResponse | null;
|
|
493
|
+
largestLeadPointTeam2: TimelinePointResponse | null;
|
|
494
|
+
}
|
|
495
|
+
export interface BasketballInsightTeamResponse {
|
|
496
|
+
name: string;
|
|
497
|
+
abbreviation: string;
|
|
498
|
+
color: string;
|
|
499
|
+
logoUrl: string | null;
|
|
500
|
+
score: number;
|
|
501
|
+
}
|
|
502
|
+
export interface BasketballRunSummary {
|
|
503
|
+
team: "team1" | "team2";
|
|
504
|
+
points: number;
|
|
505
|
+
opponentPoints: number;
|
|
506
|
+
startSeq: number;
|
|
507
|
+
endSeq: number;
|
|
508
|
+
startLeader: "team1" | "team2" | null;
|
|
509
|
+
endLeader: "team1" | "team2" | null;
|
|
510
|
+
causedLeadChange: boolean;
|
|
511
|
+
}
|
|
512
|
+
export interface BasketballRunSummaryResponse extends BasketballRunSummary {
|
|
513
|
+
}
|
|
470
514
|
export interface BasketballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
471
515
|
score: number;
|
|
472
516
|
timeoutsLeft: number;
|
|
@@ -488,6 +532,7 @@ export interface BasketballSettings extends ScoreboardSettingsBase {
|
|
|
488
532
|
shotClockLength?: number;
|
|
489
533
|
shotClockSecondaryLength?: number;
|
|
490
534
|
halfLength: number;
|
|
535
|
+
overtimeLength: number;
|
|
491
536
|
showGameClock: boolean;
|
|
492
537
|
showShotClock: boolean;
|
|
493
538
|
showTimeouts: boolean;
|
|
@@ -633,6 +678,7 @@ export interface FootballDataRequest {
|
|
|
633
678
|
distanceToGo: string | null;
|
|
634
679
|
flag: boolean;
|
|
635
680
|
period: FootballPeriod;
|
|
681
|
+
overtimeNumber?: number;
|
|
636
682
|
team1: FootballScoreboardTeamRequest;
|
|
637
683
|
team2: FootballScoreboardTeamRequest;
|
|
638
684
|
settings?: FootballSettingsRequest;
|
|
@@ -643,6 +689,7 @@ export interface FootballDataResponse {
|
|
|
643
689
|
distanceToGo: string | null;
|
|
644
690
|
flag: boolean;
|
|
645
691
|
period: FootballPeriod;
|
|
692
|
+
overtimeNumber?: number;
|
|
646
693
|
team1: FootballScoreboardTeamResponse;
|
|
647
694
|
team2: FootballScoreboardTeamResponse;
|
|
648
695
|
settings: FootballSettingsResponse;
|
|
@@ -663,6 +710,8 @@ export interface FootballSettings extends ScoreboardSettingsBase {
|
|
|
663
710
|
playClockLength?: number;
|
|
664
711
|
playClockSecondaryLength?: number;
|
|
665
712
|
timeoutsPerHalf?: number;
|
|
713
|
+
overtimeLength?: number;
|
|
714
|
+
overtimeHasClock: boolean;
|
|
666
715
|
showGameClock: boolean;
|
|
667
716
|
showPlayClock: boolean;
|
|
668
717
|
showTimeouts: boolean;
|
|
@@ -678,6 +727,42 @@ export interface FootballSettingsRequest extends FootballSettings {
|
|
|
678
727
|
}
|
|
679
728
|
export interface FootballSettingsResponse extends FootballSettings {
|
|
680
729
|
}
|
|
730
|
+
export interface GameListResponse {
|
|
731
|
+
url: string;
|
|
732
|
+
uri: string;
|
|
733
|
+
pageNext: string | null;
|
|
734
|
+
data: GameResponse[];
|
|
735
|
+
}
|
|
736
|
+
export interface GameRequest {
|
|
737
|
+
description: string;
|
|
738
|
+
}
|
|
739
|
+
export interface GameResponse {
|
|
740
|
+
object: string;
|
|
741
|
+
url: string;
|
|
742
|
+
uri: string;
|
|
743
|
+
scoreboardId: string;
|
|
744
|
+
gameId: string;
|
|
745
|
+
type: ScoreboardType;
|
|
746
|
+
startLogId: string;
|
|
747
|
+
endLogId?: string;
|
|
748
|
+
description: string;
|
|
749
|
+
dateGameStart: string;
|
|
750
|
+
dateGameEnd?: string;
|
|
751
|
+
dateCreated: string;
|
|
752
|
+
dateModified: string;
|
|
753
|
+
}
|
|
754
|
+
export interface InsightResponse {
|
|
755
|
+
object: string;
|
|
756
|
+
url: string;
|
|
757
|
+
uri: string;
|
|
758
|
+
accountId: string;
|
|
759
|
+
scoreboardId: string;
|
|
760
|
+
scoreboardType: ScoreboardType;
|
|
761
|
+
dateStart: string;
|
|
762
|
+
dateEnd: string;
|
|
763
|
+
qualityScore: number;
|
|
764
|
+
data: BasketballInsightResponse;
|
|
765
|
+
}
|
|
681
766
|
export interface MagicLinkResponse {
|
|
682
767
|
object: string;
|
|
683
768
|
magicLinkId: string;
|
|
@@ -706,6 +791,7 @@ export interface NewAccountRequest {
|
|
|
706
791
|
email: string;
|
|
707
792
|
password: string;
|
|
708
793
|
name?: string;
|
|
794
|
+
captchaToken?: string;
|
|
709
795
|
}
|
|
710
796
|
export interface NumberInput extends BaseInput {
|
|
711
797
|
type: "number";
|
|
@@ -1132,6 +1218,21 @@ export interface TextInput extends BaseInput {
|
|
|
1132
1218
|
default: string;
|
|
1133
1219
|
maxLength?: number;
|
|
1134
1220
|
}
|
|
1221
|
+
export interface TimelinePoint {
|
|
1222
|
+
seq: number;
|
|
1223
|
+
period: string | null;
|
|
1224
|
+
overtimeNumber?: number;
|
|
1225
|
+
team1Score: number;
|
|
1226
|
+
team2Score: number;
|
|
1227
|
+
leader: "team1" | "team2" | null;
|
|
1228
|
+
leadAmount: number;
|
|
1229
|
+
periodSecondsRemaining?: number;
|
|
1230
|
+
gameSecond?: number;
|
|
1231
|
+
timeInferred?: boolean;
|
|
1232
|
+
clockJumpAfter?: boolean;
|
|
1233
|
+
}
|
|
1234
|
+
export interface TimelinePointResponse extends TimelinePoint {
|
|
1235
|
+
}
|
|
1135
1236
|
export interface UploadSessionRequest {
|
|
1136
1237
|
filename: string;
|
|
1137
1238
|
reference?: string;
|
|
@@ -1209,6 +1310,7 @@ export interface VolleyballDataResponse {
|
|
|
1209
1310
|
team1: VolleyballScoreboardTeamResponse;
|
|
1210
1311
|
team2: VolleyballScoreboardTeamResponse;
|
|
1211
1312
|
settings: VolleyballSettingsResponse;
|
|
1313
|
+
setFirstServingTeam: "team1" | "team2" | null;
|
|
1212
1314
|
}
|
|
1213
1315
|
export interface VolleyballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
1214
1316
|
setScore: number;
|
package/dist/index.mjs
CHANGED
|
@@ -46,12 +46,15 @@ export var ApiResource;
|
|
|
46
46
|
ApiResource["AuthList"] = "authList";
|
|
47
47
|
ApiResource["Clock"] = "clock";
|
|
48
48
|
ApiResource["ClockList"] = "clockList";
|
|
49
|
+
ApiResource["Insight"] = "insight";
|
|
49
50
|
ApiResource["Player"] = "player";
|
|
50
51
|
ApiResource["PlayerList"] = "playerList";
|
|
51
52
|
ApiResource["Roster"] = "roster";
|
|
52
53
|
ApiResource["RosterList"] = "rosterList";
|
|
53
54
|
ApiResource["Scoreboard"] = "scoreboard";
|
|
54
55
|
ApiResource["ScoreboardList"] = "scoreboardList";
|
|
56
|
+
ApiResource["ScoreboardLog"] = "scoreboardLog";
|
|
57
|
+
ApiResource["ScoreboardLogList"] = "scoreboardLogList";
|
|
55
58
|
ApiResource["Sponsor"] = "sponsor";
|
|
56
59
|
ApiResource["SponsorList"] = "sponsorList";
|
|
57
60
|
ApiResource["Team"] = "team";
|
|
@@ -66,6 +69,8 @@ export var ApiResource;
|
|
|
66
69
|
ApiResource["OverlayList"] = "overlayList";
|
|
67
70
|
ApiResource["Preset"] = "preset";
|
|
68
71
|
ApiResource["PresetList"] = "presetList";
|
|
72
|
+
ApiResource["Game"] = "game";
|
|
73
|
+
ApiResource["GameList"] = "gameList";
|
|
69
74
|
})(ApiResource || (ApiResource = {}));
|
|
70
75
|
export var AppType;
|
|
71
76
|
(function (AppType) {
|
|
@@ -145,6 +150,7 @@ export var ErrorCode;
|
|
|
145
150
|
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
146
151
|
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
147
152
|
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
153
|
+
ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
|
|
148
154
|
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
149
155
|
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
150
156
|
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
@@ -187,6 +193,7 @@ export var FileType;
|
|
|
187
193
|
FileType["AccountLogo"] = "accountLogo";
|
|
188
194
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
189
195
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
196
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
190
197
|
FileType["Temporary"] = "temporary";
|
|
191
198
|
})(FileType || (FileType = {}));
|
|
192
199
|
export var FootballPeriod;
|
package/dist/internal.cjs
CHANGED
|
@@ -74,12 +74,15 @@ var ApiResource;
|
|
|
74
74
|
ApiResource["AuthList"] = "authList";
|
|
75
75
|
ApiResource["Clock"] = "clock";
|
|
76
76
|
ApiResource["ClockList"] = "clockList";
|
|
77
|
+
ApiResource["Insight"] = "insight";
|
|
77
78
|
ApiResource["Player"] = "player";
|
|
78
79
|
ApiResource["PlayerList"] = "playerList";
|
|
79
80
|
ApiResource["Roster"] = "roster";
|
|
80
81
|
ApiResource["RosterList"] = "rosterList";
|
|
81
82
|
ApiResource["Scoreboard"] = "scoreboard";
|
|
82
83
|
ApiResource["ScoreboardList"] = "scoreboardList";
|
|
84
|
+
ApiResource["ScoreboardLog"] = "scoreboardLog";
|
|
85
|
+
ApiResource["ScoreboardLogList"] = "scoreboardLogList";
|
|
83
86
|
ApiResource["Sponsor"] = "sponsor";
|
|
84
87
|
ApiResource["SponsorList"] = "sponsorList";
|
|
85
88
|
ApiResource["Team"] = "team";
|
|
@@ -94,6 +97,8 @@ var ApiResource;
|
|
|
94
97
|
ApiResource["OverlayList"] = "overlayList";
|
|
95
98
|
ApiResource["Preset"] = "preset";
|
|
96
99
|
ApiResource["PresetList"] = "presetList";
|
|
100
|
+
ApiResource["Game"] = "game";
|
|
101
|
+
ApiResource["GameList"] = "gameList";
|
|
97
102
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
98
103
|
var AppType;
|
|
99
104
|
(function (AppType) {
|
|
@@ -173,6 +178,7 @@ var ErrorCode;
|
|
|
173
178
|
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
174
179
|
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
175
180
|
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
181
|
+
ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
|
|
176
182
|
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
177
183
|
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
178
184
|
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
@@ -215,6 +221,7 @@ var FileType;
|
|
|
215
221
|
FileType["AccountLogo"] = "accountLogo";
|
|
216
222
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
217
223
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
224
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
218
225
|
FileType["Temporary"] = "temporary";
|
|
219
226
|
})(FileType || (exports.FileType = FileType = {}));
|
|
220
227
|
var FootballPeriod;
|
package/dist/internal.d.ts
CHANGED
|
@@ -39,12 +39,15 @@ export declare enum ApiResource {
|
|
|
39
39
|
AuthList = "authList",
|
|
40
40
|
Clock = "clock",
|
|
41
41
|
ClockList = "clockList",
|
|
42
|
+
Insight = "insight",
|
|
42
43
|
Player = "player",
|
|
43
44
|
PlayerList = "playerList",
|
|
44
45
|
Roster = "roster",
|
|
45
46
|
RosterList = "rosterList",
|
|
46
47
|
Scoreboard = "scoreboard",
|
|
47
48
|
ScoreboardList = "scoreboardList",
|
|
49
|
+
ScoreboardLog = "scoreboardLog",
|
|
50
|
+
ScoreboardLogList = "scoreboardLogList",
|
|
48
51
|
Sponsor = "sponsor",
|
|
49
52
|
SponsorList = "sponsorList",
|
|
50
53
|
Team = "team",
|
|
@@ -58,7 +61,9 @@ export declare enum ApiResource {
|
|
|
58
61
|
Overlay = "overlay",
|
|
59
62
|
OverlayList = "overlayList",
|
|
60
63
|
Preset = "preset",
|
|
61
|
-
PresetList = "presetList"
|
|
64
|
+
PresetList = "presetList",
|
|
65
|
+
Game = "game",
|
|
66
|
+
GameList = "gameList"
|
|
62
67
|
}
|
|
63
68
|
export declare enum AppType {
|
|
64
69
|
Template = "template"
|
|
@@ -127,6 +132,7 @@ export declare enum ErrorCode {
|
|
|
127
132
|
InsufficientResourcePermissions = "InsufficientResourcePermissions",
|
|
128
133
|
InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
|
|
129
134
|
InvalidAuthType = "InvalidAuthType",
|
|
135
|
+
InvalidCaptchaToken = "InvalidCaptchaToken",
|
|
130
136
|
InvalidColorFormat = "InvalidColorFormat",
|
|
131
137
|
InvalidDate = "InvalidDate",
|
|
132
138
|
InvalidInput = "InvalidInput",
|
|
@@ -166,6 +172,7 @@ export declare enum FileType {
|
|
|
166
172
|
AccountLogo = "accountLogo",
|
|
167
173
|
PlayerPhoto = "playerPhoto",
|
|
168
174
|
SponsorLogo = "sponsorLogo",
|
|
175
|
+
InsightLogo = "insightLogo",
|
|
169
176
|
Temporary = "temporary"
|
|
170
177
|
}
|
|
171
178
|
export declare enum FootballPeriod {
|
|
@@ -474,6 +481,7 @@ export interface BaseInput {
|
|
|
474
481
|
}
|
|
475
482
|
export interface BasketballDataRequest {
|
|
476
483
|
period: BasketballPeriod;
|
|
484
|
+
overtimeNumber?: number;
|
|
477
485
|
team1: BasketballScoreboardTeamRequest;
|
|
478
486
|
team2: BasketballScoreboardTeamRequest;
|
|
479
487
|
settings?: BasketballSettingsRequest;
|
|
@@ -481,10 +489,46 @@ export interface BasketballDataRequest {
|
|
|
481
489
|
export interface BasketballDataResponse {
|
|
482
490
|
type: ScoreboardType;
|
|
483
491
|
period: BasketballPeriod;
|
|
492
|
+
overtimeNumber?: number;
|
|
484
493
|
team1: BasketballScoreboardTeamResponse;
|
|
485
494
|
team2: BasketballScoreboardTeamResponse;
|
|
486
495
|
settings: BasketballSettingsResponse;
|
|
487
496
|
}
|
|
497
|
+
export interface BasketballInsightResponse {
|
|
498
|
+
team1: BasketballInsightTeamResponse;
|
|
499
|
+
team2: BasketballInsightTeamResponse;
|
|
500
|
+
timelinePoints: TimelinePointResponse[];
|
|
501
|
+
periodEndPoints: TimelinePointResponse[];
|
|
502
|
+
runs: BasketballRunSummaryResponse[];
|
|
503
|
+
periodLength: number;
|
|
504
|
+
overtimeLength: number;
|
|
505
|
+
gamePeriods: BasketballGamePeriods;
|
|
506
|
+
overtimeCount: number;
|
|
507
|
+
regulationLength: number;
|
|
508
|
+
gameLength: number;
|
|
509
|
+
leadChanges: number;
|
|
510
|
+
largestLeadPointTeam1: TimelinePointResponse | null;
|
|
511
|
+
largestLeadPointTeam2: TimelinePointResponse | null;
|
|
512
|
+
}
|
|
513
|
+
export interface BasketballInsightTeamResponse {
|
|
514
|
+
name: string;
|
|
515
|
+
abbreviation: string;
|
|
516
|
+
color: string;
|
|
517
|
+
logoUrl: string | null;
|
|
518
|
+
score: number;
|
|
519
|
+
}
|
|
520
|
+
export interface BasketballRunSummary {
|
|
521
|
+
team: "team1" | "team2";
|
|
522
|
+
points: number;
|
|
523
|
+
opponentPoints: number;
|
|
524
|
+
startSeq: number;
|
|
525
|
+
endSeq: number;
|
|
526
|
+
startLeader: "team1" | "team2" | null;
|
|
527
|
+
endLeader: "team1" | "team2" | null;
|
|
528
|
+
causedLeadChange: boolean;
|
|
529
|
+
}
|
|
530
|
+
export interface BasketballRunSummaryResponse extends BasketballRunSummary {
|
|
531
|
+
}
|
|
488
532
|
export interface BasketballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
489
533
|
score: number;
|
|
490
534
|
timeoutsLeft: number;
|
|
@@ -506,6 +550,7 @@ export interface BasketballSettings extends ScoreboardSettingsBase {
|
|
|
506
550
|
shotClockLength?: number;
|
|
507
551
|
shotClockSecondaryLength?: number;
|
|
508
552
|
halfLength: number;
|
|
553
|
+
overtimeLength: number;
|
|
509
554
|
showGameClock: boolean;
|
|
510
555
|
showShotClock: boolean;
|
|
511
556
|
showTimeouts: boolean;
|
|
@@ -651,6 +696,7 @@ export interface FootballDataRequest {
|
|
|
651
696
|
distanceToGo: string | null;
|
|
652
697
|
flag: boolean;
|
|
653
698
|
period: FootballPeriod;
|
|
699
|
+
overtimeNumber?: number;
|
|
654
700
|
team1: FootballScoreboardTeamRequest;
|
|
655
701
|
team2: FootballScoreboardTeamRequest;
|
|
656
702
|
settings?: FootballSettingsRequest;
|
|
@@ -661,6 +707,7 @@ export interface FootballDataResponse {
|
|
|
661
707
|
distanceToGo: string | null;
|
|
662
708
|
flag: boolean;
|
|
663
709
|
period: FootballPeriod;
|
|
710
|
+
overtimeNumber?: number;
|
|
664
711
|
team1: FootballScoreboardTeamResponse;
|
|
665
712
|
team2: FootballScoreboardTeamResponse;
|
|
666
713
|
settings: FootballSettingsResponse;
|
|
@@ -681,6 +728,8 @@ export interface FootballSettings extends ScoreboardSettingsBase {
|
|
|
681
728
|
playClockLength?: number;
|
|
682
729
|
playClockSecondaryLength?: number;
|
|
683
730
|
timeoutsPerHalf?: number;
|
|
731
|
+
overtimeLength?: number;
|
|
732
|
+
overtimeHasClock: boolean;
|
|
684
733
|
showGameClock: boolean;
|
|
685
734
|
showPlayClock: boolean;
|
|
686
735
|
showTimeouts: boolean;
|
|
@@ -696,6 +745,42 @@ export interface FootballSettingsRequest extends FootballSettings {
|
|
|
696
745
|
}
|
|
697
746
|
export interface FootballSettingsResponse extends FootballSettings {
|
|
698
747
|
}
|
|
748
|
+
export interface GameListResponse {
|
|
749
|
+
url: string;
|
|
750
|
+
uri: string;
|
|
751
|
+
pageNext: string | null;
|
|
752
|
+
data: GameResponse[];
|
|
753
|
+
}
|
|
754
|
+
export interface GameRequest {
|
|
755
|
+
description: string;
|
|
756
|
+
}
|
|
757
|
+
export interface GameResponse {
|
|
758
|
+
object: string;
|
|
759
|
+
url: string;
|
|
760
|
+
uri: string;
|
|
761
|
+
scoreboardId: string;
|
|
762
|
+
gameId: string;
|
|
763
|
+
type: ScoreboardType;
|
|
764
|
+
startLogId: string;
|
|
765
|
+
endLogId?: string;
|
|
766
|
+
description: string;
|
|
767
|
+
dateGameStart: string;
|
|
768
|
+
dateGameEnd?: string;
|
|
769
|
+
dateCreated: string;
|
|
770
|
+
dateModified: string;
|
|
771
|
+
}
|
|
772
|
+
export interface InsightResponse {
|
|
773
|
+
object: string;
|
|
774
|
+
url: string;
|
|
775
|
+
uri: string;
|
|
776
|
+
accountId: string;
|
|
777
|
+
scoreboardId: string;
|
|
778
|
+
scoreboardType: ScoreboardType;
|
|
779
|
+
dateStart: string;
|
|
780
|
+
dateEnd: string;
|
|
781
|
+
qualityScore: number;
|
|
782
|
+
data: BasketballInsightResponse;
|
|
783
|
+
}
|
|
699
784
|
export interface MagicLinkResponse {
|
|
700
785
|
object: string;
|
|
701
786
|
magicLinkId: string;
|
|
@@ -724,6 +809,7 @@ export interface NewAccountRequest {
|
|
|
724
809
|
email: string;
|
|
725
810
|
password: string;
|
|
726
811
|
name?: string;
|
|
812
|
+
captchaToken?: string;
|
|
727
813
|
}
|
|
728
814
|
export interface NumberInput extends BaseInput {
|
|
729
815
|
type: "number";
|
|
@@ -1150,6 +1236,21 @@ export interface TextInput extends BaseInput {
|
|
|
1150
1236
|
default: string;
|
|
1151
1237
|
maxLength?: number;
|
|
1152
1238
|
}
|
|
1239
|
+
export interface TimelinePoint {
|
|
1240
|
+
seq: number;
|
|
1241
|
+
period: string | null;
|
|
1242
|
+
overtimeNumber?: number;
|
|
1243
|
+
team1Score: number;
|
|
1244
|
+
team2Score: number;
|
|
1245
|
+
leader: "team1" | "team2" | null;
|
|
1246
|
+
leadAmount: number;
|
|
1247
|
+
periodSecondsRemaining?: number;
|
|
1248
|
+
gameSecond?: number;
|
|
1249
|
+
timeInferred?: boolean;
|
|
1250
|
+
clockJumpAfter?: boolean;
|
|
1251
|
+
}
|
|
1252
|
+
export interface TimelinePointResponse extends TimelinePoint {
|
|
1253
|
+
}
|
|
1153
1254
|
export interface UploadSessionRequest {
|
|
1154
1255
|
filename: string;
|
|
1155
1256
|
reference?: string;
|
|
@@ -1240,6 +1341,7 @@ export interface VolleyballDataResponse {
|
|
|
1240
1341
|
team1: VolleyballScoreboardTeamResponse;
|
|
1241
1342
|
team2: VolleyballScoreboardTeamResponse;
|
|
1242
1343
|
settings: VolleyballSettingsResponse;
|
|
1344
|
+
setFirstServingTeam: "team1" | "team2" | null;
|
|
1243
1345
|
}
|
|
1244
1346
|
export interface VolleyballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
1245
1347
|
setScore: number;
|
package/dist/internal.mjs
CHANGED
|
@@ -61,12 +61,15 @@ export var ApiResource;
|
|
|
61
61
|
ApiResource["AuthList"] = "authList";
|
|
62
62
|
ApiResource["Clock"] = "clock";
|
|
63
63
|
ApiResource["ClockList"] = "clockList";
|
|
64
|
+
ApiResource["Insight"] = "insight";
|
|
64
65
|
ApiResource["Player"] = "player";
|
|
65
66
|
ApiResource["PlayerList"] = "playerList";
|
|
66
67
|
ApiResource["Roster"] = "roster";
|
|
67
68
|
ApiResource["RosterList"] = "rosterList";
|
|
68
69
|
ApiResource["Scoreboard"] = "scoreboard";
|
|
69
70
|
ApiResource["ScoreboardList"] = "scoreboardList";
|
|
71
|
+
ApiResource["ScoreboardLog"] = "scoreboardLog";
|
|
72
|
+
ApiResource["ScoreboardLogList"] = "scoreboardLogList";
|
|
70
73
|
ApiResource["Sponsor"] = "sponsor";
|
|
71
74
|
ApiResource["SponsorList"] = "sponsorList";
|
|
72
75
|
ApiResource["Team"] = "team";
|
|
@@ -81,6 +84,8 @@ export var ApiResource;
|
|
|
81
84
|
ApiResource["OverlayList"] = "overlayList";
|
|
82
85
|
ApiResource["Preset"] = "preset";
|
|
83
86
|
ApiResource["PresetList"] = "presetList";
|
|
87
|
+
ApiResource["Game"] = "game";
|
|
88
|
+
ApiResource["GameList"] = "gameList";
|
|
84
89
|
})(ApiResource || (ApiResource = {}));
|
|
85
90
|
export var AppType;
|
|
86
91
|
(function (AppType) {
|
|
@@ -160,6 +165,7 @@ export var ErrorCode;
|
|
|
160
165
|
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
161
166
|
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
162
167
|
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
168
|
+
ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
|
|
163
169
|
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
164
170
|
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
165
171
|
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
@@ -202,6 +208,7 @@ export var FileType;
|
|
|
202
208
|
FileType["AccountLogo"] = "accountLogo";
|
|
203
209
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
204
210
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
211
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
205
212
|
FileType["Temporary"] = "temporary";
|
|
206
213
|
})(FileType || (FileType = {}));
|
|
207
214
|
export var FootballPeriod;
|