@mtgame/core 0.0.7 → 0.0.9

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.
@@ -769,7 +769,7 @@ var BasketballStatisticTypes;
769
769
  (function (BasketballStatisticTypes) {
770
770
  BasketballStatisticTypes[BasketballStatisticTypes["standard"] = 1] = "standard";
771
771
  BasketballStatisticTypes[BasketballStatisticTypes["light"] = 2] = "light";
772
- BasketballStatisticTypes[BasketballStatisticTypes["extended"] = 3] = "extended";
772
+ BasketballStatisticTypes[BasketballStatisticTypes["advanced"] = 3] = "advanced";
773
773
  })(BasketballStatisticTypes || (BasketballStatisticTypes = {}));
774
774
  var GameTimeTypes;
775
775
  (function (GameTimeTypes) {
@@ -1173,8 +1173,10 @@ var Game = /** @class */ (function (_super) {
1173
1173
  id: 'id',
1174
1174
  status: 'status',
1175
1175
  team: 'team',
1176
+ tournament_team_id: 'tournamentTeamId',
1176
1177
  team_id: 'teamId',
1177
1178
  competitor_team: 'competitorTeam',
1179
+ competitor_tournament_team_id: 'competitorTournamentTeamId',
1178
1180
  competitor_team_id: 'competitorTeamId',
1179
1181
  competitor_team_name: 'competitorTeamName',
1180
1182
  datetime: 'datetime',
@@ -2398,6 +2400,14 @@ var MediaApi = /** @class */ (function () {
2398
2400
  });
2399
2401
  });
2400
2402
  };
2403
+ MediaApi.prototype.downloadMedia = function (mediaId) {
2404
+ return __awaiter(this, void 0, void 0, function () {
2405
+ return __generator(this, function (_a) {
2406
+ return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/media/" + mediaId + "/download/", { responseType: 'blob' })
2407
+ .toPromise()];
2408
+ });
2409
+ });
2410
+ };
2401
2411
  MediaApi.ctorParameters = function () { return [
2402
2412
  { type: HttpClient },
2403
2413
  { type: ConfigService }