@smartico/public-api 0.0.364 → 0.0.366
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/ClassId.d.ts +8 -0
- package/dist/Clans/Clan.d.ts +17 -0
- package/dist/Clans/GetClanInfoRequest.d.ts +5 -0
- package/dist/Clans/GetClanInfoResponse.d.ts +22 -0
- package/dist/Clans/GetClanListRequest.d.ts +4 -0
- package/dist/Clans/GetClanListResponse.d.ts +9 -0
- package/dist/Clans/JoinClanRequest.d.ts +5 -0
- package/dist/Clans/JoinClanResponse.d.ts +5 -0
- package/dist/Clans/index.d.ts +7 -0
- package/dist/SmarticoAPI.d.ts +8 -1
- package/dist/SmarticoLib/index.d.ts +196 -0
- package/dist/Tournaments/GetClanTournamentPlayersRequest.d.ts +6 -0
- package/dist/Tournaments/GetClanTournamentPlayersResponse.d.ts +40 -0
- package/dist/Tournaments/GetTournamentInfoResponse.d.ts +11 -0
- package/dist/Tournaments/Tournament.d.ts +2 -0
- package/dist/Tournaments/TournamentClan.d.ts +27 -0
- package/dist/Tournaments/index.d.ts +3 -0
- package/dist/WSAPI/WSAPI.d.ts +34 -1
- package/dist/WSAPI/WSAPITypes.d.ts +144 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +561 -290
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +193 -2
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/README.md +99 -330
- package/docs/api/classes/SAWUtils.md +25 -11
- package/docs/api/classes/WSAPI.md +737 -379
- package/docs/api/enumerations/AchCustomLayoutTheme.md +25 -0
- package/docs/api/enumerations/AchCustomSectionType.md +79 -0
- package/docs/api/{enums → enumerations}/AchMissionsTabsOptions.md +5 -5
- package/docs/api/{enums → enumerations}/AchOverviewMissionsFilter.md +9 -9
- package/docs/api/{enums → enumerations}/AchievementAvailabilityStatus.md +29 -29
- package/docs/api/enumerations/AchievementStatus.md +49 -0
- package/docs/api/{enums → enumerations}/AchievementTaskType.md +3 -3
- package/docs/api/{enums → enumerations}/AchievementType.md +3 -3
- package/docs/api/enumerations/ActivityTypeLimited.md +115 -0
- package/docs/api/{enums → enumerations}/AttemptPeriodType.md +7 -7
- package/docs/api/{enums → enumerations}/BadgesTimeLimitStates.md +11 -11
- package/docs/api/{enums → enumerations}/BonusStatus-1.md +11 -11
- package/docs/api/enumerations/BonusStatus.md +37 -0
- package/docs/api/{enums → enumerations}/BuyStoreItemErrorCode.md +21 -21
- package/docs/api/{enums → enumerations}/GPRoundStatus.md +9 -9
- package/docs/api/{enums → enumerations}/GamePickMarketType.md +3 -3
- package/docs/api/{enums → enumerations}/GamePickResolutionType.md +7 -7
- package/docs/api/{enums → enumerations}/GamePickScoreType.md +3 -3
- package/docs/api/enumerations/GamePickSportType.md +375 -0
- package/docs/api/{enums → enumerations}/GameRoundOrderType.md +7 -7
- package/docs/api/{enums → enumerations}/InboxCategories.md +5 -5
- package/docs/api/enumerations/InboxMessageType.md +55 -0
- package/docs/api/{enums → enumerations}/InboxReadStatus.md +3 -3
- package/docs/api/{enums → enumerations}/JackPotTemparature.md +7 -7
- package/docs/api/{enums → enumerations}/JackpotContributionType.md +3 -3
- package/docs/api/{enums → enumerations}/JackpotType.md +3 -3
- package/docs/api/{enums → enumerations}/LeaderBoardPeriodType.md +5 -5
- package/docs/api/enumerations/LiquidEntityData.md +73 -0
- package/docs/api/enumerations/MiniGamePrizeTypeName.md +67 -0
- package/docs/api/{enums → enumerations}/OpenLinksType.md +3 -3
- package/docs/api/enumerations/PointChangeSourceType.md +109 -0
- package/docs/api/enumerations/PrizeModifiers.md +49 -0
- package/docs/api/enumerations/QuizAnswersValueType.md +121 -0
- package/docs/api/{enums → enumerations}/RaffleDrawInstanceState.md +5 -5
- package/docs/api/{enums → enumerations}/RaffleDrawTypeExecution.md +5 -5
- package/docs/api/{enums → enumerations}/RaffleTicketCapVisualization.md +5 -5
- package/docs/api/{enums → enumerations}/SAWAcknowledgeType.md +7 -7
- package/docs/api/enumerations/SAWAcknowledgeTypeName.md +25 -0
- package/docs/api/{enums → enumerations}/SAWAskForUsername.md +3 -3
- package/docs/api/enumerations/SAWBuyInType.md +31 -0
- package/docs/api/enumerations/SAWBuyInTypeName.md +37 -0
- package/docs/api/{enums → enumerations}/SAWExposeUserSpinId.md +3 -3
- package/docs/api/{enums → enumerations}/SAWExposeUserSpinIdName.md +3 -3
- package/docs/api/enumerations/SAWGPMarketType.md +157 -0
- package/docs/api/{enums → enumerations}/SAWGameDifficultyType.md +5 -5
- package/docs/api/{enums → enumerations}/SAWGameDifficultyTypeName.md +5 -5
- package/docs/api/{enums → enumerations}/SAWGameLayout.md +3 -3
- package/docs/api/{enums → enumerations}/SAWGameLayoutName.md +3 -3
- package/docs/api/enumerations/SAWGameType.md +73 -0
- package/docs/api/enumerations/SAWGameTypeName.md +79 -0
- package/docs/api/enumerations/SAWPrizeType.md +61 -0
- package/docs/api/{enums → enumerations}/SAWSpinErrorCode.md +19 -19
- package/docs/api/{enums → enumerations}/SAWWheelLayout.md +7 -7
- package/docs/api/enumerations/SAWWinSoundType.md +31 -0
- package/docs/api/{enums → enumerations}/ScheduledMissionType.md +5 -5
- package/docs/api/{enums → enumerations}/StoreItemPurchaseType.md +5 -5
- package/docs/api/enumerations/StoreItemType.md +37 -0
- package/docs/api/enumerations/StoreItemTypeName.md +43 -0
- package/docs/api/enumerations/TournamentInstanceStatus.md +43 -0
- package/docs/api/enumerations/TournamentRegistrationError.md +55 -0
- package/docs/api/enumerations/TournamentRegistrationStatus.md +43 -0
- package/docs/api/enumerations/TournamentRegistrationStatusName.md +49 -0
- package/docs/api/enumerations/TournamentRegistrationType.md +43 -0
- package/docs/api/{enums → enumerations}/TournamentType.md +5 -5
- package/docs/api/{enums → enumerations}/UserBalanceType.md +5 -5
- package/docs/api/functions/AchCategoryTransform.md +13 -0
- package/docs/api/functions/BonusItemsTransform.md +13 -0
- package/docs/api/functions/InboxMessageBodyTransform.md +13 -0
- package/docs/api/functions/SAWHistoryTransform.md +13 -0
- package/docs/api/functions/SAWTemplatesTransform.md +13 -0
- package/docs/api/functions/StoreCategoryTransform.md +13 -0
- package/docs/api/functions/StoreItemTransform.md +13 -0
- package/docs/api/functions/StoreItemTypeNamed.md +13 -0
- package/docs/api/functions/TournamentInstanceStatusName.md +13 -0
- package/docs/api/functions/TournamentItemsTransform.md +13 -0
- package/docs/api/functions/UICustomSectionTransform.md +13 -0
- package/docs/api/functions/UserAchievementTransform.md +13 -0
- package/docs/api/functions/enrichUserAchievementsWithBadgeState.md +13 -0
- package/docs/api/functions/tournamentInfoItemTransform.md +13 -0
- package/docs/api/interfaces/AchCategory.md +5 -5
- package/docs/api/interfaces/AchCategoryPublicMeta.md +5 -5
- package/docs/api/interfaces/AchRelatedGame-1.md +50 -15
- package/docs/api/interfaces/AchRelatedGame.md +35 -16
- package/docs/api/interfaces/AchievementPublicMeta.md +65 -65
- package/docs/api/interfaces/AchievementTaskPublicMeta.md +16 -16
- package/docs/api/interfaces/AffectsProgress.md +7 -7
- package/docs/api/interfaces/Bonus.md +37 -37
- package/docs/api/interfaces/BonusMetaMap-1.md +2 -2
- package/docs/api/interfaces/BonusMetaMap.md +2 -2
- package/docs/api/interfaces/BonusTemplateMetaMap-1.md +8 -8
- package/docs/api/interfaces/BonusTemplateMetaMap.md +8 -8
- package/docs/api/interfaces/Clan.md +53 -0
- package/docs/api/interfaces/ClanLeaderboardEntry.md +31 -0
- package/docs/api/interfaces/ClanPrizeStructureEntry.md +45 -0
- package/docs/api/interfaces/ClanPrizeTier.md +43 -0
- package/docs/api/interfaces/ClanPublicMeta.md +19 -0
- package/docs/api/interfaces/GamePickBoardUser.md +17 -17
- package/docs/api/interfaces/GamePickEvent.md +40 -38
- package/docs/api/interfaces/GamePickEventMeta.md +79 -59
- package/docs/api/interfaces/GamePickGameInfo.md +5 -5
- package/docs/api/interfaces/GamePickRequestParams.md +10 -12
- package/docs/api/interfaces/GamePickRound.md +96 -98
- package/docs/api/interfaces/GamePickRoundBase.md +58 -61
- package/docs/api/interfaces/GamePickRoundBoard.md +88 -90
- package/docs/api/interfaces/GamePickRoundPublicMeta.md +26 -26
- package/docs/api/interfaces/GamePickRoundRequestParams.md +15 -17
- package/docs/api/interfaces/GamePickUserInfo.md +34 -34
- package/docs/api/interfaces/GamesApiResponse.md +11 -11
- package/docs/api/interfaces/GetCustomSectionsResponse.md +23 -25
- package/docs/api/interfaces/GetDrawRunRequest.md +21 -23
- package/docs/api/interfaces/GetDrawRunResponse.md +21 -23
- package/docs/api/interfaces/GetJackpotEligibleGamesRequest.md +13 -15
- package/docs/api/interfaces/GetJackpotEligibleGamesResponse.md +21 -23
- package/docs/api/interfaces/GetJackpotWinnersRequest.md +26 -28
- package/docs/api/interfaces/GetJackpotWinnersResponse.md +23 -25
- package/docs/api/interfaces/GetJackpotsPotsRequest.md +13 -15
- package/docs/api/interfaces/GetJackpotsPotsResponse.md +21 -23
- package/docs/api/interfaces/GetJackpotsRequest.md +17 -19
- package/docs/api/interfaces/GetJackpotsResponse.md +21 -23
- package/docs/api/interfaces/GetRaffleDrawRunsHistoryRequest.md +16 -18
- package/docs/api/interfaces/GetRaffleDrawRunsHistoryResponse.md +21 -23
- package/docs/api/interfaces/GetRafflesRequest.md +14 -16
- package/docs/api/interfaces/GetRafflesResponse.md +21 -23
- package/docs/api/interfaces/GetRelatedAchTourResponse.md +24 -26
- package/docs/api/interfaces/GetTournamentInfoResponse.md +68 -38
- package/docs/api/interfaces/InboxMarkMessageAction.md +3 -3
- package/docs/api/interfaces/InboxMessage.md +18 -18
- package/docs/api/interfaces/InboxMessageBody.md +37 -29
- package/docs/api/interfaces/JackPotWinner.md +11 -11
- package/docs/api/interfaces/JackpotDetails.md +23 -23
- package/docs/api/interfaces/JackpotEligibleGame.md +19 -19
- package/docs/api/interfaces/JackpotHtmlTemplate.md +3 -3
- package/docs/api/interfaces/JackpotPot.md +11 -11
- package/docs/api/interfaces/JackpotPublicMeta.md +15 -15
- package/docs/api/interfaces/JackpotWinPush.md +15 -17
- package/docs/api/interfaces/JackpotWinnerHistory.md +5 -5
- package/docs/api/interfaces/JackpotsOptinRequest.md +13 -15
- package/docs/api/interfaces/JackpotsOptinResponse.md +19 -21
- package/docs/api/interfaces/JackpotsOptoutRequest.md +13 -15
- package/docs/api/interfaces/JackpotsOptoutResponse.md +19 -21
- package/docs/api/interfaces/LeaderBoardDetailsT.md +16 -16
- package/docs/api/interfaces/LeaderBoardUserT.md +9 -9
- package/docs/api/interfaces/LeaderBoardsRewardsT.md +3 -3
- package/docs/api/interfaces/Level.md +15 -15
- package/docs/api/interfaces/LevelPublicMeta.md +31 -24
- package/docs/api/interfaces/QuizEventMeta.md +34 -14
- package/docs/api/interfaces/Raffle.md +13 -13
- package/docs/api/interfaces/RaffleClaimPrizeRequest.md +13 -15
- package/docs/api/interfaces/RaffleClaimPrizeResponse.md +18 -20
- package/docs/api/interfaces/RaffleDraw.md +44 -44
- package/docs/api/interfaces/RaffleDrawPublicMeta.md +15 -15
- package/docs/api/interfaces/RaffleDrawRun.md +15 -15
- package/docs/api/interfaces/RaffleOptinRequest.md +17 -19
- package/docs/api/interfaces/RaffleOptinResponse.md +19 -21
- package/docs/api/interfaces/RafflePrize.md +31 -31
- package/docs/api/interfaces/RafflePrizePublicMeta.md +7 -7
- package/docs/api/interfaces/RafflePrizeWinner.md +15 -15
- package/docs/api/interfaces/RafflePublicMeta.md +16 -16
- package/docs/api/interfaces/RaffleTicket.md +3 -3
- package/docs/api/interfaces/SAWAcknowledgeSpinPushRequest.md +24 -26
- package/docs/api/interfaces/SAWDoAknowledgeRequest.md +13 -15
- package/docs/api/interfaces/SAWDoAknowledgeResponse.md +13 -15
- package/docs/api/interfaces/SAWDoSpinRequest.md +24 -26
- package/docs/api/interfaces/SAWDoSpinResponse.md +33 -35
- package/docs/api/interfaces/SAWEventSawPush.md +17 -19
- package/docs/api/interfaces/SAWGetTemplatesRequest.md +26 -28
- package/docs/api/interfaces/SAWGetTemplatesResponse.md +21 -23
- package/docs/api/interfaces/SAWPrize.md +52 -52
- package/docs/api/interfaces/SAWPrizeDropAknowledgeRequest.md +17 -19
- package/docs/api/interfaces/SAWPrizeDropAknowledgeResponse.md +13 -15
- package/docs/api/interfaces/SAWPrizeDropWinPush.md +21 -23
- package/docs/api/interfaces/SAWPrizeUI.md +78 -78
- package/docs/api/interfaces/SAWPrizesHistory.md +15 -15
- package/docs/api/interfaces/SAWSpinsCountPush.md +15 -17
- package/docs/api/interfaces/SAWTemplate.md +70 -63
- package/docs/api/interfaces/SAWTemplateUI.md +155 -150
- package/docs/api/interfaces/SAWWinningHistoryRequest.md +21 -23
- package/docs/api/interfaces/SAWWinningHistoryResponse.md +23 -25
- package/docs/api/interfaces/StoreCategory.md +5 -5
- package/docs/api/interfaces/StoreCategoryPublicMeta.md +5 -5
- package/docs/api/interfaces/StoreItem.md +19 -19
- package/docs/api/interfaces/StoreItemPublicMeta.md +51 -51
- package/docs/api/interfaces/TAchCategory.md +5 -5
- package/docs/api/interfaces/TActivityLog.md +16 -16
- package/docs/api/interfaces/TAvatarCustomized.md +27 -0
- package/docs/api/interfaces/TAvatarDefinition.md +101 -0
- package/docs/api/interfaces/TAvatarPrompt.md +44 -0
- package/docs/api/interfaces/TBonus.md +22 -22
- package/docs/api/interfaces/TBuyStoreItemResult.md +3 -3
- package/docs/api/interfaces/TClaimBonusResult.md +6 -6
- package/docs/api/interfaces/TClan.md +79 -0
- package/docs/api/interfaces/TClanInfo.md +111 -0
- package/docs/api/interfaces/TClanJoinResult.md +15 -0
- package/docs/api/interfaces/TClanTournamentPlayers.md +71 -0
- package/docs/api/interfaces/TClans.md +27 -0
- package/docs/api/interfaces/TGetJackpotEligibleGamesResponse.md +1 -1
- package/docs/api/interfaces/TGetTranslations.md +3 -3
- package/docs/api/interfaces/TInboxMessage.md +13 -13
- package/docs/api/interfaces/TInboxMessageBody.md +28 -16
- package/docs/api/interfaces/TLevel.md +21 -23
- package/docs/api/interfaces/TLevelCurrent.md +32 -34
- package/docs/api/interfaces/TMiniGamePlayBatchResult.md +12 -12
- package/docs/api/interfaces/TMiniGamePlayResult.md +5 -5
- package/docs/api/interfaces/TMiniGamePrize.md +83 -83
- package/docs/api/interfaces/TMiniGameTemplate.md +81 -81
- package/docs/api/interfaces/TMissionClaimRewardResult.md +3 -3
- package/docs/api/interfaces/TMissionOptInResult.md +3 -3
- package/docs/api/interfaces/TMissionOrBadge.md +110 -110
- package/docs/api/interfaces/TMissionOrBadgeTask.md +15 -15
- package/docs/api/interfaces/TRaffle.md +25 -25
- package/docs/api/interfaces/TRaffleDraw.md +61 -61
- package/docs/api/interfaces/TRaffleDrawRun.md +39 -39
- package/docs/api/interfaces/TRaffleOptinResponse.md +4 -4
- package/docs/api/interfaces/TRafflePrize.md +35 -35
- package/docs/api/interfaces/TRafflePrizeWinner.md +13 -13
- package/docs/api/interfaces/TRaffleTicket.md +3 -3
- package/docs/api/interfaces/TSawHistory.md +15 -15
- package/docs/api/interfaces/TSegmentCheckResult.md +3 -3
- package/docs/api/interfaces/TSetAvatarResult.md +19 -0
- package/docs/api/interfaces/TStoreCategory.md +5 -5
- package/docs/api/interfaces/TStoreItem.md +77 -77
- package/docs/api/interfaces/TTournament.md +165 -97
- package/docs/api/interfaces/TTournamentDetailed.md +378 -140
- package/docs/api/interfaces/TTournamentRegistrationResult.md +3 -3
- package/docs/api/interfaces/TUICustomSection.md +52 -52
- package/docs/api/interfaces/TUserProfile.md +32 -32
- package/docs/api/interfaces/Tournament.md +87 -81
- package/docs/api/interfaces/TournamentPlayer.md +18 -18
- package/docs/api/interfaces/TournamentPrize.md +17 -17
- package/docs/api/interfaces/TournamentPublicMeta.md +47 -47
- package/docs/api/interfaces/TransformedRaffleClaimPrizeResponse.md +4 -4
- package/docs/api/interfaces/UICustomSection.md +50 -50
- package/docs/api/interfaces/UserAchievement.md +101 -101
- package/docs/api/interfaces/UserAchievementTask.md +38 -38
- package/docs/api/interfaces/UserLevelExtraCountersT.md +5 -5
- package/docs/api/type-aliases/TournamentRegistrationTypeName.md +3 -0
- package/docs/api/variables/AllRoundsGameBoardID.md +5 -0
- package/docs/api/variables/PrizeModifiersKeysNames.md +37 -0
- package/docs/api/variables/SAWWinSoundFiles.md +21 -0
- package/package.json +1 -1
- package/src/Base/ClassId.ts +12 -0
- package/src/Clans/Clan.ts +18 -0
- package/src/Clans/GetClanInfoRequest.ts +6 -0
- package/src/Clans/GetClanInfoResponse.ts +24 -0
- package/src/Clans/GetClanListRequest.ts +5 -0
- package/src/Clans/GetClanListResponse.ts +10 -0
- package/src/Clans/JoinClanRequest.ts +6 -0
- package/src/Clans/JoinClanResponse.ts +6 -0
- package/src/Clans/index.ts +7 -0
- package/src/Raffle/GetRafflesResponse.ts +1 -1
- package/src/SmarticoAPI.ts +95 -0
- package/src/SmarticoLib/index.ts +163 -0
- package/src/Tournaments/GetClanTournamentPlayersRequest.ts +7 -0
- package/src/Tournaments/GetClanTournamentPlayersResponse.ts +58 -0
- package/src/Tournaments/GetTournamentInfoResponse.ts +52 -0
- package/src/Tournaments/Tournament.ts +2 -0
- package/src/Tournaments/TournamentClan.ts +30 -0
- package/src/Tournaments/index.ts +3 -0
- package/src/WSAPI/WSAPI.ts +61 -2
- package/src/WSAPI/WSAPITypes.ts +131 -0
- package/src/index.ts +2 -1
- package/tsconfig.json +5 -3
- package/docs/api/.nojekyll +0 -1
- package/docs/api/enums/AchCustomLayoutTheme.md +0 -25
- package/docs/api/enums/AchCustomSectionType.md +0 -79
- package/docs/api/enums/AchievementStatus.md +0 -49
- package/docs/api/enums/ActivityTypeLimited.md +0 -115
- package/docs/api/enums/BonusStatus.md +0 -37
- package/docs/api/enums/GamePickSportType.md +0 -375
- package/docs/api/enums/InboxMessageType.md +0 -55
- package/docs/api/enums/LiquidEntityData.md +0 -73
- package/docs/api/enums/MiniGamePrizeTypeName.md +0 -67
- package/docs/api/enums/PointChangeSourceType.md +0 -109
- package/docs/api/enums/PrizeModifiers.md +0 -49
- package/docs/api/enums/QuizAnswersValueType.md +0 -121
- package/docs/api/enums/SAWAcknowledgeTypeName.md +0 -25
- package/docs/api/enums/SAWBuyInType.md +0 -31
- package/docs/api/enums/SAWBuyInTypeName.md +0 -37
- package/docs/api/enums/SAWGPMarketType.md +0 -157
- package/docs/api/enums/SAWGameType.md +0 -73
- package/docs/api/enums/SAWGameTypeName.md +0 -79
- package/docs/api/enums/SAWPrizeType.md +0 -61
- package/docs/api/enums/SAWWinSoundType.md +0 -31
- package/docs/api/enums/StoreItemType.md +0 -37
- package/docs/api/enums/StoreItemTypeName.md +0 -43
- package/docs/api/enums/TournamentInstanceStatus.md +0 -43
- package/docs/api/enums/TournamentRegistrationError.md +0 -55
- package/docs/api/enums/TournamentRegistrationStatus.md +0 -43
- package/docs/api/enums/TournamentRegistrationStatusName.md +0 -49
- package/docs/api/enums/TournamentRegistrationType.md +0 -43
|
@@ -2,325 +2,393 @@
|
|
|
2
2
|
|
|
3
3
|
TTournament describes the general information of the tournament item
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Extended by
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
↳ [`TTournamentDetailed`](TTournamentDetailed.md)
|
|
7
|
+
- [`TTournamentDetailed`](TTournamentDetailed.md)
|
|
10
8
|
|
|
11
9
|
## Properties
|
|
12
10
|
|
|
13
11
|
### instance\_id
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
> **instance\_id**: `number`
|
|
16
14
|
|
|
17
15
|
ID of tournament instance. Generated every time when tournament based on specific template is scheduled for run
|
|
18
16
|
|
|
19
|
-
|
|
17
|
+
***
|
|
20
18
|
|
|
21
19
|
### tournament\_id
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
> **tournament\_id**: `number`
|
|
24
22
|
|
|
25
23
|
ID of tournament template
|
|
26
24
|
|
|
27
|
-
|
|
25
|
+
***
|
|
28
26
|
|
|
29
27
|
### name
|
|
30
28
|
|
|
31
|
-
|
|
29
|
+
> **name**: `string`
|
|
32
30
|
|
|
33
31
|
Name of the tournament, translated to the user language
|
|
34
32
|
|
|
35
|
-
|
|
33
|
+
***
|
|
36
34
|
|
|
37
35
|
### description
|
|
38
36
|
|
|
39
|
-
|
|
37
|
+
> **description**: `string`
|
|
40
38
|
|
|
41
39
|
Description of the tournament, translated to the user language
|
|
42
40
|
|
|
43
|
-
|
|
41
|
+
***
|
|
44
42
|
|
|
45
43
|
### image1
|
|
46
44
|
|
|
47
|
-
|
|
45
|
+
> **image1**: `string`
|
|
48
46
|
|
|
49
47
|
1st image URL representing the tournament, 544×216px
|
|
50
48
|
|
|
51
|
-
|
|
49
|
+
***
|
|
52
50
|
|
|
53
51
|
### image2
|
|
54
52
|
|
|
55
|
-
|
|
53
|
+
> **image2**: `string`
|
|
56
54
|
|
|
57
55
|
2nd image URL representing the tournament, 920x200px
|
|
58
56
|
|
|
59
|
-
|
|
57
|
+
***
|
|
60
58
|
|
|
61
59
|
### image2\_mobile
|
|
62
60
|
|
|
63
|
-
|
|
61
|
+
> **image2\_mobile**: `string`
|
|
64
62
|
|
|
65
63
|
2nd image URL representing the tournament for mobile, 720x400px
|
|
66
64
|
|
|
67
|
-
|
|
65
|
+
***
|
|
68
66
|
|
|
69
67
|
### prize\_pool\_short
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
> **prize\_pool\_short**: `string`
|
|
72
70
|
|
|
73
71
|
The message indicating the prize pool of the tournament
|
|
74
72
|
|
|
75
|
-
|
|
73
|
+
***
|
|
76
74
|
|
|
77
75
|
### custom\_price\_text
|
|
78
76
|
|
|
79
|
-
|
|
77
|
+
> **custom\_price\_text**: `string`
|
|
80
78
|
|
|
81
79
|
The message indicating the price to register in the tournament
|
|
82
80
|
|
|
83
|
-
|
|
81
|
+
***
|
|
84
82
|
|
|
85
83
|
### segment\_dont\_match\_message
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
> **segment\_dont\_match\_message**: `string`
|
|
88
86
|
|
|
89
87
|
The message that should be shown to the user when the user cannot register in tournament with error code TOURNAMENT_USER_DONT_MATCH_CONDITIONS
|
|
90
88
|
|
|
91
|
-
|
|
89
|
+
***
|
|
92
90
|
|
|
93
91
|
### custom\_section\_id
|
|
94
92
|
|
|
95
|
-
|
|
93
|
+
> **custom\_section\_id**: `number`
|
|
96
94
|
|
|
97
95
|
The ID of the custom section where the tournament is assigned
|
|
98
96
|
The list of custom sections can be retrieved using _smartico.api.getCustomSections() method (TODO-API)
|
|
99
97
|
|
|
100
|
-
|
|
98
|
+
***
|
|
101
99
|
|
|
102
100
|
### custom\_data
|
|
103
101
|
|
|
104
|
-
|
|
102
|
+
> **custom\_data**: `any`
|
|
105
103
|
|
|
106
104
|
The custom data of the tournament defined by operator. Can be a JSON object, string or number
|
|
107
105
|
|
|
108
|
-
|
|
106
|
+
***
|
|
109
107
|
|
|
110
108
|
### is\_featured
|
|
111
109
|
|
|
112
|
-
|
|
110
|
+
> **is\_featured**: `boolean`
|
|
113
111
|
|
|
114
112
|
The indicator if the tournament is 'Featured'
|
|
115
113
|
|
|
116
|
-
|
|
114
|
+
***
|
|
117
115
|
|
|
118
116
|
### ribbon
|
|
119
117
|
|
|
120
|
-
|
|
118
|
+
> **ribbon**: `string`
|
|
121
119
|
|
|
122
120
|
The ribbon of the tournament item. Can be 'sale', 'hot', 'new', 'vip' or URL to the image in case of custom ribbon, 250×300px
|
|
123
121
|
|
|
124
|
-
|
|
122
|
+
***
|
|
125
123
|
|
|
126
124
|
### priority
|
|
127
125
|
|
|
128
|
-
|
|
126
|
+
> **priority**: `number`
|
|
129
127
|
|
|
130
128
|
A number is used to order the tournaments, representing their priority in the list
|
|
131
129
|
|
|
132
|
-
|
|
130
|
+
***
|
|
133
131
|
|
|
134
|
-
### me
|
|
132
|
+
### me?
|
|
135
133
|
|
|
136
|
-
|
|
134
|
+
> `optional` **me?**: `object`
|
|
137
135
|
|
|
138
136
|
Info about current player in tournament
|
|
139
137
|
|
|
140
|
-
####
|
|
138
|
+
#### public\_username
|
|
139
|
+
|
|
140
|
+
> **public\_username**: `string`
|
|
141
|
+
|
|
142
|
+
The username of the participant
|
|
143
|
+
|
|
144
|
+
#### avatar\_url
|
|
145
|
+
|
|
146
|
+
> **avatar\_url**: `string`
|
|
147
|
+
|
|
148
|
+
The URL to the avatar of the participant
|
|
149
|
+
|
|
150
|
+
#### position
|
|
151
|
+
|
|
152
|
+
> **position**: `number`
|
|
153
|
+
|
|
154
|
+
The position of the participant in the tournament
|
|
155
|
+
|
|
156
|
+
#### scores
|
|
157
|
+
|
|
158
|
+
> **scores**: `number`
|
|
159
|
+
|
|
160
|
+
The scores of the participant in the tournament
|
|
161
|
+
|
|
162
|
+
#### user\_ext\_id
|
|
163
|
+
|
|
164
|
+
> **user\_ext\_id**: `string`
|
|
165
|
+
|
|
166
|
+
The external user id of the participant
|
|
167
|
+
|
|
168
|
+
#### crm\_brand\_id
|
|
169
|
+
|
|
170
|
+
> **crm\_brand\_id**: `number`
|
|
171
|
+
|
|
172
|
+
The crm brand id of the participant
|
|
173
|
+
|
|
174
|
+
#### user\_id
|
|
175
|
+
|
|
176
|
+
> **user\_id**: `number`
|
|
141
177
|
|
|
142
|
-
|
|
143
|
-
| :------ | :------ | :------ |
|
|
144
|
-
| `public_username` | `string` | The username of the participant |
|
|
145
|
-
| `avatar_url` | `string` | The URL to the avatar of the participant |
|
|
146
|
-
| `position` | `number` | The position of the participant in the tournament |
|
|
147
|
-
| `scores` | `number` | The scores of the participant in the tournament |
|
|
148
|
-
| `user_ext_id` | `string` | The external user id of the participant |
|
|
149
|
-
| `crm_brand_id` | `number` | The crm brand id of the participant |
|
|
150
|
-
| `user_id` | `number` | The user id of the participant |
|
|
178
|
+
The user id of the participant
|
|
151
179
|
|
|
152
|
-
|
|
180
|
+
***
|
|
153
181
|
|
|
154
|
-
### prizes
|
|
182
|
+
### prizes?
|
|
155
183
|
|
|
156
|
-
|
|
184
|
+
> `optional` **prizes?**: `object`[]
|
|
157
185
|
|
|
158
186
|
Prize structure
|
|
159
187
|
|
|
160
|
-
|
|
188
|
+
#### name
|
|
189
|
+
|
|
190
|
+
> **name**: `string`
|
|
191
|
+
|
|
192
|
+
The name of the prize
|
|
193
|
+
|
|
194
|
+
#### description
|
|
195
|
+
|
|
196
|
+
> **description**: `string`
|
|
197
|
+
|
|
198
|
+
The description of the prize
|
|
199
|
+
|
|
200
|
+
#### image\_url
|
|
201
|
+
|
|
202
|
+
> **image\_url**: `string`
|
|
203
|
+
|
|
204
|
+
The image of the prize, 1:1 aspect ratio
|
|
205
|
+
|
|
206
|
+
#### place\_from
|
|
207
|
+
|
|
208
|
+
> **place\_from**: `number`
|
|
209
|
+
|
|
210
|
+
from-to range of the places to which this prize
|
|
211
|
+
|
|
212
|
+
#### place\_to
|
|
213
|
+
|
|
214
|
+
> **place\_to**: `number`
|
|
215
|
+
|
|
216
|
+
#### type
|
|
217
|
+
|
|
218
|
+
> **type**: `string`
|
|
219
|
+
|
|
220
|
+
type of the prize: TANGIBLE, POINTS_ADD, POINTS_DEDUCT, POINTS_RESET, MINI_GAME_ATTEMPT, BONUS
|
|
221
|
+
|
|
222
|
+
#### points?
|
|
223
|
+
|
|
224
|
+
> `optional` **points?**: `number`
|
|
225
|
+
|
|
226
|
+
if the prize is points related, indicates amount of points
|
|
227
|
+
|
|
228
|
+
***
|
|
161
229
|
|
|
162
230
|
### start\_time
|
|
163
231
|
|
|
164
|
-
|
|
232
|
+
> **start\_time**: `number`
|
|
165
233
|
|
|
166
234
|
The time when tournament is going to start, epoch with milliseconds
|
|
167
235
|
|
|
168
|
-
|
|
236
|
+
***
|
|
169
237
|
|
|
170
238
|
### end\_time
|
|
171
239
|
|
|
172
|
-
|
|
240
|
+
> **end\_time**: `number`
|
|
173
241
|
|
|
174
242
|
The time when tournament is going to finish, epoch with milliseconds
|
|
175
243
|
|
|
176
|
-
|
|
244
|
+
***
|
|
177
245
|
|
|
178
246
|
### registration\_type
|
|
179
247
|
|
|
180
|
-
|
|
248
|
+
> **registration\_type**: [`TournamentRegistrationTypeName`](../type-aliases/TournamentRegistrationTypeName.md)
|
|
181
249
|
|
|
182
250
|
Type of registration in the tournament
|
|
183
251
|
|
|
184
|
-
|
|
252
|
+
***
|
|
185
253
|
|
|
186
254
|
### registration\_count
|
|
187
255
|
|
|
188
|
-
|
|
256
|
+
> **registration\_count**: `number`
|
|
189
257
|
|
|
190
258
|
Number of users registered in the tournament
|
|
191
259
|
|
|
192
|
-
|
|
260
|
+
***
|
|
193
261
|
|
|
194
262
|
### is\_user\_registered
|
|
195
263
|
|
|
196
|
-
|
|
264
|
+
> **is\_user\_registered**: `boolean`
|
|
197
265
|
|
|
198
266
|
flag indicating if current user is registered in the tournament
|
|
199
267
|
|
|
200
|
-
|
|
268
|
+
***
|
|
201
269
|
|
|
202
270
|
### players\_min\_count
|
|
203
271
|
|
|
204
|
-
|
|
272
|
+
> **players\_min\_count**: `number`
|
|
205
273
|
|
|
206
274
|
Minimum number of participant for this tournament. If tournament doesnt have enough registrations, it will not start
|
|
207
275
|
|
|
208
|
-
|
|
276
|
+
***
|
|
209
277
|
|
|
210
278
|
### players\_max\_count
|
|
211
279
|
|
|
212
|
-
|
|
280
|
+
> **players\_max\_count**: `number`
|
|
213
281
|
|
|
214
282
|
Maximum number of participant for this tournament. When reached, new users won't be able to register
|
|
215
283
|
|
|
216
|
-
|
|
284
|
+
***
|
|
217
285
|
|
|
218
286
|
### registration\_status
|
|
219
287
|
|
|
220
|
-
|
|
288
|
+
> **registration\_status**: [`TournamentRegistrationStatusName`](../enumerations/TournamentRegistrationStatusName.md)
|
|
221
289
|
|
|
222
290
|
Status of registration in the tournament for current user
|
|
223
291
|
|
|
224
|
-
|
|
292
|
+
***
|
|
225
293
|
|
|
226
294
|
### duration\_ms
|
|
227
295
|
|
|
228
|
-
|
|
296
|
+
> **duration\_ms**: `number`
|
|
229
297
|
|
|
230
298
|
Tournament duration in millisecnnds
|
|
231
299
|
|
|
232
|
-
|
|
300
|
+
***
|
|
233
301
|
|
|
234
|
-
### registration\_cost\_points
|
|
302
|
+
### registration\_cost\_points?
|
|
235
303
|
|
|
236
|
-
|
|
304
|
+
> `optional` **registration\_cost\_points?**: `number`
|
|
237
305
|
|
|
238
306
|
Cost of registration in the tournament in gamification points
|
|
239
307
|
|
|
240
|
-
|
|
308
|
+
***
|
|
241
309
|
|
|
242
|
-
### registration\_cost\_gems
|
|
310
|
+
### registration\_cost\_gems?
|
|
243
311
|
|
|
244
|
-
|
|
312
|
+
> `optional` **registration\_cost\_gems?**: `number`
|
|
245
313
|
|
|
246
314
|
Cost of registration in the tournament in gems
|
|
247
315
|
|
|
248
|
-
|
|
316
|
+
***
|
|
249
317
|
|
|
250
|
-
### registration\_cost\_diamonds
|
|
318
|
+
### registration\_cost\_diamonds?
|
|
251
319
|
|
|
252
|
-
|
|
320
|
+
> `optional` **registration\_cost\_diamonds?**: `number`
|
|
253
321
|
|
|
254
322
|
Cost of registration in the tournament in diamonds
|
|
255
323
|
|
|
256
|
-
|
|
324
|
+
***
|
|
257
325
|
|
|
258
326
|
### is\_active
|
|
259
327
|
|
|
260
|
-
|
|
328
|
+
> **is\_active**: `boolean`
|
|
261
329
|
|
|
262
330
|
Indicator if tournament instance is active, means in one of the statues - PUBLISHED, REGISTED, STARTED
|
|
263
331
|
|
|
264
|
-
|
|
332
|
+
***
|
|
265
333
|
|
|
266
334
|
### is\_can\_register
|
|
267
335
|
|
|
268
|
-
|
|
336
|
+
> **is\_can\_register**: `boolean`
|
|
269
337
|
|
|
270
338
|
Indicator if user can register in this tournament instance, e.g tournament is active, max users is not reached, user is not registered yet
|
|
271
339
|
|
|
272
|
-
|
|
340
|
+
***
|
|
273
341
|
|
|
274
342
|
### is\_cancelled
|
|
275
343
|
|
|
276
|
-
|
|
344
|
+
> **is\_cancelled**: `boolean`
|
|
277
345
|
|
|
278
346
|
Indicator if tournament instance is cancelled (status CANCELLED)
|
|
279
347
|
|
|
280
|
-
|
|
348
|
+
***
|
|
281
349
|
|
|
282
350
|
### is\_finished
|
|
283
351
|
|
|
284
|
-
|
|
352
|
+
> **is\_finished**: `boolean`
|
|
285
353
|
|
|
286
354
|
Indicator if tournament instance is finished (status FINISHED, CANCELLED OR FINIALIZING)
|
|
287
355
|
|
|
288
|
-
|
|
356
|
+
***
|
|
289
357
|
|
|
290
358
|
### is\_in\_progress
|
|
291
359
|
|
|
292
|
-
|
|
360
|
+
> **is\_in\_progress**: `boolean`
|
|
293
361
|
|
|
294
362
|
Indicator if tournament instance is running (status STARTED)
|
|
295
363
|
|
|
296
|
-
|
|
364
|
+
***
|
|
297
365
|
|
|
298
366
|
### is\_upcoming
|
|
299
367
|
|
|
300
|
-
|
|
368
|
+
> **is\_upcoming**: `boolean`
|
|
301
369
|
|
|
302
370
|
Indicator if tournament instance is upcoming (status PUBLISHED or REGISTER)
|
|
303
371
|
|
|
304
|
-
|
|
372
|
+
***
|
|
305
373
|
|
|
306
|
-
### min\_scores\_win
|
|
374
|
+
### min\_scores\_win?
|
|
307
375
|
|
|
308
|
-
|
|
376
|
+
> `optional` **min\_scores\_win?**: `number`
|
|
309
377
|
|
|
310
378
|
The minimum amount of score points that the user should get in order to be qualified for the prize
|
|
311
379
|
|
|
312
|
-
|
|
380
|
+
***
|
|
313
381
|
|
|
314
|
-
### hide\_leaderboard\_min\_scores
|
|
382
|
+
### hide\_leaderboard\_min\_scores?
|
|
315
383
|
|
|
316
|
-
|
|
384
|
+
> `optional` **hide\_leaderboard\_min\_scores?**: `boolean`
|
|
317
385
|
|
|
318
386
|
When enabled, users who don’t meet the minimum qualifying score will be hidden from the Leaderboard
|
|
319
387
|
|
|
320
|
-
|
|
388
|
+
***
|
|
321
389
|
|
|
322
|
-
### total\_scores
|
|
390
|
+
### total\_scores?
|
|
323
391
|
|
|
324
|
-
|
|
392
|
+
> `optional` **total\_scores?**: `number`
|
|
325
393
|
|
|
326
394
|
Total scores across all participants in the tournament
|