@mtgame/core 0.1.14 → 0.1.16

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.
@@ -13,5 +13,6 @@ export declare class VolleyballGameApi extends GameBaseApi {
13
13
  getTeamStatistic(gameId: number): Promise<VolleyballGameTeamStatistic>;
14
14
  getUserStatistic(gameId: number): Promise<VolleyballGameStatistic[]>;
15
15
  getLogs(gameId: number): Promise<VolleyballGameLog[]>;
16
+ downloadProtocolLight(gameId: number, format: 'pdf' | 'xlsx' | 'html'): Promise<any>;
16
17
  downloadProtocol(gameId: number, format: 'pdf' | 'xlsx' | 'html'): Promise<any>;
17
18
  }
@@ -8229,6 +8229,7 @@
8229
8229
  position: 'position',
8230
8230
  team_id: 'teamId',
8231
8231
  datetime: 'datetime',
8232
+ is_highlight: 'isHighlight',
8232
8233
  },
8233
8234
  relation: {
8234
8235
  logType: enumField(exports.VolleyballGameLogType),
@@ -8275,6 +8276,16 @@
8275
8276
  });
8276
8277
  });
8277
8278
  };
8279
+ VolleyballGameApi.prototype.downloadProtocolLight = function (gameId, format) {
8280
+ return __awaiter(this, void 0, void 0, function () {
8281
+ return __generator(this, function (_a) {
8282
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_volleyball_game/" + gameId + "/game_protocol_light/", {
8283
+ params: new http.HttpParams().set('file_type', format),
8284
+ responseType: 'blob'
8285
+ }).toPromise()];
8286
+ });
8287
+ });
8288
+ };
8278
8289
  VolleyballGameApi.prototype.downloadProtocol = function (gameId, format) {
8279
8290
  return __awaiter(this, void 0, void 0, function () {
8280
8291
  return __generator(this, function (_a) {