@scoreboardmax/api-types 1.0.32 → 1.0.34-next.1

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
@@ -225,8 +225,6 @@ var OAuthAction;
225
225
  OAuthAction["NewUserCreated"] = "new_user_created";
226
226
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
227
227
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
228
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
229
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
230
228
  })(OAuthAction || (exports.OAuthAction = OAuthAction = {}));
231
229
  var OAuthProvider;
232
230
  (function (OAuthProvider) {
package/dist/index.d.ts CHANGED
@@ -183,9 +183,7 @@ export declare enum MetaMessageType {
183
183
  export declare enum OAuthAction {
184
184
  NewUserCreated = "new_user_created",
185
185
  ExistingUserSignedIn = "existing_user_signed_in",
186
- ProviderLinkedAndSignedIn = "provider_linked_and_signed_in",
187
- RequiresUserDecision = "requires_user_decision",
188
- NewAccountForExistingUser = "new_account_for_existing_user"
186
+ ProviderLinkedAndSignedIn = "provider_linked_and_signed_in"
189
187
  }
190
188
  export declare enum OAuthProvider {
191
189
  Google = "google"
@@ -274,6 +272,12 @@ export declare enum WrestlingStyle {
274
272
  Greco = "greco",
275
273
  Folkstyle = "folkstyle"
276
274
  }
275
+ export interface AccountListResponse {
276
+ url: string;
277
+ uri: string;
278
+ pageNext: string | null;
279
+ data: AccountResponse[];
280
+ }
277
281
  export interface AccountRequest {
278
282
  name: string | null;
279
283
  logoFilename: string | null;
@@ -710,9 +714,6 @@ export interface NumberInput extends BaseInput {
710
714
  max?: number;
711
715
  step?: number;
712
716
  }
713
- export interface OAuthBindingRequest {
714
- messageCipher: string;
715
- }
716
717
  export interface OAuthRequest {
717
718
  code: string;
718
719
  redirectUri: string;
@@ -724,7 +725,6 @@ export interface OAuthResponse {
724
725
  oAuthProviderId: string;
725
726
  oAuthProviderEmail: string;
726
727
  oAuthProviderName: string;
727
- messageCipher?: string;
728
728
  dateNow: string;
729
729
  action: OAuthAction;
730
730
  }
@@ -1171,7 +1171,7 @@ export interface UserListResponse {
1171
1171
  url: string;
1172
1172
  uri: string;
1173
1173
  pageNext: string | null;
1174
- data: UserResponse[] | UserResponseAdmin[];
1174
+ data: UserResponse[];
1175
1175
  }
1176
1176
  export interface UserRequest {
1177
1177
  email: string;
@@ -1193,10 +1193,6 @@ export interface UserResponse {
1193
1193
  dateModified: string;
1194
1194
  dateLastActivity: string | null;
1195
1195
  }
1196
- export interface UserResponseAdmin extends UserResponse {
1197
- isOwner: boolean;
1198
- isAdmin: boolean;
1199
- }
1200
1196
  export interface UserUpdateRequest {
1201
1197
  name?: string;
1202
1198
  permissions?: Permissions;
package/dist/index.mjs CHANGED
@@ -216,8 +216,6 @@ export var OAuthAction;
216
216
  OAuthAction["NewUserCreated"] = "new_user_created";
217
217
  OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
218
218
  OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
219
- OAuthAction["RequiresUserDecision"] = "requires_user_decision";
220
- OAuthAction["NewAccountForExistingUser"] = "new_account_for_existing_user";
221
219
  })(OAuthAction || (OAuthAction = {}));
222
220
  export var OAuthProvider;
223
221
  (function (OAuthProvider) {
@@ -0,0 +1,349 @@
1
+ "use strict";
2
+ /**
3
+ * ScoreboardMax API Types - Internal
4
+ *
5
+ * This file contains ALL type definitions including admin-only types.
6
+ * These types are automatically generated from the ScoreboardMax API source code.
7
+ *
8
+ * Note: Admin types are only used in administrative applications and models with
9
+ * these interfaces will not be returned by the API to non-admin users.
10
+ *
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ 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.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = void 0;
14
+ const isAccountResponseAdmin = (account) => {
15
+ return "paymentProvider" in account && "paymentProviderCustomerId" in account;
16
+ };
17
+ exports.isAccountResponseAdmin = isAccountResponseAdmin;
18
+ const isAuthResponseAdmin = (auth) => {
19
+ return "isAdmin" in auth;
20
+ };
21
+ exports.isAuthResponseAdmin = isAuthResponseAdmin;
22
+ const isBaseballData = (data) => {
23
+ return data.type === ScoreboardType.Baseball;
24
+ };
25
+ exports.isBaseballData = isBaseballData;
26
+ const isBasketballData = (data) => {
27
+ return data.type === ScoreboardType.Basketball;
28
+ };
29
+ exports.isBasketballData = isBasketballData;
30
+ const isFootballData = (data) => {
31
+ return data.type === ScoreboardType.Football;
32
+ };
33
+ exports.isFootballData = isFootballData;
34
+ const isSoccerData = (data) => {
35
+ return data.type === ScoreboardType.Soccer;
36
+ };
37
+ exports.isSoccerData = isSoccerData;
38
+ const isUserListResponseAdmin = (list) => {
39
+ return list.data.length > 0 && (0, exports.isUserResponseAdmin)(list.data[0]);
40
+ };
41
+ exports.isUserListResponseAdmin = isUserListResponseAdmin;
42
+ const isUserResponseAdmin = (user) => {
43
+ return "isAdmin" in user;
44
+ };
45
+ exports.isUserResponseAdmin = isUserResponseAdmin;
46
+ const isVolleyballData = (data) => {
47
+ return data.type === ScoreboardType.Volleyball;
48
+ };
49
+ exports.isVolleyballData = isVolleyballData;
50
+ const isWrestlingData = (data) => {
51
+ return data.type === ScoreboardType.Wrestling;
52
+ };
53
+ exports.isWrestlingData = isWrestlingData;
54
+ var ApiAction;
55
+ (function (ApiAction) {
56
+ ApiAction["Create"] = "create";
57
+ ApiAction["Read"] = "read";
58
+ ApiAction["Update"] = "update";
59
+ ApiAction["Delete"] = "delete";
60
+ ApiAction["All"] = "*";
61
+ })(ApiAction || (exports.ApiAction = ApiAction = {}));
62
+ var ApiResource;
63
+ (function (ApiResource) {
64
+ ApiResource["All"] = "*";
65
+ ApiResource["Account"] = "account";
66
+ ApiResource["AccountList"] = "accountList";
67
+ ApiResource["App"] = "app";
68
+ ApiResource["AppList"] = "appList";
69
+ ApiResource["Archive"] = "archive";
70
+ ApiResource["ArchiveList"] = "archiveList";
71
+ ApiResource["File"] = "file";
72
+ ApiResource["FileList"] = "fileList";
73
+ ApiResource["Auth"] = "auth";
74
+ ApiResource["AuthList"] = "authList";
75
+ ApiResource["Clock"] = "clock";
76
+ ApiResource["ClockList"] = "clockList";
77
+ ApiResource["Player"] = "player";
78
+ ApiResource["PlayerList"] = "playerList";
79
+ ApiResource["Roster"] = "roster";
80
+ ApiResource["RosterList"] = "rosterList";
81
+ ApiResource["Scoreboard"] = "scoreboard";
82
+ ApiResource["ScoreboardList"] = "scoreboardList";
83
+ ApiResource["Sponsor"] = "sponsor";
84
+ ApiResource["SponsorList"] = "sponsorList";
85
+ ApiResource["Team"] = "team";
86
+ ApiResource["TeamList"] = "teamList";
87
+ ApiResource["Upload"] = "upload";
88
+ ApiResource["UploadList"] = "uploadList";
89
+ ApiResource["User"] = "user";
90
+ ApiResource["UserList"] = "userList";
91
+ ApiResource["UserCredentials"] = "userCredentials";
92
+ ApiResource["UserCredentialsList"] = "userCredentialsList";
93
+ ApiResource["Overlay"] = "overlay";
94
+ ApiResource["OverlayList"] = "overlayList";
95
+ ApiResource["Preset"] = "preset";
96
+ ApiResource["PresetList"] = "presetList";
97
+ })(ApiResource || (exports.ApiResource = ApiResource = {}));
98
+ var AppType;
99
+ (function (AppType) {
100
+ AppType["Template"] = "template";
101
+ })(AppType || (exports.AppType = AppType = {}));
102
+ var AuthType;
103
+ (function (AuthType) {
104
+ AuthType["Session"] = "session";
105
+ AuthType["Api"] = "api";
106
+ AuthType["Guest"] = "guest";
107
+ AuthType["ScoreboardView"] = "scoreboardView";
108
+ })(AuthType || (exports.AuthType = AuthType = {}));
109
+ var BaseballInningSegment;
110
+ (function (BaseballInningSegment) {
111
+ BaseballInningSegment["Top"] = "top";
112
+ BaseballInningSegment["Middle"] = "middle";
113
+ BaseballInningSegment["Bottom"] = "bottom";
114
+ BaseballInningSegment["End"] = "end";
115
+ })(BaseballInningSegment || (exports.BaseballInningSegment = BaseballInningSegment = {}));
116
+ var BasketballGamePeriods;
117
+ (function (BasketballGamePeriods) {
118
+ BasketballGamePeriods["Quarters"] = "quarters";
119
+ BasketballGamePeriods["Halves"] = "halves";
120
+ })(BasketballGamePeriods || (exports.BasketballGamePeriods = BasketballGamePeriods = {}));
121
+ var BasketballPeriod;
122
+ (function (BasketballPeriod) {
123
+ BasketballPeriod["Pre"] = "pregame";
124
+ BasketballPeriod["First"] = "1";
125
+ BasketballPeriod["Second"] = "2";
126
+ BasketballPeriod["Half"] = "half";
127
+ BasketballPeriod["Third"] = "3";
128
+ BasketballPeriod["Fourth"] = "4";
129
+ BasketballPeriod["Overtime"] = "overtime";
130
+ })(BasketballPeriod || (exports.BasketballPeriod = BasketballPeriod = {}));
131
+ var BasketballTimeoutAllocation;
132
+ (function (BasketballTimeoutAllocation) {
133
+ BasketballTimeoutAllocation["PerGame"] = "perGame";
134
+ BasketballTimeoutAllocation["PerHalf"] = "perHalf";
135
+ })(BasketballTimeoutAllocation || (exports.BasketballTimeoutAllocation = BasketballTimeoutAllocation = {}));
136
+ var ClockType;
137
+ (function (ClockType) {
138
+ ClockType["Game"] = "game";
139
+ ClockType["Play"] = "play";
140
+ ClockType["Shot"] = "shot";
141
+ ClockType["Pitch"] = "pitch";
142
+ ClockType["Period"] = "period";
143
+ })(ClockType || (exports.ClockType = ClockType = {}));
144
+ var ContentType;
145
+ (function (ContentType) {
146
+ ContentType["Png"] = "image/png";
147
+ ContentType["Jpg"] = "image/jpeg";
148
+ ContentType["Gif"] = "image/gif";
149
+ ContentType["Webp"] = "image/webp";
150
+ ContentType["Avif"] = "image/avif";
151
+ ContentType["Csv"] = "text/csv";
152
+ ContentType["Xlsx"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
153
+ ContentType["Zip"] = "application/zip";
154
+ })(ContentType || (exports.ContentType = ContentType = {}));
155
+ var DisplayConnectionStatus;
156
+ (function (DisplayConnectionStatus) {
157
+ DisplayConnectionStatus["New"] = "new";
158
+ DisplayConnectionStatus["Connected"] = "connected";
159
+ DisplayConnectionStatus["Sent"] = "sent";
160
+ DisplayConnectionStatus["Completed"] = "completed";
161
+ })(DisplayConnectionStatus || (exports.DisplayConnectionStatus = DisplayConnectionStatus = {}));
162
+ var DownAndDistanceDisplay;
163
+ (function (DownAndDistanceDisplay) {
164
+ DownAndDistanceDisplay["Both"] = "both";
165
+ DownAndDistanceDisplay["DownOnly"] = "downOnly";
166
+ DownAndDistanceDisplay["None"] = "none";
167
+ })(DownAndDistanceDisplay || (exports.DownAndDistanceDisplay = DownAndDistanceDisplay = {}));
168
+ var ErrorCode;
169
+ (function (ErrorCode) {
170
+ ErrorCode["ForbiddenSelfPermissionsChange"] = "ForbiddenSelfPermissionsChange";
171
+ ErrorCode["InsufficientAdminPermissions"] = "InsufficientAdminPermissions";
172
+ ErrorCode["InsufficientItemPermissions"] = "InsufficientItemPermissions";
173
+ ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
174
+ ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
175
+ ErrorCode["InvalidAuthType"] = "InvalidAuthType";
176
+ ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
177
+ ErrorCode["InvalidDate"] = "InvalidDate";
178
+ ErrorCode["InvalidInput"] = "InvalidInput";
179
+ ErrorCode["InvalidRequest"] = "InvalidRequest";
180
+ ErrorCode["InvalidPermissionGrant"] = "InvalidPermissionGrant";
181
+ ErrorCode["InvalidSignIn"] = "InvalidSignIn";
182
+ ErrorCode["InvalidAccountSignIn"] = "InvalidAccountSignIn";
183
+ ErrorCode["InvalidToken"] = "InvalidToken";
184
+ ErrorCode["AccountLimitExceeded"] = "AccountLimitExceeded";
185
+ ErrorCode["AccountStorageExceeded"] = "AccountStorageExceeded";
186
+ ErrorCode["ActiveScoreboardsExceeded"] = "ActiveScoreboardsExceeded";
187
+ ErrorCode["AccountFeatureNotEnabled"] = "AccountFeatureNotEnabled";
188
+ ErrorCode["AppNotEnabled"] = "AppNotEnabled";
189
+ ErrorCode["ImageProcessingError"] = "ImageProcessingError";
190
+ ErrorCode["RemoteServerError"] = "RemoteServerError";
191
+ ErrorCode["RemoteServerTimeout"] = "RemoteServerTimeout";
192
+ ErrorCode["RequestLimitExceeded"] = "RequestLimitExceeded";
193
+ ErrorCode["ResourceNotFound"] = "ResourceNotFound";
194
+ ErrorCode["UserCredentialsInUse"] = "UserCredentialsInUse";
195
+ ErrorCode["AccountEmailInUse"] = "AccountEmailInUse";
196
+ ErrorCode["IncompatibleState"] = "IncompatibleState";
197
+ ErrorCode["VersionConflict"] = "VersionConflict";
198
+ ErrorCode["UnspecifiedError"] = "UnspecifiedError";
199
+ })(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
200
+ var EventAction;
201
+ (function (EventAction) {
202
+ EventAction["Created"] = "created";
203
+ EventAction["Updated"] = "updated";
204
+ EventAction["Deleted"] = "deleted";
205
+ EventAction["Read"] = "read";
206
+ })(EventAction || (exports.EventAction = EventAction = {}));
207
+ var ExtraTimeLabel;
208
+ (function (ExtraTimeLabel) {
209
+ ExtraTimeLabel["ExtraTime"] = "ET";
210
+ ExtraTimeLabel["Overtime"] = "OT";
211
+ })(ExtraTimeLabel || (exports.ExtraTimeLabel = ExtraTimeLabel = {}));
212
+ var FileType;
213
+ (function (FileType) {
214
+ FileType["TeamLogo"] = "teamLogo";
215
+ FileType["AccountLogo"] = "accountLogo";
216
+ FileType["PlayerPhoto"] = "playerPhoto";
217
+ FileType["SponsorLogo"] = "sponsorLogo";
218
+ FileType["Temporary"] = "temporary";
219
+ })(FileType || (exports.FileType = FileType = {}));
220
+ var FootballPeriod;
221
+ (function (FootballPeriod) {
222
+ FootballPeriod["Pre"] = "pregame";
223
+ FootballPeriod["First"] = "1";
224
+ FootballPeriod["Second"] = "2";
225
+ FootballPeriod["Half"] = "half";
226
+ FootballPeriod["Third"] = "3";
227
+ FootballPeriod["Fourth"] = "4";
228
+ FootballPeriod["Overtime"] = "overtime";
229
+ })(FootballPeriod || (exports.FootballPeriod = FootballPeriod = {}));
230
+ var MagicLinkType;
231
+ (function (MagicLinkType) {
232
+ MagicLinkType["SignIn"] = "signIn";
233
+ MagicLinkType["ScoreboardGuest"] = "scoreboardGuest";
234
+ MagicLinkType["UserInvite"] = "userInvite";
235
+ MagicLinkType["ScoreboardView"] = "scoreboardView";
236
+ })(MagicLinkType || (exports.MagicLinkType = MagicLinkType = {}));
237
+ var MetaMessageType;
238
+ (function (MetaMessageType) {
239
+ MetaMessageType["ScoreboardReset"] = "scoreboardReset";
240
+ MetaMessageType["ScoreboardRefresh"] = "scoreboardRefresh";
241
+ })(MetaMessageType || (exports.MetaMessageType = MetaMessageType = {}));
242
+ var OAuthAction;
243
+ (function (OAuthAction) {
244
+ OAuthAction["NewUserCreated"] = "new_user_created";
245
+ OAuthAction["ExistingUserSignedIn"] = "existing_user_signed_in";
246
+ OAuthAction["ProviderLinkedAndSignedIn"] = "provider_linked_and_signed_in";
247
+ })(OAuthAction || (exports.OAuthAction = OAuthAction = {}));
248
+ var OAuthProvider;
249
+ (function (OAuthProvider) {
250
+ OAuthProvider["Google"] = "google";
251
+ })(OAuthProvider || (exports.OAuthProvider = OAuthProvider = {}));
252
+ var PlanId;
253
+ (function (PlanId) {
254
+ PlanId["Basic"] = "basic";
255
+ PlanId["Plus"] = "plus";
256
+ PlanId["Pro"] = "pro";
257
+ })(PlanId || (exports.PlanId = PlanId = {}));
258
+ var ScoreboardCode;
259
+ (function (ScoreboardCode) {
260
+ ScoreboardCode["Football"] = "fb";
261
+ ScoreboardCode["Basketball"] = "bb";
262
+ ScoreboardCode["Volleyball"] = "vb";
263
+ ScoreboardCode["Soccer"] = "sc";
264
+ ScoreboardCode["Baseball"] = "ba";
265
+ ScoreboardCode["Wrestling"] = "wr";
266
+ })(ScoreboardCode || (exports.ScoreboardCode = ScoreboardCode = {}));
267
+ var ScoreboardType;
268
+ (function (ScoreboardType) {
269
+ ScoreboardType["Baseball"] = "baseball";
270
+ ScoreboardType["Basketball"] = "basketball";
271
+ ScoreboardType["Football"] = "football";
272
+ ScoreboardType["Soccer"] = "soccer";
273
+ ScoreboardType["Volleyball"] = "volleyball";
274
+ ScoreboardType["Wrestling"] = "wrestling";
275
+ })(ScoreboardType || (exports.ScoreboardType = ScoreboardType = {}));
276
+ var SoccerGamePeriods;
277
+ (function (SoccerGamePeriods) {
278
+ SoccerGamePeriods["Quarters"] = "quarters";
279
+ SoccerGamePeriods["Halves"] = "halves";
280
+ })(SoccerGamePeriods || (exports.SoccerGamePeriods = SoccerGamePeriods = {}));
281
+ var SoccerPenaltyCardType;
282
+ (function (SoccerPenaltyCardType) {
283
+ SoccerPenaltyCardType["Yellow"] = "yellow";
284
+ SoccerPenaltyCardType["Red"] = "red";
285
+ })(SoccerPenaltyCardType || (exports.SoccerPenaltyCardType = SoccerPenaltyCardType = {}));
286
+ var SoccerPeriod;
287
+ (function (SoccerPeriod) {
288
+ SoccerPeriod["Pre"] = "pregame";
289
+ SoccerPeriod["First"] = "1";
290
+ SoccerPeriod["Second"] = "2";
291
+ SoccerPeriod["Half"] = "half";
292
+ SoccerPeriod["Third"] = "3";
293
+ SoccerPeriod["Fourth"] = "4";
294
+ SoccerPeriod["ExtraTime1"] = "ET 1";
295
+ SoccerPeriod["ExtraTime2"] = "ET 2";
296
+ SoccerPeriod["Shootout"] = "shootout";
297
+ })(SoccerPeriod || (exports.SoccerPeriod = SoccerPeriod = {}));
298
+ var TemplateUseCase;
299
+ (function (TemplateUseCase) {
300
+ TemplateUseCase["Embed"] = "embed";
301
+ TemplateUseCase["Display"] = "display";
302
+ TemplateUseCase["Direct"] = "direct";
303
+ })(TemplateUseCase || (exports.TemplateUseCase = TemplateUseCase = {}));
304
+ var VolleyballSet;
305
+ (function (VolleyballSet) {
306
+ VolleyballSet["Pre"] = "pregame";
307
+ VolleyballSet["First"] = "1";
308
+ VolleyballSet["Second"] = "2";
309
+ VolleyballSet["Third"] = "3";
310
+ VolleyballSet["Fourth"] = "4";
311
+ VolleyballSet["Fifth"] = "5";
312
+ })(VolleyballSet || (exports.VolleyballSet = VolleyballSet = {}));
313
+ var WebsocketMessageType;
314
+ (function (WebsocketMessageType) {
315
+ WebsocketMessageType["Event"] = "event";
316
+ WebsocketMessageType["Heartbeat"] = "heartbeat";
317
+ WebsocketMessageType["ConnectionConfirmation"] = "connectionConfirmation";
318
+ WebsocketMessageType["Info"] = "info";
319
+ WebsocketMessageType["Meta"] = "meta";
320
+ })(WebsocketMessageType || (exports.WebsocketMessageType = WebsocketMessageType = {}));
321
+ var WebsocketOperation;
322
+ (function (WebsocketOperation) {
323
+ WebsocketOperation["SendHeartbeat"] = "sendHeartbeat";
324
+ WebsocketOperation["GetConnectionId"] = "getConnectionId";
325
+ })(WebsocketOperation || (exports.WebsocketOperation = WebsocketOperation = {}));
326
+ var WrestlingMeetType;
327
+ (function (WrestlingMeetType) {
328
+ WrestlingMeetType["Dual"] = "dual";
329
+ WrestlingMeetType["Tournament"] = "tournament";
330
+ })(WrestlingMeetType || (exports.WrestlingMeetType = WrestlingMeetType = {}));
331
+ var WrestlingOvertimeType;
332
+ (function (WrestlingOvertimeType) {
333
+ WrestlingOvertimeType["SuddenVictory"] = "sv";
334
+ WrestlingOvertimeType["TieBreaker"] = "tb";
335
+ WrestlingOvertimeType["UltimateTieBreaker"] = "utb";
336
+ })(WrestlingOvertimeType || (exports.WrestlingOvertimeType = WrestlingOvertimeType = {}));
337
+ var WrestlingPeriod;
338
+ (function (WrestlingPeriod) {
339
+ WrestlingPeriod["First"] = "1";
340
+ WrestlingPeriod["Second"] = "2";
341
+ WrestlingPeriod["Third"] = "3";
342
+ WrestlingPeriod["Overtime"] = "overtime";
343
+ })(WrestlingPeriod || (exports.WrestlingPeriod = WrestlingPeriod = {}));
344
+ var WrestlingStyle;
345
+ (function (WrestlingStyle) {
346
+ WrestlingStyle["Freestyle"] = "freestyle";
347
+ WrestlingStyle["Greco"] = "greco";
348
+ WrestlingStyle["Folkstyle"] = "folkstyle";
349
+ })(WrestlingStyle || (exports.WrestlingStyle = WrestlingStyle = {}));