@scoreboardmax/api-types 1.0.45 → 1.0.47

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 CHANGED
@@ -7,31 +7,10 @@
7
7
  *
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.WebsocketMessageType = exports.VolleyballSet = exports.TemplateUseCase = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.SoccerGamePeriods = exports.ScoreboardType = exports.ScoreboardCode = exports.PlanId = exports.OAuthProvider = exports.OAuthAction = exports.MetaMessageType = exports.MagicLinkType = exports.FootballPeriod = exports.FileType = exports.ExtraTimeLabel = exports.EventAction = exports.ErrorCode = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ContentType = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballPeriod = exports.BasketballGamePeriods = exports.BaseballInningSegment = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = void 0;
11
- const isBaseballData = (data) => {
12
- return data.type === ScoreboardType.Baseball;
13
- };
14
- exports.isBaseballData = isBaseballData;
15
- const isBasketballData = (data) => {
16
- return data.type === ScoreboardType.Basketball;
17
- };
18
- exports.isBasketballData = isBasketballData;
19
- const isFootballData = (data) => {
20
- return data.type === ScoreboardType.Football;
21
- };
22
- exports.isFootballData = isFootballData;
23
- const isSoccerData = (data) => {
24
- return data.type === ScoreboardType.Soccer;
25
- };
26
- exports.isSoccerData = isSoccerData;
27
- const isVolleyballData = (data) => {
28
- return data.type === ScoreboardType.Volleyball;
29
- };
30
- exports.isVolleyballData = isVolleyballData;
31
- const isWrestlingData = (data) => {
32
- return data.type === ScoreboardType.Wrestling;
33
- };
34
- exports.isWrestlingData = isWrestlingData;
10
+ exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
11
+ /**
12
+ * API action identifiers
13
+ */
35
14
  var ApiAction;
36
15
  (function (ApiAction) {
37
16
  ApiAction["Create"] = "create";
@@ -40,6 +19,9 @@ var ApiAction;
40
19
  ApiAction["Delete"] = "delete";
41
20
  ApiAction["All"] = "*";
42
21
  })(ApiAction || (exports.ApiAction = ApiAction = {}));
22
+ /**
23
+ * API resource identifiers
24
+ */
43
25
  var ApiResource;
44
26
  (function (ApiResource) {
45
27
  ApiResource["All"] = "*";
@@ -81,10 +63,16 @@ var ApiResource;
81
63
  ApiResource["Game"] = "game";
82
64
  ApiResource["GameList"] = "gameList";
83
65
  })(ApiResource || (exports.ApiResource = ApiResource = {}));
66
+ /**
67
+ * App type identifiers
68
+ */
84
69
  var AppType;
85
70
  (function (AppType) {
86
71
  AppType["Template"] = "template";
87
72
  })(AppType || (exports.AppType = AppType = {}));
73
+ /**
74
+ * Authentication method types
75
+ */
88
76
  var AuthType;
89
77
  (function (AuthType) {
90
78
  AuthType["Session"] = "session";
@@ -92,18 +80,18 @@ var AuthType;
92
80
  AuthType["Guest"] = "guest";
93
81
  AuthType["ScoreboardView"] = "scoreboardView";
94
82
  })(AuthType || (exports.AuthType = AuthType = {}));
95
- var BaseballInningSegment;
96
- (function (BaseballInningSegment) {
97
- BaseballInningSegment["Top"] = "top";
98
- BaseballInningSegment["Middle"] = "middle";
99
- BaseballInningSegment["Bottom"] = "bottom";
100
- BaseballInningSegment["End"] = "end";
101
- })(BaseballInningSegment || (exports.BaseballInningSegment = BaseballInningSegment = {}));
102
- var BasketballGamePeriods;
103
- (function (BasketballGamePeriods) {
104
- BasketballGamePeriods["Quarters"] = "quarters";
105
- BasketballGamePeriods["Halves"] = "halves";
106
- })(BasketballGamePeriods || (exports.BasketballGamePeriods = BasketballGamePeriods = {}));
83
+ /**
84
+ * Available plan identifiers
85
+ */
86
+ var PlanId;
87
+ (function (PlanId) {
88
+ PlanId["Basic"] = "basic";
89
+ PlanId["Plus"] = "plus";
90
+ PlanId["Pro"] = "pro";
91
+ })(PlanId || (exports.PlanId = PlanId = {}));
92
+ /**
93
+ * Basketball period identifiers
94
+ */
107
95
  var BasketballPeriod;
108
96
  (function (BasketballPeriod) {
109
97
  BasketballPeriod["Pre"] = "pregame";
@@ -113,12 +101,27 @@ var BasketballPeriod;
113
101
  BasketballPeriod["Third"] = "3";
114
102
  BasketballPeriod["Fourth"] = "4";
115
103
  BasketballPeriod["Overtime"] = "overtime";
104
+ BasketballPeriod["Final"] = "final";
116
105
  })(BasketballPeriod || (exports.BasketballPeriod = BasketballPeriod = {}));
106
+ /**
107
+ * Basketball period structure options
108
+ */
109
+ var BasketballGamePeriods;
110
+ (function (BasketballGamePeriods) {
111
+ BasketballGamePeriods["Quarters"] = "quarters";
112
+ BasketballGamePeriods["Halves"] = "halves";
113
+ })(BasketballGamePeriods || (exports.BasketballGamePeriods = BasketballGamePeriods = {}));
114
+ /**
115
+ * Basketball timeout allocation options
116
+ */
117
117
  var BasketballTimeoutAllocation;
118
118
  (function (BasketballTimeoutAllocation) {
119
119
  BasketballTimeoutAllocation["PerGame"] = "perGame";
120
120
  BasketballTimeoutAllocation["PerHalf"] = "perHalf";
121
121
  })(BasketballTimeoutAllocation || (exports.BasketballTimeoutAllocation = BasketballTimeoutAllocation = {}));
122
+ /**
123
+ * Clock type identifiers
124
+ */
122
125
  var ClockType;
123
126
  (function (ClockType) {
124
127
  ClockType["Game"] = "game";
@@ -127,17 +130,9 @@ var ClockType;
127
130
  ClockType["Pitch"] = "pitch";
128
131
  ClockType["Period"] = "period";
129
132
  })(ClockType || (exports.ClockType = ClockType = {}));
130
- var ContentType;
131
- (function (ContentType) {
132
- ContentType["Png"] = "image/png";
133
- ContentType["Jpg"] = "image/jpeg";
134
- ContentType["Gif"] = "image/gif";
135
- ContentType["Webp"] = "image/webp";
136
- ContentType["Avif"] = "image/avif";
137
- ContentType["Csv"] = "text/csv";
138
- ContentType["Xlsx"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
139
- ContentType["Zip"] = "application/zip";
140
- })(ContentType || (exports.ContentType = ContentType = {}));
133
+ /**
134
+ * Display connection status values
135
+ */
141
136
  var DisplayConnectionStatus;
142
137
  (function (DisplayConnectionStatus) {
143
138
  DisplayConnectionStatus["New"] = "new";
@@ -145,45 +140,26 @@ var DisplayConnectionStatus;
145
140
  DisplayConnectionStatus["Sent"] = "sent";
146
141
  DisplayConnectionStatus["Completed"] = "completed";
147
142
  })(DisplayConnectionStatus || (exports.DisplayConnectionStatus = DisplayConnectionStatus = {}));
143
+ /**
144
+ * Down and distance display options
145
+ */
148
146
  var DownAndDistanceDisplay;
149
147
  (function (DownAndDistanceDisplay) {
150
148
  DownAndDistanceDisplay["Both"] = "both";
151
149
  DownAndDistanceDisplay["DownOnly"] = "downOnly";
152
150
  DownAndDistanceDisplay["None"] = "none";
153
151
  })(DownAndDistanceDisplay || (exports.DownAndDistanceDisplay = DownAndDistanceDisplay = {}));
154
- var ErrorCode;
155
- (function (ErrorCode) {
156
- ErrorCode["ForbiddenSelfPermissionsChange"] = "ForbiddenSelfPermissionsChange";
157
- ErrorCode["InsufficientAdminPermissions"] = "InsufficientAdminPermissions";
158
- ErrorCode["InsufficientItemPermissions"] = "InsufficientItemPermissions";
159
- ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
160
- ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
161
- ErrorCode["InvalidAuthType"] = "InvalidAuthType";
162
- ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
163
- ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
164
- ErrorCode["InvalidDate"] = "InvalidDate";
165
- ErrorCode["InvalidInput"] = "InvalidInput";
166
- ErrorCode["InvalidRequest"] = "InvalidRequest";
167
- ErrorCode["InvalidPermissionGrant"] = "InvalidPermissionGrant";
168
- ErrorCode["InvalidSignIn"] = "InvalidSignIn";
169
- ErrorCode["InvalidAccountSignIn"] = "InvalidAccountSignIn";
170
- ErrorCode["InvalidToken"] = "InvalidToken";
171
- ErrorCode["AccountLimitExceeded"] = "AccountLimitExceeded";
172
- ErrorCode["AccountStorageExceeded"] = "AccountStorageExceeded";
173
- ErrorCode["ActiveScoreboardsExceeded"] = "ActiveScoreboardsExceeded";
174
- ErrorCode["AccountFeatureNotEnabled"] = "AccountFeatureNotEnabled";
175
- ErrorCode["AppNotEnabled"] = "AppNotEnabled";
176
- ErrorCode["ImageProcessingError"] = "ImageProcessingError";
177
- ErrorCode["RemoteServerError"] = "RemoteServerError";
178
- ErrorCode["RemoteServerTimeout"] = "RemoteServerTimeout";
179
- ErrorCode["RequestLimitExceeded"] = "RequestLimitExceeded";
180
- ErrorCode["ResourceNotFound"] = "ResourceNotFound";
181
- ErrorCode["UserCredentialsInUse"] = "UserCredentialsInUse";
182
- ErrorCode["AccountEmailInUse"] = "AccountEmailInUse";
183
- ErrorCode["IncompatibleState"] = "IncompatibleState";
184
- ErrorCode["VersionConflict"] = "VersionConflict";
185
- ErrorCode["UnspecifiedError"] = "UnspecifiedError";
186
- })(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
152
+ /**
153
+ * Energy level for talking points generation
154
+ */
155
+ var TalkingPointEnergy;
156
+ (function (TalkingPointEnergy) {
157
+ TalkingPointEnergy["Standard"] = "standard";
158
+ TalkingPointEnergy["Hype"] = "hype";
159
+ })(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
160
+ /**
161
+ * Event action identifiers
162
+ */
187
163
  var EventAction;
188
164
  (function (EventAction) {
189
165
  EventAction["Created"] = "created";
@@ -191,11 +167,31 @@ var EventAction;
191
167
  EventAction["Deleted"] = "deleted";
192
168
  EventAction["Read"] = "read";
193
169
  })(EventAction || (exports.EventAction = EventAction = {}));
170
+ /**
171
+ * Extra time display label options
172
+ */
194
173
  var ExtraTimeLabel;
195
174
  (function (ExtraTimeLabel) {
196
175
  ExtraTimeLabel["ExtraTime"] = "ET";
197
176
  ExtraTimeLabel["Overtime"] = "OT";
198
177
  })(ExtraTimeLabel || (exports.ExtraTimeLabel = ExtraTimeLabel = {}));
178
+ /**
179
+ * File content type identifiers
180
+ */
181
+ var ContentType;
182
+ (function (ContentType) {
183
+ ContentType["Png"] = "image/png";
184
+ ContentType["Jpg"] = "image/jpeg";
185
+ ContentType["Gif"] = "image/gif";
186
+ ContentType["Webp"] = "image/webp";
187
+ ContentType["Avif"] = "image/avif";
188
+ ContentType["Csv"] = "text/csv";
189
+ ContentType["Xlsx"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
190
+ ContentType["Zip"] = "application/zip";
191
+ })(ContentType || (exports.ContentType = ContentType = {}));
192
+ /**
193
+ * File type identifiers
194
+ */
199
195
  var FileType;
200
196
  (function (FileType) {
201
197
  FileType["TeamLogo"] = "teamLogo";
@@ -205,6 +201,18 @@ var FileType;
205
201
  FileType["InsightLogo"] = "insightLogo";
206
202
  FileType["Temporary"] = "temporary";
207
203
  })(FileType || (exports.FileType = FileType = {}));
204
+ /**
205
+ * Focus area for talking points generation
206
+ */
207
+ var TalkingPointFocus;
208
+ (function (TalkingPointFocus) {
209
+ TalkingPointFocus["Story"] = "story";
210
+ TalkingPointFocus["Balanced"] = "balanced";
211
+ TalkingPointFocus["Stats"] = "stats";
212
+ })(TalkingPointFocus || (exports.TalkingPointFocus = TalkingPointFocus = {}));
213
+ /**
214
+ * Football period identifiers
215
+ */
208
216
  var FootballPeriod;
209
217
  (function (FootballPeriod) {
210
218
  FootballPeriod["Pre"] = "pregame";
@@ -214,7 +222,11 @@ var FootballPeriod;
214
222
  FootballPeriod["Third"] = "3";
215
223
  FootballPeriod["Fourth"] = "4";
216
224
  FootballPeriod["Overtime"] = "overtime";
225
+ FootballPeriod["Final"] = "final";
217
226
  })(FootballPeriod || (exports.FootballPeriod = FootballPeriod = {}));
227
+ /**
228
+ * Magic link type identifiers
229
+ */
218
230
  var MagicLinkType;
219
231
  (function (MagicLinkType) {
220
232
  MagicLinkType["SignIn"] = "signIn";
@@ -222,27 +234,25 @@ var MagicLinkType;
222
234
  MagicLinkType["UserInvite"] = "userInvite";
223
235
  MagicLinkType["ScoreboardView"] = "scoreboardView";
224
236
  })(MagicLinkType || (exports.MagicLinkType = MagicLinkType = {}));
225
- var MetaMessageType;
226
- (function (MetaMessageType) {
227
- MetaMessageType["ScoreboardReset"] = "scoreboardReset";
228
- MetaMessageType["ScoreboardRefresh"] = "scoreboardRefresh";
229
- })(MetaMessageType || (exports.MetaMessageType = MetaMessageType = {}));
237
+ /**
238
+ * OAuth action identifiers
239
+ */
230
240
  var OAuthAction;
231
241
  (function (OAuthAction) {
232
242
  OAuthAction["NewUserCreated"] = "new_user_created";
233
243
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
234
244
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
235
245
  })(OAuthAction || (exports.OAuthAction = OAuthAction = {}));
246
+ /**
247
+ * OAuth provider identifiers
248
+ */
236
249
  var OAuthProvider;
237
250
  (function (OAuthProvider) {
238
251
  OAuthProvider["Google"] = "google";
239
252
  })(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
240
- var PlanId;
241
- (function (PlanId) {
242
- PlanId["Basic"] = "basic";
243
- PlanId["Plus"] = "plus";
244
- PlanId["Pro"] = "pro";
245
- })(PlanId || (exports.PlanId = PlanId = {}));
253
+ /**
254
+ * Short codes for sport types
255
+ */
246
256
  var ScoreboardCode;
247
257
  (function (ScoreboardCode) {
248
258
  ScoreboardCode["Football"] = "fb";
@@ -252,25 +262,17 @@ var ScoreboardCode;
252
262
  ScoreboardCode["Baseball"] = "ba";
253
263
  ScoreboardCode["Wrestling"] = "wr";
254
264
  })(ScoreboardCode || (exports.ScoreboardCode = ScoreboardCode = {}));
255
- var ScoreboardType;
256
- (function (ScoreboardType) {
257
- ScoreboardType["Baseball"] = "baseball";
258
- ScoreboardType["Basketball"] = "basketball";
259
- ScoreboardType["Football"] = "football";
260
- ScoreboardType["Soccer"] = "soccer";
261
- ScoreboardType["Volleyball"] = "volleyball";
262
- ScoreboardType["Wrestling"] = "wrestling";
263
- })(ScoreboardType || (exports.ScoreboardType = ScoreboardType = {}));
264
- var SoccerGamePeriods;
265
- (function (SoccerGamePeriods) {
266
- SoccerGamePeriods["Quarters"] = "quarters";
267
- SoccerGamePeriods["Halves"] = "halves";
268
- })(SoccerGamePeriods || (exports.SoccerGamePeriods = SoccerGamePeriods = {}));
265
+ /**
266
+ * Soccer penalty card types
267
+ */
269
268
  var SoccerPenaltyCardType;
270
269
  (function (SoccerPenaltyCardType) {
271
270
  SoccerPenaltyCardType["Yellow"] = "yellow";
272
271
  SoccerPenaltyCardType["Red"] = "red";
273
272
  })(SoccerPenaltyCardType || (exports.SoccerPenaltyCardType = SoccerPenaltyCardType = {}));
273
+ /**
274
+ * Soccer period identifiers
275
+ */
274
276
  var SoccerPeriod;
275
277
  (function (SoccerPeriod) {
276
278
  SoccerPeriod["Pre"] = "pregame";
@@ -282,13 +284,92 @@ var SoccerPeriod;
282
284
  SoccerPeriod["ExtraTime1"] = "ET 1";
283
285
  SoccerPeriod["ExtraTime2"] = "ET 2";
284
286
  SoccerPeriod["Shootout"] = "shootout";
287
+ SoccerPeriod["Final"] = "final";
285
288
  })(SoccerPeriod || (exports.SoccerPeriod = SoccerPeriod = {}));
289
+ /**
290
+ * Soccer period structure options
291
+ */
292
+ var SoccerGamePeriods;
293
+ (function (SoccerGamePeriods) {
294
+ SoccerGamePeriods["Quarters"] = "quarters";
295
+ SoccerGamePeriods["Halves"] = "halves";
296
+ })(SoccerGamePeriods || (exports.SoccerGamePeriods = SoccerGamePeriods = {}));
297
+ /**
298
+ * Supported sport types
299
+ */
300
+ var ScoreboardType;
301
+ (function (ScoreboardType) {
302
+ ScoreboardType["Baseball"] = "baseball";
303
+ ScoreboardType["Basketball"] = "basketball";
304
+ ScoreboardType["Football"] = "football";
305
+ ScoreboardType["Soccer"] = "soccer";
306
+ ScoreboardType["Volleyball"] = "volleyball";
307
+ ScoreboardType["Wrestling"] = "wrestling";
308
+ })(ScoreboardType || (exports.ScoreboardType = ScoreboardType = {}));
309
+ /**
310
+ * Template use case categories
311
+ */
286
312
  var TemplateUseCase;
287
313
  (function (TemplateUseCase) {
288
314
  TemplateUseCase["Embed"] = "embed";
289
315
  TemplateUseCase["Display"] = "display";
290
316
  TemplateUseCase["Direct"] = "direct";
291
317
  })(TemplateUseCase || (exports.TemplateUseCase = TemplateUseCase = {}));
318
+ /**
319
+ * Top or bottom of inning
320
+ */
321
+ var BaseballInningSegment;
322
+ (function (BaseballInningSegment) {
323
+ BaseballInningSegment["Top"] = "top";
324
+ BaseballInningSegment["Middle"] = "middle";
325
+ BaseballInningSegment["Bottom"] = "bottom";
326
+ BaseballInningSegment["End"] = "end";
327
+ })(BaseballInningSegment || (exports.BaseballInningSegment = BaseballInningSegment = {}));
328
+ /**
329
+ * Type guard for baseball data
330
+ */
331
+ const isBaseballData = (data) => {
332
+ return data.type === ScoreboardType.Baseball;
333
+ };
334
+ exports.isBaseballData = isBaseballData;
335
+ /**
336
+ * Type guard for basketball data
337
+ */
338
+ const isBasketballData = (data) => {
339
+ return data.type === ScoreboardType.Basketball;
340
+ };
341
+ exports.isBasketballData = isBasketballData;
342
+ /**
343
+ * Type guard for football data
344
+ */
345
+ const isFootballData = (data) => {
346
+ return data.type === ScoreboardType.Football;
347
+ };
348
+ exports.isFootballData = isFootballData;
349
+ /**
350
+ * Type guard for soccer data
351
+ */
352
+ const isSoccerData = (data) => {
353
+ return data.type === ScoreboardType.Soccer;
354
+ };
355
+ exports.isSoccerData = isSoccerData;
356
+ /**
357
+ * Type guard for volleyball data
358
+ */
359
+ const isVolleyballData = (data) => {
360
+ return data.type === ScoreboardType.Volleyball;
361
+ };
362
+ exports.isVolleyballData = isVolleyballData;
363
+ /**
364
+ * Type guard for wrestling data
365
+ */
366
+ const isWrestlingData = (data) => {
367
+ return data.type === ScoreboardType.Wrestling;
368
+ };
369
+ exports.isWrestlingData = isWrestlingData;
370
+ /**
371
+ * Volleyball set identifiers
372
+ */
292
373
  var VolleyballSet;
293
374
  (function (VolleyballSet) {
294
375
  VolleyballSet["Pre"] = "pregame";
@@ -297,7 +378,11 @@ var VolleyballSet;
297
378
  VolleyballSet["Third"] = "3";
298
379
  VolleyballSet["Fourth"] = "4";
299
380
  VolleyballSet["Fifth"] = "5";
381
+ VolleyballSet["Final"] = "final";
300
382
  })(VolleyballSet || (exports.VolleyballSet = VolleyballSet = {}));
383
+ /**
384
+ * Websocket message type identifiers
385
+ */
301
386
  var WebsocketMessageType;
302
387
  (function (WebsocketMessageType) {
303
388
  WebsocketMessageType["Event"] = "event";
@@ -306,32 +391,89 @@ var WebsocketMessageType;
306
391
  WebsocketMessageType["Info"] = "info";
307
392
  WebsocketMessageType["Meta"] = "meta";
308
393
  })(WebsocketMessageType || (exports.WebsocketMessageType = WebsocketMessageType = {}));
394
+ /**
395
+ * Websocket meta message types
396
+ */
397
+ var MetaMessageType;
398
+ (function (MetaMessageType) {
399
+ MetaMessageType["ScoreboardReset"] = "scoreboardReset";
400
+ MetaMessageType["ScoreboardRefresh"] = "scoreboardRefresh";
401
+ })(MetaMessageType || (exports.MetaMessageType = MetaMessageType = {}));
402
+ /**
403
+ * Websocket operation identifiers
404
+ */
309
405
  var WebsocketOperation;
310
406
  (function (WebsocketOperation) {
311
407
  WebsocketOperation["SendHeartbeat"] = "sendHeartbeat";
312
408
  WebsocketOperation["GetConnectionId"] = "getConnectionId";
313
409
  })(WebsocketOperation || (exports.WebsocketOperation = WebsocketOperation = {}));
410
+ /**
411
+ * Wrestling meet format options
412
+ */
314
413
  var WrestlingMeetType;
315
414
  (function (WrestlingMeetType) {
316
415
  WrestlingMeetType["Dual"] = "dual";
317
416
  WrestlingMeetType["Tournament"] = "tournament";
318
417
  })(WrestlingMeetType || (exports.WrestlingMeetType = WrestlingMeetType = {}));
418
+ /**
419
+ * Wrestling overtime format options
420
+ */
319
421
  var WrestlingOvertimeType;
320
422
  (function (WrestlingOvertimeType) {
321
423
  WrestlingOvertimeType["SuddenVictory"] = "sv";
322
424
  WrestlingOvertimeType["TieBreaker"] = "tb";
323
425
  WrestlingOvertimeType["UltimateTieBreaker"] = "utb";
324
426
  })(WrestlingOvertimeType || (exports.WrestlingOvertimeType = WrestlingOvertimeType = {}));
427
+ /**
428
+ * Wrestling period identifiers
429
+ */
325
430
  var WrestlingPeriod;
326
431
  (function (WrestlingPeriod) {
327
432
  WrestlingPeriod["First"] = "1";
328
433
  WrestlingPeriod["Second"] = "2";
329
434
  WrestlingPeriod["Third"] = "3";
330
435
  WrestlingPeriod["Overtime"] = "overtime";
436
+ WrestlingPeriod["Final"] = "final";
331
437
  })(WrestlingPeriod || (exports.WrestlingPeriod = WrestlingPeriod = {}));
438
+ /**
439
+ * Wrestling style options
440
+ */
332
441
  var WrestlingStyle;
333
442
  (function (WrestlingStyle) {
334
443
  WrestlingStyle["Freestyle"] = "freestyle";
335
444
  WrestlingStyle["Greco"] = "greco";
336
445
  WrestlingStyle["Folkstyle"] = "folkstyle";
337
446
  })(WrestlingStyle || (exports.WrestlingStyle = WrestlingStyle = {}));
447
+ var ErrorCode;
448
+ (function (ErrorCode) {
449
+ ErrorCode["ForbiddenSelfPermissionsChange"] = "ForbiddenSelfPermissionsChange";
450
+ ErrorCode["InsufficientAdminPermissions"] = "InsufficientAdminPermissions";
451
+ ErrorCode["InsufficientItemPermissions"] = "InsufficientItemPermissions";
452
+ ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
453
+ ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
454
+ ErrorCode["InvalidAuthType"] = "InvalidAuthType";
455
+ ErrorCode["InvalidCaptchaToken"] = "InvalidCaptchaToken";
456
+ ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
457
+ ErrorCode["InvalidDate"] = "InvalidDate";
458
+ ErrorCode["InvalidInput"] = "InvalidInput";
459
+ ErrorCode["InvalidRequest"] = "InvalidRequest";
460
+ ErrorCode["InvalidPermissionGrant"] = "InvalidPermissionGrant";
461
+ ErrorCode["InvalidSignIn"] = "InvalidSignIn";
462
+ ErrorCode["InvalidAccountSignIn"] = "InvalidAccountSignIn";
463
+ ErrorCode["InvalidToken"] = "InvalidToken";
464
+ ErrorCode["AccountLimitExceeded"] = "AccountLimitExceeded";
465
+ ErrorCode["AccountStorageExceeded"] = "AccountStorageExceeded";
466
+ ErrorCode["ActiveScoreboardsExceeded"] = "ActiveScoreboardsExceeded";
467
+ ErrorCode["AccountFeatureNotEnabled"] = "AccountFeatureNotEnabled";
468
+ ErrorCode["AppNotEnabled"] = "AppNotEnabled";
469
+ ErrorCode["ImageProcessingError"] = "ImageProcessingError";
470
+ ErrorCode["RemoteServerError"] = "RemoteServerError";
471
+ ErrorCode["RemoteServerTimeout"] = "RemoteServerTimeout";
472
+ ErrorCode["RequestLimitExceeded"] = "RequestLimitExceeded";
473
+ ErrorCode["ResourceNotFound"] = "ResourceNotFound";
474
+ ErrorCode["UserCredentialsInUse"] = "UserCredentialsInUse";
475
+ ErrorCode["AccountEmailInUse"] = "AccountEmailInUse";
476
+ ErrorCode["IncompatibleState"] = "IncompatibleState";
477
+ ErrorCode["VersionConflict"] = "VersionConflict";
478
+ ErrorCode["UnspecifiedError"] = "UnspecifiedError";
479
+ })(ErrorCode || (exports.ErrorCode = ErrorCode = {}));