@scoreboardmax/api-types 1.0.47 → 1.0.49
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 +28 -1
- package/dist/index.d.ts +97 -9
- package/dist/index.mjs +27 -0
- package/dist/internal.cjs +28 -1
- package/dist/internal.d.ts +104 -9
- package/dist/internal.mjs +27 -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.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;
|
|
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.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
|
*/
|
|
@@ -62,7 +62,25 @@ var ApiResource;
|
|
|
62
62
|
ApiResource["PresetList"] = "presetList";
|
|
63
63
|
ApiResource["Game"] = "game";
|
|
64
64
|
ApiResource["GameList"] = "gameList";
|
|
65
|
+
ApiResource["Template"] = "template";
|
|
66
|
+
ApiResource["TemplateList"] = "templateList";
|
|
65
67
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
68
|
+
/**
|
|
69
|
+
* App entitlement grant source
|
|
70
|
+
*/
|
|
71
|
+
var AppEntitlementGrantedBy;
|
|
72
|
+
(function (AppEntitlementGrantedBy) {
|
|
73
|
+
AppEntitlementGrantedBy["Payment"] = "payment";
|
|
74
|
+
AppEntitlementGrantedBy["Promotion"] = "promotion";
|
|
75
|
+
AppEntitlementGrantedBy["Admin"] = "admin";
|
|
76
|
+
})(AppEntitlementGrantedBy || (exports.AppEntitlementGrantedBy = AppEntitlementGrantedBy = {}));
|
|
77
|
+
/**
|
|
78
|
+
* App entitlement type
|
|
79
|
+
*/
|
|
80
|
+
var AppEntitlementType;
|
|
81
|
+
(function (AppEntitlementType) {
|
|
82
|
+
AppEntitlementType["Template"] = "template";
|
|
83
|
+
})(AppEntitlementType || (exports.AppEntitlementType = AppEntitlementType = {}));
|
|
66
84
|
/**
|
|
67
85
|
* App type identifiers
|
|
68
86
|
*/
|
|
@@ -157,6 +175,15 @@ var TalkingPointEnergy;
|
|
|
157
175
|
TalkingPointEnergy["Standard"] = "standard";
|
|
158
176
|
TalkingPointEnergy["Hype"] = "hype";
|
|
159
177
|
})(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
|
|
178
|
+
/**
|
|
179
|
+
* Entitlement requirement for access control
|
|
180
|
+
*/
|
|
181
|
+
var AppEntitlementRequirement;
|
|
182
|
+
(function (AppEntitlementRequirement) {
|
|
183
|
+
AppEntitlementRequirement["None"] = "none";
|
|
184
|
+
AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
|
|
185
|
+
AppEntitlementRequirement["Payment"] = "payment";
|
|
186
|
+
})(AppEntitlementRequirement || (exports.AppEntitlementRequirement = AppEntitlementRequirement = {}));
|
|
160
187
|
/**
|
|
161
188
|
* Event action identifiers
|
|
162
189
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -91,7 +91,9 @@ export declare enum ApiResource {
|
|
|
91
91
|
Preset = "preset",
|
|
92
92
|
PresetList = "presetList",
|
|
93
93
|
Game = "game",
|
|
94
|
-
GameList = "gameList"
|
|
94
|
+
GameList = "gameList",
|
|
95
|
+
Template = "template",
|
|
96
|
+
TemplateList = "templateList"
|
|
95
97
|
}
|
|
96
98
|
/**
|
|
97
99
|
* App creation/update request
|
|
@@ -116,13 +118,41 @@ export interface AppResponse {
|
|
|
116
118
|
dateCreated: string;
|
|
117
119
|
}
|
|
118
120
|
/**
|
|
119
|
-
* App
|
|
121
|
+
* App entitlement details response
|
|
120
122
|
*/
|
|
121
|
-
export
|
|
123
|
+
export interface AppEntitlementResponse {
|
|
124
|
+
object: string;
|
|
125
|
+
url: string;
|
|
126
|
+
uri: string;
|
|
127
|
+
accountId: string;
|
|
128
|
+
appEntitlementId: string;
|
|
129
|
+
type: AppEntitlementType;
|
|
130
|
+
appId: string;
|
|
131
|
+
key: string;
|
|
132
|
+
grantedBy: AppEntitlementGrantedBy;
|
|
133
|
+
grantedAt: string;
|
|
134
|
+
dateExpires?: string;
|
|
135
|
+
dateCreated: string;
|
|
136
|
+
dateModified: string;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* App entitlement grant source
|
|
140
|
+
*/
|
|
141
|
+
export declare enum AppEntitlementGrantedBy {
|
|
142
|
+
Payment = "payment",
|
|
143
|
+
Promotion = "promotion",
|
|
144
|
+
Admin = "admin"
|
|
145
|
+
}
|
|
122
146
|
/**
|
|
123
|
-
* App
|
|
147
|
+
* App entitlement type
|
|
124
148
|
*/
|
|
125
|
-
export
|
|
149
|
+
export declare enum AppEntitlementType {
|
|
150
|
+
Template = "template"
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* App input field definition
|
|
154
|
+
*/
|
|
155
|
+
export type InputDefinition = SelectInput | BooleanInput | ColorInput | TextInput | NumberInput | RangeInput;
|
|
126
156
|
/**
|
|
127
157
|
* App manifest definition
|
|
128
158
|
*/
|
|
@@ -720,6 +750,14 @@ export declare enum TalkingPointEnergy {
|
|
|
720
750
|
Standard = "standard",
|
|
721
751
|
Hype = "hype"
|
|
722
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Entitlement requirement for access control
|
|
755
|
+
*/
|
|
756
|
+
export declare enum AppEntitlementRequirement {
|
|
757
|
+
None = "none",
|
|
758
|
+
AccountSubscription = "accountSubscription",
|
|
759
|
+
Payment = "payment"
|
|
760
|
+
}
|
|
723
761
|
/**
|
|
724
762
|
* Event action identifiers
|
|
725
763
|
*/
|
|
@@ -1067,6 +1105,15 @@ export interface ScoreboardActivationListResponse {
|
|
|
1067
1105
|
pageNext: string | null;
|
|
1068
1106
|
data: ScoreboardActivationResponse[];
|
|
1069
1107
|
}
|
|
1108
|
+
/**
|
|
1109
|
+
* Paginated list of app entitlements
|
|
1110
|
+
*/
|
|
1111
|
+
export interface AppEntitlementListResponse {
|
|
1112
|
+
url: string;
|
|
1113
|
+
uri: string;
|
|
1114
|
+
pageNext: string | null;
|
|
1115
|
+
data: AppEntitlementResponse[];
|
|
1116
|
+
}
|
|
1070
1117
|
/**
|
|
1071
1118
|
* Paginated list of apps
|
|
1072
1119
|
*/
|
|
@@ -1164,6 +1211,15 @@ export interface TeamListResponse {
|
|
|
1164
1211
|
pageNext: string | null;
|
|
1165
1212
|
data: TeamResponse[];
|
|
1166
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Paginated list of templates
|
|
1216
|
+
*/
|
|
1217
|
+
export interface TemplateListResponse {
|
|
1218
|
+
url: string;
|
|
1219
|
+
uri: string;
|
|
1220
|
+
pageNext: string | null;
|
|
1221
|
+
data: TemplateResponse[];
|
|
1222
|
+
}
|
|
1167
1223
|
/**
|
|
1168
1224
|
* Paginated list of users
|
|
1169
1225
|
*/
|
|
@@ -1723,26 +1779,58 @@ export interface TeamResponse {
|
|
|
1723
1779
|
dateCreated: string;
|
|
1724
1780
|
dateModified: string;
|
|
1725
1781
|
}
|
|
1782
|
+
/**
|
|
1783
|
+
* Template details response
|
|
1784
|
+
*/
|
|
1785
|
+
export interface TemplateResponse {
|
|
1786
|
+
object: string;
|
|
1787
|
+
url: string;
|
|
1788
|
+
uri: string;
|
|
1789
|
+
appId: string;
|
|
1790
|
+
key: string;
|
|
1791
|
+
version: string;
|
|
1792
|
+
path: string;
|
|
1793
|
+
name: string;
|
|
1794
|
+
scoreboardType: string;
|
|
1795
|
+
useCases: TemplateUseCase[];
|
|
1796
|
+
description?: string;
|
|
1797
|
+
previewImages?: string[];
|
|
1798
|
+
settings?: Record<string, InputDefinition>;
|
|
1799
|
+
accountId: string;
|
|
1800
|
+
latest: boolean;
|
|
1801
|
+
published: boolean;
|
|
1802
|
+
appEntitlementRequirement: AppEntitlementRequirement;
|
|
1803
|
+
entitled?: boolean;
|
|
1804
|
+
dateCreated: string;
|
|
1805
|
+
dateModified: string;
|
|
1806
|
+
}
|
|
1726
1807
|
/**
|
|
1727
1808
|
* Template layout definition
|
|
1728
1809
|
*/
|
|
1729
1810
|
export interface TemplateDefinition {
|
|
1811
|
+
key: string;
|
|
1730
1812
|
path: string;
|
|
1731
1813
|
name: string;
|
|
1732
|
-
|
|
1814
|
+
scoreboardType: string;
|
|
1733
1815
|
useCases: TemplateUseCase[];
|
|
1734
|
-
|
|
1816
|
+
description?: string;
|
|
1817
|
+
previewImages?: string[];
|
|
1735
1818
|
settings?: Record<string, InputDefinition>;
|
|
1736
1819
|
}
|
|
1737
1820
|
/**
|
|
1738
1821
|
* Template selection configuration
|
|
1739
1822
|
*/
|
|
1740
1823
|
export interface TemplateSelection {
|
|
1741
|
-
|
|
1824
|
+
key: string;
|
|
1742
1825
|
appId: string;
|
|
1743
1826
|
useCase: TemplateUseCase;
|
|
1744
1827
|
version?: string;
|
|
1745
|
-
settings?: Record<string,
|
|
1828
|
+
settings?: Record<string, string | number | boolean | null>;
|
|
1829
|
+
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Template update request
|
|
1832
|
+
*/
|
|
1833
|
+
export interface TemplateRequest {
|
|
1746
1834
|
}
|
|
1747
1835
|
/**
|
|
1748
1836
|
* Template use case categories
|
package/dist/index.mjs
CHANGED
|
@@ -59,7 +59,25 @@ export var ApiResource;
|
|
|
59
59
|
ApiResource["PresetList"] = "presetList";
|
|
60
60
|
ApiResource["Game"] = "game";
|
|
61
61
|
ApiResource["GameList"] = "gameList";
|
|
62
|
+
ApiResource["Template"] = "template";
|
|
63
|
+
ApiResource["TemplateList"] = "templateList";
|
|
62
64
|
})(ApiResource || (ApiResource = {}));
|
|
65
|
+
/**
|
|
66
|
+
* App entitlement grant source
|
|
67
|
+
*/
|
|
68
|
+
export var AppEntitlementGrantedBy;
|
|
69
|
+
(function (AppEntitlementGrantedBy) {
|
|
70
|
+
AppEntitlementGrantedBy["Payment"] = "payment";
|
|
71
|
+
AppEntitlementGrantedBy["Promotion"] = "promotion";
|
|
72
|
+
AppEntitlementGrantedBy["Admin"] = "admin";
|
|
73
|
+
})(AppEntitlementGrantedBy || (AppEntitlementGrantedBy = {}));
|
|
74
|
+
/**
|
|
75
|
+
* App entitlement type
|
|
76
|
+
*/
|
|
77
|
+
export var AppEntitlementType;
|
|
78
|
+
(function (AppEntitlementType) {
|
|
79
|
+
AppEntitlementType["Template"] = "template";
|
|
80
|
+
})(AppEntitlementType || (AppEntitlementType = {}));
|
|
63
81
|
/**
|
|
64
82
|
* App type identifiers
|
|
65
83
|
*/
|
|
@@ -154,6 +172,15 @@ export var TalkingPointEnergy;
|
|
|
154
172
|
TalkingPointEnergy["Standard"] = "standard";
|
|
155
173
|
TalkingPointEnergy["Hype"] = "hype";
|
|
156
174
|
})(TalkingPointEnergy || (TalkingPointEnergy = {}));
|
|
175
|
+
/**
|
|
176
|
+
* Entitlement requirement for access control
|
|
177
|
+
*/
|
|
178
|
+
export var AppEntitlementRequirement;
|
|
179
|
+
(function (AppEntitlementRequirement) {
|
|
180
|
+
AppEntitlementRequirement["None"] = "none";
|
|
181
|
+
AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
|
|
182
|
+
AppEntitlementRequirement["Payment"] = "payment";
|
|
183
|
+
})(AppEntitlementRequirement || (AppEntitlementRequirement = {}));
|
|
157
184
|
/**
|
|
158
185
|
* Event action identifiers
|
|
159
186
|
*/
|
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.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;
|
|
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.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
14
|
/**
|
|
15
15
|
* API action identifiers
|
|
16
16
|
*/
|
|
@@ -65,7 +65,25 @@ var ApiResource;
|
|
|
65
65
|
ApiResource["PresetList"] = "presetList";
|
|
66
66
|
ApiResource["Game"] = "game";
|
|
67
67
|
ApiResource["GameList"] = "gameList";
|
|
68
|
+
ApiResource["Template"] = "template";
|
|
69
|
+
ApiResource["TemplateList"] = "templateList";
|
|
68
70
|
})(ApiResource || (exports.ApiResource = ApiResource = {}));
|
|
71
|
+
/**
|
|
72
|
+
* App entitlement grant source
|
|
73
|
+
*/
|
|
74
|
+
var AppEntitlementGrantedBy;
|
|
75
|
+
(function (AppEntitlementGrantedBy) {
|
|
76
|
+
AppEntitlementGrantedBy["Payment"] = "payment";
|
|
77
|
+
AppEntitlementGrantedBy["Promotion"] = "promotion";
|
|
78
|
+
AppEntitlementGrantedBy["Admin"] = "admin";
|
|
79
|
+
})(AppEntitlementGrantedBy || (exports.AppEntitlementGrantedBy = AppEntitlementGrantedBy = {}));
|
|
80
|
+
/**
|
|
81
|
+
* App entitlement type
|
|
82
|
+
*/
|
|
83
|
+
var AppEntitlementType;
|
|
84
|
+
(function (AppEntitlementType) {
|
|
85
|
+
AppEntitlementType["Template"] = "template";
|
|
86
|
+
})(AppEntitlementType || (exports.AppEntitlementType = AppEntitlementType = {}));
|
|
69
87
|
/**
|
|
70
88
|
* App type identifiers
|
|
71
89
|
*/
|
|
@@ -160,6 +178,15 @@ var TalkingPointEnergy;
|
|
|
160
178
|
TalkingPointEnergy["Standard"] = "standard";
|
|
161
179
|
TalkingPointEnergy["Hype"] = "hype";
|
|
162
180
|
})(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
|
|
181
|
+
/**
|
|
182
|
+
* Entitlement requirement for access control
|
|
183
|
+
*/
|
|
184
|
+
var AppEntitlementRequirement;
|
|
185
|
+
(function (AppEntitlementRequirement) {
|
|
186
|
+
AppEntitlementRequirement["None"] = "none";
|
|
187
|
+
AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
|
|
188
|
+
AppEntitlementRequirement["Payment"] = "payment";
|
|
189
|
+
})(AppEntitlementRequirement || (exports.AppEntitlementRequirement = AppEntitlementRequirement = {}));
|
|
163
190
|
/**
|
|
164
191
|
* Event action identifiers
|
|
165
192
|
*/
|
package/dist/internal.d.ts
CHANGED
|
@@ -101,7 +101,9 @@ export declare enum ApiResource {
|
|
|
101
101
|
Preset = "preset",
|
|
102
102
|
PresetList = "presetList",
|
|
103
103
|
Game = "game",
|
|
104
|
-
GameList = "gameList"
|
|
104
|
+
GameList = "gameList",
|
|
105
|
+
Template = "template",
|
|
106
|
+
TemplateList = "templateList"
|
|
105
107
|
}
|
|
106
108
|
/**
|
|
107
109
|
* App creation/update request
|
|
@@ -126,13 +128,41 @@ export interface AppResponse {
|
|
|
126
128
|
dateCreated: string;
|
|
127
129
|
}
|
|
128
130
|
/**
|
|
129
|
-
* App
|
|
131
|
+
* App entitlement details response
|
|
130
132
|
*/
|
|
131
|
-
export
|
|
133
|
+
export interface AppEntitlementResponse {
|
|
134
|
+
object: string;
|
|
135
|
+
url: string;
|
|
136
|
+
uri: string;
|
|
137
|
+
accountId: string;
|
|
138
|
+
appEntitlementId: string;
|
|
139
|
+
type: AppEntitlementType;
|
|
140
|
+
appId: string;
|
|
141
|
+
key: string;
|
|
142
|
+
grantedBy: AppEntitlementGrantedBy;
|
|
143
|
+
grantedAt: string;
|
|
144
|
+
dateExpires?: string;
|
|
145
|
+
dateCreated: string;
|
|
146
|
+
dateModified: string;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* App entitlement grant source
|
|
150
|
+
*/
|
|
151
|
+
export declare enum AppEntitlementGrantedBy {
|
|
152
|
+
Payment = "payment",
|
|
153
|
+
Promotion = "promotion",
|
|
154
|
+
Admin = "admin"
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* App entitlement type
|
|
158
|
+
*/
|
|
159
|
+
export declare enum AppEntitlementType {
|
|
160
|
+
Template = "template"
|
|
161
|
+
}
|
|
132
162
|
/**
|
|
133
|
-
* App input field
|
|
163
|
+
* App input field definition
|
|
134
164
|
*/
|
|
135
|
-
export type
|
|
165
|
+
export type InputDefinition = SelectInput | BooleanInput | ColorInput | TextInput | NumberInput | RangeInput;
|
|
136
166
|
/**
|
|
137
167
|
* App manifest definition
|
|
138
168
|
*/
|
|
@@ -743,6 +773,14 @@ export declare enum TalkingPointEnergy {
|
|
|
743
773
|
Standard = "standard",
|
|
744
774
|
Hype = "hype"
|
|
745
775
|
}
|
|
776
|
+
/**
|
|
777
|
+
* Entitlement requirement for access control
|
|
778
|
+
*/
|
|
779
|
+
export declare enum AppEntitlementRequirement {
|
|
780
|
+
None = "none",
|
|
781
|
+
AccountSubscription = "accountSubscription",
|
|
782
|
+
Payment = "payment"
|
|
783
|
+
}
|
|
746
784
|
/**
|
|
747
785
|
* Event action identifiers
|
|
748
786
|
*/
|
|
@@ -1090,6 +1128,15 @@ export interface ScoreboardActivationListResponse {
|
|
|
1090
1128
|
pageNext: string | null;
|
|
1091
1129
|
data: ScoreboardActivationResponse[];
|
|
1092
1130
|
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Paginated list of app entitlements
|
|
1133
|
+
*/
|
|
1134
|
+
export interface AppEntitlementListResponse {
|
|
1135
|
+
url: string;
|
|
1136
|
+
uri: string;
|
|
1137
|
+
pageNext: string | null;
|
|
1138
|
+
data: AppEntitlementResponse[];
|
|
1139
|
+
}
|
|
1093
1140
|
/**
|
|
1094
1141
|
* Paginated list of apps
|
|
1095
1142
|
*/
|
|
@@ -1187,6 +1234,15 @@ export interface TeamListResponse {
|
|
|
1187
1234
|
pageNext: string | null;
|
|
1188
1235
|
data: TeamResponse[];
|
|
1189
1236
|
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Paginated list of templates
|
|
1239
|
+
*/
|
|
1240
|
+
export interface TemplateListResponse {
|
|
1241
|
+
url: string;
|
|
1242
|
+
uri: string;
|
|
1243
|
+
pageNext: string | null;
|
|
1244
|
+
data: TemplateResponse[];
|
|
1245
|
+
}
|
|
1190
1246
|
/**
|
|
1191
1247
|
* Paginated list of users
|
|
1192
1248
|
*/
|
|
@@ -1746,26 +1802,65 @@ export interface TeamResponse {
|
|
|
1746
1802
|
dateCreated: string;
|
|
1747
1803
|
dateModified: string;
|
|
1748
1804
|
}
|
|
1805
|
+
/**
|
|
1806
|
+
* Template details response
|
|
1807
|
+
*/
|
|
1808
|
+
export interface TemplateResponse {
|
|
1809
|
+
object: string;
|
|
1810
|
+
url: string;
|
|
1811
|
+
uri: string;
|
|
1812
|
+
appId: string;
|
|
1813
|
+
key: string;
|
|
1814
|
+
version: string;
|
|
1815
|
+
path: string;
|
|
1816
|
+
name: string;
|
|
1817
|
+
scoreboardType: string;
|
|
1818
|
+
useCases: TemplateUseCase[];
|
|
1819
|
+
description?: string;
|
|
1820
|
+
previewImages?: string[];
|
|
1821
|
+
settings?: Record<string, InputDefinition>;
|
|
1822
|
+
accountId: string;
|
|
1823
|
+
latest: boolean;
|
|
1824
|
+
published: boolean;
|
|
1825
|
+
appEntitlementRequirement: AppEntitlementRequirement;
|
|
1826
|
+
entitled?: boolean;
|
|
1827
|
+
dateCreated: string;
|
|
1828
|
+
dateModified: string;
|
|
1829
|
+
}
|
|
1749
1830
|
/**
|
|
1750
1831
|
* Template layout definition
|
|
1751
1832
|
*/
|
|
1752
1833
|
export interface TemplateDefinition {
|
|
1834
|
+
key: string;
|
|
1753
1835
|
path: string;
|
|
1754
1836
|
name: string;
|
|
1755
|
-
|
|
1837
|
+
scoreboardType: string;
|
|
1756
1838
|
useCases: TemplateUseCase[];
|
|
1757
|
-
|
|
1839
|
+
description?: string;
|
|
1840
|
+
previewImages?: string[];
|
|
1758
1841
|
settings?: Record<string, InputDefinition>;
|
|
1759
1842
|
}
|
|
1760
1843
|
/**
|
|
1761
1844
|
* Template selection configuration
|
|
1762
1845
|
*/
|
|
1763
1846
|
export interface TemplateSelection {
|
|
1764
|
-
|
|
1847
|
+
key: string;
|
|
1765
1848
|
appId: string;
|
|
1766
1849
|
useCase: TemplateUseCase;
|
|
1767
1850
|
version?: string;
|
|
1768
|
-
settings?: Record<string,
|
|
1851
|
+
settings?: Record<string, string | number | boolean | null>;
|
|
1852
|
+
}
|
|
1853
|
+
/**
|
|
1854
|
+
* Template update request
|
|
1855
|
+
*/
|
|
1856
|
+
export interface TemplateRequest {
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* Template update request with admin fields
|
|
1860
|
+
*/
|
|
1861
|
+
export interface TemplateRequestAdmin extends TemplateRequest {
|
|
1862
|
+
published?: boolean;
|
|
1863
|
+
appEntitlementRequirement?: AppEntitlementRequirement;
|
|
1769
1864
|
}
|
|
1770
1865
|
/**
|
|
1771
1866
|
* Template use case categories
|
package/dist/internal.mjs
CHANGED
|
@@ -62,7 +62,25 @@ export var ApiResource;
|
|
|
62
62
|
ApiResource["PresetList"] = "presetList";
|
|
63
63
|
ApiResource["Game"] = "game";
|
|
64
64
|
ApiResource["GameList"] = "gameList";
|
|
65
|
+
ApiResource["Template"] = "template";
|
|
66
|
+
ApiResource["TemplateList"] = "templateList";
|
|
65
67
|
})(ApiResource || (ApiResource = {}));
|
|
68
|
+
/**
|
|
69
|
+
* App entitlement grant source
|
|
70
|
+
*/
|
|
71
|
+
export var AppEntitlementGrantedBy;
|
|
72
|
+
(function (AppEntitlementGrantedBy) {
|
|
73
|
+
AppEntitlementGrantedBy["Payment"] = "payment";
|
|
74
|
+
AppEntitlementGrantedBy["Promotion"] = "promotion";
|
|
75
|
+
AppEntitlementGrantedBy["Admin"] = "admin";
|
|
76
|
+
})(AppEntitlementGrantedBy || (AppEntitlementGrantedBy = {}));
|
|
77
|
+
/**
|
|
78
|
+
* App entitlement type
|
|
79
|
+
*/
|
|
80
|
+
export var AppEntitlementType;
|
|
81
|
+
(function (AppEntitlementType) {
|
|
82
|
+
AppEntitlementType["Template"] = "template";
|
|
83
|
+
})(AppEntitlementType || (AppEntitlementType = {}));
|
|
66
84
|
/**
|
|
67
85
|
* App type identifiers
|
|
68
86
|
*/
|
|
@@ -157,6 +175,15 @@ export var TalkingPointEnergy;
|
|
|
157
175
|
TalkingPointEnergy["Standard"] = "standard";
|
|
158
176
|
TalkingPointEnergy["Hype"] = "hype";
|
|
159
177
|
})(TalkingPointEnergy || (TalkingPointEnergy = {}));
|
|
178
|
+
/**
|
|
179
|
+
* Entitlement requirement for access control
|
|
180
|
+
*/
|
|
181
|
+
export var AppEntitlementRequirement;
|
|
182
|
+
(function (AppEntitlementRequirement) {
|
|
183
|
+
AppEntitlementRequirement["None"] = "none";
|
|
184
|
+
AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
|
|
185
|
+
AppEntitlementRequirement["Payment"] = "payment";
|
|
186
|
+
})(AppEntitlementRequirement || (AppEntitlementRequirement = {}));
|
|
160
187
|
/**
|
|
161
188
|
* Event action identifiers
|
|
162
189
|
*/
|