fansunited-sdk-esm 1.11.0 → 1.13.0

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.
@@ -1,4 +1,4 @@
1
1
  import ActionValueModel from "./ActionValueModel";
2
2
  export default class ActionsModel {
3
- value: ActionValueModel;
3
+ value: ActionValueModel[];
4
4
  }
@@ -1,5 +1,6 @@
1
1
  import ActionValueModel from "../Actions/ActionValueModel";
2
2
  export default class PointsValueModel extends ActionValueModel {
3
3
  points: number;
4
+ alternative: any;
4
5
  constructor();
5
6
  }
@@ -1,4 +1,5 @@
1
1
  import ImagesModel from "../../../../Global/Models/Images/ImagesModel";
2
+ import TimeTiebreaker from "../../../TopX/Models/Games/TimeTiebreaker";
2
3
  import FixturesMatchQuizModel from "../Fixtures/FixturesMatchQuizModel";
3
4
  export default class GamesMatchQuizListModel {
4
5
  id: string;
@@ -9,6 +10,7 @@ export default class GamesMatchQuizListModel {
9
10
  outcome: string;
10
11
  predictionsCutoff: string;
11
12
  fixtures: FixturesMatchQuizModel[];
13
+ tiebreaker: TimeTiebreaker;
12
14
  predictionId: string;
13
15
  rules: string;
14
16
  flags: string[];
@@ -1,6 +1,8 @@
1
1
  import MarketsConfigModel from "./MarketsConfigModel";
2
+ import SuccessRateScopeModel from "./SuccessRateScopeModel";
2
3
  export default class PredictorConfigModel {
3
4
  enabled: boolean;
4
5
  fullCoverageCompetitions: string[];
5
6
  markets: MarketsConfigModel;
7
+ successRateScopes: SuccessRateScopeModel;
6
8
  }
@@ -0,0 +1,5 @@
1
+ export default class SuccessRateScopeModel {
2
+ competitions: string[];
3
+ teams: string[];
4
+ markets: string[];
5
+ }
@@ -1,5 +1,6 @@
1
1
  import ImagesModel from "../../../../Global/Models/Images/ImagesModel";
2
2
  import FixturesGamesModel from "../Fixtures/FixturesGamesModel";
3
+ import TimeTiebreaker from "./TimeTiebreaker";
3
4
  export default class GamesListModel {
4
5
  id: string;
5
6
  title: string;
@@ -9,6 +10,7 @@ export default class GamesListModel {
9
10
  scheduleOpenAt: string;
10
11
  predictionsCutoff: string;
11
12
  fixtures: FixturesGamesModel[];
13
+ tiebreaker: TimeTiebreaker;
12
14
  rules: string;
13
15
  flags: string[];
14
16
  images: ImagesModel;
@@ -24,4 +24,5 @@ export default class GamesRemapper {
24
24
  private isPlayerMarketWithNoResult;
25
25
  private remapResults;
26
26
  private remapTiebreaker;
27
+ private remapTimeTiebreaker;
27
28
  }
@@ -1,5 +1,6 @@
1
1
  import ImagesModel from "../../../../Global/Models/Images/ImagesModel";
2
2
  import FixturesTopXModel from "../Fixtures/FixturesTopXModel";
3
+ import TimeTiebreaker from "./TimeTiebreaker";
3
4
  export default class GamesTopXListModel {
4
5
  id: string;
5
6
  title: string;
@@ -9,6 +10,7 @@ export default class GamesTopXListModel {
9
10
  outcome: string;
10
11
  predictionsCutoff: string;
11
12
  fixtures: FixturesTopXModel[];
13
+ tiebreaker: TimeTiebreaker;
12
14
  predictionId: string;
13
15
  rules: string;
14
16
  flags: string[];
@@ -0,0 +1,3 @@
1
+ export default class TimeTiebreaker {
2
+ timeTiebreaker: boolean;
3
+ }