@smartico/public-api 0.0.363 → 0.0.365
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 +583 -293
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +213 -5
- 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/Missions/MissionsUtils.ts +32 -4
- 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
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Interface: ClanLeaderboardEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### clan\_id
|
|
6
|
+
|
|
7
|
+
> **clan\_id**: `number`
|
|
8
|
+
|
|
9
|
+
***
|
|
10
|
+
|
|
11
|
+
### public\_meta
|
|
12
|
+
|
|
13
|
+
> **public\_meta**: [`ClanPublicMeta`](ClanPublicMeta.md)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### position
|
|
18
|
+
|
|
19
|
+
> **position**: `number`
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### total\_score
|
|
24
|
+
|
|
25
|
+
> **total\_score**: `number`
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### contributing\_members
|
|
30
|
+
|
|
31
|
+
> **contributing\_members**: `number`
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Interface: ClanPrizeStructureEntry
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### clan\_place
|
|
6
|
+
|
|
7
|
+
> **clan\_place**: `number`
|
|
8
|
+
|
|
9
|
+
***
|
|
10
|
+
|
|
11
|
+
### prize\_type\_id
|
|
12
|
+
|
|
13
|
+
> **prize\_type\_id**: `number`
|
|
14
|
+
|
|
15
|
+
1 = Fixed, 2 = Dynamic
|
|
16
|
+
|
|
17
|
+
***
|
|
18
|
+
|
|
19
|
+
### prize\_pool\_amount
|
|
20
|
+
|
|
21
|
+
> **prize\_pool\_amount**: `number`
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### activity\_type\_id
|
|
26
|
+
|
|
27
|
+
> **activity\_type\_id**: `number`
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
### details\_json
|
|
32
|
+
|
|
33
|
+
> **details\_json**: `Record`\<`string`, `any`\>
|
|
34
|
+
|
|
35
|
+
***
|
|
36
|
+
|
|
37
|
+
### public\_meta
|
|
38
|
+
|
|
39
|
+
> **public\_meta**: [`ClanPublicMeta`](ClanPublicMeta.md)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### tiers
|
|
44
|
+
|
|
45
|
+
> **tiers**: [`ClanPrizeTier`](ClanPrizeTier.md)[]
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Interface: ClanPrizeTier
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### player\_place\_from
|
|
6
|
+
|
|
7
|
+
> **player\_place\_from**: `number`
|
|
8
|
+
|
|
9
|
+
***
|
|
10
|
+
|
|
11
|
+
### player\_place\_to
|
|
12
|
+
|
|
13
|
+
> **player\_place\_to**: `number`
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### pool\_amount
|
|
18
|
+
|
|
19
|
+
> **pool\_amount**: `number`
|
|
20
|
+
|
|
21
|
+
***
|
|
22
|
+
|
|
23
|
+
### distribution\_type
|
|
24
|
+
|
|
25
|
+
> **distribution\_type**: `number`
|
|
26
|
+
|
|
27
|
+
***
|
|
28
|
+
|
|
29
|
+
### activity\_type\_id
|
|
30
|
+
|
|
31
|
+
> **activity\_type\_id**: `number`
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### details\_json
|
|
36
|
+
|
|
37
|
+
> **details\_json**: `Record`\<`string`, `any`\>
|
|
38
|
+
|
|
39
|
+
***
|
|
40
|
+
|
|
41
|
+
### public\_meta
|
|
42
|
+
|
|
43
|
+
> **public\_meta**: [`ClanPublicMeta`](ClanPublicMeta.md)
|
|
@@ -6,70 +6,70 @@ GamePickBoardUser describes a user's entry on the round leaderboard
|
|
|
6
6
|
|
|
7
7
|
### ext\_user\_id
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
> **ext\_user\_id**: `string`
|
|
10
10
|
|
|
11
11
|
External user ID (Smartico numeric user ID)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
***
|
|
14
14
|
|
|
15
15
|
### int\_user\_id
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> **int\_user\_id**: `number`
|
|
18
18
|
|
|
19
19
|
Internal user ID within the games system
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
***
|
|
22
22
|
|
|
23
23
|
### public\_username
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
> **public\_username**: `string`
|
|
26
26
|
|
|
27
27
|
Display name shown on the leaderboard
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
***
|
|
30
30
|
|
|
31
31
|
### avatar\_url
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
> **avatar\_url**: `string`
|
|
34
34
|
|
|
35
35
|
URL of the user's avatar image
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
***
|
|
38
38
|
|
|
39
39
|
### gp\_position
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
> **gp\_position**: `number`
|
|
42
42
|
|
|
43
43
|
User's rank position on the leaderboard, null if not yet ranked
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
***
|
|
46
46
|
|
|
47
47
|
### resolution\_score
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
> **resolution\_score**: `number`
|
|
50
50
|
|
|
51
51
|
User's total score in this round/season
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
***
|
|
54
54
|
|
|
55
55
|
### full\_wins\_count
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
> **full\_wins\_count**: `number`
|
|
58
58
|
|
|
59
59
|
Number of fully correct predictions
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
***
|
|
62
62
|
|
|
63
63
|
### part\_wins\_count
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
> **part\_wins\_count**: `number`
|
|
66
66
|
|
|
67
67
|
Number of partially correct predictions
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
***
|
|
70
70
|
|
|
71
71
|
### lost\_count
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
> **lost\_count**: `number`
|
|
74
74
|
|
|
75
75
|
Number of incorrect predictions
|
|
@@ -6,116 +6,118 @@ GamePickEvent describes a single event (match or question) within a round, inclu
|
|
|
6
6
|
|
|
7
7
|
### gp\_event\_id
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
> **gp\_event\_id**: `number`
|
|
10
10
|
|
|
11
11
|
Unique identifier of the event
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
***
|
|
14
14
|
|
|
15
15
|
### event\_resolution\_date
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> **event\_resolution\_date**: `number`
|
|
18
18
|
|
|
19
19
|
Timestamp (ms) when the event was resolved, null if not yet resolved
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
***
|
|
22
22
|
|
|
23
23
|
### match\_date
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
> **match\_date**: `number`
|
|
26
26
|
|
|
27
27
|
Timestamp (ms) of the match/event start time
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
***
|
|
30
30
|
|
|
31
31
|
### market\_type\_id
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
> **market\_type\_id**: [`SAWGPMarketType`](../enumerations/SAWGPMarketType.md)
|
|
34
34
|
|
|
35
35
|
Market type defining the prediction format (e.g. two-team score, quiz question, custom)
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
***
|
|
38
38
|
|
|
39
39
|
### event\_meta
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
> **event\_meta**: [`GamePickEventMeta`](GamePickEventMeta.md)
|
|
42
42
|
|
|
43
43
|
Event metadata containing team names, images, sport type, and question details
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
***
|
|
46
46
|
|
|
47
47
|
### user\_placed\_bet
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
> **user\_placed\_bet**: `boolean`
|
|
50
50
|
|
|
51
51
|
Whether the current user has submitted a prediction for this event
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
***
|
|
54
54
|
|
|
55
|
-
### team1\_user\_selection
|
|
55
|
+
### team1\_user\_selection?
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
> `optional` **team1\_user\_selection?**: `number` \| \{ `from`: `number`; `to`: `number`; \}
|
|
58
58
|
|
|
59
59
|
User's predicted score for team 1 (MatchX only). Can be a number or a range object
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
***
|
|
62
62
|
|
|
63
|
-
### team2\_user\_selection
|
|
63
|
+
### team2\_user\_selection?
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
> `optional` **team2\_user\_selection?**: `number` \| \{ `from`: `number`; `to`: `number`; \}
|
|
66
66
|
|
|
67
67
|
User's predicted score for team 2 (MatchX only). Can be a number or a range object
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
***
|
|
70
70
|
|
|
71
|
-
### user\_selection
|
|
71
|
+
### user\_selection?
|
|
72
72
|
|
|
73
|
-
|
|
73
|
+
> `optional` **user\_selection?**: [`QuizAnswersValueType`](../enumerations/QuizAnswersValueType.md)
|
|
74
74
|
|
|
75
75
|
User's selected answer (Quiz only). Value depends on market type (e.g. '1', '2', 'x', 'yes', 'no')
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
***
|
|
78
78
|
|
|
79
79
|
### resolution\_type\_id
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
> **resolution\_type\_id**: [`GamePickResolutionType`](../enumerations/GamePickResolutionType.md)
|
|
82
82
|
|
|
83
83
|
How the user's prediction was scored after resolution
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
***
|
|
86
86
|
|
|
87
|
-
### resolution\_score
|
|
87
|
+
### resolution\_score?
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
> `optional` **resolution\_score?**: `number`
|
|
90
90
|
|
|
91
91
|
Points awarded for this event based on prediction accuracy
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
***
|
|
94
94
|
|
|
95
|
-
### is\_open\_for\_bets
|
|
95
|
+
### is\_open\_for\_bets?
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
> `optional` **is\_open\_for\_bets?**: `boolean`
|
|
98
98
|
|
|
99
99
|
Whether this event is still accepting predictions
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
***
|
|
102
102
|
|
|
103
|
-
### odds\_details
|
|
103
|
+
### odds\_details?
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
> `optional` **odds\_details?**: `object`
|
|
106
106
|
|
|
107
107
|
Betting odds details for the event outcomes
|
|
108
108
|
|
|
109
|
-
####
|
|
109
|
+
#### odd\_value
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
| :------ | :------ |
|
|
113
|
-
| `odd_value` | \{ `[key: string]`: `number`; } |
|
|
111
|
+
> **odd\_value**: `object`
|
|
114
112
|
|
|
115
|
-
|
|
113
|
+
##### Index Signature
|
|
116
114
|
|
|
117
|
-
|
|
115
|
+
\[`key`: `string`\]: `number`
|
|
118
116
|
|
|
119
|
-
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### question\_image?
|
|
120
|
+
|
|
121
|
+
> `optional` **question\_image?**: `string`
|
|
120
122
|
|
|
121
123
|
URL of a question-specific image (quiz events)
|
|
@@ -2,180 +2,200 @@
|
|
|
2
2
|
|
|
3
3
|
GamePickEventMeta describes metadata for a MatchX or Quiz event, including team info and sport context
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Extends
|
|
6
6
|
|
|
7
7
|
- [`QuizEventMeta`](QuizEventMeta.md)
|
|
8
8
|
|
|
9
|
-
↳ **`GamePickEventMeta`**
|
|
10
|
-
|
|
11
9
|
## Properties
|
|
12
10
|
|
|
13
|
-
### answers
|
|
11
|
+
### answers?
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
> `optional` **answers?**: `object`[]
|
|
16
14
|
|
|
17
15
|
List of possible answer options for the quiz question
|
|
18
16
|
|
|
17
|
+
#### value
|
|
18
|
+
|
|
19
|
+
> **value**: `string`
|
|
20
|
+
|
|
21
|
+
Answer identifier value sent on submission
|
|
22
|
+
|
|
23
|
+
#### text
|
|
24
|
+
|
|
25
|
+
> **text**: `string`
|
|
26
|
+
|
|
27
|
+
Localized display text of the answer
|
|
28
|
+
|
|
29
|
+
#### \_translations
|
|
30
|
+
|
|
31
|
+
> **\_translations**: `object`
|
|
32
|
+
|
|
33
|
+
Per-language overrides for the answer text
|
|
34
|
+
|
|
35
|
+
##### Index Signature
|
|
36
|
+
|
|
37
|
+
\[`key`: `string`\]: `object`
|
|
38
|
+
|
|
19
39
|
#### Inherited from
|
|
20
40
|
|
|
21
|
-
[QuizEventMeta](QuizEventMeta.md).[answers](QuizEventMeta.md#answers)
|
|
41
|
+
[`QuizEventMeta`](QuizEventMeta.md).[`answers`](QuizEventMeta.md#answers)
|
|
22
42
|
|
|
23
|
-
|
|
43
|
+
***
|
|
24
44
|
|
|
25
|
-
### question\_image
|
|
45
|
+
### question\_image?
|
|
26
46
|
|
|
27
|
-
|
|
47
|
+
> `optional` **question\_image?**: `string`
|
|
28
48
|
|
|
29
49
|
URL of an image associated with the question
|
|
30
50
|
|
|
31
51
|
#### Inherited from
|
|
32
52
|
|
|
33
|
-
[QuizEventMeta](QuizEventMeta.md).[question_image](QuizEventMeta.md#question_image)
|
|
53
|
+
[`QuizEventMeta`](QuizEventMeta.md).[`question_image`](QuizEventMeta.md#question_image)
|
|
34
54
|
|
|
35
|
-
|
|
55
|
+
***
|
|
36
56
|
|
|
37
|
-
### result
|
|
57
|
+
### result?
|
|
38
58
|
|
|
39
|
-
|
|
59
|
+
> `optional` **result?**: [`QuizAnswersValueType`](../enumerations/QuizAnswersValueType.md)
|
|
40
60
|
|
|
41
61
|
Correct answer value after resolution
|
|
42
62
|
|
|
43
63
|
#### Inherited from
|
|
44
64
|
|
|
45
|
-
[QuizEventMeta](QuizEventMeta.md).[result](QuizEventMeta.md#result)
|
|
65
|
+
[`QuizEventMeta`](QuizEventMeta.md).[`result`](QuizEventMeta.md#result)
|
|
46
66
|
|
|
47
|
-
|
|
67
|
+
***
|
|
48
68
|
|
|
49
69
|
### custom\_question
|
|
50
70
|
|
|
51
|
-
|
|
71
|
+
> **custom\_question**: `string`
|
|
52
72
|
|
|
53
73
|
Custom question text displayed to the user
|
|
54
74
|
|
|
55
75
|
#### Inherited from
|
|
56
76
|
|
|
57
|
-
[QuizEventMeta](QuizEventMeta.md).[custom_question](QuizEventMeta.md#custom_question)
|
|
77
|
+
[`QuizEventMeta`](QuizEventMeta.md).[`custom_question`](QuizEventMeta.md#custom_question)
|
|
58
78
|
|
|
59
|
-
|
|
79
|
+
***
|
|
60
80
|
|
|
61
|
-
### event\_name
|
|
81
|
+
### event\_name?
|
|
62
82
|
|
|
63
|
-
|
|
83
|
+
> `optional` **event\_name?**: `string`
|
|
64
84
|
|
|
65
85
|
Display name of the event/match
|
|
66
86
|
|
|
67
|
-
|
|
87
|
+
***
|
|
68
88
|
|
|
69
89
|
### team1\_name
|
|
70
90
|
|
|
71
|
-
|
|
91
|
+
> **team1\_name**: `string`
|
|
72
92
|
|
|
73
93
|
Name of the first team (home)
|
|
74
94
|
|
|
75
|
-
|
|
95
|
+
***
|
|
76
96
|
|
|
77
97
|
### team1\_image
|
|
78
98
|
|
|
79
|
-
|
|
99
|
+
> **team1\_image**: `string`
|
|
80
100
|
|
|
81
101
|
URL of the first team's logo image
|
|
82
102
|
|
|
83
|
-
|
|
103
|
+
***
|
|
84
104
|
|
|
85
105
|
### team2\_name
|
|
86
106
|
|
|
87
|
-
|
|
107
|
+
> **team2\_name**: `string`
|
|
88
108
|
|
|
89
109
|
Name of the second team (away)
|
|
90
110
|
|
|
91
|
-
|
|
111
|
+
***
|
|
92
112
|
|
|
93
113
|
### team2\_image
|
|
94
114
|
|
|
95
|
-
|
|
115
|
+
> **team2\_image**: `string`
|
|
96
116
|
|
|
97
117
|
URL of the second team's logo image
|
|
98
118
|
|
|
99
|
-
|
|
119
|
+
***
|
|
100
120
|
|
|
101
|
-
### team1\_result
|
|
121
|
+
### team1\_result?
|
|
102
122
|
|
|
103
|
-
|
|
123
|
+
> `optional` **team1\_result?**: `number`
|
|
104
124
|
|
|
105
125
|
Actual result score for team 1 after resolution
|
|
106
126
|
|
|
107
|
-
|
|
127
|
+
***
|
|
108
128
|
|
|
109
|
-
### team2\_result
|
|
129
|
+
### team2\_result?
|
|
110
130
|
|
|
111
|
-
|
|
131
|
+
> `optional` **team2\_result?**: `number`
|
|
112
132
|
|
|
113
133
|
Actual result score for team 2 after resolution
|
|
114
134
|
|
|
115
|
-
|
|
135
|
+
***
|
|
116
136
|
|
|
117
|
-
### sport\_type\_id
|
|
137
|
+
### sport\_type\_id?
|
|
118
138
|
|
|
119
|
-
|
|
139
|
+
> `optional` **sport\_type\_id?**: `number`
|
|
120
140
|
|
|
121
141
|
Betradar sport type ID for the event
|
|
122
142
|
|
|
123
|
-
|
|
143
|
+
***
|
|
124
144
|
|
|
125
|
-
### is\_canceled
|
|
145
|
+
### is\_canceled?
|
|
126
146
|
|
|
127
|
-
|
|
147
|
+
> `optional` **is\_canceled?**: `boolean`
|
|
128
148
|
|
|
129
149
|
Whether the event has been canceled
|
|
130
150
|
|
|
131
|
-
|
|
151
|
+
***
|
|
132
152
|
|
|
133
|
-
### auto\_resolve\_enabled
|
|
153
|
+
### auto\_resolve\_enabled?
|
|
134
154
|
|
|
135
|
-
|
|
155
|
+
> `optional` **auto\_resolve\_enabled?**: `boolean`
|
|
136
156
|
|
|
137
157
|
Whether auto-resolution from live data feed is enabled
|
|
138
158
|
|
|
139
|
-
|
|
159
|
+
***
|
|
140
160
|
|
|
141
|
-
### auto\_resolve\_date
|
|
161
|
+
### auto\_resolve\_date?
|
|
142
162
|
|
|
143
|
-
|
|
163
|
+
> `optional` **auto\_resolve\_date?**: `string`
|
|
144
164
|
|
|
145
165
|
ISO date string for when auto-resolution is expected
|
|
146
166
|
|
|
147
|
-
|
|
167
|
+
***
|
|
148
168
|
|
|
149
|
-
### team1\_auto\_result
|
|
169
|
+
### team1\_auto\_result?
|
|
150
170
|
|
|
151
|
-
|
|
171
|
+
> `optional` **team1\_auto\_result?**: `number`
|
|
152
172
|
|
|
153
173
|
Auto-resolved score for team 1 from live data feed
|
|
154
174
|
|
|
155
|
-
|
|
175
|
+
***
|
|
156
176
|
|
|
157
|
-
### team2\_auto\_result
|
|
177
|
+
### team2\_auto\_result?
|
|
158
178
|
|
|
159
|
-
|
|
179
|
+
> `optional` **team2\_auto\_result?**: `number`
|
|
160
180
|
|
|
161
181
|
Auto-resolved score for team 2 from live data feed
|
|
162
182
|
|
|
163
|
-
|
|
183
|
+
***
|
|
164
184
|
|
|
165
|
-
### auto\_result
|
|
185
|
+
### auto\_result?
|
|
166
186
|
|
|
167
|
-
|
|
187
|
+
> `optional` **auto\_result?**: `string`
|
|
168
188
|
|
|
169
189
|
Auto-resolved answer value from live data feed (for quiz events)
|
|
170
190
|
|
|
171
|
-
|
|
191
|
+
***
|
|
172
192
|
|
|
173
193
|
### \_translations
|
|
174
194
|
|
|
175
|
-
|
|
195
|
+
> **\_translations**: `object`
|
|
176
196
|
|
|
177
197
|
Per-language overrides for team names, event name, and custom question
|
|
178
198
|
|
|
179
|
-
#### Index
|
|
199
|
+
#### Index Signature
|
|
180
200
|
|
|
181
|
-
|
|
201
|
+
\[`key`: `string`\]: `object`
|
|
@@ -6,22 +6,22 @@ GamePickGameInfo describes the game configuration including SAW template, rounds
|
|
|
6
6
|
|
|
7
7
|
### sawTemplate
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
> **sawTemplate**: [`SAWTemplate`](SAWTemplate.md)
|
|
10
10
|
|
|
11
11
|
Game template configuration (SAW template) with UI settings, buy-in type, cost, and spin count
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
***
|
|
14
14
|
|
|
15
15
|
### allRounds
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> **allRounds**: [`GamePickRoundBase`](GamePickRoundBase.md)[]
|
|
18
18
|
|
|
19
19
|
List of all rounds (metadata only, no events)
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
***
|
|
22
22
|
|
|
23
23
|
### labelInfo
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
> **labelInfo**: `any`
|
|
26
26
|
|
|
27
27
|
Label/brand configuration and settings
|