@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
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { SAWBuyInType } from "./SAWBuyInType";
|
|
2
|
-
import { SAWGameType } from "./SAWGameType";
|
|
3
|
-
import { SAWPrize } from "./SAWPrize";
|
|
4
|
-
import { SAWTemplateUI } from "./SAWTemplateUI";
|
|
5
|
-
export interface SAWTemplate {
|
|
6
|
-
saw_template_id: number;
|
|
7
|
-
saw_game_type_id: SAWGameType;
|
|
8
|
-
saw_template_ui_definition: SAWTemplateUI;
|
|
9
|
-
saw_buyin_type_id: SAWBuyInType;
|
|
10
|
-
buyin_cost_points?: number;
|
|
11
|
-
visibile_when_can_spin: boolean;
|
|
12
|
-
spin_count?: number;
|
|
13
|
-
prizes: SAWPrize[];
|
|
14
|
-
is_visible: boolean;
|
|
15
|
-
jackpot_add_on_attempt: number;
|
|
16
|
-
jackpot_current: number;
|
|
17
|
-
jackpot_guaranteed: number;
|
|
18
|
-
maxActiveSpinsAllowed: number;
|
|
19
|
-
maxSpinsCount: number;
|
|
20
|
-
maxSpinsPediodMs: number;
|
|
21
|
-
next_available_spin_ts?: number;
|
|
22
|
-
saw_skin_key: string;
|
|
23
|
-
saw_skin_ui_definition: {
|
|
24
|
-
skin_folder: string;
|
|
25
|
-
skin_css: string;
|
|
26
|
-
};
|
|
27
|
-
expose_game_stat_on_api?: boolean;
|
|
28
|
-
requires_prize_claim?: boolean;
|
|
29
|
-
}
|
|
1
|
+
import { SAWBuyInType } from "./SAWBuyInType";
|
|
2
|
+
import { SAWGameType } from "./SAWGameType";
|
|
3
|
+
import { SAWPrize } from "./SAWPrize";
|
|
4
|
+
import { SAWTemplateUI } from "./SAWTemplateUI";
|
|
5
|
+
export interface SAWTemplate {
|
|
6
|
+
saw_template_id: number;
|
|
7
|
+
saw_game_type_id: SAWGameType;
|
|
8
|
+
saw_template_ui_definition: SAWTemplateUI;
|
|
9
|
+
saw_buyin_type_id: SAWBuyInType;
|
|
10
|
+
buyin_cost_points?: number;
|
|
11
|
+
visibile_when_can_spin: boolean;
|
|
12
|
+
spin_count?: number;
|
|
13
|
+
prizes: SAWPrize[];
|
|
14
|
+
is_visible: boolean;
|
|
15
|
+
jackpot_add_on_attempt: number;
|
|
16
|
+
jackpot_current: number;
|
|
17
|
+
jackpot_guaranteed: number;
|
|
18
|
+
maxActiveSpinsAllowed: number;
|
|
19
|
+
maxSpinsCount: number;
|
|
20
|
+
maxSpinsPediodMs: number;
|
|
21
|
+
next_available_spin_ts?: number;
|
|
22
|
+
saw_skin_key: string;
|
|
23
|
+
saw_skin_ui_definition: {
|
|
24
|
+
skin_folder: string;
|
|
25
|
+
skin_css: string;
|
|
26
|
+
};
|
|
27
|
+
expose_game_stat_on_api?: boolean;
|
|
28
|
+
requires_prize_claim?: boolean;
|
|
29
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { SAWAskForUsername } from "./SAWAskForUsername";
|
|
2
|
-
export interface SAWTemplateUI {
|
|
3
|
-
skin: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
over_limit_message?: string;
|
|
7
|
-
no_attempts_message?: string;
|
|
8
|
-
thumbnail?: string;
|
|
9
|
-
sectors_count: number;
|
|
10
|
-
priority: number;
|
|
11
|
-
flow_builder_only: boolean;
|
|
12
|
-
background_image?: string;
|
|
13
|
-
background_image_mobile?: string;
|
|
14
|
-
background_sound?: string;
|
|
15
|
-
spin_animation_duration?: number;
|
|
16
|
-
scratch_logo?: string;
|
|
17
|
-
scratch_cover?: string;
|
|
18
|
-
scratch_bg_desktop?: string;
|
|
19
|
-
scratch_bg_mobile?: string;
|
|
20
|
-
scratch_cursor?: string;
|
|
21
|
-
custom_css?: string;
|
|
22
|
-
custom_skin_folder?: string;
|
|
23
|
-
jackpot_symbol?: string;
|
|
24
|
-
promo_image?: string;
|
|
25
|
-
promo_text?: string;
|
|
26
|
-
matchx_banner?: string;
|
|
27
|
-
matchx_seasonal_ranking?: boolean;
|
|
28
|
-
matchx_is_completed?: boolean;
|
|
29
|
-
matchx_general_board_users_count?: number;
|
|
30
|
-
matchx_hide_ranking?: boolean;
|
|
31
|
-
ask_for_username?: SAWAskForUsername;
|
|
32
|
-
show_prize_board?: boolean;
|
|
33
|
-
max_spins_period_ms?: number;
|
|
34
|
-
show_countdown_for_next_availability?: boolean;
|
|
35
|
-
disable_background_music?: boolean;
|
|
36
|
-
custom_section_id?: number;
|
|
37
|
-
only_in_custom_section?: boolean;
|
|
38
|
-
custom_data: any;
|
|
39
|
-
placeholder1?: string;
|
|
40
|
-
placeholder2?: string;
|
|
41
|
-
prize_drop_template?: {
|
|
42
|
-
id: string;
|
|
43
|
-
content: string;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
1
|
+
import { SAWAskForUsername } from "./SAWAskForUsername";
|
|
2
|
+
export interface SAWTemplateUI {
|
|
3
|
+
skin: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
over_limit_message?: string;
|
|
7
|
+
no_attempts_message?: string;
|
|
8
|
+
thumbnail?: string;
|
|
9
|
+
sectors_count: number;
|
|
10
|
+
priority: number;
|
|
11
|
+
flow_builder_only: boolean;
|
|
12
|
+
background_image?: string;
|
|
13
|
+
background_image_mobile?: string;
|
|
14
|
+
background_sound?: string;
|
|
15
|
+
spin_animation_duration?: number;
|
|
16
|
+
scratch_logo?: string;
|
|
17
|
+
scratch_cover?: string;
|
|
18
|
+
scratch_bg_desktop?: string;
|
|
19
|
+
scratch_bg_mobile?: string;
|
|
20
|
+
scratch_cursor?: string;
|
|
21
|
+
custom_css?: string;
|
|
22
|
+
custom_skin_folder?: string;
|
|
23
|
+
jackpot_symbol?: string;
|
|
24
|
+
promo_image?: string;
|
|
25
|
+
promo_text?: string;
|
|
26
|
+
matchx_banner?: string;
|
|
27
|
+
matchx_seasonal_ranking?: boolean;
|
|
28
|
+
matchx_is_completed?: boolean;
|
|
29
|
+
matchx_general_board_users_count?: number;
|
|
30
|
+
matchx_hide_ranking?: boolean;
|
|
31
|
+
ask_for_username?: SAWAskForUsername;
|
|
32
|
+
show_prize_board?: boolean;
|
|
33
|
+
max_spins_period_ms?: number;
|
|
34
|
+
show_countdown_for_next_availability?: boolean;
|
|
35
|
+
disable_background_music?: boolean;
|
|
36
|
+
custom_section_id?: number;
|
|
37
|
+
only_in_custom_section?: boolean;
|
|
38
|
+
custom_data: any;
|
|
39
|
+
placeholder1?: string;
|
|
40
|
+
placeholder2?: string;
|
|
41
|
+
prize_drop_template?: {
|
|
42
|
+
id: string;
|
|
43
|
+
content: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SAWTemplate } from "./SAWTemplate";
|
|
2
|
-
declare class SAWUtils {
|
|
3
|
-
static canPlay: (t: SAWTemplate, pointsBalance: number) => boolean;
|
|
4
|
-
}
|
|
5
|
-
export { SAWUtils };
|
|
1
|
+
import { SAWTemplate } from "./SAWTemplate";
|
|
2
|
+
declare class SAWUtils {
|
|
3
|
+
static canPlay: (t: SAWTemplate, pointsBalance: number) => boolean;
|
|
4
|
+
}
|
|
5
|
+
export { SAWUtils };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare enum SAWWinSoundType {
|
|
2
|
-
Disappointing = 1,
|
|
3
|
-
Positive = 2,
|
|
4
|
-
HighlyPositive = 3,
|
|
5
|
-
NoSound = 4,
|
|
6
|
-
Custom = 5
|
|
7
|
-
}
|
|
8
|
-
export declare const SAWWinSoundFiles: {
|
|
9
|
-
4: any;
|
|
10
|
-
1: string;
|
|
11
|
-
2: string;
|
|
12
|
-
3: string;
|
|
13
|
-
};
|
|
1
|
+
export declare enum SAWWinSoundType {
|
|
2
|
+
Disappointing = 1,
|
|
3
|
+
Positive = 2,
|
|
4
|
+
HighlyPositive = 3,
|
|
5
|
+
NoSound = 4,
|
|
6
|
+
Custom = 5
|
|
7
|
+
}
|
|
8
|
+
export declare const SAWWinSoundFiles: {
|
|
9
|
+
4: any;
|
|
10
|
+
1: string;
|
|
11
|
+
2: string;
|
|
12
|
+
3: string;
|
|
13
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
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";
|
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface AchCategoryPublicMeta {
|
|
2
|
-
name?: string;
|
|
3
|
-
order?: number;
|
|
4
|
-
}
|
|
1
|
+
export interface AchCategoryPublicMeta {
|
|
2
|
+
name?: string;
|
|
3
|
+
order?: number;
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
-
export interface AchClaimPrizeRequest extends ProtocolMessage {
|
|
3
|
-
ach_id: number;
|
|
4
|
-
ach_completed_id: number;
|
|
5
|
-
}
|
|
1
|
+
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
+
export interface AchClaimPrizeRequest extends ProtocolMessage {
|
|
3
|
+
ach_id: number;
|
|
4
|
+
ach_completed_id: number;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
-
export interface AchClaimPrizeResponse extends ProtocolResponse {
|
|
3
|
-
}
|
|
1
|
+
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
+
export interface AchClaimPrizeResponse extends ProtocolResponse {
|
|
3
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TAchCategory } from "../WSAPI/WSAPITypes";
|
|
2
|
-
import { AchCategoryPublicMeta } from "./AchCategoryPublicMeta";
|
|
3
|
-
export interface AchCategory {
|
|
4
|
-
id?: number;
|
|
5
|
-
publicMeta?: AchCategoryPublicMeta;
|
|
6
|
-
}
|
|
7
|
-
export declare const AchCategoryTransform: (items: AchCategory[]) => TAchCategory[];
|
|
1
|
+
import { TAchCategory } from "../WSAPI/WSAPITypes";
|
|
2
|
+
import { AchCategoryPublicMeta } from "./AchCategoryPublicMeta";
|
|
3
|
+
export interface AchCategory {
|
|
4
|
+
id?: number;
|
|
5
|
+
publicMeta?: AchCategoryPublicMeta;
|
|
6
|
+
}
|
|
7
|
+
export declare const AchCategoryTransform: (items: AchCategory[]) => TAchCategory[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
-
export interface AchievementOptinRequest extends ProtocolMessage {
|
|
3
|
-
achievementId: number;
|
|
4
|
-
}
|
|
1
|
+
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
+
export interface AchievementOptinRequest extends ProtocolMessage {
|
|
3
|
+
achievementId: number;
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
-
export interface AchievementOptinResponse extends ProtocolResponse {
|
|
3
|
-
}
|
|
1
|
+
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
+
export interface AchievementOptinResponse extends ProtocolResponse {
|
|
3
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export interface AchievementPublicMeta {
|
|
2
|
-
description?: string;
|
|
3
|
-
unlock_mission_description?: string;
|
|
4
|
-
custom_data?: string;
|
|
5
|
-
cta_text?: string;
|
|
6
|
-
cta_action?: string;
|
|
7
|
-
label_tag?: string;
|
|
8
|
-
custom_label_tag?: string;
|
|
9
|
-
reward?: string;
|
|
10
|
-
image_url?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
position?: number;
|
|
13
|
-
hide_tasks?: boolean;
|
|
14
|
-
hide_locked_mission?: boolean;
|
|
15
|
-
custom_section_id?: number;
|
|
16
|
-
only_in_custom_section?: boolean;
|
|
17
|
-
hint_text?: string;
|
|
18
|
-
hide_badge_from_ui?: boolean;
|
|
19
|
-
show_badge_first_task_completed?: boolean;
|
|
20
|
-
custom_section_type_id?: number;
|
|
21
|
-
}
|
|
1
|
+
export interface AchievementPublicMeta {
|
|
2
|
+
description?: string;
|
|
3
|
+
unlock_mission_description?: string;
|
|
4
|
+
custom_data?: string;
|
|
5
|
+
cta_text?: string;
|
|
6
|
+
cta_action?: string;
|
|
7
|
+
label_tag?: string;
|
|
8
|
+
custom_label_tag?: string;
|
|
9
|
+
reward?: string;
|
|
10
|
+
image_url?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
position?: number;
|
|
13
|
+
hide_tasks?: boolean;
|
|
14
|
+
hide_locked_mission?: boolean;
|
|
15
|
+
custom_section_id?: number;
|
|
16
|
+
only_in_custom_section?: boolean;
|
|
17
|
+
hint_text?: string;
|
|
18
|
+
hide_badge_from_ui?: boolean;
|
|
19
|
+
show_badge_first_task_completed?: boolean;
|
|
20
|
+
custom_section_type_id?: number;
|
|
21
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum AchievementStatus {
|
|
2
|
-
Draft = 1,
|
|
3
|
-
AvailableUnlocked = 2,
|
|
4
|
-
AvailableLocked = 3,
|
|
5
|
-
Archived = 4,
|
|
6
|
-
FeaturedManually = 5,
|
|
7
|
-
FeaturedAI = 6,
|
|
8
|
-
Recurring = 7
|
|
9
|
-
}
|
|
1
|
+
export declare enum AchievementStatus {
|
|
2
|
+
Draft = 1,
|
|
3
|
+
AvailableUnlocked = 2,
|
|
4
|
+
AvailableLocked = 3,
|
|
5
|
+
Archived = 4,
|
|
6
|
+
FeaturedManually = 5,
|
|
7
|
+
FeaturedAI = 6,
|
|
8
|
+
Recurring = 7
|
|
9
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export interface AchievementTaskPublicMeta {
|
|
2
|
-
name?: string;
|
|
3
|
-
}
|
|
1
|
+
export interface AchievementTaskPublicMeta {
|
|
2
|
+
name?: string;
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum AchievementTaskType {
|
|
2
|
-
CompleteAchievement = 1,
|
|
3
|
-
UnlockAchievement = 2
|
|
4
|
-
}
|
|
1
|
+
export declare enum AchievementTaskType {
|
|
2
|
+
CompleteAchievement = 1,
|
|
3
|
+
UnlockAchievement = 2
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum AchievementType {
|
|
2
|
-
Mission = 1,
|
|
3
|
-
Badge = 2
|
|
4
|
-
}
|
|
1
|
+
export declare enum AchievementType {
|
|
2
|
+
Mission = 1,
|
|
3
|
+
Badge = 2
|
|
4
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
-
export interface GetAchCategoriesRequest extends ProtocolMessage {
|
|
3
|
-
}
|
|
1
|
+
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
+
export interface GetAchCategoriesRequest extends ProtocolMessage {
|
|
3
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
-
import { AchCategory } from "./AchievementCategory";
|
|
3
|
-
export interface GetAchCategoriesResponse extends ProtocolResponse {
|
|
4
|
-
categories: AchCategory[];
|
|
5
|
-
}
|
|
1
|
+
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
+
import { AchCategory } from "./AchievementCategory";
|
|
3
|
+
export interface GetAchCategoriesResponse extends ProtocolResponse {
|
|
4
|
+
categories: AchCategory[];
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
-
export interface GetAchievementMapRequest extends ProtocolMessage {
|
|
3
|
-
}
|
|
1
|
+
import { ProtocolMessage } from "../Base/ProtocolMessage";
|
|
2
|
+
export interface GetAchievementMapRequest extends ProtocolMessage {
|
|
3
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
-
import { UserAchievement } from "./UserAchievement";
|
|
3
|
-
export interface GetAchievementMapResponse extends ProtocolResponse {
|
|
4
|
-
achievements?: UserAchievement[];
|
|
5
|
-
}
|
|
1
|
+
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
+
import { UserAchievement } from "./UserAchievement";
|
|
3
|
+
export interface GetAchievementMapResponse extends ProtocolResponse {
|
|
4
|
+
achievements?: UserAchievement[];
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
-
export interface ReloadAchievementsEvent extends ProtocolResponse {
|
|
3
|
-
}
|
|
1
|
+
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
|
+
export interface ReloadAchievementsEvent extends ProtocolResponse {
|
|
3
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum ScheduledMissionType {
|
|
2
|
-
Future = 1,
|
|
3
|
-
Past = 2,
|
|
4
|
-
Present = 3
|
|
5
|
-
}
|
|
1
|
+
export declare enum ScheduledMissionType {
|
|
2
|
+
Future = 1,
|
|
3
|
+
Past = 2,
|
|
4
|
+
Present = 3
|
|
5
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { AchRelatedGame } from "../Base/AchRelatedGame";
|
|
2
|
-
import { TMissionOrBadge } from "../WSAPI/WSAPITypes";
|
|
3
|
-
import { AchievementPublicMeta } from "./AchievementPublicMeta";
|
|
4
|
-
import { AchievementStatus } from "./AchievementStatus";
|
|
5
|
-
import { AchievementType } from "./AchievementType";
|
|
6
|
-
import { ScheduledMissionType } from "./ScheduledMissionType";
|
|
7
|
-
import { UserAchievementTask } from "./UserAchievementTask";
|
|
8
|
-
export interface UserAchievement {
|
|
9
|
-
ach_id?: number;
|
|
10
|
-
ach_type_id?: AchievementType;
|
|
11
|
-
ach_public_meta?: AchievementPublicMeta;
|
|
12
|
-
isCompleted?: boolean;
|
|
13
|
-
isLocked?: boolean;
|
|
14
|
-
requiresOptin?: boolean;
|
|
15
|
-
isOptedIn?: boolean;
|
|
16
|
-
start_date?: string;
|
|
17
|
-
start_date_ts?: number;
|
|
18
|
-
time_limit_ms?: number;
|
|
19
|
-
progress?: number;
|
|
20
|
-
complete_date?: string;
|
|
21
|
-
complete_date_ts?: number;
|
|
22
|
-
unlock_date?: string;
|
|
23
|
-
milliseconds_till_available?: number;
|
|
24
|
-
completed_tasks?: number;
|
|
25
|
-
achievementTasks?: UserAchievementTask[];
|
|
26
|
-
ach_status_id?: AchievementStatus;
|
|
27
|
-
scheduledMissionType?: ScheduledMissionType;
|
|
28
|
-
related_games?: AchRelatedGame[];
|
|
29
|
-
active_from_ts?: number;
|
|
30
|
-
ach_categories?: number[];
|
|
31
|
-
ach_completed_id?: number;
|
|
32
|
-
requires_prize_claim?: boolean;
|
|
33
|
-
prize_claimed_date_ts?: number;
|
|
34
|
-
completed_today?: boolean;
|
|
35
|
-
completed_this_week?: boolean;
|
|
36
|
-
completed_this_month?: boolean;
|
|
37
|
-
custom_section_type_id?: number;
|
|
38
|
-
}
|
|
39
|
-
export declare const UserAchievementTransform: (items: UserAchievement[]) => TMissionOrBadge[];
|
|
1
|
+
import { AchRelatedGame } from "../Base/AchRelatedGame";
|
|
2
|
+
import { TMissionOrBadge } from "../WSAPI/WSAPITypes";
|
|
3
|
+
import { AchievementPublicMeta } from "./AchievementPublicMeta";
|
|
4
|
+
import { AchievementStatus } from "./AchievementStatus";
|
|
5
|
+
import { AchievementType } from "./AchievementType";
|
|
6
|
+
import { ScheduledMissionType } from "./ScheduledMissionType";
|
|
7
|
+
import { UserAchievementTask } from "./UserAchievementTask";
|
|
8
|
+
export interface UserAchievement {
|
|
9
|
+
ach_id?: number;
|
|
10
|
+
ach_type_id?: AchievementType;
|
|
11
|
+
ach_public_meta?: AchievementPublicMeta;
|
|
12
|
+
isCompleted?: boolean;
|
|
13
|
+
isLocked?: boolean;
|
|
14
|
+
requiresOptin?: boolean;
|
|
15
|
+
isOptedIn?: boolean;
|
|
16
|
+
start_date?: string;
|
|
17
|
+
start_date_ts?: number;
|
|
18
|
+
time_limit_ms?: number;
|
|
19
|
+
progress?: number;
|
|
20
|
+
complete_date?: string;
|
|
21
|
+
complete_date_ts?: number;
|
|
22
|
+
unlock_date?: string;
|
|
23
|
+
milliseconds_till_available?: number;
|
|
24
|
+
completed_tasks?: number;
|
|
25
|
+
achievementTasks?: UserAchievementTask[];
|
|
26
|
+
ach_status_id?: AchievementStatus;
|
|
27
|
+
scheduledMissionType?: ScheduledMissionType;
|
|
28
|
+
related_games?: AchRelatedGame[];
|
|
29
|
+
active_from_ts?: number;
|
|
30
|
+
ach_categories?: number[];
|
|
31
|
+
ach_completed_id?: number;
|
|
32
|
+
requires_prize_claim?: boolean;
|
|
33
|
+
prize_claimed_date_ts?: number;
|
|
34
|
+
completed_today?: boolean;
|
|
35
|
+
completed_this_week?: boolean;
|
|
36
|
+
completed_this_month?: boolean;
|
|
37
|
+
custom_section_type_id?: number;
|
|
38
|
+
}
|
|
39
|
+
export declare const UserAchievementTransform: (items: UserAchievement[]) => TMissionOrBadge[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { AchievementTaskPublicMeta } from "./AchievementTaskPublicMeta";
|
|
2
|
-
import { AchievementTaskType } from "./AchievementTaskType";
|
|
3
|
-
export interface UserAchievementTask {
|
|
4
|
-
task_id?: number;
|
|
5
|
-
task_public_meta?: AchievementTaskPublicMeta;
|
|
6
|
-
points_reward?: number;
|
|
7
|
-
task_type_id: AchievementTaskType;
|
|
8
|
-
isCompleted?: boolean;
|
|
9
|
-
userExecutedCount?: number;
|
|
10
|
-
executionCount?: number;
|
|
11
|
-
userProgress?: number;
|
|
12
|
-
lastExecutionDate: string;
|
|
13
|
-
unlocked_by_mission_id?: number;
|
|
14
|
-
unlocked_by_level_id?: number;
|
|
15
|
-
}
|
|
1
|
+
import { AchievementTaskPublicMeta } from "./AchievementTaskPublicMeta";
|
|
2
|
+
import { AchievementTaskType } from "./AchievementTaskType";
|
|
3
|
+
export interface UserAchievementTask {
|
|
4
|
+
task_id?: number;
|
|
5
|
+
task_public_meta?: AchievementTaskPublicMeta;
|
|
6
|
+
points_reward?: number;
|
|
7
|
+
task_type_id: AchievementTaskType;
|
|
8
|
+
isCompleted?: boolean;
|
|
9
|
+
userExecutedCount?: number;
|
|
10
|
+
executionCount?: number;
|
|
11
|
+
userProgress?: number;
|
|
12
|
+
lastExecutionDate: string;
|
|
13
|
+
unlocked_by_mission_id?: number;
|
|
14
|
+
unlocked_by_level_id?: number;
|
|
15
|
+
}
|
package/dist/Missions/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export * from "./AchievementOptinRequest";
|
|
2
|
-
export * from "./AchievementOptinResponse";
|
|
3
|
-
export * from "./AchievementPublicMeta";
|
|
4
|
-
export * from "./AchievementStatus";
|
|
5
|
-
export * from "./AchievementTaskPublicMeta";
|
|
6
|
-
export * from "./AchievementTaskType";
|
|
7
|
-
export * from "./AchievementType";
|
|
8
|
-
export * from "./GetAchievementMapRequest";
|
|
9
|
-
export * from "./GetAchievementMapResponse";
|
|
10
|
-
export * from "./ReloadAchievementsEvent";
|
|
11
|
-
export * from "./UserAchievement";
|
|
12
|
-
export * from "./UserAchievementTask";
|
|
13
|
-
export * from "./ScheduledMissionType";
|
|
14
|
-
export * from './AchCategoryPublicMeta';
|
|
15
|
-
export * from './AchievementCategory';
|
|
16
|
-
export * from './GetAchCategoriesResponse';
|
|
17
|
-
export * from './GetAchCategoriesRequest';
|
|
18
|
-
export * from './AchClaimPrizeRequest';
|
|
19
|
-
export * from './AchClaimPrizeResponse';
|
|
1
|
+
export * from "./AchievementOptinRequest";
|
|
2
|
+
export * from "./AchievementOptinResponse";
|
|
3
|
+
export * from "./AchievementPublicMeta";
|
|
4
|
+
export * from "./AchievementStatus";
|
|
5
|
+
export * from "./AchievementTaskPublicMeta";
|
|
6
|
+
export * from "./AchievementTaskType";
|
|
7
|
+
export * from "./AchievementType";
|
|
8
|
+
export * from "./GetAchievementMapRequest";
|
|
9
|
+
export * from "./GetAchievementMapResponse";
|
|
10
|
+
export * from "./ReloadAchievementsEvent";
|
|
11
|
+
export * from "./UserAchievement";
|
|
12
|
+
export * from "./UserAchievementTask";
|
|
13
|
+
export * from "./ScheduledMissionType";
|
|
14
|
+
export * from './AchCategoryPublicMeta';
|
|
15
|
+
export * from './AchievementCategory';
|
|
16
|
+
export * from './GetAchCategoriesResponse';
|
|
17
|
+
export * from './GetAchCategoriesRequest';
|
|
18
|
+
export * from './AchClaimPrizeRequest';
|
|
19
|
+
export * from './AchClaimPrizeResponse';
|
package/dist/NodeCache.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare class NodeCache {
|
|
2
|
-
private static ttlChecker;
|
|
3
|
-
private static cache;
|
|
4
|
-
constructor();
|
|
5
|
-
get(key: string): any;
|
|
6
|
-
set(key: string, value: any, ttlSeconds?: number): void;
|
|
7
|
-
remove(key: string): void;
|
|
8
|
-
flushAll(): void;
|
|
9
|
-
}
|
|
10
|
-
export { NodeCache };
|
|
1
|
+
declare class NodeCache {
|
|
2
|
+
private static ttlChecker;
|
|
3
|
+
private static cache;
|
|
4
|
+
constructor();
|
|
5
|
+
get(key: string): any;
|
|
6
|
+
set(key: string, value: any, ttlSeconds?: number): void;
|
|
7
|
+
remove(key: string): void;
|
|
8
|
+
flushAll(): void;
|
|
9
|
+
}
|
|
10
|
+
export { NodeCache };
|