fansunited-sdk-esm 1.52.0 → 1.53.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.
@@ -30,7 +30,7 @@ export default class PredictorHttps extends Https {
30
30
  getUserGameEditions: (filters: GamesFilters, disableCache: boolean) => Promise<PaginationModel>;
31
31
  getGameResults: (gameId: string, disableCache: boolean, filters?: MainFiltersBQ) => Promise<PaginationModel>;
32
32
  getMarketResultsForGame: (gameId: string, disableCache: boolean) => Promise<import("../Namespaces/MatchQuiz/Models/GameMarketsResults/GameMarketsResults").default>;
33
- getContestWinners: (gameId: string) => Promise<ContestWinners>;
33
+ getContestWinners: (gameId: string, disableCache?: boolean) => Promise<ContestWinners>;
34
34
  getPredictionById: (predictionId: string) => Promise<PredictionResponseModel>;
35
35
  getPredictionsByIds: (predictionIds: string[]) => Promise<PredictionResponseModel[]>;
36
36
  }
@@ -38,7 +38,7 @@ export default class LoyaltyFacade {
38
38
  getOwnRankings: (filters?: RankingsFilters, disableCache?: boolean) => Promise<FootballPaginationModel>;
39
39
  getUserRankings: (userId: string, filters?: RankingsFilters, disableCache?: boolean) => Promise<FootballPaginationModel>;
40
40
  getHighestSuccessRate: (filters: HighestSuccessRateFilters, disableCache: boolean) => Promise<HighestSuccessRateModel[]>;
41
- getTemplateWinners: (templateId: string) => Promise<ContestWinners>;
41
+ getTemplateWinners: (templateId: string, disableCache?: boolean) => Promise<ContestWinners>;
42
42
  getEntitiesFollows: (filters: EntitiesFollowsFilters, disableCache: boolean) => Promise<EntitiesFollows>;
43
43
  private getModelsForUserRankings;
44
44
  }
@@ -27,6 +27,6 @@ export default class Loyalty {
27
27
  getOwnRankings: (filters?: RankingsFilters, disableCache?: boolean) => Promise<import("../Football/Models/Pagination/FootballPaginationModel").default>;
28
28
  getUserRankings: (userId: string, filters?: RankingsFilters, disableCache?: boolean) => Promise<import("../Football/Models/Pagination/FootballPaginationModel").default>;
29
29
  getHighestSuccessRate: (filters?: HighestSuccessRateFilters, disableCache?: boolean) => Promise<HighestSuccessRateModel[]>;
30
- getTemplateWinners: (templateId: string) => Promise<ContestWinners>;
30
+ getTemplateWinners: (templateId: string, disableCache?: boolean) => Promise<ContestWinners>;
31
31
  getEntitiesFollows: (filters: EntitiesFollowsFilters, disableCache?: boolean) => Promise<EntitiesFollows>;
32
32
  }
@@ -31,7 +31,7 @@ export default class MatchQuizFacade {
31
31
  getUserGameEditions: (userId: string, filters?: MainFiltersBQ, disableCache?: boolean) => Promise<PaginationModel>;
32
32
  getUserGamePrediction: (userId: string, gameId: string, disableCache?: boolean) => Promise<PredictionResponseModel>;
33
33
  getMarketsResultsForGame: (gameId: string, disableCache?: boolean) => Promise<GameMarketsResults>;
34
- getGameWinners: (gameId: string) => Promise<ContestWinners>;
34
+ getGameWinners: (gameId: string, disableCache?: boolean) => Promise<ContestWinners>;
35
35
  /**
36
36
  * To prevent passing too long URL for fetching data from Predictor API, the maximum limit is set to 50
37
37
  */
@@ -26,5 +26,5 @@ export default class MatchQuiz {
26
26
  getUserGameEditions: (userId: string, filters?: MainFiltersBQ, disableCache?: boolean) => Promise<PaginationModel>;
27
27
  getUserGamePrediction: (userId: string, gameId: string, disableCache?: boolean) => Promise<PredictionResponseModel>;
28
28
  getMarketsResultsForGame: (gameId: string, disableCache?: boolean) => Promise<GameMarketsResults>;
29
- getGameWinners: (gameId: string) => Promise<ContestWinners>;
29
+ getGameWinners: (gameId: string, disableCache?: boolean) => Promise<ContestWinners>;
30
30
  }
@@ -34,7 +34,7 @@ export default class TopXFacade {
34
34
  getUserGameEditions: (userId: string, filters?: MainFiltersBQ, disableCache?: boolean) => Promise<PaginationModel>;
35
35
  getUserGamePrediction: (userId: string, gameId: string, disableCache?: boolean) => Promise<PredictionResponseModel>;
36
36
  getMarketsResultsForGame: (gameId: string, disableCache?: boolean) => Promise<GameMarketsResults>;
37
- getGameWinners: (gameId: string) => Promise<ContestWinners>;
37
+ getGameWinners: (gameId: string, disableCache?: boolean) => Promise<ContestWinners>;
38
38
  /**
39
39
  * To prevent passing too long URL for fetching data from Predictor API, the maximum limit is set to 50
40
40
  */
@@ -26,5 +26,5 @@ export default class TopX {
26
26
  getUserGameEditions: (userId: string, filters?: MainFiltersBQ, disableCache?: boolean) => Promise<PaginationModel>;
27
27
  getUserGamePrediction: (userId: string, gameId: string, disableCache?: boolean) => Promise<PredictionResponseModel>;
28
28
  getMarketsResultsForGame: (gameId: string, disableCache?: boolean) => Promise<GameMarketsResults>;
29
- getGameWinners: (gameId: string) => Promise<ContestWinners>;
29
+ getGameWinners: (gameId: string, disableCache?: boolean) => Promise<ContestWinners>;
30
30
  }