@mtgame/core 0.1.41 → 0.1.43

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.
Files changed (49) hide show
  1. package/api/game-base-api.d.ts +1 -0
  2. package/api/rugby-game-api.d.ts +3 -0
  3. package/bundles/mtgame-core.umd.js +210 -100
  4. package/bundles/mtgame-core.umd.js.map +1 -1
  5. package/bundles/mtgame-core.umd.min.js +1 -1
  6. package/bundles/mtgame-core.umd.min.js.map +1 -1
  7. package/esm2015/api/game-base-api.js +10 -2
  8. package/esm2015/api/rugby-game-api.js +16 -2
  9. package/esm2015/localization/public-api.js +2 -1
  10. package/esm2015/localization/rugby-foul-sanction.js +10 -0
  11. package/esm2015/localization/rugby-game-log-types.js +6 -1
  12. package/esm2015/models/public-api.js +2 -1
  13. package/esm2015/models/rugby-foul-type.js +35 -0
  14. package/esm2015/models/rugby-game-config.js +8 -2
  15. package/esm2015/models/rugby-game-log.js +34 -24
  16. package/esm2015/models/rugby-game-statistic.js +7 -1
  17. package/esm2015/models/rugby-game-team-statistic.js +1 -1
  18. package/esm2015/models/rugby-statistic.js +1 -1
  19. package/esm2015/models/tournament-team.js +6 -2
  20. package/esm5/api/game-base-api.js +12 -2
  21. package/esm5/api/rugby-game-api.js +20 -2
  22. package/esm5/localization/public-api.js +2 -1
  23. package/esm5/localization/rugby-foul-sanction.js +11 -0
  24. package/esm5/localization/rugby-game-log-types.js +6 -1
  25. package/esm5/models/public-api.js +2 -1
  26. package/esm5/models/rugby-foul-type.js +40 -0
  27. package/esm5/models/rugby-game-config.js +12 -2
  28. package/esm5/models/rugby-game-log.js +34 -24
  29. package/esm5/models/rugby-game-statistic.js +7 -1
  30. package/esm5/models/rugby-game-team-statistic.js +1 -1
  31. package/esm5/models/rugby-statistic.js +1 -1
  32. package/esm5/models/tournament-team.js +6 -2
  33. package/fesm2015/mtgame-core.js +118 -26
  34. package/fesm2015/mtgame-core.js.map +1 -1
  35. package/fesm5/mtgame-core.js +210 -102
  36. package/fesm5/mtgame-core.js.map +1 -1
  37. package/localization/public-api.d.ts +1 -0
  38. package/localization/rugby-foul-sanction.d.ts +9 -0
  39. package/localization/rugby-game-log-types.d.ts +5 -0
  40. package/models/public-api.d.ts +1 -0
  41. package/models/rugby-foul-type.d.ts +16 -0
  42. package/models/rugby-game-config.d.ts +1 -0
  43. package/models/rugby-game-log.d.ts +29 -21
  44. package/models/rugby-game-statistic.d.ts +8 -1
  45. package/models/rugby-game-team-statistic.d.ts +2 -1
  46. package/models/rugby-statistic.d.ts +7 -2
  47. package/models/tournament-team.d.ts +4 -0
  48. package/mtgame-core.metadata.json +1 -1
  49. package/package.json +1 -1
@@ -9,4 +9,5 @@ export declare class GameBaseApi {
9
9
  getUsers(gameId: number): Promise<GameUser[]>;
10
10
  getMvp(gameId: number): Promise<GameUser[]>;
11
11
  getUsersLimitation(gameId: number): Promise<GameUserLimitations[]>;
12
+ downloadApplication(gameId: number, format: 'pdf' | 'xlsx' | 'html', type: 'game_user' | 'tournament_user'): Promise<any>;
12
13
  }
@@ -5,6 +5,7 @@ import { GameBaseApi } from './game-base-api';
5
5
  import { RugbyGameTeamStatistic } from '../models/rugby-game-team-statistic';
6
6
  import { RugbyGameStatistic } from '../models/rugby-game-statistic';
7
7
  import { RugbyGameLog } from '../models/rugby-game-log';
8
+ import { RugbyFoulType } from '../models/rugby-foul-type';
8
9
  export declare class RugbyGameApi extends GameBaseApi {
9
10
  protected httpClient: HttpClient;
10
11
  protected configService: ConfigService;
@@ -13,4 +14,6 @@ export declare class RugbyGameApi extends GameBaseApi {
13
14
  getTeamStatistic(gameId: number): Promise<RugbyGameTeamStatistic>;
14
15
  getUserStatistic(gameId: number): Promise<RugbyGameStatistic[]>;
15
16
  getLogs(gameId: number): Promise<RugbyGameLog[]>;
17
+ getFoulTypes(): Promise<RugbyFoulType>;
18
+ downloadProtocol(gameId: number): Promise<any>;
16
19
  }
@@ -2002,6 +2002,16 @@
2002
2002
  function RugbyGameConfig() {
2003
2003
  return _super !== null && _super.apply(this, arguments) || this;
2004
2004
  }
2005
+ Object.defineProperty(RugbyGameConfig.prototype, "penaltyPeriod", {
2006
+ get: function () {
2007
+ if (this.overtimeType !== exports.OvertimeTypes.time_and_penalties) {
2008
+ return +this.periodsCount + 1;
2009
+ }
2010
+ return +this.periodsCount + this.overtimePeriods + 1;
2011
+ },
2012
+ enumerable: true,
2013
+ configurable: true
2014
+ });
2005
2015
  RugbyGameConfig.toFront = function (data) { };
2006
2016
  RugbyGameConfig.toBack = function (data) { };
2007
2017
  __decorate([
@@ -2565,7 +2575,11 @@
2565
2575
  lose_normal_time_games_count: 'loseNormalTimeGamesCount',
2566
2576
  win_overtime_games_count: 'winOvertimeGamesCount',
2567
2577
  lose_overtime_games_count: 'loseOvertimeGamesCount',
2568
- last_five_games: 'lastFiveGames'
2578
+ last_five_games: 'lastFiveGames',
2579
+ tries_scored: 'triesScored',
2580
+ tries_missed: 'triesMissed',
2581
+ attack_bonuses: 'attackBonuses',
2582
+ defense_bonuses: 'defenseBonuses',
2569
2583
  },
2570
2584
  relation: {
2571
2585
  logo: File,
@@ -3170,6 +3184,16 @@
3170
3184
  });
3171
3185
  });
3172
3186
  };
3187
+ GameBaseApi.prototype.downloadApplication = function (gameId, format, type) {
3188
+ return __awaiter(this, void 0, void 0, function () {
3189
+ return __generator(this, function (_a) {
3190
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_game/" + gameId + "/game_application/", {
3191
+ params: new http.HttpParams().set('file_type', format).set('application_type', type),
3192
+ responseType: 'blob'
3193
+ }).toPromise()];
3194
+ });
3195
+ });
3196
+ };
3173
3197
  GameBaseApi.ctorParameters = function () { return [
3174
3198
  { type: http.HttpClient },
3175
3199
  { type: ConfigService }
@@ -7241,11 +7265,17 @@
7241
7265
  penalty_tries: 'penaltyTries',
7242
7266
  conversion_goals: 'conversionGoals',
7243
7267
  conversion_misses: 'conversionMisses',
7268
+ conversion_shots: 'conversionShots',
7269
+ conversion_goals_percent: 'conversionGoalsPercent',
7244
7270
  drawing_ball: 'drawingBall',
7245
7271
  penalty_misses: 'penaltyMisses',
7246
7272
  penalty_goals: 'penaltyGoals',
7273
+ penalty_shots: 'penaltyShots',
7274
+ penalty_goals_percent: 'penaltyGoalsPercent',
7247
7275
  drop_goals: 'dropGoals',
7248
7276
  drop_goal_misses: 'dropGoalMisses',
7277
+ drop_goal_shots: 'dropGoalShots',
7278
+ drop_goals_percent: 'dropGoalsPercent',
7249
7279
  free_kicks: 'freeKicks',
7250
7280
  yellow_cards: 'yellowCards',
7251
7281
  red_cards: 'redCards',
@@ -7265,6 +7295,43 @@
7265
7295
  return RugbyGameStatistic;
7266
7296
  }(BaseModel));
7267
7297
 
7298
+
7299
+ (function (RugbyFoulSanctions) {
7300
+ RugbyFoulSanctions[RugbyFoulSanctions["scrum"] = 1] = "scrum";
7301
+ RugbyFoulSanctions[RugbyFoulSanctions["lineout"] = 2] = "lineout";
7302
+ RugbyFoulSanctions[RugbyFoulSanctions["free_kick"] = 3] = "free_kick";
7303
+ RugbyFoulSanctions[RugbyFoulSanctions["penalty_shot"] = 4] = "penalty_shot";
7304
+ RugbyFoulSanctions[RugbyFoulSanctions["yellow_card"] = 5] = "yellow_card";
7305
+ RugbyFoulSanctions[RugbyFoulSanctions["red_card"] = 6] = "red_card";
7306
+ })(exports.RugbyFoulSanctions || (exports.RugbyFoulSanctions = {}));
7307
+ var RugbyFoulType = /** @class */ (function (_super) {
7308
+ __extends(RugbyFoulType, _super);
7309
+ function RugbyFoulType() {
7310
+ return _super !== null && _super.apply(this, arguments) || this;
7311
+ }
7312
+ RugbyFoulType.toFront = function (data) { };
7313
+ RugbyFoulType.toBack = function (data) { };
7314
+ __decorate([
7315
+ ToFrontHook
7316
+ ], RugbyFoulType, "toFront", null);
7317
+ __decorate([
7318
+ ToBackHook
7319
+ ], RugbyFoulType, "toBack", null);
7320
+ RugbyFoulType = __decorate([
7321
+ ModelInstance({
7322
+ mappingFields: {
7323
+ id: 'id',
7324
+ name: 'name',
7325
+ sanction: 'sanction',
7326
+ },
7327
+ relation: {
7328
+ sanction: listField(enumField(exports.RugbyFoulSanctions))
7329
+ }
7330
+ })
7331
+ ], RugbyFoulType);
7332
+ return RugbyFoulType;
7333
+ }(BaseModel));
7334
+
7268
7335
  var _a$1;
7269
7336
 
7270
7337
  (function (RugbyGameLogTypes) {
@@ -7280,27 +7347,32 @@
7280
7347
  RugbyGameLogTypes[RugbyGameLogTypes["drop_goal"] = 10] = "drop_goal";
7281
7348
  RugbyGameLogTypes[RugbyGameLogTypes["drop_goal_miss"] = 11] = "drop_goal_miss";
7282
7349
  RugbyGameLogTypes[RugbyGameLogTypes["free_kick"] = 12] = "free_kick";
7283
- RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 13] = "yellow_card";
7284
- RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 14] = "red_card";
7285
- RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 15] = "offload";
7286
- RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 16] = "tackle";
7287
- RugbyGameLogTypes[RugbyGameLogTypes["out"] = 17] = "out";
7288
- RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 18] = "handling_error";
7289
- RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 19] = "carries_other_gainline";
7350
+ RugbyGameLogTypes[RugbyGameLogTypes["foul"] = 13] = "foul";
7351
+ RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 14] = "yellow_card";
7352
+ RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 15] = "red_card";
7353
+ RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 16] = "offload";
7354
+ RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 17] = "tackle";
7355
+ RugbyGameLogTypes[RugbyGameLogTypes["out"] = 18] = "out";
7356
+ RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 19] = "handling_error";
7357
+ RugbyGameLogTypes[RugbyGameLogTypes["carries_other_gainline"] = 20] = "carries_other_gainline";
7358
+ RugbyGameLogTypes[RugbyGameLogTypes["bleeding_injury"] = 21] = "bleeding_injury";
7359
+ RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 22] = "head_injury";
7360
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_miss"] = 23] = "end_game_penalty_miss";
7361
+ RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 24] = "end_game_penalty_goal";
7290
7362
  // team actions
7291
- RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 20] = "timeout";
7292
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 21] = "scrum_won";
7293
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 22] = "scrum_lose";
7294
- RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 23] = "scrum_won_free";
7295
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 24] = "lineout_success";
7296
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 25] = "lineout_loss";
7297
- RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 26] = "lineout_steal";
7298
- RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 27] = "quick_throw";
7299
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 28] = "ruck_won";
7300
- RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 29] = "ruck_lose";
7301
- RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 30] = "maul_won";
7302
- RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 31] = "maul_lose";
7303
- RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 32] = "team_foul";
7363
+ RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 25] = "timeout";
7364
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 26] = "scrum_won";
7365
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_lose"] = 27] = "scrum_lose";
7366
+ RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 28] = "scrum_won_free";
7367
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_success"] = 29] = "lineout_success";
7368
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_loss"] = 30] = "lineout_loss";
7369
+ RugbyGameLogTypes[RugbyGameLogTypes["lineout_steal"] = 31] = "lineout_steal";
7370
+ RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 32] = "quick_throw";
7371
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 33] = "ruck_won";
7372
+ RugbyGameLogTypes[RugbyGameLogTypes["ruck_lose"] = 34] = "ruck_lose";
7373
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 35] = "maul_won";
7374
+ RugbyGameLogTypes[RugbyGameLogTypes["maul_lose"] = 36] = "maul_lose";
7375
+ RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 37] = "team_foul";
7304
7376
  })(exports.RugbyGameLogTypes || (exports.RugbyGameLogTypes = {}));
7305
7377
  var RUGBY_GAME_LOG_TYPE_POINTS = (_a$1 = {},
7306
7378
  _a$1[exports.RugbyGameLogTypes.penalty_try] = 7,
@@ -7356,7 +7428,7 @@
7356
7428
  return this.period > log.period;
7357
7429
  };
7358
7430
  RugbyGameLog.prototype.isFoulType = function () {
7359
- return [exports.RugbyGameLogTypes.team_foul, exports.RugbyGameLogTypes.yellow_card, exports.RugbyGameLogTypes.red_card].indexOf(this.logType) > -1;
7431
+ return [exports.RugbyGameLogTypes.team_foul, exports.RugbyGameLogTypes.foul].indexOf(this.logType) > -1;
7360
7432
  };
7361
7433
  RugbyGameLog.prototype.isTeamType = function () {
7362
7434
  return RUGBY_TEAM_LOG_TYPES.includes(this.logType);
@@ -7374,6 +7446,7 @@
7374
7446
  mappingFields: {
7375
7447
  id: 'id',
7376
7448
  unique_id: 'uniqueId',
7449
+ group: 'group',
7377
7450
  game_id: 'gameId',
7378
7451
  game_user_id: 'gameUserId',
7379
7452
  team_id: 'teamId',
@@ -7383,11 +7456,14 @@
7383
7456
  period: 'period',
7384
7457
  active: 'active',
7385
7458
  is_highlight: 'isHighlight',
7386
- penalty_type: 'penaltyType',
7459
+ foul_type: 'foulType',
7460
+ foul_sanction: 'foulSanction',
7387
7461
  },
7388
7462
  relation: {
7389
7463
  datetime: DateTimeField,
7390
- logType: enumField(exports.RugbyGameLogTypes)
7464
+ logType: enumField(exports.RugbyGameLogTypes),
7465
+ foulType: RugbyFoulType,
7466
+ foulSanction: enumField(exports.RugbyFoulSanctions),
7391
7467
  }
7392
7468
  })
7393
7469
  ], RugbyGameLog);
@@ -7430,6 +7506,23 @@
7430
7506
  });
7431
7507
  });
7432
7508
  };
7509
+ RugbyGameApi.prototype.getFoulTypes = function () {
7510
+ return __awaiter(this, void 0, void 0, function () {
7511
+ return __generator(this, function (_a) {
7512
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/foul_types/").pipe(operators.map(function (result) { return RugbyFoulType.toFront(result); })).toPromise()];
7513
+ });
7514
+ });
7515
+ };
7516
+ RugbyGameApi.prototype.downloadProtocol = function (gameId) {
7517
+ return __awaiter(this, void 0, void 0, function () {
7518
+ return __generator(this, function (_a) {
7519
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_rugby_game/" + gameId + "/game_protocol/", {
7520
+ params: new http.HttpParams().set('file_type', 'pdf'),
7521
+ responseType: 'blob'
7522
+ }).toPromise()];
7523
+ });
7524
+ });
7525
+ };
7433
7526
  RugbyGameApi.ctorParameters = function () { return [
7434
7527
  { type: http.HttpClient },
7435
7528
  { type: ConfigService }
@@ -9261,63 +9354,78 @@
9261
9354
  _a$6);
9262
9355
 
9263
9356
  var _a$7;
9264
- var RugbyGameLogTypeLocalization = (_a$7 = {},
9265
- _a$7[exports.RugbyGameLogTypes.enter_game] = 'Выход на площадку',
9266
- _a$7[exports.RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
9267
- _a$7[exports.RugbyGameLogTypes.try] = 'Попытка',
9268
- _a$7[exports.RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
9269
- _a$7[exports.RugbyGameLogTypes.conversion_goal] = 'Реализация',
9270
- _a$7[exports.RugbyGameLogTypes.conversion_miss] = 'Реализация промах',
9271
- _a$7[exports.RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
9272
- _a$7[exports.RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
9273
- _a$7[exports.RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
9274
- _a$7[exports.RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
9275
- _a$7[exports.RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
9276
- _a$7[exports.RugbyGameLogTypes.free_kick] = 'Свободный удар',
9277
- _a$7[exports.RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
9278
- _a$7[exports.RugbyGameLogTypes.red_card] = 'Красная карточка',
9279
- _a$7[exports.RugbyGameLogTypes.offload] = 'Скидка при завхвате',
9280
- _a$7[exports.RugbyGameLogTypes.tackle] = 'Успешный захват',
9281
- _a$7[exports.RugbyGameLogTypes.out] = 'Аут',
9282
- _a$7[exports.RugbyGameLogTypes.handling_error] = 'Ошибка приема',
9283
- _a$7[exports.RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
9284
- _a$7[exports.RugbyGameLogTypes.timeout] = 'Таймаут',
9285
- _a$7[exports.RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
9286
- _a$7[exports.RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
9287
- _a$7[exports.RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
9288
- _a$7[exports.RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
9289
- _a$7[exports.RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
9290
- _a$7[exports.RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
9291
- _a$7[exports.RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
9292
- _a$7[exports.RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
9293
- _a$7[exports.RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
9294
- _a$7[exports.RugbyGameLogTypes.maul_won] = 'Мол выиграно',
9295
- _a$7[exports.RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
9296
- _a$7[exports.RugbyGameLogTypes.team_foul] = 'Фол',
9357
+ var RugbyFoulSanctionLocalization = (_a$7 = {},
9358
+ _a$7[exports.RugbyFoulSanctions.scrum] = 'Схватка',
9359
+ _a$7[exports.RugbyFoulSanctions.lineout] = 'Корридор',
9360
+ _a$7[exports.RugbyFoulSanctions.free_kick] = 'Свободный удар',
9361
+ _a$7[exports.RugbyFoulSanctions.penalty_shot] = 'Штрафной удар',
9362
+ _a$7[exports.RugbyFoulSanctions.yellow_card] = 'Желтая карточка',
9363
+ _a$7[exports.RugbyFoulSanctions.red_card] = 'Красная карточка',
9297
9364
  _a$7);
9298
9365
 
9299
9366
  var _a$8;
9300
- var TeamUserRoleLocalization = (_a$8 = {},
9301
- _a$8[exports.TeamUserRole.member] = 'Пользователь',
9302
- _a$8[exports.TeamUserRole.moderator] = 'Модератор',
9303
- _a$8[exports.TeamUserRole.admin] = 'Владелец',
9304
- _a$8[exports.TeamUserRole.coach] = 'Тренер',
9305
- _a$8[exports.TeamUserRole.head_coach] = 'Главный тренер',
9306
- _a$8[exports.TeamUserRole.playing_coach] = 'Играющий тренер',
9307
- _a$8[exports.TeamUserRole.manager] = 'Менеджер',
9308
- _a$8[exports.TeamUserRole.head_manager] = 'Генеральный менеджер',
9309
- _a$8[exports.TeamUserRole.captain] = 'Капитан',
9310
- _a$8[exports.TeamUserRole.assistant] = 'Ассистент',
9367
+ var RugbyGameLogTypeLocalization = (_a$8 = {},
9368
+ _a$8[exports.RugbyGameLogTypes.enter_game] = 'Выход на площадку',
9369
+ _a$8[exports.RugbyGameLogTypes.exit_game] = 'Ушел с площадки',
9370
+ _a$8[exports.RugbyGameLogTypes.try] = 'Попытка',
9371
+ _a$8[exports.RugbyGameLogTypes.penalty_try] = 'Штрафная попытка',
9372
+ _a$8[exports.RugbyGameLogTypes.conversion_goal] = 'Реализация',
9373
+ _a$8[exports.RugbyGameLogTypes.conversion_miss] = 'Реализация промах',
9374
+ _a$8[exports.RugbyGameLogTypes.drawing_ball] = 'Розыгрыш мяча',
9375
+ _a$8[exports.RugbyGameLogTypes.penalty_miss] = 'Штрафной промах',
9376
+ _a$8[exports.RugbyGameLogTypes.penalty_goal] = 'Штрафной гол',
9377
+ _a$8[exports.RugbyGameLogTypes.drop_goal] = 'Дроп-гол',
9378
+ _a$8[exports.RugbyGameLogTypes.drop_goal_miss] = 'Дроп-гол промах',
9379
+ _a$8[exports.RugbyGameLogTypes.free_kick] = 'Свободный удар',
9380
+ _a$8[exports.RugbyGameLogTypes.foul] = 'Фол',
9381
+ _a$8[exports.RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
9382
+ _a$8[exports.RugbyGameLogTypes.red_card] = 'Красная карточка',
9383
+ _a$8[exports.RugbyGameLogTypes.offload] = 'Скидка при завхвате',
9384
+ _a$8[exports.RugbyGameLogTypes.tackle] = 'Успешный захват',
9385
+ _a$8[exports.RugbyGameLogTypes.out] = 'Аут',
9386
+ _a$8[exports.RugbyGameLogTypes.handling_error] = 'Ошибка приема',
9387
+ _a$8[exports.RugbyGameLogTypes.carries_other_gainline] = 'Прорыв линии',
9388
+ _a$8[exports.RugbyGameLogTypes.bleeding_injury] = 'Кровоточащая травма',
9389
+ _a$8[exports.RugbyGameLogTypes.head_injury] = 'Травма головы',
9390
+ _a$8[exports.RugbyGameLogTypes.end_game_penalty_miss] = 'Штрафной промах',
9391
+ _a$8[exports.RugbyGameLogTypes.end_game_penalty_goal] = 'Штрафной гол',
9392
+ _a$8[exports.RugbyGameLogTypes.timeout] = 'Таймаут',
9393
+ _a$8[exports.RugbyGameLogTypes.scrum_won] = 'Свахтка выиграна',
9394
+ _a$8[exports.RugbyGameLogTypes.scrum_lose] = 'Схватка проиграна',
9395
+ _a$8[exports.RugbyGameLogTypes.scrum_won_free] = 'Схватка выиграна без сопротивления',
9396
+ _a$8[exports.RugbyGameLogTypes.lineout_success] = 'Корридор выиграно',
9397
+ _a$8[exports.RugbyGameLogTypes.lineout_loss] = 'Корридор потеря',
9398
+ _a$8[exports.RugbyGameLogTypes.lineout_steal] = 'Корридор перехват',
9399
+ _a$8[exports.RugbyGameLogTypes.quick_throw] = 'Быстрый вброс',
9400
+ _a$8[exports.RugbyGameLogTypes.ruck_won] = 'Рак выиграно',
9401
+ _a$8[exports.RugbyGameLogTypes.ruck_lose] = 'Рак проиграно',
9402
+ _a$8[exports.RugbyGameLogTypes.maul_won] = 'Мол выиграно',
9403
+ _a$8[exports.RugbyGameLogTypes.maul_lose] = 'Мол проиграно',
9404
+ _a$8[exports.RugbyGameLogTypes.team_foul] = 'Фол',
9311
9405
  _a$8);
9312
9406
 
9313
- var _a$9, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
9314
- var GameBasketballPositionLocalization = (_a$9 = {},
9315
- _a$9[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
9316
- _a$9[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
9317
- _a$9[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
9318
- _a$9[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
9319
- _a$9[exports.GameBasketballPosition.center] = 'Центровой',
9407
+ var _a$9;
9408
+ var TeamUserRoleLocalization = (_a$9 = {},
9409
+ _a$9[exports.TeamUserRole.member] = 'Пользователь',
9410
+ _a$9[exports.TeamUserRole.moderator] = 'Модератор',
9411
+ _a$9[exports.TeamUserRole.admin] = 'Владелец',
9412
+ _a$9[exports.TeamUserRole.coach] = 'Тренер',
9413
+ _a$9[exports.TeamUserRole.head_coach] = 'Главный тренер',
9414
+ _a$9[exports.TeamUserRole.playing_coach] = 'Играющий тренер',
9415
+ _a$9[exports.TeamUserRole.manager] = 'Менеджер',
9416
+ _a$9[exports.TeamUserRole.head_manager] = 'Генеральный менеджер',
9417
+ _a$9[exports.TeamUserRole.captain] = 'Капитан',
9418
+ _a$9[exports.TeamUserRole.assistant] = 'Ассистент',
9320
9419
  _a$9);
9420
+
9421
+ var _a$a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
9422
+ var GameBasketballPositionLocalization = (_a$a = {},
9423
+ _a$a[exports.GameBasketballPosition.point_guard] = 'Разыгрывающий защитник',
9424
+ _a$a[exports.GameBasketballPosition.shooting_guard] = 'Атакующий защитник',
9425
+ _a$a[exports.GameBasketballPosition.small_forward] = 'Легкий форвард',
9426
+ _a$a[exports.GameBasketballPosition.power_forward] = 'Мощный форвард',
9427
+ _a$a[exports.GameBasketballPosition.center] = 'Центровой',
9428
+ _a$a);
9321
9429
  var GameBasketballPositionShortLocalization = (_b = {},
9322
9430
  _b[exports.GameBasketballPosition.point_guard] = 'PG',
9323
9431
  _b[exports.GameBasketballPosition.shooting_guard] = 'SG',
@@ -9386,31 +9494,31 @@
9386
9494
  _m[exports.GameRugbyPosition.fullback] = 'Замыкающий',
9387
9495
  _m);
9388
9496
 
9389
- var _a$a;
9390
- var VolleyballGameLogTypeLocalization = (_a$a = {},
9391
- _a$a[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
9392
- _a$a[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
9393
- _a$a[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
9394
- _a$a[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
9395
- _a$a[exports.VolleyballGameLogType.serve_hit] = 'Подача',
9396
- _a$a[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
9397
- _a$a[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
9398
- _a$a[exports.VolleyballGameLogType.attack_shot] = 'Атака',
9399
- _a$a[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
9400
- _a$a[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
9401
- _a$a[exports.VolleyballGameLogType.block_rebound] = 'Блок',
9402
- _a$a[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
9403
- _a$a[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
9404
- _a$a[exports.VolleyballGameLogType.receive] = 'Прием',
9405
- _a$a[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
9406
- _a$a[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
9407
- _a$a[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
9408
- _a$a[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
9409
- _a$a[exports.VolleyballGameLogType.point] = 'Очко',
9410
- _a$a[exports.VolleyballGameLogType.fault] = 'Ошибка',
9411
- _a$a[exports.VolleyballGameLogType.timeout] = 'Таймаут',
9412
- _a$a[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
9413
- _a$a);
9497
+ var _a$b;
9498
+ var VolleyballGameLogTypeLocalization = (_a$b = {},
9499
+ _a$b[exports.VolleyballGameLogType.enter_game] = 'Выход на площадку',
9500
+ _a$b[exports.VolleyballGameLogType.exit_game] = 'Уход с площадки',
9501
+ _a$b[exports.VolleyballGameLogType.remove_game] = 'Удаление с площадки',
9502
+ _a$b[exports.VolleyballGameLogType.serve_ace] = 'Эйс',
9503
+ _a$b[exports.VolleyballGameLogType.serve_hit] = 'Подача',
9504
+ _a$b[exports.VolleyballGameLogType.serve_fault] = 'Ошибка на подаче',
9505
+ _a$b[exports.VolleyballGameLogType.attack_spike] = 'Результативная атака',
9506
+ _a$b[exports.VolleyballGameLogType.attack_shot] = 'Атака',
9507
+ _a$b[exports.VolleyballGameLogType.attack_fault] = 'Ошибка атаки',
9508
+ _a$b[exports.VolleyballGameLogType.stuff_block] = 'Результативный блок',
9509
+ _a$b[exports.VolleyballGameLogType.block_rebound] = 'Блок',
9510
+ _a$b[exports.VolleyballGameLogType.block_fault] = 'Ошибка на блоке',
9511
+ _a$b[exports.VolleyballGameLogType.excellent_receive] = 'Отличный прием',
9512
+ _a$b[exports.VolleyballGameLogType.receive] = 'Прием',
9513
+ _a$b[exports.VolleyballGameLogType.receive_fault] = 'Ошибка на приеме',
9514
+ _a$b[exports.VolleyballGameLogType.serve_receive] = 'Прием подачи',
9515
+ _a$b[exports.VolleyballGameLogType.excellent_serve_receive] = 'Отличный прием подачи',
9516
+ _a$b[exports.VolleyballGameLogType.serve_receive_fault] = 'Ошибка приема подачи',
9517
+ _a$b[exports.VolleyballGameLogType.point] = 'Очко',
9518
+ _a$b[exports.VolleyballGameLogType.fault] = 'Ошибка',
9519
+ _a$b[exports.VolleyballGameLogType.timeout] = 'Таймаут',
9520
+ _a$b[exports.VolleyballGameLogType.yellow_card] = 'Предупреждение',
9521
+ _a$b);
9414
9522
 
9415
9523
  var LeaguePlaylist = /** @class */ (function (_super) {
9416
9524
  __extends(LeaguePlaylist, _super);
@@ -9958,6 +10066,8 @@
9958
10066
  exports.RUGBY_GAME_LOG_TYPE_POINTS = RUGBY_GAME_LOG_TYPE_POINTS;
9959
10067
  exports.RUGBY_TEAM_LOG_TYPES = RUGBY_TEAM_LOG_TYPES;
9960
10068
  exports.ReferenceApi = ReferenceApi;
10069
+ exports.RugbyFoulSanctionLocalization = RugbyFoulSanctionLocalization;
10070
+ exports.RugbyFoulType = RugbyFoulType;
9961
10071
  exports.RugbyGameApi = RugbyGameApi;
9962
10072
  exports.RugbyGameConfig = RugbyGameConfig;
9963
10073
  exports.RugbyGameLog = RugbyGameLog;