fansunited-sdk-esm 1.33.2 → 1.33.3

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
- export declare type LangType = "bg" | "en" | "ro" | "el";
2
- export declare type IdSchemaType = "native" | "enetpulse" | "sportal365" | "sportradar";
3
- export declare type EnvironmentType = "dev" | "prod" | "staging";
4
- export declare type ErrorHandlingModeType = "default" | "standard";
1
+ export type LangType = "bg" | "en" | "ro" | "el";
2
+ export type IdSchemaType = "native" | "enetpulse" | "sportal365" | "sportradar";
3
+ export type EnvironmentType = "dev" | "prod" | "staging";
4
+ export type ErrorHandlingModeType = "default" | "standard";
@@ -6,7 +6,7 @@ import CompetitionBasicModel from "../Namespaces/Football/Models/Competition/Com
6
6
  import CompetitionFilters from "../Namespaces/Football/Models/Competition/CompetitionFilters";
7
7
  import ProfileStatsModel from "../Namespaces/Profile/Models/Stats/ProfileStatsModel";
8
8
  import IdMappingModel from "../IdMapping/Models/IdMappingModel";
9
- export declare type ExparationType = "profile" | "statistics" | "badges" | "features" | "ids";
9
+ export type ExparationType = "profile" | "statistics" | "badges" | "features" | "ids";
10
10
  export default class LocalStorage {
11
11
  private idSchema;
12
12
  readonly expirationProfileTimeout: number;
@@ -2,12 +2,12 @@ import LoyaltyConfigModel from "../../Namespaces/Loyalty/Models/ClientFeatures/L
2
2
  import MatchQuizConfigModel from "../../Namespaces/MatchQuiz/Models/Config/MatchQuizConfigModel";
3
3
  import TopXConfigModel from "../../Namespaces/TopX/Models/Config/TopXConfigModel";
4
4
  import PredictorConfigModel from "../../Namespaces/Predictor/Models/Config/PredictorConfigModel";
5
- export declare type FeaturesConfigModels = PredictorConfigModel | TopXConfigModel | MatchQuizConfigModel | LoyaltyConfigModel;
6
- export declare type FilterCase = "user" | "current" | "past" | "matches";
7
- export declare type IdEntities = {
5
+ export type FeaturesConfigModels = PredictorConfigModel | TopXConfigModel | MatchQuizConfigModel | LoyaltyConfigModel;
6
+ export type FilterCase = "user" | "current" | "past" | "matches";
7
+ export type IdEntities = {
8
8
  competition?: string[];
9
9
  team?: string[];
10
10
  player?: string[];
11
11
  match?: string[];
12
12
  };
13
- export declare type SortOrder = "asc" | "desc";
13
+ export type SortOrder = "asc" | "desc";
@@ -1,8 +1,8 @@
1
- export declare type StatType = {
1
+ export type StatType = {
2
2
  homeTeam: number;
3
3
  awayTeam: number;
4
4
  };
5
- export declare type ScoresType = {
5
+ export type ScoresType = {
6
6
  homeGoals: any;
7
7
  awayGoals: any;
8
8
  };
@@ -1,7 +1,7 @@
1
1
  import SDKConfigurationModel from "../../../Configurator/Models/SDKConfiguraitonModel";
2
2
  import MatchBasicModel from "../Models/Match/MatchBasicModel";
3
3
  import MatchFullModel from "../Models/Match/MatchFullModel";
4
- declare type MatchData = MatchBasicModel[] | MatchFullModel;
4
+ type MatchData = MatchBasicModel[] | MatchFullModel;
5
5
  export default class FootballService {
6
6
  private clientHttps;
7
7
  constructor(config: SDKConfigurationModel);
@@ -1,5 +1,5 @@
1
1
  import RequirementModel from "./RequirementModel";
2
- declare type BadgeAssets = {
2
+ type BadgeAssets = {
3
3
  mainImageUrl: string;
4
4
  };
5
5
  export default class BadgesValue {
@@ -1,4 +1,4 @@
1
- export declare type RankingsType = "GAME" | "TEMPLATE";
2
- export declare type FiltersType = "loyalty" | "rankings";
3
- export declare type LeaderboardStatus = "PENDING" | "LIVE" | "SETTLED";
4
- export declare type GameType = "TOP_X" | "MATCH_QUIZ";
1
+ export type RankingsType = "GAME" | "TEMPLATE";
2
+ export type FiltersType = "loyalty" | "rankings";
3
+ export type LeaderboardStatus = "PENDING" | "LIVE" | "SETTLED";
4
+ export type GameType = "TOP_X" | "MATCH_QUIZ";
@@ -2,7 +2,7 @@ import MatchBasicModel from "../../../Football/Models/Match/MatchBasicModel";
2
2
  import MatchStatus from "../../../Football/Models/Match/Status/MatchStatus";
3
3
  import PlayerBasicModel from "../../../Football/Models/Player/PlayerBasicModel";
4
4
  import { MarketEnum } from "../../../Predictor/Enums/MarketEnum";
5
- export declare type MarketsResults = {
5
+ export type MarketsResults = {
6
6
  matchId: string;
7
7
  market: MarketEnum;
8
8
  result: string | string[] | boolean;
@@ -10,10 +10,10 @@ export declare type MarketsResults = {
10
10
  matchStatus: MatchStatus;
11
11
  playerModels?: PlayerBasicModel[];
12
12
  };
13
- export declare type TieBreakersType = {
13
+ export type TieBreakersType = {
14
14
  goldenGoals: GoldenGoalsType[];
15
15
  };
16
- export declare type GoldenGoalsType = {
16
+ export type GoldenGoalsType = {
17
17
  minute: number;
18
18
  matchId: string;
19
19
  matchModel: MatchBasicModel;
@@ -1 +1 @@
1
- export declare type TypeGames = "TOP_X" | "MATCH_QUIZ" | "SINGLE";
1
+ export type TypeGames = "TOP_X" | "MATCH_QUIZ" | "SINGLE";