@scoreboardmax/api-types 1.0.41 → 1.0.43
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 +4 -0
- package/dist/index.d.ts +91 -1
- package/dist/index.mjs +4 -0
- package/dist/internal.cjs +4 -0
- package/dist/internal.d.ts +91 -1
- package/dist/internal.mjs +4 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -55,6 +55,7 @@ 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";
|
|
@@ -77,6 +78,8 @@ var ApiResource;
|
|
|
77
78
|
ApiResource["OverlayList"] = "overlayList";
|
|
78
79
|
ApiResource["Preset"] = "preset";
|
|
79
80
|
ApiResource["PresetList"] = "presetList";
|
|
81
|
+
ApiResource["Game"] = "game";
|
|
82
|
+
ApiResource["GameList"] = "gameList";
|
|
80
83
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
81
84
|
var AppType;
|
|
82
85
|
(function (AppType) {
|
|
@@ -199,6 +202,7 @@ var FileType;
|
|
|
199
202
|
FileType["AccountLogo"] = "accountLogo";
|
|
200
203
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
201
204
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
205
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
202
206
|
FileType["Temporary"] = "temporary";
|
|
203
207
|
})(FileType || (exports.FileType = FileType = {}));
|
|
204
208
|
var FootballPeriod;
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ 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",
|
|
@@ -53,7 +54,9 @@ export declare enum ApiResource {
|
|
|
53
54
|
Overlay = "overlay",
|
|
54
55
|
OverlayList = "overlayList",
|
|
55
56
|
Preset = "preset",
|
|
56
|
-
PresetList = "presetList"
|
|
57
|
+
PresetList = "presetList",
|
|
58
|
+
Game = "game",
|
|
59
|
+
GameList = "gameList"
|
|
57
60
|
}
|
|
58
61
|
export declare enum AppType {
|
|
59
62
|
Template = "template"
|
|
@@ -162,6 +165,7 @@ export declare enum FileType {
|
|
|
162
165
|
AccountLogo = "accountLogo",
|
|
163
166
|
PlayerPhoto = "playerPhoto",
|
|
164
167
|
SponsorLogo = "sponsorLogo",
|
|
168
|
+
InsightLogo = "insightLogo",
|
|
165
169
|
Temporary = "temporary"
|
|
166
170
|
}
|
|
167
171
|
export declare enum FootballPeriod {
|
|
@@ -472,6 +476,40 @@ export interface BasketballDataResponse {
|
|
|
472
476
|
team2: BasketballScoreboardTeamResponse;
|
|
473
477
|
settings: BasketballSettingsResponse;
|
|
474
478
|
}
|
|
479
|
+
export interface BasketballInsightResponse {
|
|
480
|
+
team1: BasketballInsightTeamResponse;
|
|
481
|
+
team2: BasketballInsightTeamResponse;
|
|
482
|
+
timelinePoints: BasketballTimelinePointResponse[];
|
|
483
|
+
periodEndPoints: BasketballTimelinePointResponse[];
|
|
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: BasketballTimelinePointResponse | null;
|
|
493
|
+
largestLeadPointTeam2: BasketballTimelinePointResponse | null;
|
|
494
|
+
}
|
|
495
|
+
export interface BasketballInsightTeamResponse {
|
|
496
|
+
name: string;
|
|
497
|
+
color: string;
|
|
498
|
+
logoUrl: string | null;
|
|
499
|
+
score: number;
|
|
500
|
+
}
|
|
501
|
+
export interface BasketballRunSummary {
|
|
502
|
+
team: "team1" | "team2";
|
|
503
|
+
points: number;
|
|
504
|
+
opponentPoints: number;
|
|
505
|
+
startSeq: number;
|
|
506
|
+
endSeq: number;
|
|
507
|
+
startLeader: "team1" | "team2" | null;
|
|
508
|
+
endLeader: "team1" | "team2" | null;
|
|
509
|
+
causedLeadChange: boolean;
|
|
510
|
+
}
|
|
511
|
+
export interface BasketballRunSummaryResponse extends BasketballRunSummary {
|
|
512
|
+
}
|
|
475
513
|
export interface BasketballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
476
514
|
score: number;
|
|
477
515
|
timeoutsLeft: number;
|
|
@@ -513,6 +551,21 @@ export interface BasketballSettingsRequest extends BasketballSettings {
|
|
|
513
551
|
}
|
|
514
552
|
export interface BasketballSettingsResponse extends BasketballSettings {
|
|
515
553
|
}
|
|
554
|
+
export interface BasketballTimelinePoint {
|
|
555
|
+
seq: number;
|
|
556
|
+
period: BasketballPeriod;
|
|
557
|
+
overtimeNumber?: number;
|
|
558
|
+
team1Score: number;
|
|
559
|
+
team2Score: number;
|
|
560
|
+
leader: "team1" | "team2" | null;
|
|
561
|
+
leadAmount: number;
|
|
562
|
+
periodSecondsRemaining?: number;
|
|
563
|
+
gameSecond?: number;
|
|
564
|
+
timeInferred?: boolean;
|
|
565
|
+
clockJumpAfter?: boolean;
|
|
566
|
+
}
|
|
567
|
+
export interface BasketballTimelinePointResponse extends BasketballTimelinePoint {
|
|
568
|
+
}
|
|
516
569
|
export interface BooleanInput extends BaseInput {
|
|
517
570
|
type: "boolean";
|
|
518
571
|
default: boolean;
|
|
@@ -688,6 +741,42 @@ export interface FootballSettingsRequest extends FootballSettings {
|
|
|
688
741
|
}
|
|
689
742
|
export interface FootballSettingsResponse extends FootballSettings {
|
|
690
743
|
}
|
|
744
|
+
export interface GameListResponse {
|
|
745
|
+
url: string;
|
|
746
|
+
uri: string;
|
|
747
|
+
pageNext: string | null;
|
|
748
|
+
data: GameResponse[];
|
|
749
|
+
}
|
|
750
|
+
export interface GameRequest {
|
|
751
|
+
description: string;
|
|
752
|
+
}
|
|
753
|
+
export interface GameResponse {
|
|
754
|
+
object: string;
|
|
755
|
+
url: string;
|
|
756
|
+
uri: string;
|
|
757
|
+
scoreboardId: string;
|
|
758
|
+
gameId: string;
|
|
759
|
+
type: ScoreboardType;
|
|
760
|
+
startLogId: string;
|
|
761
|
+
endLogId?: string;
|
|
762
|
+
description: string;
|
|
763
|
+
dateGameStart: string;
|
|
764
|
+
dateGameEnd?: string;
|
|
765
|
+
dateCreated: string;
|
|
766
|
+
dateModified: string;
|
|
767
|
+
}
|
|
768
|
+
export interface InsightResponse {
|
|
769
|
+
object: string;
|
|
770
|
+
url: string;
|
|
771
|
+
uri: string;
|
|
772
|
+
accountId: string;
|
|
773
|
+
scoreboardId: string;
|
|
774
|
+
scoreboardType: ScoreboardType;
|
|
775
|
+
dateStart: string;
|
|
776
|
+
dateEnd: string;
|
|
777
|
+
qualityScore: number;
|
|
778
|
+
data: BasketballInsightResponse;
|
|
779
|
+
}
|
|
691
780
|
export interface MagicLinkResponse {
|
|
692
781
|
object: string;
|
|
693
782
|
magicLinkId: string;
|
|
@@ -1220,6 +1309,7 @@ export interface VolleyballDataResponse {
|
|
|
1220
1309
|
team1: VolleyballScoreboardTeamResponse;
|
|
1221
1310
|
team2: VolleyballScoreboardTeamResponse;
|
|
1222
1311
|
settings: VolleyballSettingsResponse;
|
|
1312
|
+
setFirstServingTeam: "team1" | "team2" | null;
|
|
1223
1313
|
}
|
|
1224
1314
|
export interface VolleyballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
1225
1315
|
setScore: number;
|
package/dist/index.mjs
CHANGED
|
@@ -46,6 +46,7 @@ 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";
|
|
@@ -68,6 +69,8 @@ export var ApiResource;
|
|
|
68
69
|
ApiResource["OverlayList"] = "overlayList";
|
|
69
70
|
ApiResource["Preset"] = "preset";
|
|
70
71
|
ApiResource["PresetList"] = "presetList";
|
|
72
|
+
ApiResource["Game"] = "game";
|
|
73
|
+
ApiResource["GameList"] = "gameList";
|
|
71
74
|
})(ApiResource || (ApiResource = {}));
|
|
72
75
|
export var AppType;
|
|
73
76
|
(function (AppType) {
|
|
@@ -190,6 +193,7 @@ export var FileType;
|
|
|
190
193
|
FileType["AccountLogo"] = "accountLogo";
|
|
191
194
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
192
195
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
196
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
193
197
|
FileType["Temporary"] = "temporary";
|
|
194
198
|
})(FileType || (FileType = {}));
|
|
195
199
|
export var FootballPeriod;
|
package/dist/internal.cjs
CHANGED
|
@@ -74,6 +74,7 @@ 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";
|
|
@@ -96,6 +97,8 @@ var ApiResource;
|
|
|
96
97
|
ApiResource["OverlayList"] = "overlayList";
|
|
97
98
|
ApiResource["Preset"] = "preset";
|
|
98
99
|
ApiResource["PresetList"] = "presetList";
|
|
100
|
+
ApiResource["Game"] = "game";
|
|
101
|
+
ApiResource["GameList"] = "gameList";
|
|
99
102
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
100
103
|
var AppType;
|
|
101
104
|
(function (AppType) {
|
|
@@ -218,6 +221,7 @@ var FileType;
|
|
|
218
221
|
FileType["AccountLogo"] = "accountLogo";
|
|
219
222
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
220
223
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
224
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
221
225
|
FileType["Temporary"] = "temporary";
|
|
222
226
|
})(FileType || (exports.FileType = FileType = {}));
|
|
223
227
|
var FootballPeriod;
|
package/dist/internal.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ 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",
|
|
@@ -60,7 +61,9 @@ export declare enum ApiResource {
|
|
|
60
61
|
Overlay = "overlay",
|
|
61
62
|
OverlayList = "overlayList",
|
|
62
63
|
Preset = "preset",
|
|
63
|
-
PresetList = "presetList"
|
|
64
|
+
PresetList = "presetList",
|
|
65
|
+
Game = "game",
|
|
66
|
+
GameList = "gameList"
|
|
64
67
|
}
|
|
65
68
|
export declare enum AppType {
|
|
66
69
|
Template = "template"
|
|
@@ -169,6 +172,7 @@ export declare enum FileType {
|
|
|
169
172
|
AccountLogo = "accountLogo",
|
|
170
173
|
PlayerPhoto = "playerPhoto",
|
|
171
174
|
SponsorLogo = "sponsorLogo",
|
|
175
|
+
InsightLogo = "insightLogo",
|
|
172
176
|
Temporary = "temporary"
|
|
173
177
|
}
|
|
174
178
|
export declare enum FootballPeriod {
|
|
@@ -490,6 +494,40 @@ export interface BasketballDataResponse {
|
|
|
490
494
|
team2: BasketballScoreboardTeamResponse;
|
|
491
495
|
settings: BasketballSettingsResponse;
|
|
492
496
|
}
|
|
497
|
+
export interface BasketballInsightResponse {
|
|
498
|
+
team1: BasketballInsightTeamResponse;
|
|
499
|
+
team2: BasketballInsightTeamResponse;
|
|
500
|
+
timelinePoints: BasketballTimelinePointResponse[];
|
|
501
|
+
periodEndPoints: BasketballTimelinePointResponse[];
|
|
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: BasketballTimelinePointResponse | null;
|
|
511
|
+
largestLeadPointTeam2: BasketballTimelinePointResponse | null;
|
|
512
|
+
}
|
|
513
|
+
export interface BasketballInsightTeamResponse {
|
|
514
|
+
name: string;
|
|
515
|
+
color: string;
|
|
516
|
+
logoUrl: string | null;
|
|
517
|
+
score: number;
|
|
518
|
+
}
|
|
519
|
+
export interface BasketballRunSummary {
|
|
520
|
+
team: "team1" | "team2";
|
|
521
|
+
points: number;
|
|
522
|
+
opponentPoints: number;
|
|
523
|
+
startSeq: number;
|
|
524
|
+
endSeq: number;
|
|
525
|
+
startLeader: "team1" | "team2" | null;
|
|
526
|
+
endLeader: "team1" | "team2" | null;
|
|
527
|
+
causedLeadChange: boolean;
|
|
528
|
+
}
|
|
529
|
+
export interface BasketballRunSummaryResponse extends BasketballRunSummary {
|
|
530
|
+
}
|
|
493
531
|
export interface BasketballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
494
532
|
score: number;
|
|
495
533
|
timeoutsLeft: number;
|
|
@@ -531,6 +569,21 @@ export interface BasketballSettingsRequest extends BasketballSettings {
|
|
|
531
569
|
}
|
|
532
570
|
export interface BasketballSettingsResponse extends BasketballSettings {
|
|
533
571
|
}
|
|
572
|
+
export interface BasketballTimelinePoint {
|
|
573
|
+
seq: number;
|
|
574
|
+
period: BasketballPeriod;
|
|
575
|
+
overtimeNumber?: number;
|
|
576
|
+
team1Score: number;
|
|
577
|
+
team2Score: number;
|
|
578
|
+
leader: "team1" | "team2" | null;
|
|
579
|
+
leadAmount: number;
|
|
580
|
+
periodSecondsRemaining?: number;
|
|
581
|
+
gameSecond?: number;
|
|
582
|
+
timeInferred?: boolean;
|
|
583
|
+
clockJumpAfter?: boolean;
|
|
584
|
+
}
|
|
585
|
+
export interface BasketballTimelinePointResponse extends BasketballTimelinePoint {
|
|
586
|
+
}
|
|
534
587
|
export interface BooleanInput extends BaseInput {
|
|
535
588
|
type: "boolean";
|
|
536
589
|
default: boolean;
|
|
@@ -706,6 +759,42 @@ export interface FootballSettingsRequest extends FootballSettings {
|
|
|
706
759
|
}
|
|
707
760
|
export interface FootballSettingsResponse extends FootballSettings {
|
|
708
761
|
}
|
|
762
|
+
export interface GameListResponse {
|
|
763
|
+
url: string;
|
|
764
|
+
uri: string;
|
|
765
|
+
pageNext: string | null;
|
|
766
|
+
data: GameResponse[];
|
|
767
|
+
}
|
|
768
|
+
export interface GameRequest {
|
|
769
|
+
description: string;
|
|
770
|
+
}
|
|
771
|
+
export interface GameResponse {
|
|
772
|
+
object: string;
|
|
773
|
+
url: string;
|
|
774
|
+
uri: string;
|
|
775
|
+
scoreboardId: string;
|
|
776
|
+
gameId: string;
|
|
777
|
+
type: ScoreboardType;
|
|
778
|
+
startLogId: string;
|
|
779
|
+
endLogId?: string;
|
|
780
|
+
description: string;
|
|
781
|
+
dateGameStart: string;
|
|
782
|
+
dateGameEnd?: string;
|
|
783
|
+
dateCreated: string;
|
|
784
|
+
dateModified: string;
|
|
785
|
+
}
|
|
786
|
+
export interface InsightResponse {
|
|
787
|
+
object: string;
|
|
788
|
+
url: string;
|
|
789
|
+
uri: string;
|
|
790
|
+
accountId: string;
|
|
791
|
+
scoreboardId: string;
|
|
792
|
+
scoreboardType: ScoreboardType;
|
|
793
|
+
dateStart: string;
|
|
794
|
+
dateEnd: string;
|
|
795
|
+
qualityScore: number;
|
|
796
|
+
data: BasketballInsightResponse;
|
|
797
|
+
}
|
|
709
798
|
export interface MagicLinkResponse {
|
|
710
799
|
object: string;
|
|
711
800
|
magicLinkId: string;
|
|
@@ -1251,6 +1340,7 @@ export interface VolleyballDataResponse {
|
|
|
1251
1340
|
team1: VolleyballScoreboardTeamResponse;
|
|
1252
1341
|
team2: VolleyballScoreboardTeamResponse;
|
|
1253
1342
|
settings: VolleyballSettingsResponse;
|
|
1343
|
+
setFirstServingTeam: "team1" | "team2" | null;
|
|
1254
1344
|
}
|
|
1255
1345
|
export interface VolleyballScoreboardTeamRequest extends ScoreboardTeamBaseRequest {
|
|
1256
1346
|
setScore: number;
|
package/dist/internal.mjs
CHANGED
|
@@ -61,6 +61,7 @@ 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";
|
|
@@ -83,6 +84,8 @@ export var ApiResource;
|
|
|
83
84
|
ApiResource["OverlayList"] = "overlayList";
|
|
84
85
|
ApiResource["Preset"] = "preset";
|
|
85
86
|
ApiResource["PresetList"] = "presetList";
|
|
87
|
+
ApiResource["Game"] = "game";
|
|
88
|
+
ApiResource["GameList"] = "gameList";
|
|
86
89
|
})(ApiResource || (ApiResource = {}));
|
|
87
90
|
export var AppType;
|
|
88
91
|
(function (AppType) {
|
|
@@ -205,6 +208,7 @@ export var FileType;
|
|
|
205
208
|
FileType["AccountLogo"] = "accountLogo";
|
|
206
209
|
FileType["PlayerPhoto"] = "playerPhoto";
|
|
207
210
|
FileType["SponsorLogo"] = "sponsorLogo";
|
|
211
|
+
FileType["InsightLogo"] = "insightLogo";
|
|
208
212
|
FileType["Temporary"] = "temporary";
|
|
209
213
|
})(FileType || (FileType = {}));
|
|
210
214
|
export var FootballPeriod;
|