@mtgame/core 0.2.13 → 0.2.15

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.
@@ -23,6 +23,7 @@ import { TeamAchievement } from '../models/team-achievement';
23
23
  import { WaterpoloStatistic } from '../models/waterpolo-statistic';
24
24
  import { TournamentRound } from '../models/tournament-round';
25
25
  import { TournamentDivision } from '../models/tournament-division';
26
+ import { UserGender } from '../models/user';
26
27
  export interface TournamentGamesFilters {
27
28
  tournamentIds?: number[];
28
29
  tournamentSeasonId?: number;
@@ -66,6 +67,7 @@ export interface StatisticFilters {
66
67
  date_from?: string;
67
68
  date_to?: string;
68
69
  query?: string;
70
+ gender?: UserGender;
69
71
  per_game?: boolean;
70
72
  group_by: StatisticGroupByTypes;
71
73
  order_by?: string;
@@ -14,5 +14,6 @@ export declare class VolleyballGameApi extends GameBaseApi {
14
14
  getUserStatistic(gameId: number): Promise<VolleyballGameStatistic[]>;
15
15
  getLogs(gameId: number): Promise<VolleyballGameLog[]>;
16
16
  downloadProtocolLight(gameId: number, format: 'pdf' | 'xlsx' | 'html'): Promise<any>;
17
+ downloadProtocolAdvanced(gameId: number, format: 'pdf' | 'xlsx' | 'html'): Promise<any>;
17
18
  downloadProtocol(gameId: number, format: 'pdf' | 'xlsx' | 'html'): Promise<any>;
18
19
  }
@@ -11261,6 +11261,16 @@
11261
11261
  });
11262
11262
  });
11263
11263
  };
11264
+ VolleyballGameApi.prototype.downloadProtocolAdvanced = function (gameId, format) {
11265
+ return __awaiter(this, void 0, void 0, function () {
11266
+ return __generator(this, function (_a) {
11267
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_volleyball_game/" + gameId + "/game_protocol_advanced/", {
11268
+ params: new i1.HttpParams().set('file_type', format),
11269
+ responseType: 'blob'
11270
+ }).toPromise()];
11271
+ });
11272
+ });
11273
+ };
11264
11274
  VolleyballGameApi.prototype.downloadProtocol = function (gameId, format) {
11265
11275
  return __awaiter(this, void 0, void 0, function () {
11266
11276
  return __generator(this, function (_a) {