@mtgame/core 0.0.37 → 0.0.39

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 (46) hide show
  1. package/api/basketball-game-api.d.ts +1 -0
  2. package/api/league-api.d.ts +6 -1
  3. package/api/league-news-api.d.ts +2 -1
  4. package/api/media-api.d.ts +5 -0
  5. package/api/public-api.d.ts +1 -0
  6. package/api/tournament-api.d.ts +4 -1
  7. package/api/tournament-season-api.d.ts +23 -0
  8. package/bundles/mtgame-core.umd.js +302 -7
  9. package/bundles/mtgame-core.umd.js.map +1 -1
  10. package/bundles/mtgame-core.umd.min.js +1 -1
  11. package/bundles/mtgame-core.umd.min.js.map +1 -1
  12. package/esm2015/api/basketball-game-api.js +7 -1
  13. package/esm2015/api/league-api.js +50 -1
  14. package/esm2015/api/league-news-api.js +13 -4
  15. package/esm2015/api/media-api.js +17 -1
  16. package/esm2015/api/public-api.js +2 -1
  17. package/esm2015/api/tournament-api.js +10 -3
  18. package/esm2015/api/tournament-season-api.js +138 -0
  19. package/esm2015/models/game.js +4 -1
  20. package/esm2015/models/public-api.js +2 -1
  21. package/esm2015/models/tournament-season.js +40 -0
  22. package/esm2015/models/tournament-team.js +2 -1
  23. package/esm2015/models/tournament.js +10 -3
  24. package/esm5/api/basketball-game-api.js +9 -1
  25. package/esm5/api/league-api.js +58 -1
  26. package/esm5/api/league-news-api.js +16 -4
  27. package/esm5/api/media-api.js +21 -1
  28. package/esm5/api/public-api.js +2 -1
  29. package/esm5/api/tournament-api.js +11 -4
  30. package/esm5/api/tournament-season-api.js +156 -0
  31. package/esm5/models/game.js +4 -1
  32. package/esm5/models/public-api.js +2 -1
  33. package/esm5/models/tournament-season.js +45 -0
  34. package/esm5/models/tournament-team.js +2 -1
  35. package/esm5/models/tournament.js +10 -3
  36. package/fesm2015/mtgame-core.js +260 -7
  37. package/fesm2015/mtgame-core.js.map +1 -1
  38. package/fesm5/mtgame-core.js +301 -8
  39. package/fesm5/mtgame-core.js.map +1 -1
  40. package/models/game.d.ts +2 -0
  41. package/models/public-api.d.ts +1 -0
  42. package/models/tournament-season.d.ts +18 -0
  43. package/models/tournament-team.d.ts +1 -0
  44. package/models/tournament.d.ts +4 -0
  45. package/mtgame-core.metadata.json +1 -1
  46. package/package.json +1 -1
@@ -879,6 +879,47 @@ var League = /** @class */ (function (_super) {
879
879
  return League;
880
880
  }(BaseModel));
881
881
 
882
+ var TournamentSeasonStatuses;
883
+ (function (TournamentSeasonStatuses) {
884
+ TournamentSeasonStatuses[TournamentSeasonStatuses["open"] = 0] = "open";
885
+ TournamentSeasonStatuses[TournamentSeasonStatuses["in_progress"] = 1] = "in_progress";
886
+ TournamentSeasonStatuses[TournamentSeasonStatuses["closed"] = 2] = "closed";
887
+ })(TournamentSeasonStatuses || (TournamentSeasonStatuses = {}));
888
+ var TournamentSeason = /** @class */ (function (_super) {
889
+ __extends(TournamentSeason, _super);
890
+ function TournamentSeason() {
891
+ return _super !== null && _super.apply(this, arguments) || this;
892
+ }
893
+ TournamentSeason.toFront = function (data) { };
894
+ TournamentSeason.toBack = function (data) { };
895
+ __decorate([
896
+ ToFrontHook
897
+ ], TournamentSeason, "toFront", null);
898
+ __decorate([
899
+ ToBackHook
900
+ ], TournamentSeason, "toBack", null);
901
+ TournamentSeason = __decorate([
902
+ ModelInstance({
903
+ mappingFields: {
904
+ id: 'id',
905
+ name: 'name',
906
+ alias: 'alias',
907
+ logo: 'logo',
908
+ cover: 'cover',
909
+ preview_image: 'previewImage',
910
+ status: 'status',
911
+ },
912
+ relation: {
913
+ logo: File,
914
+ cover: File,
915
+ previewImage: File,
916
+ status: enumField(TournamentSeasonStatuses),
917
+ }
918
+ })
919
+ ], TournamentSeason);
920
+ return TournamentSeason;
921
+ }(BaseModel));
922
+
882
923
  var TournamentTypes;
883
924
  (function (TournamentTypes) {
884
925
  TournamentTypes["group"] = "group";
@@ -1056,7 +1097,10 @@ var Tournament = /** @class */ (function (_super) {
1056
1097
  teams_count: 'teamsCount',
1057
1098
  closest_game_datetime: 'closestGameDatetime',
1058
1099
  status: 'status',
1059
- team_winner: 'teamWinner'
1100
+ team_winner: 'teamWinner',
1101
+ team_second: 'teamSecond',
1102
+ team_third: 'teamThird',
1103
+ season: 'season',
1060
1104
  },
1061
1105
  relation: {
1062
1106
  logo: File,
@@ -1069,7 +1113,10 @@ var Tournament = /** @class */ (function (_super) {
1069
1113
  date: DateTimeField,
1070
1114
  league: League,
1071
1115
  status: enumField(TournamentStatuses),
1072
- teamWinner: TournamentTeamWinner
1116
+ teamWinner: TournamentTeamWinner,
1117
+ teamSecond: TournamentTeamWinner,
1118
+ teamThird: TournamentTeamWinner,
1119
+ season: TournamentSeason,
1073
1120
  }
1074
1121
  })
1075
1122
  ], Tournament);
@@ -1382,6 +1429,7 @@ var Game = /** @class */ (function (_super) {
1382
1429
  tournament_court: 'tournamentCourt',
1383
1430
  media_count: 'mediaCount',
1384
1431
  media: 'media',
1432
+ tournament: 'tournament',
1385
1433
  },
1386
1434
  relation: {
1387
1435
  status: enumField(GameStatuses),
@@ -1394,6 +1442,7 @@ var Game = /** @class */ (function (_super) {
1394
1442
  hockeyGameConfig: HockeyGameConfig,
1395
1443
  tournamentCourt: LeagueCourt,
1396
1444
  media: listField(MediaItem),
1445
+ tournament: Tournament,
1397
1446
  }
1398
1447
  })
1399
1448
  ], Game);
@@ -1496,6 +1545,7 @@ var TournamentTeam = /** @class */ (function (_super) {
1496
1545
  tournament: 'tournament',
1497
1546
  team: 'team',
1498
1547
  group: 'group',
1548
+ final_standing: 'finalStanding',
1499
1549
  games_count: 'gamesCount',
1500
1550
  won_games_count: 'wonGamesCount',
1501
1551
  draw_games_count: 'drawGamesCount',
@@ -2184,6 +2234,14 @@ var BasketballGameApi = /** @class */ (function () {
2184
2234
  });
2185
2235
  });
2186
2236
  };
2237
+ BasketballGameApi.prototype.downloadFibaProtocol = function (gameId, fileType) {
2238
+ return __awaiter(this, void 0, void 0, function () {
2239
+ return __generator(this, function (_a) {
2240
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol_fiba/?file_type=" + fileType, { responseType: 'blob' })
2241
+ .toPromise()];
2242
+ });
2243
+ });
2244
+ };
2187
2245
  BasketballGameApi.ctorParameters = function () { return [
2188
2246
  { type: HttpClient },
2189
2247
  { type: ConfigService }
@@ -2907,6 +2965,9 @@ var LeagueApi = /** @class */ (function () {
2907
2965
  if (filters.search) {
2908
2966
  params = params.set('search', filters.search);
2909
2967
  }
2968
+ if (filters.tournamentTour) {
2969
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
2970
+ }
2910
2971
  }
2911
2972
  return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/events/", { params: params, observe: 'response' }).pipe(map(function (result) { return ({
2912
2973
  total: +result.headers.get('X-Page-Count'),
@@ -2915,6 +2976,58 @@ var LeagueApi = /** @class */ (function () {
2915
2976
  });
2916
2977
  });
2917
2978
  };
2979
+ LeagueApi.prototype.getTournamentSeasons = function (leagueId) {
2980
+ return __awaiter(this, void 0, void 0, function () {
2981
+ return __generator(this, function (_a) {
2982
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/tournament_seasons/").pipe(map(function (result) { return TournamentSeason.toFront(result); })).toPromise()];
2983
+ });
2984
+ });
2985
+ };
2986
+ LeagueApi.prototype.getGames = function (leagueId, page, size, filters) {
2987
+ return __awaiter(this, void 0, void 0, function () {
2988
+ var params, statuses;
2989
+ return __generator(this, function (_a) {
2990
+ params = new HttpParams().set('page', page.toString());
2991
+ if (size) {
2992
+ params = params.set('size', size.toString());
2993
+ }
2994
+ if (filters.tournamentStageId) {
2995
+ params = params.set('tournament_stage_id', filters.tournamentStageId.toString());
2996
+ }
2997
+ if (filters.tournamentTour) {
2998
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
2999
+ }
3000
+ if (filters.playoffStage) {
3001
+ params = params.set('playoff_stage', filters.playoffStage.toString());
3002
+ }
3003
+ if (filters.teamId) {
3004
+ params = params.set('team_id', filters.teamId.toString());
3005
+ }
3006
+ if (filters.status) {
3007
+ params = params.set('status', GameStatuses[filters.status]);
3008
+ }
3009
+ if (filters.statuses) {
3010
+ statuses = filters.statuses.map(function (i) { return GameStatuses[i]; });
3011
+ params = params.set('statuses', statuses.join(','));
3012
+ }
3013
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/games/", { params: params, observe: 'response' }).pipe(map(function (result) { return ({
3014
+ total: +result.headers.get('X-Page-Count'),
3015
+ data: Game.toFront(result.body)
3016
+ }); })).toPromise()];
3017
+ });
3018
+ });
3019
+ };
3020
+ LeagueApi.prototype.getSeasons = function (leagueId, notClosed) {
3021
+ return __awaiter(this, void 0, void 0, function () {
3022
+ var params;
3023
+ return __generator(this, function (_a) {
3024
+ params = new HttpParams().set('not_closed', notClosed ? '1' : '');
3025
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/tournament_seasons/", { params: params })
3026
+ .pipe(map(function (result) { return TournamentSeason.toFront(result); }))
3027
+ .toPromise()];
3028
+ });
3029
+ });
3030
+ };
2918
3031
  LeagueApi.ctorParameters = function () { return [
2919
3032
  { type: HttpClient },
2920
3033
  { type: ConfigService }
@@ -2931,10 +3044,13 @@ var LeagueNewsApi = /** @class */ (function () {
2931
3044
  this.httpClient = httpClient;
2932
3045
  this.configService = configService;
2933
3046
  }
2934
- LeagueNewsApi.prototype.getLeagueNewsList = function (leagueId) {
3047
+ LeagueNewsApi.prototype.getLeagueNewsList = function (leagueId, page, size) {
2935
3048
  return __awaiter(this, void 0, void 0, function () {
3049
+ var params;
2936
3050
  return __generator(this, function (_a) {
2937
- return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/news/", { observe: 'response' })
3051
+ params = new HttpParams().set('page', page.toString())
3052
+ .set('size', size.toString());
3053
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/news/", { params: params, observe: 'response' })
2938
3054
  .pipe(map(function (response) { return ({
2939
3055
  total: +response.headers.get('X-Page-Count'),
2940
3056
  data: LeagueNews.toFront(response.body)
@@ -2952,6 +3068,15 @@ var LeagueNewsApi = /** @class */ (function () {
2952
3068
  });
2953
3069
  });
2954
3070
  };
3071
+ LeagueNewsApi.prototype.getMainLeagueNewsList = function (leagueId) {
3072
+ return __awaiter(this, void 0, void 0, function () {
3073
+ return __generator(this, function (_a) {
3074
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/news/?is_main=true")
3075
+ .pipe(map(function (response) { return LeagueNews.toFront(response); }))
3076
+ .toPromise()];
3077
+ });
3078
+ });
3079
+ };
2955
3080
  LeagueNewsApi.prototype.getNewsById = function (newsId) {
2956
3081
  return __awaiter(this, void 0, void 0, function () {
2957
3082
  return __generator(this, function (_a) {
@@ -3064,6 +3189,26 @@ var MediaApi = /** @class */ (function () {
3064
3189
  });
3065
3190
  });
3066
3191
  };
3192
+ MediaApi.prototype.getLeagueMedia = function (leagueId, page, size, filters) {
3193
+ if (filters === void 0) { filters = {}; }
3194
+ return __awaiter(this, void 0, void 0, function () {
3195
+ var params;
3196
+ return __generator(this, function (_a) {
3197
+ params = new HttpParams().set('page', page.toString()).set('size', size.toString());
3198
+ if (filters.mediaType) {
3199
+ params = params.set('media_type', filters.mediaType);
3200
+ }
3201
+ if (filters.sort) {
3202
+ params = params.set('sort', filters.sort);
3203
+ }
3204
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/media/", { params: params, observe: 'response' })
3205
+ .pipe(map(function (response) { return ({
3206
+ total: +response.headers.get('X-Page-Count'),
3207
+ data: MediaItem.toFront(response.body)
3208
+ }); })).toPromise()];
3209
+ });
3210
+ });
3211
+ };
3067
3212
  MediaApi.prototype.getGameMediaById = function (gameId) {
3068
3213
  return __awaiter(this, void 0, void 0, function () {
3069
3214
  return __generator(this, function (_a) {
@@ -4895,10 +5040,10 @@ var TournamentApi = /** @class */ (function () {
4895
5040
  this.httpClient = httpClient;
4896
5041
  this.configService = configService;
4897
5042
  }
4898
- TournamentApi.prototype.getByAlias = function (alias) {
5043
+ TournamentApi.prototype.getByAlias = function (leagueId, alias) {
4899
5044
  return __awaiter(this, void 0, void 0, function () {
4900
5045
  return __generator(this, function (_a) {
4901
- return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament/" + alias + "/")
5046
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/tournaments/" + alias + "/")
4902
5047
  .pipe(map(function (result) { return Tournament.toFront(result); }))
4903
5048
  .toPromise()];
4904
5049
  });
@@ -4926,6 +5071,9 @@ var TournamentApi = /** @class */ (function () {
4926
5071
  if (filters.search) {
4927
5072
  params = params.set('search', filters.search);
4928
5073
  }
5074
+ if (filters.tournamentTour) {
5075
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
5076
+ }
4929
5077
  }
4930
5078
  return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament/" + tournamentId + "/events/", { params: params, observe: 'response' })
4931
5079
  .pipe(map(function (result) { return ({
@@ -4969,7 +5117,7 @@ var TournamentApi = /** @class */ (function () {
4969
5117
  TournamentApi.prototype.getGames = function (tournamentId, page, size, filters) {
4970
5118
  if (filters === void 0) { filters = {}; }
4971
5119
  return __awaiter(this, void 0, void 0, function () {
4972
- var params;
5120
+ var params, statuses;
4973
5121
  return __generator(this, function (_a) {
4974
5122
  params = new HttpParams().set('page', page.toString());
4975
5123
  if (size) {
@@ -4990,6 +5138,10 @@ var TournamentApi = /** @class */ (function () {
4990
5138
  if (filters.status) {
4991
5139
  params = params.set('status', GameStatuses[filters.status]);
4992
5140
  }
5141
+ if (filters.statuses) {
5142
+ statuses = filters.statuses.map(function (i) { return GameStatuses[i]; });
5143
+ params = params.set('statuses', statuses.join(','));
5144
+ }
4993
5145
  return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament/" + tournamentId + "/games/", { params: params, observe: 'response' })
4994
5146
  .pipe(map(function (result) { return ({
4995
5147
  total: +result.headers.get('X-Page-Count'),
@@ -5272,6 +5424,147 @@ var TournamentJoinApi = /** @class */ (function () {
5272
5424
  return TournamentJoinApi;
5273
5425
  }());
5274
5426
 
5427
+ var TournamentSeasonApi = /** @class */ (function () {
5428
+ function TournamentSeasonApi(httpClient, configService) {
5429
+ this.httpClient = httpClient;
5430
+ this.configService = configService;
5431
+ }
5432
+ TournamentSeasonApi.prototype.getByAlias = function (leagueId, alias) {
5433
+ return __awaiter(this, void 0, void 0, function () {
5434
+ return __generator(this, function (_a) {
5435
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/tournament_seasons/" + alias + "/").pipe(map(function (result) { return TournamentSeason.toFront(result); })).toPromise()];
5436
+ });
5437
+ });
5438
+ };
5439
+ TournamentSeasonApi.prototype.getTournaments = function (seasonId) {
5440
+ return __awaiter(this, void 0, void 0, function () {
5441
+ return __generator(this, function (_a) {
5442
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/tournaments/").pipe(map(function (result) { return Tournament.toFront(result); })).toPromise()];
5443
+ });
5444
+ });
5445
+ };
5446
+ TournamentSeasonApi.prototype.getGames = function (seasonId, page, size, filters) {
5447
+ return __awaiter(this, void 0, void 0, function () {
5448
+ var params, statuses;
5449
+ return __generator(this, function (_a) {
5450
+ params = new HttpParams().set('page', page.toString());
5451
+ if (size) {
5452
+ params = params.set('size', size.toString());
5453
+ }
5454
+ if (filters.tournamentStageId) {
5455
+ params = params.set('tournament_stage_id', filters.tournamentStageId.toString());
5456
+ }
5457
+ if (filters.tournamentTour) {
5458
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
5459
+ }
5460
+ if (filters.playoffStage) {
5461
+ params = params.set('playoff_stage', filters.playoffStage.toString());
5462
+ }
5463
+ if (filters.teamId) {
5464
+ params = params.set('team_id', filters.teamId.toString());
5465
+ }
5466
+ if (filters.status) {
5467
+ params = params.set('status', GameStatuses[filters.status]);
5468
+ }
5469
+ if (filters.statuses) {
5470
+ statuses = filters.statuses.map(function (i) { return GameStatuses[i]; });
5471
+ params = params.set('statuses', statuses.join(','));
5472
+ }
5473
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/games/", { params: params, observe: 'response' }).pipe(map(function (result) { return ({
5474
+ total: +result.headers.get('X-Page-Count'),
5475
+ data: Game.toFront(result.body)
5476
+ }); })).toPromise()];
5477
+ });
5478
+ });
5479
+ };
5480
+ TournamentSeasonApi.prototype.getEvents = function (seasonId, page, size, filters) {
5481
+ return __awaiter(this, void 0, void 0, function () {
5482
+ var params;
5483
+ return __generator(this, function (_a) {
5484
+ params = new HttpParams().set('page', page.toString())
5485
+ .set('size', size.toString());
5486
+ if (filters) {
5487
+ if (filters.event) {
5488
+ params = params.set('event', TournamentEventTypes[filters.event]);
5489
+ }
5490
+ if (filters.search) {
5491
+ params = params.set('search', filters.search);
5492
+ }
5493
+ if (filters.tournamentTour) {
5494
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
5495
+ }
5496
+ }
5497
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/events/", { params: params, observe: 'response' })
5498
+ .pipe(map(function (result) { return ({
5499
+ total: +result.headers.get('X-Page-Count'),
5500
+ data: TournamentEvent.toFront(result.body)
5501
+ }); }))
5502
+ .toPromise()];
5503
+ });
5504
+ });
5505
+ };
5506
+ TournamentSeasonApi.prototype.getGameMedia = function (seasonId, page, size, filters) {
5507
+ return __awaiter(this, void 0, void 0, function () {
5508
+ var params;
5509
+ return __generator(this, function (_a) {
5510
+ params = new HttpParams().set('page', page.toString()).set('size', size.toString());
5511
+ if (filters) {
5512
+ if (filters.tournamentTour) {
5513
+ params = params.set('tournament_tour', filters.tournamentTour.toString());
5514
+ }
5515
+ if (filters.teamId) {
5516
+ params = params.set('team_id', filters.teamId.toString());
5517
+ }
5518
+ if (filters.tournamentStageId) {
5519
+ params = params.set('tournament_stage_id', filters.tournamentStageId.toString());
5520
+ }
5521
+ if (filters.playoffId) {
5522
+ params = params.set('playoff_id', filters.playoffId.toString());
5523
+ }
5524
+ if (filters.playoffStage) {
5525
+ params = params.set('playoff_stage', filters.playoffStage.toString());
5526
+ }
5527
+ if (filters.status) {
5528
+ params = params.set('status', GameStatuses[filters.status]);
5529
+ }
5530
+ }
5531
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/game_media/", { observe: 'response', params: params })
5532
+ .pipe(map(function (response) {
5533
+ return {
5534
+ total: +response.headers.get('X-Page-Count'),
5535
+ data: Game.toFront(response.body)
5536
+ };
5537
+ })).toPromise()];
5538
+ });
5539
+ });
5540
+ };
5541
+ TournamentSeasonApi.prototype.getTeams = function (seasonId) {
5542
+ return __awaiter(this, void 0, void 0, function () {
5543
+ return __generator(this, function (_a) {
5544
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/teams/").pipe(map(function (result) { return TournamentTeam.toFront(result); })).toPromise()];
5545
+ });
5546
+ });
5547
+ };
5548
+ TournamentSeasonApi.prototype.getGamesStages = function (seasonId) {
5549
+ return __awaiter(this, void 0, void 0, function () {
5550
+ return __generator(this, function (_a) {
5551
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_season/" + seasonId + "/games_stages/")
5552
+ .pipe(map(function (data) { return GameTimelineStages.toFront(data); }))
5553
+ .toPromise()];
5554
+ });
5555
+ });
5556
+ };
5557
+ TournamentSeasonApi.ctorParameters = function () { return [
5558
+ { type: HttpClient },
5559
+ { type: ConfigService }
5560
+ ]; };
5561
+ TournamentSeasonApi.ɵprov = ɵɵdefineInjectable({ factory: function TournamentSeasonApi_Factory() { return new TournamentSeasonApi(ɵɵinject(HttpClient), ɵɵinject(ConfigService)); }, token: TournamentSeasonApi, providedIn: "root" });
5562
+ TournamentSeasonApi = __decorate([
5563
+ Injectable({ providedIn: 'root' })
5564
+ ], TournamentSeasonApi);
5565
+ return TournamentSeasonApi;
5566
+ }());
5567
+
5275
5568
  var TournamentStageApi = /** @class */ (function () {
5276
5569
  function TournamentStageApi(httpClient, configService) {
5277
5570
  this.httpClient = httpClient;
@@ -6555,5 +6848,5 @@ var HttpCookieInterceptor = /** @class */ (function () {
6555
6848
  * Generated bundle index. Do not edit.
6556
6849
  */
6557
6850
 
6558
- export { BaseModel, BaseService, BaseStatistic, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl, penaltyTypeField as ɵa };
6851
+ export { BaseModel, BaseService, BaseStatistic, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameHockeyPosition, GameHockeyPositionLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HockeyAdvantageTypes, HockeyGameApi, HockeyGameConfig, HockeyGameLog, HockeyGameLogTypeLocalization, HockeyGameLogTypes, HockeyGameStatistic, HockeyGameTeamStatistic, HockeyPenaltyTypes, HockeyProfile, HockeyStatistic, HockeyWorkHand, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, PlayoffTypes, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSeason, TournamentSeasonApi, TournamentSeasonStatuses, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballStatisticTypes, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl, penaltyTypeField as ɵa };
6559
6852
  //# sourceMappingURL=mtgame-core.js.map