@smartico/public-api 0.0.154 → 0.0.155
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/.prettierrc +12 -0
- package/dist/Base/ProtocolRequest.d.ts +1 -1
- package/dist/Base/ProtocolResponse.d.ts +1 -1
- package/dist/Core/CheckSegmentMatchRequest.d.ts +1 -1
- package/dist/Core/CheckSegmentMatchResponse.d.ts +1 -1
- package/dist/Core/GetAchievementsUserInfoRequest.d.ts +1 -1
- package/dist/Core/GetAchievementsUserInfoResponse.d.ts +1 -1
- package/dist/Core/GetLabelInfoRequest.d.ts +1 -1
- package/dist/Core/GetLabelInfoResponse.d.ts +1 -1
- package/dist/Core/GetTranslationsRequest.d.ts +2 -2
- package/dist/Core/GetTranslationsResponse.d.ts +1 -1
- package/dist/Core/ResponseIdentify.d.ts +2 -2
- package/dist/CustomSections/GetCustomSectionsRequest.d.ts +1 -1
- package/dist/CustomSections/GetCustomSectionsResponse.d.ts +2 -2
- package/dist/CustomSections/UICustomSection.d.ts +2 -2
- package/dist/GResponse.d.ts +1 -1
- package/dist/Inbox/GetInboxMessagesRequest.d.ts +1 -1
- package/dist/Inbox/GetInboxMessagesResponse.d.ts +3 -3
- package/dist/Inbox/InboxMessage.d.ts +2 -2
- package/dist/Inbox/MarkInboxMessageDeletedRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageDeletedResponse.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageReadRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageReadResponse.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageStarredRequest.d.ts +1 -1
- package/dist/Inbox/MarkInboxMessageStarredResponse.d.ts +1 -1
- package/dist/Inbox/index.d.ts +8 -8
- package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +1 -1
- package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +2 -2
- package/dist/Jackpots/GetJackpotsRequest.d.ts +1 -1
- package/dist/Jackpots/GetJackpotsResponse.d.ts +2 -2
- package/dist/Jackpots/JackpotDetails.d.ts +6 -6
- package/dist/Jackpots/JackpotWinPush.d.ts +3 -3
- package/dist/Jackpots/JackpotsOptinRequest.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptinResponse.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptoutRequest.d.ts +1 -1
- package/dist/Jackpots/JackpotsOptoutResponse.d.ts +1 -1
- package/dist/Leaderboard/GetLeaderBoardsRequest.d.ts +2 -2
- package/dist/Leaderboard/GetLeaderBoardsResponse.d.ts +2 -2
- package/dist/Leaderboard/LeaderBoardDetails.d.ts +3 -3
- package/dist/Leaderboard/LeaderBoards.d.ts +2 -2
- package/dist/Leaderboard/index.d.ts +6 -6
- package/dist/Level/GetLevelMapResponse.d.ts +3 -3
- package/dist/Level/Level.d.ts +1 -1
- package/dist/MiniGames/SAWAcknowledgeSpinPushRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoAknowledgeRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoAknowledgeResponse.d.ts +1 -1
- package/dist/MiniGames/SAWDoSpinRequest.d.ts +1 -1
- package/dist/MiniGames/SAWDoSpinResponse.d.ts +2 -2
- package/dist/MiniGames/SAWEventSawPush.d.ts +1 -1
- package/dist/MiniGames/SAWGetTemplatesRequest.d.ts +1 -1
- package/dist/MiniGames/SAWGetTemplatesResponse.d.ts +3 -3
- package/dist/MiniGames/SAWPrize.d.ts +2 -2
- package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +3 -1
- package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +1 -1
- package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +4 -3
- package/dist/MiniGames/SAWPrizeUI.d.ts +2 -2
- package/dist/MiniGames/SAWSpinsCountPush.d.ts +1 -1
- package/dist/MiniGames/SAWTemplate.d.ts +4 -4
- package/dist/MiniGames/SAWTemplateUI.d.ts +1 -1
- package/dist/MiniGames/SAWUtils.d.ts +1 -1
- package/dist/MiniGames/index.d.ts +24 -22
- package/dist/Missions/AchClaimPrizeRequest.d.ts +1 -1
- package/dist/Missions/AchClaimPrizeResponse.d.ts +1 -1
- package/dist/Missions/AchievementCategory.d.ts +2 -2
- package/dist/Missions/AchievementOptinRequest.d.ts +1 -1
- package/dist/Missions/AchievementOptinResponse.d.ts +1 -1
- package/dist/Missions/GetAchCategoriesRequest.d.ts +1 -1
- package/dist/Missions/GetAchCategoriesResponse.d.ts +2 -2
- package/dist/Missions/GetAchievementMapRequest.d.ts +1 -1
- package/dist/Missions/GetAchievementMapResponse.d.ts +2 -2
- package/dist/Missions/GetRelatedAchTourRequest.d.ts +1 -1
- package/dist/Missions/GetRelatedAchTourResponse.d.ts +3 -3
- package/dist/Missions/ReloadAchievementsEvent.d.ts +2 -2
- package/dist/Missions/UserAchievement.d.ts +7 -7
- package/dist/Missions/UserAchievementTask.d.ts +2 -2
- package/dist/Missions/index.d.ts +13 -13
- package/dist/Quiz/MarketsInfo.d.ts +2 -2
- package/dist/Quiz/MarketsPerSport.d.ts +1 -1
- package/dist/SmarticoAPI.d.ts +8 -8
- package/dist/SmarticoLib/index.d.ts +39 -39
- package/dist/Store/BuyStoreItemRequest.d.ts +1 -1
- package/dist/Store/BuyStoreItemResponse.d.ts +1 -1
- package/dist/Store/GetCategoriesStoreResponse.d.ts +2 -2
- package/dist/Store/GetStoreHistoryRequest.d.ts +1 -1
- package/dist/Store/GetStoreHistoryResponse.d.ts +2 -2
- package/dist/Store/GetStoreItemsResponse.d.ts +2 -2
- package/dist/Store/StoreCategory.d.ts +2 -2
- package/dist/Store/StoreItem.d.ts +3 -3
- package/dist/Store/StoreItemPurchased.d.ts +2 -2
- package/dist/Store/index.d.ts +10 -10
- package/dist/Tournaments/GetTournamentInfoRequest.d.ts +1 -1
- package/dist/Tournaments/GetTournamentInfoResponse.d.ts +5 -5
- package/dist/Tournaments/GetTournamentsRequest.d.ts +1 -1
- package/dist/Tournaments/GetTournamentsResponse.d.ts +2 -2
- package/dist/Tournaments/Tournament.d.ts +8 -8
- package/dist/Tournaments/TournamentPrize.d.ts +1 -1
- package/dist/Tournaments/TournamentRegisterRequest.d.ts +1 -1
- package/dist/Tournaments/TournamentRegisterResponse.d.ts +2 -2
- package/dist/Tournaments/TournamentUtils.d.ts +3 -3
- package/dist/Tournaments/index.d.ts +16 -16
- package/dist/WSAPI/WSAPI.d.ts +65 -65
- package/dist/WSAPI/WSAPITypes.d.ts +18 -18
- package/dist/index.js +76 -78
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +103 -103
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Base/AchRelatedGame.ts +13 -13
- package/src/Base/ClassId.ts +118 -121
- package/src/Base/ProtocolMessage.ts +6 -7
- package/src/Base/ProtocolRequest.ts +4 -5
- package/src/Base/ProtocolResponse.ts +3 -5
- package/src/CookieStore.ts +10 -11
- package/src/Core/ActivityTypeLimited.ts +17 -18
- package/src/Core/CheckSegmentMatchRequest.ts +2 -3
- package/src/Core/CheckSegmentMatchResponse.ts +6 -6
- package/src/Core/CoreUtils.ts +37 -39
- package/src/Core/GetAchievementsUserInfoRequest.ts +2 -4
- package/src/Core/GetAchievementsUserInfoResponse.ts +4 -4
- package/src/Core/GetLabelInfoRequest.ts +2 -4
- package/src/Core/GetLabelInfoResponse.ts +4 -4
- package/src/Core/GetTranslationsRequest.ts +5 -7
- package/src/Core/GetTranslationsResponse.ts +3 -5
- package/src/Core/PublicLabelSettings.ts +29 -30
- package/src/Core/PublicProperties.ts +7 -7
- package/src/Core/ResponseIdentify.ts +12 -12
- package/src/Core/TranslationArea.ts +8 -9
- package/src/Core/index.ts +1 -1
- package/src/CustomSections/AchCustomSection.ts +20 -20
- package/src/CustomSections/GetCustomSectionsRequest.ts +2 -4
- package/src/CustomSections/GetCustomSectionsResponse.ts +4 -5
- package/src/CustomSections/UICustomSection.ts +30 -29
- package/src/CustomSections/index.ts +4 -4
- package/src/ErrorCodes.ts +11 -12
- package/src/GResponse.ts +5 -5
- package/src/ILogger.ts +6 -10
- package/src/Inbox/GetInboxMessagesRequest.ts +4 -5
- package/src/Inbox/GetInboxMessagesResponse.ts +15 -17
- package/src/Inbox/InboxMessage.ts +31 -33
- package/src/Inbox/InboxMessageType.ts +9 -9
- package/src/Inbox/MarkInboxMessageDeletedRequest.ts +3 -3
- package/src/Inbox/MarkInboxMessageDeletedResponse.ts +3 -3
- package/src/Inbox/MarkInboxMessageReadRequest.ts +4 -5
- package/src/Inbox/MarkInboxMessageReadResponse.ts +4 -5
- package/src/Inbox/MarkInboxMessageStarredRequest.ts +4 -5
- package/src/Inbox/MarkInboxMessageStarredResponse.ts +4 -5
- package/src/Inbox/index.ts +10 -10
- package/src/IntUtils.ts +72 -85
- package/src/Jackpots/GetJackpotsPotsRequest.ts +3 -3
- package/src/Jackpots/GetJackpotsPotsResponse.ts +3 -5
- package/src/Jackpots/GetJackpotsRequest.ts +4 -6
- package/src/Jackpots/GetJackpotsResponse.ts +5 -7
- package/src/Jackpots/JackPotWinner.ts +11 -12
- package/src/Jackpots/JackpotContributionType.ts +3 -4
- package/src/Jackpots/JackpotDetails.ts +31 -31
- package/src/Jackpots/JackpotHtmlTemplate.ts +3 -3
- package/src/Jackpots/JackpotPot.ts +11 -12
- package/src/Jackpots/JackpotPublicMeta.ts +16 -16
- package/src/Jackpots/JackpotType.ts +2 -5
- package/src/Jackpots/JackpotWinPush.ts +6 -6
- package/src/Jackpots/JackpotsOptinRequest.ts +3 -5
- package/src/Jackpots/JackpotsOptinResponse.ts +2 -4
- package/src/Jackpots/JackpotsOptoutRequest.ts +3 -5
- package/src/Jackpots/JackpotsOptoutResponse.ts +2 -4
- package/src/Jackpots/index.ts +16 -16
- package/src/Leaderboard/GetLeaderBoardsRequest.ts +8 -9
- package/src/Leaderboard/GetLeaderBoardsResponse.ts +4 -6
- package/src/Leaderboard/LeaderBoardDetails.ts +11 -12
- package/src/Leaderboard/LeaderBoardPeriodType.ts +3 -3
- package/src/Leaderboard/LeaderBoardPosition.ts +9 -10
- package/src/Leaderboard/LeaderBoardPublicMeta.ts +3 -4
- package/src/Leaderboard/LeaderBoards.ts +42 -42
- package/src/Leaderboard/index.ts +6 -6
- package/src/Level/GetLevelMapResponse.ts +18 -21
- package/src/Level/Level.ts +10 -11
- package/src/Level/LevelPublicMeta.ts +17 -17
- package/src/Level/index.ts +3 -3
- package/src/MiniGames/SAWAcknowledgeSpinPushRequest.ts +3 -4
- package/src/MiniGames/SAWAcknowledgeType.ts +3 -4
- package/src/MiniGames/SAWAskForUsername.ts +3 -4
- package/src/MiniGames/SAWBuyInType.ts +15 -13
- package/src/MiniGames/SAWDoAknowledgeRequest.ts +3 -3
- package/src/MiniGames/SAWDoAknowledgeResponse.ts +3 -3
- package/src/MiniGames/SAWDoSpinRequest.ts +3 -5
- package/src/MiniGames/SAWDoSpinResponse.ts +10 -11
- package/src/MiniGames/SAWEventSawPush.ts +3 -4
- package/src/MiniGames/SAWGameType.ts +23 -21
- package/src/MiniGames/SAWGetTemplatesRequest.ts +3 -3
- package/src/MiniGames/SAWGetTemplatesResponse.ts +53 -65
- package/src/MiniGames/SAWPrize.ts +11 -12
- package/src/MiniGames/SAWPrizeDropAknowledgeRequest.ts +5 -3
- package/src/MiniGames/SAWPrizeDropAknowledgeResponse.ts +3 -3
- package/src/MiniGames/SAWPrizeDropWinPush.ts +9 -8
- package/src/MiniGames/SAWPrizeType.ts +23 -22
- package/src/MiniGames/SAWPrizeUI.ts +17 -17
- package/src/MiniGames/SAWSpinErrorCode.ts +15 -16
- package/src/MiniGames/SAWSpinsCountPush.ts +4 -4
- package/src/MiniGames/SAWTemplate.ts +29 -29
- package/src/MiniGames/SAWTemplateUI.ts +45 -47
- package/src/MiniGames/SAWUtils.ts +23 -26
- package/src/MiniGames/SAWWinSoundType.ts +10 -11
- package/src/MiniGames/index.ts +24 -22
- package/src/Missions/AchCategoryPublicMeta.ts +2 -3
- package/src/Missions/AchClaimPrizeRequest.ts +4 -5
- package/src/Missions/AchClaimPrizeResponse.ts +3 -4
- package/src/Missions/AchievementCategory.ts +14 -15
- package/src/Missions/AchievementOptinRequest.ts +3 -5
- package/src/Missions/AchievementOptinResponse.ts +2 -4
- package/src/Missions/AchievementPublicMeta.ts +19 -20
- package/src/Missions/AchievementStatus.ts +7 -8
- package/src/Missions/AchievementTaskPublicMeta.ts +2 -3
- package/src/Missions/AchievementTaskType.ts +2 -2
- package/src/Missions/AchievementType.ts +2 -3
- package/src/Missions/GetAchCategoriesRequest.ts +2 -4
- package/src/Missions/GetAchCategoriesResponse.ts +4 -5
- package/src/Missions/GetAchievementMapRequest.ts +2 -4
- package/src/Missions/GetAchievementMapResponse.ts +3 -5
- package/src/Missions/GetRelatedAchTourRequest.ts +3 -4
- package/src/Missions/GetRelatedAchTourResponse.ts +5 -7
- package/src/Missions/ReloadAchievementsEvent.ts +5 -5
- package/src/Missions/ScheduledMissionType.ts +4 -5
- package/src/Missions/UserAchievement.ts +104 -108
- package/src/Missions/UserAchievementTask.ts +13 -15
- package/src/Missions/index.ts +19 -19
- package/src/NodeCache.ts +44 -49
- package/src/OCache.ts +51 -57
- package/src/Quiz/MarketsAnswers.ts +34 -34
- package/src/Quiz/MarketsInfo.ts +184 -177
- package/src/Quiz/MarketsPerSport.ts +30 -37
- package/src/Quiz/MarketsType.ts +28 -28
- package/src/Quiz/ScoreResultTypes.ts +18 -18
- package/src/Quiz/SportTypes.ts +4 -4
- package/src/Quiz/index.ts +6 -6
- package/src/SmarticoAPI.ts +769 -730
- package/src/SmarticoLib/index.ts +1053 -1069
- package/src/Store/BuyStoreItemErrorCode.ts +10 -10
- package/src/Store/BuyStoreItemRequest.ts +2 -2
- package/src/Store/BuyStoreItemResponse.ts +2 -3
- package/src/Store/GetCategoriesStoreResponse.ts +3 -8
- package/src/Store/GetStoreHistoryRequest.ts +3 -3
- package/src/Store/GetStoreHistoryResponse.ts +4 -4
- package/src/Store/GetStoreItemsResponse.ts +3 -4
- package/src/Store/StoreCategory.ts +14 -15
- package/src/Store/StoreCategoryPublicMeta.ts +2 -3
- package/src/Store/StoreItem.ts +32 -33
- package/src/Store/StoreItemPublicMeta.ts +10 -10
- package/src/Store/StoreItemPurchased.ts +40 -40
- package/src/Store/StoreItemType.ts +20 -19
- package/src/Store/index.ts +13 -13
- package/src/Tournaments/GetTournamentInfoRequest.ts +2 -3
- package/src/Tournaments/GetTournamentInfoResponse.ts +45 -48
- package/src/Tournaments/GetTournamentsRequest.ts +2 -4
- package/src/Tournaments/GetTournamentsResponse.ts +7 -14
- package/src/Tournaments/Tournament.ts +109 -115
- package/src/Tournaments/TournamentInstanceStatus.ts +17 -18
- package/src/Tournaments/TournamentPlayer.ts +7 -8
- package/src/Tournaments/TournamentPrize.ts +9 -10
- package/src/Tournaments/TournamentPublicMeta.ts +26 -26
- package/src/Tournaments/TournamentRegisterRequest.ts +2 -3
- package/src/Tournaments/TournamentRegisterResponse.ts +3 -7
- package/src/Tournaments/TournamentRegistrationError.ts +9 -9
- package/src/Tournaments/TournamentRegistrationStatus.ts +25 -27
- package/src/Tournaments/TournamentRegistrationType.ts +15 -16
- package/src/Tournaments/TournamentType.ts +3 -4
- package/src/Tournaments/TournamentUtils.ts +90 -89
- package/src/Tournaments/index.ts +16 -16
- package/src/WSAPI/WSAPI.ts +781 -763
- package/src/WSAPI/WSAPITypes.ts +574 -586
- package/src/index.ts +15 -15
package/.prettierrc
ADDED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolRequest } from
|
|
2
|
-
import { TranslationArea } from
|
|
1
|
+
import { ProtocolRequest } from '../Base/ProtocolRequest';
|
|
2
|
+
import { TranslationArea } from './TranslationArea';
|
|
3
3
|
export interface GetTranslationsRequest extends ProtocolRequest {
|
|
4
4
|
hash_code: number;
|
|
5
5
|
areas: TranslationArea[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { PublicProperties } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { PublicProperties } from './PublicProperties';
|
|
3
3
|
interface ResponseIdentify extends ProtocolResponse {
|
|
4
4
|
user_id: number;
|
|
5
5
|
ext_user_id: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { UICustomSection } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { UICustomSection } from './UICustomSection';
|
|
3
3
|
export interface GetCustomSectionsResponse extends ProtocolResponse {
|
|
4
4
|
customSections: {
|
|
5
5
|
[key: string]: UICustomSection;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TUICustomSection } from
|
|
2
|
-
import { AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter } from
|
|
1
|
+
import { TUICustomSection } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter } from './AchCustomSection';
|
|
3
3
|
export interface UICustomSection {
|
|
4
4
|
body?: string;
|
|
5
5
|
menu_img?: string;
|
package/dist/GResponse.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TInboxMessage } from
|
|
2
|
-
import { ProtocolResponse } from
|
|
3
|
-
import { InboxMessage } from
|
|
1
|
+
import { TInboxMessage } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
3
|
+
import { InboxMessage } from './InboxMessage';
|
|
4
4
|
export interface GetInboxMessagesResponse extends ProtocolResponse {
|
|
5
5
|
log: InboxMessage[];
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TInboxMessageBody } from
|
|
2
|
-
import { InboxMessageType } from
|
|
1
|
+
import { TInboxMessageBody } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { InboxMessageType } from './InboxMessageType';
|
|
3
3
|
export interface InboxMessageBody {
|
|
4
4
|
action: string;
|
|
5
5
|
body: string;
|
package/dist/Inbox/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
1
|
+
export * from './GetInboxMessagesRequest';
|
|
2
|
+
export * from './GetInboxMessagesResponse';
|
|
3
|
+
export * from './InboxMessage';
|
|
4
|
+
export * from './InboxMessageType';
|
|
5
|
+
export * from './MarkInboxMessageReadRequest';
|
|
6
|
+
export * from './MarkInboxMessageReadResponse';
|
|
7
|
+
export * from './MarkInboxMessageStarredRequest';
|
|
8
|
+
export * from './MarkInboxMessageStarredResponse';
|
|
9
9
|
export * from './MarkInboxMessageDeletedRequest';
|
|
10
10
|
export * from './MarkInboxMessageDeletedResponse';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { JackpotPot } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { JackpotPot } from './JackpotPot';
|
|
3
3
|
export interface GetJackpotsPotsResponse extends ProtocolResponse {
|
|
4
4
|
items: JackpotPot[];
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { JackpotDetails } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { JackpotDetails } from './JackpotDetails';
|
|
3
3
|
export interface GetJackpotsResponse extends ProtocolResponse {
|
|
4
4
|
items: JackpotDetails[];
|
|
5
5
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AchRelatedGame } from
|
|
2
|
-
import { JackpotContributionType } from
|
|
3
|
-
import { JackpotPot } from
|
|
4
|
-
import { JackpotPublicMeta } from
|
|
5
|
-
import { JackpotType } from
|
|
1
|
+
import { AchRelatedGame } from '../Base/AchRelatedGame';
|
|
2
|
+
import { JackpotContributionType } from './JackpotContributionType';
|
|
3
|
+
import { JackpotPot } from './JackpotPot';
|
|
4
|
+
import { JackpotPublicMeta } from './JackpotPublicMeta';
|
|
5
|
+
import { JackpotType } from './JackpotType';
|
|
6
6
|
/**
|
|
7
7
|
* JackpotDetails the information about Jackpot template
|
|
8
8
|
* It also includes JackpotPot object that holds the current value of the jackpot
|
|
9
9
|
* Flag is_opted_in indicates if the current user is opted in to the jackpot
|
|
10
|
-
*/
|
|
10
|
+
*/
|
|
11
11
|
interface JackpotDetails {
|
|
12
12
|
/** ID of the jackpot template */
|
|
13
13
|
jp_template_id: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProtocolMessage } from
|
|
2
|
-
import { JackPotWinner } from
|
|
3
|
-
import { JackpotDetails } from
|
|
1
|
+
import { ProtocolMessage } from '../Base/ProtocolMessage';
|
|
2
|
+
import { JackPotWinner } from './JackPotWinner';
|
|
3
|
+
import { JackpotDetails } from './JackpotDetails';
|
|
4
4
|
export interface JackpotWinPush extends ProtocolMessage {
|
|
5
5
|
jackpot: JackpotDetails;
|
|
6
6
|
winners: JackPotWinner[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolMessage } from
|
|
2
|
-
import { LeaderBoardPeriodType } from
|
|
1
|
+
import { ProtocolMessage } from '../Base/ProtocolMessage';
|
|
2
|
+
import { LeaderBoardPeriodType } from './LeaderBoardPeriodType';
|
|
3
3
|
export interface GetLeaderBoardsRequest extends ProtocolMessage {
|
|
4
4
|
period_type_id?: LeaderBoardPeriodType;
|
|
5
5
|
snapshot_offset?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { LeaderBoardDetails } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { LeaderBoardDetails } from './LeaderBoardDetails';
|
|
3
3
|
export interface GetLeaderBoardsResponse extends ProtocolResponse {
|
|
4
4
|
map: {
|
|
5
5
|
[key: string]: LeaderBoardDetails;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LeaderBoardPeriodType } from
|
|
2
|
-
import { LeaderBoardPosition } from
|
|
3
|
-
import { LeaderBoardPublicMeta } from
|
|
1
|
+
import { LeaderBoardPeriodType } from './LeaderBoardPeriodType';
|
|
2
|
+
import { LeaderBoardPosition } from './LeaderBoardPosition';
|
|
3
|
+
import { LeaderBoardPublicMeta } from './LeaderBoardPublicMeta';
|
|
4
4
|
export interface LeaderBoardDetails {
|
|
5
5
|
board_id: number;
|
|
6
6
|
period_type_id: LeaderBoardPeriodType;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LeaderBoardDetailsT } from
|
|
2
|
-
import { LeaderBoardDetails } from
|
|
1
|
+
import { LeaderBoardDetailsT } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { LeaderBoardDetails } from './LeaderBoardDetails';
|
|
3
3
|
export declare const getLeaderBoardTransform: (board: LeaderBoardDetails) => LeaderBoardDetailsT;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
1
|
+
export * from './GetLeaderBoardsRequest';
|
|
2
|
+
export * from './GetLeaderBoardsResponse';
|
|
3
|
+
export * from './LeaderBoardDetails';
|
|
4
|
+
export * from './LeaderBoardPeriodType';
|
|
5
|
+
export * from './LeaderBoardPosition';
|
|
6
|
+
export * from './LeaderBoardPublicMeta';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { TLevel } from
|
|
3
|
-
import { Level } from
|
|
1
|
+
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
2
|
+
import { TLevel } from '../WSAPI/WSAPITypes';
|
|
3
|
+
import { Level } from './Level';
|
|
4
4
|
export interface GetLevelMapResponse extends ProtocolResponse {
|
|
5
5
|
levels: Level[];
|
|
6
6
|
}
|
package/dist/Level/Level.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from
|
|
2
|
-
import { SAWSpinErrorCode } from
|
|
1
|
+
import { ProtocolResponse } from './../Base/ProtocolResponse';
|
|
2
|
+
import { SAWSpinErrorCode } from './SAWSpinErrorCode';
|
|
3
3
|
export interface SAWDoSpinResponse extends ProtocolResponse {
|
|
4
4
|
errCode: SAWSpinErrorCode;
|
|
5
5
|
errMsg?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TMiniGameTemplate } from
|
|
2
|
-
import { ProtocolResponse } from
|
|
3
|
-
import { SAWTemplate } from
|
|
1
|
+
import { TMiniGameTemplate } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { ProtocolResponse } from './../Base/ProtocolResponse';
|
|
3
|
+
import { SAWTemplate } from './SAWTemplate';
|
|
4
4
|
export interface SAWGetTemplatesResponse extends ProtocolResponse {
|
|
5
5
|
templates: SAWTemplate[];
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SAWPrizeType } from
|
|
2
|
-
import { SAWPrizeUI } from
|
|
1
|
+
import { SAWPrizeType } from './SAWPrizeType';
|
|
2
|
+
import { SAWPrizeUI } from './SAWPrizeUI';
|
|
3
3
|
export interface SAWPrize {
|
|
4
4
|
saw_prize_id: number;
|
|
5
5
|
saw_prize_ui_definition: SAWPrizeUI;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ProtocolMessage } from
|
|
1
|
+
import { ProtocolMessage } from '../Base/ProtocolMessage';
|
|
2
2
|
export interface SAWPrizeDropAknowledgeRequest extends ProtocolMessage {
|
|
3
3
|
request_id: string;
|
|
4
|
+
pending_message_id: number;
|
|
5
|
+
claim_required: boolean;
|
|
4
6
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ProtocolMessage } from
|
|
2
|
-
import { SAWPrize } from
|
|
3
|
-
import { SAWTemplate } from
|
|
1
|
+
import { ProtocolMessage } from '.././Base/ProtocolMessage';
|
|
2
|
+
import { SAWPrize } from './SAWPrize';
|
|
3
|
+
import { SAWTemplate } from './SAWTemplate';
|
|
4
4
|
export interface SAWPrizeDropWinPush extends ProtocolMessage {
|
|
5
5
|
request_id: string;
|
|
6
6
|
saw_template_id: number;
|
|
7
7
|
saw_prize: SAWPrize;
|
|
8
8
|
saw_template: SAWTemplate;
|
|
9
|
+
pending_message_id: number;
|
|
9
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SAWAcknowledgeType } from
|
|
2
|
-
import { SAWWinSoundType } from
|
|
1
|
+
import { SAWAcknowledgeType } from './SAWAcknowledgeType';
|
|
2
|
+
import { SAWWinSoundType } from './SAWWinSoundType';
|
|
3
3
|
export interface SAWPrizeUI {
|
|
4
4
|
position?: number;
|
|
5
5
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SAWBuyInType } from
|
|
2
|
-
import { SAWGameType } from
|
|
3
|
-
import { SAWPrize } from
|
|
4
|
-
import { SAWTemplateUI } from
|
|
1
|
+
import { SAWBuyInType } from './SAWBuyInType';
|
|
2
|
+
import { SAWGameType } from './SAWGameType';
|
|
3
|
+
import { SAWPrize } from './SAWPrize';
|
|
4
|
+
import { SAWTemplateUI } from './SAWTemplateUI';
|
|
5
5
|
export interface SAWTemplate {
|
|
6
6
|
saw_template_id: number;
|
|
7
7
|
saw_game_type_id: SAWGameType;
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
1
|
+
export * from './SAWUtils';
|
|
2
|
+
export * from './SAWAcknowledgeType';
|
|
3
|
+
export * from './SAWAskForUsername';
|
|
4
|
+
export * from './SAWBuyInType';
|
|
5
|
+
export * from './SAWDoSpinRequest';
|
|
6
|
+
export * from './SAWDoSpinResponse';
|
|
7
|
+
export * from './SAWGameType';
|
|
8
|
+
export * from './SAWGetTemplatesRequest';
|
|
9
|
+
export * from './SAWGetTemplatesResponse';
|
|
10
|
+
export * from './SAWPrize';
|
|
11
|
+
export * from './SAWPrizeType';
|
|
12
|
+
export * from './SAWPrizeUI';
|
|
13
|
+
export * from './SAWSpinErrorCode';
|
|
14
|
+
export * from './SAWTemplate';
|
|
15
|
+
export * from './SAWTemplateUI';
|
|
16
|
+
export * from './SAWWinSoundType';
|
|
17
|
+
export * from './SAWDoAknowledgeRequest';
|
|
18
|
+
export * from './SAWDoAknowledgeResponse';
|
|
19
|
+
export * from './SAWSpinsCountPush';
|
|
20
|
+
export * from './SAWPrizeDropWinPush';
|
|
21
|
+
export * from './SAWPrizeDropAknowledgeRequest';
|
|
22
|
+
export * from './SAWPrizeDropAknowledgeResponse';
|
|
23
|
+
export * from './SAWEventSawPush';
|
|
24
|
+
export * from './SAWAcknowledgeSpinPushRequest';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TAchCategory } from
|
|
2
|
-
import { AchCategoryPublicMeta } from
|
|
1
|
+
import { TAchCategory } from '../WSAPI/WSAPITypes';
|
|
2
|
+
import { AchCategoryPublicMeta } from './AchCategoryPublicMeta';
|
|
3
3
|
export interface AchCategory {
|
|
4
4
|
id?: number;
|
|
5
5
|
publicMeta?: AchCategoryPublicMeta;
|