@mtgame/core 0.0.57 → 0.0.58

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.
@@ -7085,6 +7085,16 @@ var VolleyballGameApi = /** @class */ (function (_super) {
7085
7085
  });
7086
7086
  });
7087
7087
  };
7088
+ VolleyballGameApi.prototype.downloadProtocol = function (gameId, format) {
7089
+ return __awaiter(this, void 0, void 0, function () {
7090
+ return __generator(this, function (_a) {
7091
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament_volleyball_game/" + gameId + "/game_protocol/", {
7092
+ params: new HttpParams().set('file_type', format),
7093
+ responseType: 'blob'
7094
+ }).toPromise()];
7095
+ });
7096
+ });
7097
+ };
7088
7098
  VolleyballGameApi.ctorParameters = function () { return [
7089
7099
  { type: HttpClient },
7090
7100
  { type: ConfigService }