@scoreboardmax/api-types 1.0.44 → 1.0.46

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