@scoreboardmax/api-types 1.0.48 → 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 +95 -3
- package/dist/index.mjs +27 -0
- package/dist/internal.cjs +28 -1
- package/dist/internal.d.ts +102 -3
- 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
|
|
@@ -115,6 +117,38 @@ export interface AppResponse {
|
|
|
115
117
|
accountId: string;
|
|
116
118
|
dateCreated: string;
|
|
117
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* App entitlement details response
|
|
122
|
+
*/
|
|
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
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* App entitlement type
|
|
148
|
+
*/
|
|
149
|
+
export declare enum AppEntitlementType {
|
|
150
|
+
Template = "template"
|
|
151
|
+
}
|
|
118
152
|
/**
|
|
119
153
|
* App input field definition
|
|
120
154
|
*/
|
|
@@ -716,6 +750,14 @@ export declare enum TalkingPointEnergy {
|
|
|
716
750
|
Standard = "standard",
|
|
717
751
|
Hype = "hype"
|
|
718
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
* Entitlement requirement for access control
|
|
755
|
+
*/
|
|
756
|
+
export declare enum AppEntitlementRequirement {
|
|
757
|
+
None = "none",
|
|
758
|
+
AccountSubscription = "accountSubscription",
|
|
759
|
+
Payment = "payment"
|
|
760
|
+
}
|
|
719
761
|
/**
|
|
720
762
|
* Event action identifiers
|
|
721
763
|
*/
|
|
@@ -1063,6 +1105,15 @@ export interface ScoreboardActivationListResponse {
|
|
|
1063
1105
|
pageNext: string | null;
|
|
1064
1106
|
data: ScoreboardActivationResponse[];
|
|
1065
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
|
+
}
|
|
1066
1117
|
/**
|
|
1067
1118
|
* Paginated list of apps
|
|
1068
1119
|
*/
|
|
@@ -1160,6 +1211,15 @@ export interface TeamListResponse {
|
|
|
1160
1211
|
pageNext: string | null;
|
|
1161
1212
|
data: TeamResponse[];
|
|
1162
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
|
+
}
|
|
1163
1223
|
/**
|
|
1164
1224
|
* Paginated list of users
|
|
1165
1225
|
*/
|
|
@@ -1719,27 +1779,59 @@ export interface TeamResponse {
|
|
|
1719
1779
|
dateCreated: string;
|
|
1720
1780
|
dateModified: string;
|
|
1721
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
|
+
}
|
|
1722
1807
|
/**
|
|
1723
1808
|
* Template layout definition
|
|
1724
1809
|
*/
|
|
1725
1810
|
export interface TemplateDefinition {
|
|
1811
|
+
key: string;
|
|
1726
1812
|
path: string;
|
|
1727
1813
|
name: string;
|
|
1728
1814
|
scoreboardType: string;
|
|
1729
1815
|
useCases: TemplateUseCase[];
|
|
1730
|
-
|
|
1816
|
+
description?: string;
|
|
1817
|
+
previewImages?: string[];
|
|
1731
1818
|
settings?: Record<string, InputDefinition>;
|
|
1732
1819
|
}
|
|
1733
1820
|
/**
|
|
1734
1821
|
* Template selection configuration
|
|
1735
1822
|
*/
|
|
1736
1823
|
export interface TemplateSelection {
|
|
1737
|
-
|
|
1824
|
+
key: string;
|
|
1738
1825
|
appId: string;
|
|
1739
1826
|
useCase: TemplateUseCase;
|
|
1740
1827
|
version?: string;
|
|
1741
1828
|
settings?: Record<string, string | number | boolean | null>;
|
|
1742
1829
|
}
|
|
1830
|
+
/**
|
|
1831
|
+
* Template update request
|
|
1832
|
+
*/
|
|
1833
|
+
export interface TemplateRequest {
|
|
1834
|
+
}
|
|
1743
1835
|
/**
|
|
1744
1836
|
* Template use case categories
|
|
1745
1837
|
*/
|
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
|
|
@@ -125,6 +127,38 @@ export interface AppResponse {
|
|
|
125
127
|
accountId: string;
|
|
126
128
|
dateCreated: string;
|
|
127
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* App entitlement details response
|
|
132
|
+
*/
|
|
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
|
+
}
|
|
128
162
|
/**
|
|
129
163
|
* App input field definition
|
|
130
164
|
*/
|
|
@@ -739,6 +773,14 @@ export declare enum TalkingPointEnergy {
|
|
|
739
773
|
Standard = "standard",
|
|
740
774
|
Hype = "hype"
|
|
741
775
|
}
|
|
776
|
+
/**
|
|
777
|
+
* Entitlement requirement for access control
|
|
778
|
+
*/
|
|
779
|
+
export declare enum AppEntitlementRequirement {
|
|
780
|
+
None = "none",
|
|
781
|
+
AccountSubscription = "accountSubscription",
|
|
782
|
+
Payment = "payment"
|
|
783
|
+
}
|
|
742
784
|
/**
|
|
743
785
|
* Event action identifiers
|
|
744
786
|
*/
|
|
@@ -1086,6 +1128,15 @@ export interface ScoreboardActivationListResponse {
|
|
|
1086
1128
|
pageNext: string | null;
|
|
1087
1129
|
data: ScoreboardActivationResponse[];
|
|
1088
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
|
+
}
|
|
1089
1140
|
/**
|
|
1090
1141
|
* Paginated list of apps
|
|
1091
1142
|
*/
|
|
@@ -1183,6 +1234,15 @@ export interface TeamListResponse {
|
|
|
1183
1234
|
pageNext: string | null;
|
|
1184
1235
|
data: TeamResponse[];
|
|
1185
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
|
+
}
|
|
1186
1246
|
/**
|
|
1187
1247
|
* Paginated list of users
|
|
1188
1248
|
*/
|
|
@@ -1742,27 +1802,66 @@ export interface TeamResponse {
|
|
|
1742
1802
|
dateCreated: string;
|
|
1743
1803
|
dateModified: string;
|
|
1744
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
|
+
}
|
|
1745
1830
|
/**
|
|
1746
1831
|
* Template layout definition
|
|
1747
1832
|
*/
|
|
1748
1833
|
export interface TemplateDefinition {
|
|
1834
|
+
key: string;
|
|
1749
1835
|
path: string;
|
|
1750
1836
|
name: string;
|
|
1751
1837
|
scoreboardType: string;
|
|
1752
1838
|
useCases: TemplateUseCase[];
|
|
1753
|
-
|
|
1839
|
+
description?: string;
|
|
1840
|
+
previewImages?: string[];
|
|
1754
1841
|
settings?: Record<string, InputDefinition>;
|
|
1755
1842
|
}
|
|
1756
1843
|
/**
|
|
1757
1844
|
* Template selection configuration
|
|
1758
1845
|
*/
|
|
1759
1846
|
export interface TemplateSelection {
|
|
1760
|
-
|
|
1847
|
+
key: string;
|
|
1761
1848
|
appId: string;
|
|
1762
1849
|
useCase: TemplateUseCase;
|
|
1763
1850
|
version?: string;
|
|
1764
1851
|
settings?: Record<string, string | number | boolean | null>;
|
|
1765
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;
|
|
1864
|
+
}
|
|
1766
1865
|
/**
|
|
1767
1866
|
* Template use case categories
|
|
1768
1867
|
*/
|
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
|
*/
|