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.
- package/Core/Configurator/Types/ConfiguratorTypes.d.ts +4 -4
- package/Core/Global/LocalStorage.d.ts +1 -1
- package/Core/Global/Types/GlobalTypes.d.ts +4 -4
- package/Core/Namespaces/Football/Models/Match/StatType.d.ts +2 -2
- package/Core/Namespaces/Football/Service/FootballService.d.ts +1 -1
- package/Core/Namespaces/Loyalty/Models/Badges/BadgesValue.d.ts +1 -1
- package/Core/Namespaces/Loyalty/Types/LoyaltyTypes.d.ts +4 -4
- package/Core/Namespaces/MatchQuiz/Models/GameMarketsResults/GameMarketsResults.d.ts +3 -3
- package/Core/Namespaces/TopX/types/types.d.ts +1 -1
- package/index.js +4 -4
- package/index.js.map +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
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
|
|
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
|
|
6
|
-
export
|
|
7
|
-
export
|
|
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
|
|
13
|
+
export type SortOrder = "asc" | "desc";
|
|
@@ -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
|
-
|
|
4
|
+
type MatchData = MatchBasicModel[] | MatchFullModel;
|
|
5
5
|
export default class FootballService {
|
|
6
6
|
private clientHttps;
|
|
7
7
|
constructor(config: SDKConfigurationModel);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
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
|
|
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
|
|
13
|
+
export type TieBreakersType = {
|
|
14
14
|
goldenGoals: GoldenGoalsType[];
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type GoldenGoalsType = {
|
|
17
17
|
minute: number;
|
|
18
18
|
matchId: string;
|
|
19
19
|
matchModel: MatchBasicModel;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type TypeGames = "TOP_X" | "MATCH_QUIZ" | "SINGLE";
|