@smartico/public-api 0.0.150 → 0.0.151
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/dist/Base/AchRelatedGame.d.ts +13 -13
- package/dist/Base/ClassId.d.ts +97 -97
- package/dist/Base/ProtocolMessage.d.ts +5 -5
- package/dist/Base/ProtocolRequest.d.ts +6 -6
- package/dist/Base/ProtocolResponse.d.ts +5 -5
- package/dist/CookieStore.d.ts +6 -6
- package/dist/Core/ActivityTypeLimited.d.ts +18 -18
- package/dist/Core/CheckSegmentMatchRequest.d.ts +4 -4
- package/dist/Core/CheckSegmentMatchResponse.d.ts +7 -7
- package/dist/Core/CoreUtils.d.ts +5 -5
- package/dist/Core/GetAchievementsUserInfoRequest.d.ts +3 -3
- package/dist/Core/GetAchievementsUserInfoResponse.d.ts +5 -5
- package/dist/Core/GetLabelInfoRequest.d.ts +3 -3
- package/dist/Core/GetLabelInfoResponse.d.ts +7 -7
- package/dist/Core/GetTranslationsRequest.d.ts +7 -7
- package/dist/Core/GetTranslationsResponse.d.ts +7 -7
- package/dist/Core/PublicLabelSettings.d.ts +27 -27
- package/dist/Core/PublicProperties.d.ts +9 -9
- package/dist/Core/ResponseIdentify.d.ts +12 -12
- package/dist/Core/TranslationArea.d.ts +10 -10
- package/dist/Core/index.d.ts +9 -9
- package/dist/CustomSections/AchCustomSection.d.ts +27 -27
- package/dist/CustomSections/GetCustomSectionsRequest.d.ts +3 -3
- package/dist/CustomSections/GetCustomSectionsResponse.d.ts +7 -7
- package/dist/CustomSections/UICustomSection.d.ts +15 -15
- package/dist/CustomSections/index.d.ts +4 -4
- package/dist/ErrorCodes.d.ts +12 -12
- package/dist/GResponse.d.ts +9 -9
- package/dist/ILogger.d.ts +7 -7
- package/dist/Inbox/GetInboxMessagesRequest.d.ts +6 -6
- package/dist/Inbox/GetInboxMessagesResponse.d.ts +7 -7
- package/dist/Inbox/InboxMessage.d.ts +23 -23
- package/dist/Inbox/InboxMessageType.d.ts +11 -11
- package/dist/Inbox/MarkInboxMessageDeletedRequest.d.ts +5 -5
- package/dist/Inbox/MarkInboxMessageDeletedResponse.d.ts +5 -5
- package/dist/Inbox/MarkInboxMessageReadRequest.d.ts +5 -5
- package/dist/Inbox/MarkInboxMessageReadResponse.d.ts +5 -5
- package/dist/Inbox/MarkInboxMessageStarredRequest.d.ts +5 -5
- package/dist/Inbox/MarkInboxMessageStarredResponse.d.ts +5 -5
- package/dist/Inbox/index.d.ts +10 -10
- package/dist/IntUtils.d.ts +10 -10
- package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +4 -4
- package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +5 -5
- package/dist/Jackpots/GetJackpotsRequest.d.ts +5 -5
- package/dist/Jackpots/GetJackpotsResponse.d.ts +5 -5
- package/dist/Jackpots/JackPotWinner.d.ts +13 -13
- package/dist/Jackpots/JackpotContributionType.d.ts +5 -5
- package/dist/Jackpots/JackpotDetails.d.ts +37 -37
- package/dist/Jackpots/JackpotHtmlTemplate.d.ts +5 -5
- package/dist/Jackpots/JackpotPot.d.ts +13 -13
- package/dist/Jackpots/JackpotPublicMeta.d.ts +18 -18
- package/dist/Jackpots/JackpotType.d.ts +4 -4
- package/dist/Jackpots/JackpotWinPush.d.ts +7 -7
- package/dist/Jackpots/JackpotsOptinRequest.d.ts +4 -4
- package/dist/Jackpots/JackpotsOptinResponse.d.ts +3 -3
- package/dist/Jackpots/JackpotsOptoutRequest.d.ts +4 -4
- package/dist/Jackpots/JackpotsOptoutResponse.d.ts +3 -3
- package/dist/Jackpots/index.d.ts +16 -16
- package/dist/Leaderboard/GetLeaderBoardsRequest.d.ts +7 -7
- package/dist/Leaderboard/GetLeaderBoardsResponse.d.ts +7 -7
- package/dist/Leaderboard/LeaderBoardDetails.d.ts +13 -13
- package/dist/Leaderboard/LeaderBoardPeriodType.d.ts +5 -5
- package/dist/Leaderboard/LeaderBoardPosition.d.ts +10 -10
- package/dist/Leaderboard/LeaderBoardPublicMeta.d.ts +5 -5
- package/dist/Leaderboard/LeaderBoards.d.ts +3 -3
- package/dist/Leaderboard/index.d.ts +6 -6
- package/dist/Level/GetLevelMapResponse.d.ts +7 -7
- package/dist/Level/Level.d.ts +12 -12
- package/dist/Level/LevelPublicMeta.d.ts +19 -19
- package/dist/Level/index.d.ts +3 -3
- package/dist/MiniGames/SAWAcknowledgeType.d.ts +5 -5
- package/dist/MiniGames/SAWAskForUsername.d.ts +4 -4
- package/dist/MiniGames/SAWBuyInType.d.ts +14 -14
- package/dist/MiniGames/SAWDoAknowledgeRequest.d.ts +4 -4
- package/dist/MiniGames/SAWDoAknowledgeResponse.d.ts +4 -4
- package/dist/MiniGames/SAWDoSpinRequest.d.ts +5 -5
- package/dist/MiniGames/SAWDoSpinResponse.d.ts +11 -11
- package/dist/MiniGames/SAWGameType.d.ts +20 -20
- package/dist/MiniGames/SAWGetTemplatesRequest.d.ts +5 -5
- package/dist/MiniGames/SAWGetTemplatesResponse.d.ts +7 -7
- package/dist/MiniGames/SAWPrize.d.ts +13 -13
- package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +4 -4
- package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +4 -4
- package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +9 -9
- package/dist/MiniGames/SAWPrizeType.d.ts +20 -20
- package/dist/MiniGames/SAWPrizeUI.d.ts +18 -18
- package/dist/MiniGames/SAWSpinErrorCode.d.ts +14 -14
- package/dist/MiniGames/SAWSpinsCountPush.d.ts +5 -5
- package/dist/MiniGames/SAWTemplate.d.ts +29 -29
- package/dist/MiniGames/SAWTemplateUI.d.ts +45 -45
- package/dist/MiniGames/SAWUtils.d.ts +5 -5
- package/dist/MiniGames/SAWWinSoundType.d.ts +13 -13
- package/dist/MiniGames/index.d.ts +20 -20
- package/dist/Missions/AchCategoryPublicMeta.d.ts +4 -4
- package/dist/Missions/AchClaimPrizeRequest.d.ts +5 -5
- package/dist/Missions/AchClaimPrizeResponse.d.ts +3 -3
- package/dist/Missions/AchievementCategory.d.ts +7 -7
- package/dist/Missions/AchievementOptinRequest.d.ts +4 -4
- package/dist/Missions/AchievementOptinResponse.d.ts +3 -3
- package/dist/Missions/AchievementPublicMeta.d.ts +21 -21
- package/dist/Missions/AchievementStatus.d.ts +9 -9
- package/dist/Missions/AchievementTaskPublicMeta.d.ts +3 -3
- package/dist/Missions/AchievementTaskType.d.ts +4 -4
- package/dist/Missions/AchievementType.d.ts +4 -4
- package/dist/Missions/GetAchCategoriesRequest.d.ts +3 -3
- package/dist/Missions/GetAchCategoriesResponse.d.ts +5 -5
- package/dist/Missions/GetAchievementMapRequest.d.ts +3 -3
- package/dist/Missions/GetAchievementMapResponse.d.ts +5 -5
- package/dist/Missions/ReloadAchievementsEvent.d.ts +3 -3
- package/dist/Missions/ScheduledMissionType.d.ts +5 -5
- package/dist/Missions/UserAchievement.d.ts +39 -39
- package/dist/Missions/UserAchievementTask.d.ts +15 -15
- package/dist/Missions/index.d.ts +19 -19
- package/dist/NodeCache.d.ts +10 -10
- package/dist/OCache.d.ts +15 -15
- package/dist/Quiz/MarketsAnswers.d.ts +38 -38
- package/dist/Quiz/MarketsInfo.d.ts +14 -14
- package/dist/Quiz/MarketsPerSport.d.ts +6 -6
- package/dist/Quiz/MarketsType.d.ts +29 -29
- package/dist/Quiz/ScoreResultTypes.d.ts +28 -28
- package/dist/Quiz/SportTypes.d.ts +6 -6
- package/dist/Quiz/index.d.ts +6 -6
- package/dist/SmarticoAPI.d.ts +119 -119
- package/dist/SmarticoLib/index.d.ts +2013 -2013
- package/dist/Store/BuyStoreItemErrorCode.d.ts +11 -11
- package/dist/Store/BuyStoreItemRequest.d.ts +4 -4
- package/dist/Store/BuyStoreItemResponse.d.ts +4 -4
- package/dist/Store/GetCategoriesStoreResponse.d.ts +5 -5
- package/dist/Store/GetStoreHistoryRequest.d.ts +5 -5
- package/dist/Store/GetStoreHistoryResponse.d.ts +6 -6
- package/dist/Store/GetStoreItemsResponse.d.ts +5 -5
- package/dist/Store/StoreCategory.d.ts +7 -7
- package/dist/Store/StoreCategoryPublicMeta.d.ts +4 -4
- package/dist/Store/StoreItem.d.ts +12 -12
- package/dist/Store/StoreItemPublicMeta.d.ts +12 -12
- package/dist/Store/StoreItemPurchased.d.ts +11 -11
- package/dist/Store/StoreItemType.d.ts +16 -16
- package/dist/Store/index.d.ts +13 -13
- package/dist/Tournaments/GetTournamentInfoRequest.d.ts +4 -4
- package/dist/Tournaments/GetTournamentInfoResponse.d.ts +22 -22
- package/dist/Tournaments/GetTournamentsRequest.d.ts +3 -3
- package/dist/Tournaments/GetTournamentsResponse.d.ts +6 -6
- package/dist/Tournaments/Tournament.d.ts +59 -59
- package/dist/Tournaments/TournamentInstanceStatus.d.ts +10 -10
- package/dist/Tournaments/TournamentPlayer.d.ts +9 -9
- package/dist/Tournaments/TournamentPrize.d.ts +10 -10
- package/dist/Tournaments/TournamentPublicMeta.d.ts +27 -27
- package/dist/Tournaments/TournamentRegisterRequest.d.ts +4 -4
- package/dist/Tournaments/TournamentRegisterResponse.d.ts +5 -5
- package/dist/Tournaments/TournamentRegistrationError.d.ts +11 -11
- package/dist/Tournaments/TournamentRegistrationStatus.d.ts +22 -22
- package/dist/Tournaments/TournamentRegistrationType.d.ts +11 -11
- package/dist/Tournaments/TournamentType.d.ts +5 -5
- package/dist/Tournaments/TournamentUtils.d.ts +27 -27
- package/dist/Tournaments/index.d.ts +16 -16
- package/dist/WSAPI/WSAPI.d.ts +445 -445
- package/dist/WSAPI/WSAPITypes.d.ts +621 -621
- package/dist/index.d.ts +15 -15
- package/dist/index.js +373 -366
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +381 -375
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/CoreUtils.ts +9 -9
package/dist/OCache.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare enum ECacheContext {
|
|
2
|
-
Translations = 0,
|
|
3
|
-
LabelInfo = 1,
|
|
4
|
-
WSAPI = 2
|
|
5
|
-
}
|
|
6
|
-
export declare class OCache {
|
|
7
|
-
private static cache;
|
|
8
|
-
private static init;
|
|
9
|
-
static get<T>(oKey: any, cacheContext: ECacheContext): T | undefined;
|
|
10
|
-
static set(oKey: any, o: any, cacheContext: ECacheContext, ttlSeconds?: number): void;
|
|
11
|
-
static use<T>(oKey: any, cacheContext: ECacheContext, f: () => Promise<T>, ttlSeconds?: number): Promise<T>;
|
|
12
|
-
static clear(cacheContext: ECacheContext, oKey: any): Promise<void>;
|
|
13
|
-
static clearContext(cacheContext: ECacheContext): Promise<void>;
|
|
14
|
-
static clearAll(): Promise<void>;
|
|
15
|
-
}
|
|
1
|
+
export declare enum ECacheContext {
|
|
2
|
+
Translations = 0,
|
|
3
|
+
LabelInfo = 1,
|
|
4
|
+
WSAPI = 2
|
|
5
|
+
}
|
|
6
|
+
export declare class OCache {
|
|
7
|
+
private static cache;
|
|
8
|
+
private static init;
|
|
9
|
+
static get<T>(oKey: any, cacheContext: ECacheContext): T | undefined;
|
|
10
|
+
static set(oKey: any, o: any, cacheContext: ECacheContext, ttlSeconds?: number): void;
|
|
11
|
+
static use<T>(oKey: any, cacheContext: ECacheContext, f: () => Promise<T>, ttlSeconds?: number): Promise<T>;
|
|
12
|
+
static clear(cacheContext: ECacheContext, oKey: any): Promise<void>;
|
|
13
|
+
static clearContext(cacheContext: ECacheContext): Promise<void>;
|
|
14
|
+
static clearAll(): Promise<void>;
|
|
15
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export declare enum QuizAnswersValueType {
|
|
2
|
-
HomeTeam = "1",
|
|
3
|
-
AwayTeam = "2",
|
|
4
|
-
Draw = "x",
|
|
5
|
-
HomeTeamHomeTeam = "1/1",
|
|
6
|
-
HomeTeamDraw = "1/x",
|
|
7
|
-
HomeTeamAwayTeam = "1/2",
|
|
8
|
-
DrawHomeTeam = "x/1",
|
|
9
|
-
DrawDraw = "x/x",
|
|
10
|
-
DrawAwayTeam = "x/2",
|
|
11
|
-
AwayTeamHomeTeam = "2/1",
|
|
12
|
-
AwayTeamDraw = "2/x",
|
|
13
|
-
AwayTeamAwayTeam = "2/2",
|
|
14
|
-
Yes = "yes",
|
|
15
|
-
No = "no",
|
|
16
|
-
Odd = "odd",
|
|
17
|
-
Even = "even",
|
|
18
|
-
HomeOdd = "1/odd",
|
|
19
|
-
HomeEven = "1/even",
|
|
20
|
-
AwayOdd = "2/odd",
|
|
21
|
-
AwayEven = "2/even"
|
|
22
|
-
}
|
|
23
|
-
export declare const quizAnswerHomeTeamReplacementText = "{quiz_home_team}";
|
|
24
|
-
export declare const quizAnswerAwayTeamReplacementText = "{quiz_away_team}";
|
|
25
|
-
export declare const quizDrawReplacementText = "{quiz_draw}";
|
|
26
|
-
export declare const quizYesReplacementText = "{yes}";
|
|
27
|
-
export declare const quizNoReplacementText = "{no}";
|
|
28
|
-
export declare const quizOddReplacementText = "{odd}";
|
|
29
|
-
export declare const quizEvenReplacementText = "{even}";
|
|
30
|
-
export declare const quizOrReplacementText = "{or}";
|
|
31
|
-
export declare const quizAnswersTrKeys: {
|
|
32
|
-
"{quiz_draw}": string;
|
|
33
|
-
"{yes}": string;
|
|
34
|
-
"{no}": string;
|
|
35
|
-
"{odd}": string;
|
|
36
|
-
"{even}": string;
|
|
37
|
-
"{or}": string;
|
|
38
|
-
};
|
|
1
|
+
export declare enum QuizAnswersValueType {
|
|
2
|
+
HomeTeam = "1",
|
|
3
|
+
AwayTeam = "2",
|
|
4
|
+
Draw = "x",
|
|
5
|
+
HomeTeamHomeTeam = "1/1",
|
|
6
|
+
HomeTeamDraw = "1/x",
|
|
7
|
+
HomeTeamAwayTeam = "1/2",
|
|
8
|
+
DrawHomeTeam = "x/1",
|
|
9
|
+
DrawDraw = "x/x",
|
|
10
|
+
DrawAwayTeam = "x/2",
|
|
11
|
+
AwayTeamHomeTeam = "2/1",
|
|
12
|
+
AwayTeamDraw = "2/x",
|
|
13
|
+
AwayTeamAwayTeam = "2/2",
|
|
14
|
+
Yes = "yes",
|
|
15
|
+
No = "no",
|
|
16
|
+
Odd = "odd",
|
|
17
|
+
Even = "even",
|
|
18
|
+
HomeOdd = "1/odd",
|
|
19
|
+
HomeEven = "1/even",
|
|
20
|
+
AwayOdd = "2/odd",
|
|
21
|
+
AwayEven = "2/even"
|
|
22
|
+
}
|
|
23
|
+
export declare const quizAnswerHomeTeamReplacementText = "{quiz_home_team}";
|
|
24
|
+
export declare const quizAnswerAwayTeamReplacementText = "{quiz_away_team}";
|
|
25
|
+
export declare const quizDrawReplacementText = "{quiz_draw}";
|
|
26
|
+
export declare const quizYesReplacementText = "{yes}";
|
|
27
|
+
export declare const quizNoReplacementText = "{no}";
|
|
28
|
+
export declare const quizOddReplacementText = "{odd}";
|
|
29
|
+
export declare const quizEvenReplacementText = "{even}";
|
|
30
|
+
export declare const quizOrReplacementText = "{or}";
|
|
31
|
+
export declare const quizAnswersTrKeys: {
|
|
32
|
+
"{quiz_draw}": string;
|
|
33
|
+
"{yes}": string;
|
|
34
|
+
"{no}": string;
|
|
35
|
+
"{odd}": string;
|
|
36
|
+
"{even}": string;
|
|
37
|
+
"{or}": string;
|
|
38
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { QuizAnswersValueType } from "./MarketsAnswers";
|
|
2
|
-
import { SAWGPMarketType } from "./MarketsType";
|
|
3
|
-
export declare const marketsInfo: {
|
|
4
|
-
type: SAWGPMarketType;
|
|
5
|
-
name: string;
|
|
6
|
-
question: {
|
|
7
|
-
text: string;
|
|
8
|
-
trKey: string;
|
|
9
|
-
};
|
|
10
|
-
answers: {
|
|
11
|
-
text: string;
|
|
12
|
-
value: QuizAnswersValueType;
|
|
13
|
-
}[];
|
|
14
|
-
}[];
|
|
1
|
+
import { QuizAnswersValueType } from "./MarketsAnswers";
|
|
2
|
+
import { SAWGPMarketType } from "./MarketsType";
|
|
3
|
+
export declare const marketsInfo: {
|
|
4
|
+
type: SAWGPMarketType;
|
|
5
|
+
name: string;
|
|
6
|
+
question: {
|
|
7
|
+
text: string;
|
|
8
|
+
trKey: string;
|
|
9
|
+
};
|
|
10
|
+
answers: {
|
|
11
|
+
text: string;
|
|
12
|
+
value: QuizAnswersValueType;
|
|
13
|
+
}[];
|
|
14
|
+
}[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SAWGPMarketType } from "./MarketsType";
|
|
2
|
-
export declare const QuizMarketPerSport: {
|
|
3
|
-
6: SAWGPMarketType[];
|
|
4
|
-
1: SAWGPMarketType[];
|
|
5
|
-
5: SAWGPMarketType[];
|
|
6
|
-
};
|
|
1
|
+
import { SAWGPMarketType } from "./MarketsType";
|
|
2
|
+
export declare const QuizMarketPerSport: {
|
|
3
|
+
6: SAWGPMarketType[];
|
|
4
|
+
1: SAWGPMarketType[];
|
|
5
|
+
5: SAWGPMarketType[];
|
|
6
|
+
};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export declare enum SAWGPMarketType {
|
|
2
|
-
TwoTeamsWithScore = 1,
|
|
3
|
-
RedCard = 2,
|
|
4
|
-
OneXTwo = 3,
|
|
5
|
-
OneXTwoHalftime = 4,
|
|
6
|
-
HalftimeFulltime = 5,
|
|
7
|
-
FirstGoal = 6,
|
|
8
|
-
DoubleChance = 7,
|
|
9
|
-
OverUnder2_5 = 8,
|
|
10
|
-
OverUnder1_5Halftime = 9,
|
|
11
|
-
OverUnder1_5__2ndHalf = 10,
|
|
12
|
-
TotalCorners8_5 = 11,
|
|
13
|
-
TotalCorners9_5 = 12,
|
|
14
|
-
Corners1x2 = 13,
|
|
15
|
-
One_Two = 14,
|
|
16
|
-
Overtime = 15,
|
|
17
|
-
OddEven = 16,
|
|
18
|
-
OddEvenHomeAway = 17,
|
|
19
|
-
FirstSet = 18,
|
|
20
|
-
SecondSet = 19,
|
|
21
|
-
ThirdSet = 20,
|
|
22
|
-
FourthSet = 21,
|
|
23
|
-
FifthSet = 22,
|
|
24
|
-
PlayerOneWinsOneSet = 23,
|
|
25
|
-
PlayerTwoWinsOneSet = 24,
|
|
26
|
-
LastGoal = 25,
|
|
27
|
-
CustomSport = 26,
|
|
28
|
-
CustomNonSport = 27
|
|
29
|
-
}
|
|
1
|
+
export declare enum SAWGPMarketType {
|
|
2
|
+
TwoTeamsWithScore = 1,
|
|
3
|
+
RedCard = 2,
|
|
4
|
+
OneXTwo = 3,
|
|
5
|
+
OneXTwoHalftime = 4,
|
|
6
|
+
HalftimeFulltime = 5,
|
|
7
|
+
FirstGoal = 6,
|
|
8
|
+
DoubleChance = 7,
|
|
9
|
+
OverUnder2_5 = 8,
|
|
10
|
+
OverUnder1_5Halftime = 9,
|
|
11
|
+
OverUnder1_5__2ndHalf = 10,
|
|
12
|
+
TotalCorners8_5 = 11,
|
|
13
|
+
TotalCorners9_5 = 12,
|
|
14
|
+
Corners1x2 = 13,
|
|
15
|
+
One_Two = 14,
|
|
16
|
+
Overtime = 15,
|
|
17
|
+
OddEven = 16,
|
|
18
|
+
OddEvenHomeAway = 17,
|
|
19
|
+
FirstSet = 18,
|
|
20
|
+
SecondSet = 19,
|
|
21
|
+
ThirdSet = 20,
|
|
22
|
+
FourthSet = 21,
|
|
23
|
+
FifthSet = 22,
|
|
24
|
+
PlayerOneWinsOneSet = 23,
|
|
25
|
+
PlayerTwoWinsOneSet = 24,
|
|
26
|
+
LastGoal = 25,
|
|
27
|
+
CustomSport = 26,
|
|
28
|
+
CustomNonSport = 27
|
|
29
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
type TeamType = 'Home' | 'Away';
|
|
2
|
-
type CardType = 'Yellow' | 'Red';
|
|
3
|
-
type TimeType = 'FT' | '1st Half' | '2nd Half';
|
|
4
|
-
export type OverHalfFullTimeScoreType = {
|
|
5
|
-
home: number;
|
|
6
|
-
away: number;
|
|
7
|
-
};
|
|
8
|
-
export type CardScoreType = {
|
|
9
|
-
time: 'string';
|
|
10
|
-
type: CardType;
|
|
11
|
-
player: string;
|
|
12
|
-
};
|
|
13
|
-
export type CornerScoreType = {
|
|
14
|
-
team: TeamType;
|
|
15
|
-
timeType: TimeType;
|
|
16
|
-
totalCount: number;
|
|
17
|
-
};
|
|
18
|
-
export type GoalScoreType = {
|
|
19
|
-
team: TeamType;
|
|
20
|
-
time: string;
|
|
21
|
-
player: string;
|
|
22
|
-
matchScore: OverHalfFullTimeScoreType;
|
|
23
|
-
};
|
|
24
|
-
export type SetsScoreType = {
|
|
25
|
-
set: number;
|
|
26
|
-
setScore: OverHalfFullTimeScoreType;
|
|
27
|
-
};
|
|
28
|
-
export {};
|
|
1
|
+
type TeamType = 'Home' | 'Away';
|
|
2
|
+
type CardType = 'Yellow' | 'Red';
|
|
3
|
+
type TimeType = 'FT' | '1st Half' | '2nd Half';
|
|
4
|
+
export type OverHalfFullTimeScoreType = {
|
|
5
|
+
home: number;
|
|
6
|
+
away: number;
|
|
7
|
+
};
|
|
8
|
+
export type CardScoreType = {
|
|
9
|
+
time: 'string';
|
|
10
|
+
type: CardType;
|
|
11
|
+
player: string;
|
|
12
|
+
};
|
|
13
|
+
export type CornerScoreType = {
|
|
14
|
+
team: TeamType;
|
|
15
|
+
timeType: TimeType;
|
|
16
|
+
totalCount: number;
|
|
17
|
+
};
|
|
18
|
+
export type GoalScoreType = {
|
|
19
|
+
team: TeamType;
|
|
20
|
+
time: string;
|
|
21
|
+
player: string;
|
|
22
|
+
matchScore: OverHalfFullTimeScoreType;
|
|
23
|
+
};
|
|
24
|
+
export type SetsScoreType = {
|
|
25
|
+
set: number;
|
|
26
|
+
setScore: OverHalfFullTimeScoreType;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum QuizSportType {
|
|
2
|
-
Soccer = 1,
|
|
3
|
-
Tennis = 5,
|
|
4
|
-
Basketball = 6
|
|
5
|
-
}
|
|
6
|
-
export declare const quizSupportedSports: QuizSportType[];
|
|
1
|
+
export declare enum QuizSportType {
|
|
2
|
+
Soccer = 1,
|
|
3
|
+
Tennis = 5,
|
|
4
|
+
Basketball = 6
|
|
5
|
+
}
|
|
6
|
+
export declare const quizSupportedSports: QuizSportType[];
|
package/dist/Quiz/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './SportTypes';
|
|
2
|
-
export * from './MarketsType';
|
|
3
|
-
export * from './ScoreResultTypes';
|
|
4
|
-
export * from './MarketsInfo';
|
|
5
|
-
export * from './MarketsPerSport';
|
|
6
|
-
export * from './MarketsAnswers';
|
|
1
|
+
export * from './SportTypes';
|
|
2
|
+
export * from './MarketsType';
|
|
3
|
+
export * from './ScoreResultTypes';
|
|
4
|
+
export * from './MarketsInfo';
|
|
5
|
+
export * from './MarketsPerSport';
|
|
6
|
+
export * from './MarketsAnswers';
|
package/dist/SmarticoAPI.d.ts
CHANGED
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
import { ClassId } from "./Base/ClassId";
|
|
2
|
-
import { SAWGetTemplatesResponse } from './MiniGames/SAWGetTemplatesResponse';
|
|
3
|
-
import { ILogger } from './ILogger';
|
|
4
|
-
import { SAWDoAknowledgeResponse, SAWDoSpinResponse } from './MiniGames';
|
|
5
|
-
import { GetTranslationsResponse, PublicLabelSettings, ResponseIdentify, TranslationArea } from './Core';
|
|
6
|
-
import { GetLabelInfoResponse } from './Core/GetLabelInfoResponse';
|
|
7
|
-
import { GetInboxMessagesResponse, InboxMessageBody, MarkInboxMessageDeletedResponse, MarkInboxMessageReadResponse, MarkInboxMessageStarredResponse } from './Inbox';
|
|
8
|
-
import { BuyStoreItemResponse, GetCategoriesStoreResponse, GetStoreHistoryResponse, GetStoreItemsResponse } from './Store';
|
|
9
|
-
import { AchClaimPrizeResponse, AchievementOptinResponse, GetAchCategoriesResponse, GetAchievementMapResponse } from './Missions';
|
|
10
|
-
import { GetTournamentInfoResponse, GetTournamentsResponse, TournamentRegisterResponse } from './Tournaments';
|
|
11
|
-
import { LeaderBoardDetails, LeaderBoardPeriodType } from "./Leaderboard";
|
|
12
|
-
import { GetLevelMapResponse } from "./Level";
|
|
13
|
-
import { WSAPI } from "./WSAPI/WSAPI";
|
|
14
|
-
import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection } from "./WSAPI/WSAPITypes";
|
|
15
|
-
import { GetAchievementsUserInfoResponse } from "./Core/GetAchievementsUserInfoResponse";
|
|
16
|
-
import { GetJackpotsPotsResponse, GetJackpotsResponse, JackpotsOptinResponse, JackpotsOptoutResponse } from "./Jackpots";
|
|
17
|
-
import { GetCustomSectionsResponse } from "./CustomSections";
|
|
18
|
-
interface Tracker {
|
|
19
|
-
label_api_key: string;
|
|
20
|
-
userPublicProps: any;
|
|
21
|
-
on: (callBackKey: ClassId, func: (data: any) => void) => void;
|
|
22
|
-
getLabelSetting: (key: PublicLabelSettings) => any;
|
|
23
|
-
}
|
|
24
|
-
interface IOptions {
|
|
25
|
-
logger?: ILogger;
|
|
26
|
-
logCIDs?: ClassId[];
|
|
27
|
-
logHTTPTiming?: boolean;
|
|
28
|
-
tracker?: Tracker;
|
|
29
|
-
}
|
|
30
|
-
type MessageSender = (message: any, publicApuUrl?: string, expectCID?: ClassId) => Promise<any>;
|
|
31
|
-
declare class SmarticoAPI {
|
|
32
|
-
private label_api_key;
|
|
33
|
-
private brand_api_key;
|
|
34
|
-
private messageSender;
|
|
35
|
-
private publicUrl;
|
|
36
|
-
private wsUrl;
|
|
37
|
-
private inboxCdnUrl;
|
|
38
|
-
private partnerUrl;
|
|
39
|
-
avatarDomain: string;
|
|
40
|
-
private logger;
|
|
41
|
-
private logCIDs;
|
|
42
|
-
private logHTTPTiming;
|
|
43
|
-
tracker?: Tracker;
|
|
44
|
-
constructor(label_api_key: string, brand_api_key: string, messageSender: MessageSender, options?: IOptions);
|
|
45
|
-
static getEnvDnsSuffix(label_api_key: string): string;
|
|
46
|
-
static getEnvId(label_api_key: string): number;
|
|
47
|
-
static getCleanLabelApiKey(label_api_key: string): string;
|
|
48
|
-
static getPublicUrl(label_api_key: string): string;
|
|
49
|
-
static getPublicWsUrl(label_api_key: string): string;
|
|
50
|
-
static getAvatarUrl(label_api_key: string): string;
|
|
51
|
-
private send;
|
|
52
|
-
private buildMessage;
|
|
53
|
-
coreReportCustomEvent(user_ext_id: string, eventType: string, payload?: any): Promise<any>;
|
|
54
|
-
coreGetTranslations(user_ext_id: string, lang_code: string, areas: TranslationArea[], cacheSec?: number): Promise<GetTranslationsResponse>;
|
|
55
|
-
coreIdentifyLabel(user_ext_id: string, cacheSec?: number): Promise<GetLabelInfoResponse>;
|
|
56
|
-
coreIdentifyUser(user_ext_id: string): Promise<ResponseIdentify>;
|
|
57
|
-
coreChangeUsername(user_ext_id: string, public_username_custom: string): Promise<{
|
|
58
|
-
public_username_custom: string;
|
|
59
|
-
}>;
|
|
60
|
-
coreCheckSegments(user_ext_id: string, segment_id: number[]): Promise<TSegmentCheckResult[]>;
|
|
61
|
-
jackpotGet(user_ext_id: string, filter?: {
|
|
62
|
-
related_game_id?: string;
|
|
63
|
-
jp_template_id?: number;
|
|
64
|
-
}, force_language?: string): Promise<GetJackpotsResponse>;
|
|
65
|
-
potGet(user_ext_id: string, filter: {
|
|
66
|
-
jp_template_ids: number[];
|
|
67
|
-
}): Promise<GetJackpotsPotsResponse>;
|
|
68
|
-
jackpotOptIn(user_ext_id: string, payload: {
|
|
69
|
-
jp_template_id: number;
|
|
70
|
-
}): Promise<JackpotsOptinResponse>;
|
|
71
|
-
jackpotOptOut(user_ext_id: string, payload: {
|
|
72
|
-
jp_template_id: number;
|
|
73
|
-
}): Promise<JackpotsOptoutResponse>;
|
|
74
|
-
sawGetTemplates(user_ext_id: string, force_language?: string, is_visitor_mode?: boolean): Promise<SAWGetTemplatesResponse>;
|
|
75
|
-
sawGetTemplatesT(user_ext_id: string): Promise<TMiniGameTemplate[]>;
|
|
76
|
-
doAcknowledgeRequest(user_ext_id: string, request_id: string): Promise<SAWDoAknowledgeResponse>;
|
|
77
|
-
sawSpinRequest(user_ext_id: string, saw_template_id: number, round_id?: number): Promise<SAWDoSpinResponse>;
|
|
78
|
-
missionOptIn(user_ext_id: string, mission_id: number): Promise<AchievementOptinResponse>;
|
|
79
|
-
missionClaimPrize(user_ext_id: string, mission_id: number, ach_completed_id: number): Promise<AchClaimPrizeResponse>;
|
|
80
|
-
registerInTournament(user_ext_id: string, tournamentInstanceId: number): Promise<TournamentRegisterResponse>;
|
|
81
|
-
buyStoreItem(user_ext_id: string, itemId: number): Promise<BuyStoreItemResponse>;
|
|
82
|
-
inboxGetMessages(user_ext_id: string, limit?: number, offset?: number): Promise<GetInboxMessagesResponse>;
|
|
83
|
-
storeGetItems(user_ext_id: string, force_language?: string): Promise<GetStoreItemsResponse>;
|
|
84
|
-
storeGetItemsT(user_ext_id: string): Promise<TStoreItem[]>;
|
|
85
|
-
storeGetCategories(user_ext_id: string, force_language?: string): Promise<GetCategoriesStoreResponse>;
|
|
86
|
-
storeGetCategoriesT(user_ext_id: string): Promise<TStoreCategory[]>;
|
|
87
|
-
storeGetPurchasedItems(user_ext_id: string, limit?: number, offset?: number): Promise<GetStoreHistoryResponse>;
|
|
88
|
-
storeGetPurchasedItemsT(user_ext_id: string, limit?: number, offset?: number): Promise<TStoreItem[]>;
|
|
89
|
-
missionsGetItems(user_ext_id: string, force_language?: string): Promise<GetAchievementMapResponse>;
|
|
90
|
-
missionsGetItemsT(user_ext_id: string): Promise<TMissionOrBadge[]>;
|
|
91
|
-
getUserGamificationInfo(user_ext_id: string): Promise<GetAchievementsUserInfoResponse>;
|
|
92
|
-
getUserGamificationInfoT(user_ext_id: string): Promise<UserLevelExtraCountersT>;
|
|
93
|
-
achGetCategories(user_ext_id: string, force_language?: string): Promise<GetAchCategoriesResponse>;
|
|
94
|
-
achGetCategoriesT(user_ext_id: string): Promise<TAchCategory[]>;
|
|
95
|
-
badgetsGetItems(user_ext_id: string, force_language?: string): Promise<GetAchievementMapResponse>;
|
|
96
|
-
badgetsGetItemsT(user_ext_id: string): Promise<TMissionOrBadge[]>;
|
|
97
|
-
tournamentsGetLobby(user_ext_id: string, force_language?: string): Promise<GetTournamentsResponse>;
|
|
98
|
-
tournamentsGetLobbyT(user_ext_id: string): Promise<TTournament[]>;
|
|
99
|
-
tournamentsGetInfo(user_ext_id: string, tournamentInstanceId: number, force_language?: string): Promise<GetTournamentInfoResponse>;
|
|
100
|
-
tournamentsGetInfoT(user_ext_id: string, tournamentInstanceId: number): Promise<TTournamentDetailed>;
|
|
101
|
-
leaderboardGet(user_ext_id: string, period_type_id?: LeaderBoardPeriodType, prevPeriod?: boolean, force_language?: string): Promise<LeaderBoardDetails>;
|
|
102
|
-
leaderboardsGetT(user_ext_id: string, period_type_id?: LeaderBoardPeriodType, prevPeriod?: boolean): Promise<LeaderBoardDetailsT>;
|
|
103
|
-
levelsGet(user_ext_id: string, force_language?: string): Promise<GetLevelMapResponse>;
|
|
104
|
-
levelsGetT(user_ext_id: string): Promise<TLevel[]>;
|
|
105
|
-
getCustomSections(user_ext_id: string): Promise<GetCustomSectionsResponse>;
|
|
106
|
-
getCustomSectionsT(user_ext_id: string): Promise<TUICustomSection[]>;
|
|
107
|
-
getTranslationsT(user_ext_id: string, lang_code: string, areas: TranslationArea[], cacheSec?: number): Promise<GetTranslationsResponse>;
|
|
108
|
-
getInboxMessages(user_ext_id: string, limit: number, offset: number, starred_only: boolean): Promise<GetInboxMessagesResponse>;
|
|
109
|
-
getInboxMessagesT(user_ext_id: string, from?: number, to?: number, favoriteOnly?: boolean): Promise<TInboxMessage[]>;
|
|
110
|
-
getInboxMessageBody(messageGuid: string): Promise<InboxMessageBody>;
|
|
111
|
-
getInboxMessageBodyT(messageGuid: string): Promise<TInboxMessageBody>;
|
|
112
|
-
markInboxMessageRead(user_ext_id: string, messageGuid: string): Promise<MarkInboxMessageReadResponse>;
|
|
113
|
-
markAllInboxMessageRead(user_ext_id: string): Promise<MarkInboxMessageReadResponse>;
|
|
114
|
-
markUnmarkInboxMessageAsFavorite(user_ext_id: string, messageGuid: string, mark: boolean): Promise<MarkInboxMessageStarredResponse>;
|
|
115
|
-
deleteInboxMessage(user_ext_id: string, messageGuid: string): Promise<MarkInboxMessageDeletedResponse>;
|
|
116
|
-
deleteAllInboxMessages(user_ext_id: string): Promise<MarkInboxMessageDeletedResponse>;
|
|
117
|
-
getWSCalls(): WSAPI;
|
|
118
|
-
}
|
|
119
|
-
export { SmarticoAPI, MessageSender };
|
|
1
|
+
import { ClassId } from "./Base/ClassId";
|
|
2
|
+
import { SAWGetTemplatesResponse } from './MiniGames/SAWGetTemplatesResponse';
|
|
3
|
+
import { ILogger } from './ILogger';
|
|
4
|
+
import { SAWDoAknowledgeResponse, SAWDoSpinResponse } from './MiniGames';
|
|
5
|
+
import { GetTranslationsResponse, PublicLabelSettings, ResponseIdentify, TranslationArea } from './Core';
|
|
6
|
+
import { GetLabelInfoResponse } from './Core/GetLabelInfoResponse';
|
|
7
|
+
import { GetInboxMessagesResponse, InboxMessageBody, MarkInboxMessageDeletedResponse, MarkInboxMessageReadResponse, MarkInboxMessageStarredResponse } from './Inbox';
|
|
8
|
+
import { BuyStoreItemResponse, GetCategoriesStoreResponse, GetStoreHistoryResponse, GetStoreItemsResponse } from './Store';
|
|
9
|
+
import { AchClaimPrizeResponse, AchievementOptinResponse, GetAchCategoriesResponse, GetAchievementMapResponse } from './Missions';
|
|
10
|
+
import { GetTournamentInfoResponse, GetTournamentsResponse, TournamentRegisterResponse } from './Tournaments';
|
|
11
|
+
import { LeaderBoardDetails, LeaderBoardPeriodType } from "./Leaderboard";
|
|
12
|
+
import { GetLevelMapResponse } from "./Level";
|
|
13
|
+
import { WSAPI } from "./WSAPI/WSAPI";
|
|
14
|
+
import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection } from "./WSAPI/WSAPITypes";
|
|
15
|
+
import { GetAchievementsUserInfoResponse } from "./Core/GetAchievementsUserInfoResponse";
|
|
16
|
+
import { GetJackpotsPotsResponse, GetJackpotsResponse, JackpotsOptinResponse, JackpotsOptoutResponse } from "./Jackpots";
|
|
17
|
+
import { GetCustomSectionsResponse } from "./CustomSections";
|
|
18
|
+
interface Tracker {
|
|
19
|
+
label_api_key: string;
|
|
20
|
+
userPublicProps: any;
|
|
21
|
+
on: (callBackKey: ClassId, func: (data: any) => void) => void;
|
|
22
|
+
getLabelSetting: (key: PublicLabelSettings) => any;
|
|
23
|
+
}
|
|
24
|
+
interface IOptions {
|
|
25
|
+
logger?: ILogger;
|
|
26
|
+
logCIDs?: ClassId[];
|
|
27
|
+
logHTTPTiming?: boolean;
|
|
28
|
+
tracker?: Tracker;
|
|
29
|
+
}
|
|
30
|
+
type MessageSender = (message: any, publicApuUrl?: string, expectCID?: ClassId) => Promise<any>;
|
|
31
|
+
declare class SmarticoAPI {
|
|
32
|
+
private label_api_key;
|
|
33
|
+
private brand_api_key;
|
|
34
|
+
private messageSender;
|
|
35
|
+
private publicUrl;
|
|
36
|
+
private wsUrl;
|
|
37
|
+
private inboxCdnUrl;
|
|
38
|
+
private partnerUrl;
|
|
39
|
+
avatarDomain: string;
|
|
40
|
+
private logger;
|
|
41
|
+
private logCIDs;
|
|
42
|
+
private logHTTPTiming;
|
|
43
|
+
tracker?: Tracker;
|
|
44
|
+
constructor(label_api_key: string, brand_api_key: string, messageSender: MessageSender, options?: IOptions);
|
|
45
|
+
static getEnvDnsSuffix(label_api_key: string): string;
|
|
46
|
+
static getEnvId(label_api_key: string): number;
|
|
47
|
+
static getCleanLabelApiKey(label_api_key: string): string;
|
|
48
|
+
static getPublicUrl(label_api_key: string): string;
|
|
49
|
+
static getPublicWsUrl(label_api_key: string): string;
|
|
50
|
+
static getAvatarUrl(label_api_key: string): string;
|
|
51
|
+
private send;
|
|
52
|
+
private buildMessage;
|
|
53
|
+
coreReportCustomEvent(user_ext_id: string, eventType: string, payload?: any): Promise<any>;
|
|
54
|
+
coreGetTranslations(user_ext_id: string, lang_code: string, areas: TranslationArea[], cacheSec?: number): Promise<GetTranslationsResponse>;
|
|
55
|
+
coreIdentifyLabel(user_ext_id: string, cacheSec?: number): Promise<GetLabelInfoResponse>;
|
|
56
|
+
coreIdentifyUser(user_ext_id: string): Promise<ResponseIdentify>;
|
|
57
|
+
coreChangeUsername(user_ext_id: string, public_username_custom: string): Promise<{
|
|
58
|
+
public_username_custom: string;
|
|
59
|
+
}>;
|
|
60
|
+
coreCheckSegments(user_ext_id: string, segment_id: number[]): Promise<TSegmentCheckResult[]>;
|
|
61
|
+
jackpotGet(user_ext_id: string, filter?: {
|
|
62
|
+
related_game_id?: string;
|
|
63
|
+
jp_template_id?: number;
|
|
64
|
+
}, force_language?: string): Promise<GetJackpotsResponse>;
|
|
65
|
+
potGet(user_ext_id: string, filter: {
|
|
66
|
+
jp_template_ids: number[];
|
|
67
|
+
}): Promise<GetJackpotsPotsResponse>;
|
|
68
|
+
jackpotOptIn(user_ext_id: string, payload: {
|
|
69
|
+
jp_template_id: number;
|
|
70
|
+
}): Promise<JackpotsOptinResponse>;
|
|
71
|
+
jackpotOptOut(user_ext_id: string, payload: {
|
|
72
|
+
jp_template_id: number;
|
|
73
|
+
}): Promise<JackpotsOptoutResponse>;
|
|
74
|
+
sawGetTemplates(user_ext_id: string, force_language?: string, is_visitor_mode?: boolean): Promise<SAWGetTemplatesResponse>;
|
|
75
|
+
sawGetTemplatesT(user_ext_id: string): Promise<TMiniGameTemplate[]>;
|
|
76
|
+
doAcknowledgeRequest(user_ext_id: string, request_id: string): Promise<SAWDoAknowledgeResponse>;
|
|
77
|
+
sawSpinRequest(user_ext_id: string, saw_template_id: number, round_id?: number): Promise<SAWDoSpinResponse>;
|
|
78
|
+
missionOptIn(user_ext_id: string, mission_id: number): Promise<AchievementOptinResponse>;
|
|
79
|
+
missionClaimPrize(user_ext_id: string, mission_id: number, ach_completed_id: number): Promise<AchClaimPrizeResponse>;
|
|
80
|
+
registerInTournament(user_ext_id: string, tournamentInstanceId: number): Promise<TournamentRegisterResponse>;
|
|
81
|
+
buyStoreItem(user_ext_id: string, itemId: number): Promise<BuyStoreItemResponse>;
|
|
82
|
+
inboxGetMessages(user_ext_id: string, limit?: number, offset?: number): Promise<GetInboxMessagesResponse>;
|
|
83
|
+
storeGetItems(user_ext_id: string, force_language?: string): Promise<GetStoreItemsResponse>;
|
|
84
|
+
storeGetItemsT(user_ext_id: string): Promise<TStoreItem[]>;
|
|
85
|
+
storeGetCategories(user_ext_id: string, force_language?: string): Promise<GetCategoriesStoreResponse>;
|
|
86
|
+
storeGetCategoriesT(user_ext_id: string): Promise<TStoreCategory[]>;
|
|
87
|
+
storeGetPurchasedItems(user_ext_id: string, limit?: number, offset?: number): Promise<GetStoreHistoryResponse>;
|
|
88
|
+
storeGetPurchasedItemsT(user_ext_id: string, limit?: number, offset?: number): Promise<TStoreItem[]>;
|
|
89
|
+
missionsGetItems(user_ext_id: string, force_language?: string): Promise<GetAchievementMapResponse>;
|
|
90
|
+
missionsGetItemsT(user_ext_id: string): Promise<TMissionOrBadge[]>;
|
|
91
|
+
getUserGamificationInfo(user_ext_id: string): Promise<GetAchievementsUserInfoResponse>;
|
|
92
|
+
getUserGamificationInfoT(user_ext_id: string): Promise<UserLevelExtraCountersT>;
|
|
93
|
+
achGetCategories(user_ext_id: string, force_language?: string): Promise<GetAchCategoriesResponse>;
|
|
94
|
+
achGetCategoriesT(user_ext_id: string): Promise<TAchCategory[]>;
|
|
95
|
+
badgetsGetItems(user_ext_id: string, force_language?: string): Promise<GetAchievementMapResponse>;
|
|
96
|
+
badgetsGetItemsT(user_ext_id: string): Promise<TMissionOrBadge[]>;
|
|
97
|
+
tournamentsGetLobby(user_ext_id: string, force_language?: string): Promise<GetTournamentsResponse>;
|
|
98
|
+
tournamentsGetLobbyT(user_ext_id: string): Promise<TTournament[]>;
|
|
99
|
+
tournamentsGetInfo(user_ext_id: string, tournamentInstanceId: number, force_language?: string): Promise<GetTournamentInfoResponse>;
|
|
100
|
+
tournamentsGetInfoT(user_ext_id: string, tournamentInstanceId: number): Promise<TTournamentDetailed>;
|
|
101
|
+
leaderboardGet(user_ext_id: string, period_type_id?: LeaderBoardPeriodType, prevPeriod?: boolean, force_language?: string): Promise<LeaderBoardDetails>;
|
|
102
|
+
leaderboardsGetT(user_ext_id: string, period_type_id?: LeaderBoardPeriodType, prevPeriod?: boolean): Promise<LeaderBoardDetailsT>;
|
|
103
|
+
levelsGet(user_ext_id: string, force_language?: string): Promise<GetLevelMapResponse>;
|
|
104
|
+
levelsGetT(user_ext_id: string): Promise<TLevel[]>;
|
|
105
|
+
getCustomSections(user_ext_id: string): Promise<GetCustomSectionsResponse>;
|
|
106
|
+
getCustomSectionsT(user_ext_id: string): Promise<TUICustomSection[]>;
|
|
107
|
+
getTranslationsT(user_ext_id: string, lang_code: string, areas: TranslationArea[], cacheSec?: number): Promise<GetTranslationsResponse>;
|
|
108
|
+
getInboxMessages(user_ext_id: string, limit: number, offset: number, starred_only: boolean): Promise<GetInboxMessagesResponse>;
|
|
109
|
+
getInboxMessagesT(user_ext_id: string, from?: number, to?: number, favoriteOnly?: boolean): Promise<TInboxMessage[]>;
|
|
110
|
+
getInboxMessageBody(messageGuid: string): Promise<InboxMessageBody>;
|
|
111
|
+
getInboxMessageBodyT(messageGuid: string): Promise<TInboxMessageBody>;
|
|
112
|
+
markInboxMessageRead(user_ext_id: string, messageGuid: string): Promise<MarkInboxMessageReadResponse>;
|
|
113
|
+
markAllInboxMessageRead(user_ext_id: string): Promise<MarkInboxMessageReadResponse>;
|
|
114
|
+
markUnmarkInboxMessageAsFavorite(user_ext_id: string, messageGuid: string, mark: boolean): Promise<MarkInboxMessageStarredResponse>;
|
|
115
|
+
deleteInboxMessage(user_ext_id: string, messageGuid: string): Promise<MarkInboxMessageDeletedResponse>;
|
|
116
|
+
deleteAllInboxMessages(user_ext_id: string): Promise<MarkInboxMessageDeletedResponse>;
|
|
117
|
+
getWSCalls(): WSAPI;
|
|
118
|
+
}
|
|
119
|
+
export { SmarticoAPI, MessageSender };
|