@mtgame/core 0.0.35 → 0.0.37

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.
@@ -14,5 +14,5 @@ export declare class BasketballGameApi {
14
14
  getTeamStatistic(gameId: number): Promise<BasketballGameTeamStatistic>;
15
15
  getUserStatistic(gameId: number): Promise<BasketballGameStatistic[]>;
16
16
  getLogs(gameId: number): Promise<BasketballGameLog[]>;
17
- downloadProtocol(gameId: number): Promise<any>;
17
+ downloadProtocol(gameId: number, fileType: 'xlsx' | 'pdf'): Promise<any>;
18
18
  }
@@ -2389,10 +2389,10 @@
2389
2389
  });
2390
2390
  });
2391
2391
  };
2392
- BasketballGameApi.prototype.downloadProtocol = function (gameId) {
2392
+ BasketballGameApi.prototype.downloadProtocol = function (gameId, fileType) {
2393
2393
  return __awaiter(this, void 0, void 0, function () {
2394
2394
  return __generator(this, function (_a) {
2395
- return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol/", { responseType: 'blob' })
2395
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_basketball_game/" + gameId + "/game_protocol/?file_type=" + fileType, { responseType: 'blob' })
2396
2396
  .toPromise()];
2397
2397
  });
2398
2398
  });
@@ -2633,6 +2633,7 @@
2633
2633
  is_goalie: 'isGoalie',
2634
2634
  penalty_type: 'penaltyType',
2635
2635
  penalized_game_user_id: 'penalizedGameUserId',
2636
+ mutual_penalty: 'mutualPenalty',
2636
2637
  },
2637
2638
  relation: {
2638
2639
  datetime: DateTimeField,