@smartico/public-api 0.0.371 → 0.0.375
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/Clans/JoinClanErrorCode.d.ts +22 -0
- package/dist/Clans/JoinClanResponse.d.ts +2 -1
- package/dist/Clans/index.d.ts +1 -0
- package/dist/CustomSections/UICustomSection.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +30 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/interfaces/SAWTemplateUI.md +13 -0
- package/docs/api/interfaces/TUICustomSection.md +8 -0
- package/docs/api/interfaces/UICustomSection.md +6 -0
- package/package.json +1 -1
- package/src/Clans/JoinClanErrorCode.ts +26 -0
- package/src/Clans/JoinClanResponse.ts +2 -1
- package/src/Clans/index.ts +1 -0
- package/src/CustomSections/UICustomSection.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -4077,6 +4077,7 @@ const UICustomSectionTransform = response => {
|
|
|
4077
4077
|
mission_tabs_options: r.mission_tabs_options,
|
|
4078
4078
|
overview_missions_count: r.overview_missions_count,
|
|
4079
4079
|
overview_missions_filter: r.overview_missions_filter,
|
|
4080
|
+
url_or_dp: r.url_or_dp,
|
|
4080
4081
|
theme: r.theme
|
|
4081
4082
|
}, r.section_type_id === AchCustomSectionType.LEVELS ? {
|
|
4082
4083
|
liquid_entity_data: r.liquid_entity_data,
|
|
@@ -5756,5 +5757,33 @@ const AvatarCustomizeErrorMessage = {
|
|
|
5756
5757
|
[AvatarCustomizeErrorCode.AVATAR_LABEL_LIMIT]: 'The custom avatars are not available, please try again later'
|
|
5757
5758
|
};
|
|
5758
5759
|
|
|
5759
|
-
|
|
5760
|
+
/*
|
|
5761
|
+
* Possible error codes returned in JOIN_CLAN_RESPONSE.errCode (cid: 575).
|
|
5762
|
+
* Clan-protocol-specific numeric codes defined in the handler spec.
|
|
5763
|
+
*/
|
|
5764
|
+
var JoinClanErrorCode;
|
|
5765
|
+
(function (JoinClanErrorCode) {
|
|
5766
|
+
/** No error, join completed */
|
|
5767
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_OK"] = 0] = "JOIN_CLAN_OK";
|
|
5768
|
+
/** Invalid parameters */
|
|
5769
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_INVALID_PARAMETERS"] = 1000] = "JOIN_CLAN_INVALID_PARAMETERS";
|
|
5770
|
+
/** clan_id doesn't exist for this label */
|
|
5771
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_NOT_FOUND"] = 1001] = "JOIN_CLAN_NOT_FOUND";
|
|
5772
|
+
/** members_count >= capacity_limit */
|
|
5773
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_FULL"] = 1002] = "JOIN_CLAN_FULL";
|
|
5774
|
+
/** Not enough Points / Gems / Diamonds for entry fee */
|
|
5775
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_INSUFFICIENT_FUNDS"] = 1003] = "JOIN_CLAN_INSUFFICIENT_FUNDS";
|
|
5776
|
+
/** User doesn't satisfy entry_conditions / entry_segment_id */
|
|
5777
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_SEGMENT_MISMATCH"] = 1004] = "JOIN_CLAN_SEGMENT_MISMATCH";
|
|
5778
|
+
/** User is not in a clan */
|
|
5779
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_USER_IS_NOT_IN_CLAN"] = 1005] = "JOIN_CLAN_USER_IS_NOT_IN_CLAN";
|
|
5780
|
+
/** User is within the CLAN_COOLDOWN_DAYS window */
|
|
5781
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_COOLDOWN_ACTIVE"] = 1006] = "JOIN_CLAN_COOLDOWN_ACTIVE";
|
|
5782
|
+
/** clan_status_id != 1 (clan is archived) */
|
|
5783
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_ARCHIVED"] = 1007] = "JOIN_CLAN_ARCHIVED";
|
|
5784
|
+
/** Clan joined after tournament start */
|
|
5785
|
+
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START"] = 1011] = "JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START";
|
|
5786
|
+
})(JoinClanErrorCode || (JoinClanErrorCode = {}));
|
|
5787
|
+
|
|
5788
|
+
export { AchCategoryTransform, AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter, AchievementAvailabilityStatus, AchievementClaimPeriodTypeId, AchievementStatus, AchievementTaskType, AchievementType, ActivityLogTransform, ActivityTypeLimited, AnalyticsInboxSubScreenNameId, AnalyticsInterfaceType, AnalyticsScreenNameId, AnalyticsTournamentsLobbySubScreenNameId, AttemptPeriodType, AvatarCustomizeErrorCode, AvatarCustomizeErrorMessage, BadgesTimeLimitStates, BonusItemsTransform, BonusStatus, BuyStoreItemErrorCode, ClassId, CookieStore, CoreUtils, ECacheContext, GetJackpotEligibleGamesResponseTransform, GetJackpotWinnersResponseTransform, GetLevelMapResponseTransform, InboxCategories, InboxMessageBodyTransform, InboxMessageType, InboxMessagesTransform, InboxReadStatus, JackPotTemparature, JackpotContributionType, JackpotType, JoinClanErrorCode, LeaderBoardPeriodType, LiquidEntityData, MiniGamePrizeTypeName, MiniGamePrizeTypeNamed, MissionCategory, MissionUtils, OCache, OpenLinksType, PointChangeSourceType, PrizeModifiers, PrizeModifiersKeysNames, PublicLabelSettings, QuizAnswersValueType, QuizMarketPerSport, QuizSportType, RaffleDrawInstanceState, RaffleDrawTypeExecution, RaffleTicketCapVisualization, SAWAcknowledgeType, SAWAcknowledgeTypeName, SAWAcknowledgeTypeNamed, SAWAskForUsername, SAWBuyInType, SAWBuyInTypeName, SAWBuyInTypeNamed, SAWExposeUserSpinId, SAWExposeUserSpinIdName, SAWExposeUserSpinIdNamed, SAWGPMarketType, SAWGameDifficultyType, SAWGameDifficultyTypeName, SAWGameLayout, SAWGameLayoutName, SAWGameLayoutNamed, SAWGameType, SAWGameTypeName, SAWGameTypeNamed, SAWHistoryTransform, SAWPrizeType, SAWSpinErrorCode, SAWTemplatesTransform, SAWUtils, SAWWheelLayout, SAWWinSoundFiles, SAWWinSoundType, SawGameDifficultyTypeNamed, ScheduledMissionType, SmarticoAPI, StoreCategoryTransform, StoreItemPurchaseType, StoreItemPurchasedTransform, StoreItemTransform, StoreItemType, StoreItemTypeName, StoreItemTypeNamed, TournamentInstanceStatus, TournamentInstanceStatusName, TournamentItemsTransform, TournamentRegistrationError, TournamentRegistrationStatus, TournamentRegistrationStatusName, TournamentRegistrationStatusNamed, TournamentRegistrationType, TournamentRegistrationTypeGetName, TournamentType, TournamentUtils, TranslationArea, UICustomSectionTransform, UserAchievementTransform, UserBalanceType, WSAPI, avatarCustomizedTransform, avatarDefinitionTransform, avatarPromptTransform, clanTournamentPlayersTransform, drawRunHistoryTransform, drawRunTransform, drawTransform, enrichUserAchievementsWithBadgeState, getLeaderBoardTransform, marketsInfo, prizeTransform, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizAnswersTrKeys, quizDrawReplacementText, quizEvenReplacementText, quizNoGoalsReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizSupportedSports, quizYesReplacementText, raffleClaimPrizeResponseTransform, raffleTransform, ticketsTransform, tournamentInfoItemTransform, winnersTransform };
|
|
5760
5789
|
//# sourceMappingURL=index.modern.mjs.map
|