@smartico/public-api 0.0.364 → 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.
Files changed (316) hide show
  1. package/dist/Base/ClassId.d.ts +8 -0
  2. package/dist/Clans/Clan.d.ts +17 -0
  3. package/dist/Clans/GetClanInfoRequest.d.ts +5 -0
  4. package/dist/Clans/GetClanInfoResponse.d.ts +22 -0
  5. package/dist/Clans/GetClanListRequest.d.ts +4 -0
  6. package/dist/Clans/GetClanListResponse.d.ts +9 -0
  7. package/dist/Clans/JoinClanRequest.d.ts +5 -0
  8. package/dist/Clans/JoinClanResponse.d.ts +5 -0
  9. package/dist/Clans/index.d.ts +7 -0
  10. package/dist/SmarticoAPI.d.ts +8 -1
  11. package/dist/SmarticoLib/index.d.ts +196 -0
  12. package/dist/Tournaments/GetClanTournamentPlayersRequest.d.ts +6 -0
  13. package/dist/Tournaments/GetClanTournamentPlayersResponse.d.ts +40 -0
  14. package/dist/Tournaments/GetTournamentInfoResponse.d.ts +11 -0
  15. package/dist/Tournaments/Tournament.d.ts +2 -0
  16. package/dist/Tournaments/TournamentClan.d.ts +27 -0
  17. package/dist/Tournaments/index.d.ts +3 -0
  18. package/dist/WSAPI/WSAPI.d.ts +34 -1
  19. package/dist/WSAPI/WSAPITypes.d.ts +144 -0
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.js +560 -289
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.modern.mjs +192 -1
  24. package/dist/index.modern.mjs.map +1 -1
  25. package/docs/api/README.md +99 -330
  26. package/docs/api/classes/SAWUtils.md +25 -11
  27. package/docs/api/classes/WSAPI.md +737 -379
  28. package/docs/api/enumerations/AchCustomLayoutTheme.md +25 -0
  29. package/docs/api/enumerations/AchCustomSectionType.md +79 -0
  30. package/docs/api/{enums → enumerations}/AchMissionsTabsOptions.md +5 -5
  31. package/docs/api/{enums → enumerations}/AchOverviewMissionsFilter.md +9 -9
  32. package/docs/api/{enums → enumerations}/AchievementAvailabilityStatus.md +29 -29
  33. package/docs/api/enumerations/AchievementStatus.md +49 -0
  34. package/docs/api/{enums → enumerations}/AchievementTaskType.md +3 -3
  35. package/docs/api/{enums → enumerations}/AchievementType.md +3 -3
  36. package/docs/api/enumerations/ActivityTypeLimited.md +115 -0
  37. package/docs/api/{enums → enumerations}/AttemptPeriodType.md +7 -7
  38. package/docs/api/{enums → enumerations}/BadgesTimeLimitStates.md +11 -11
  39. package/docs/api/{enums → enumerations}/BonusStatus-1.md +11 -11
  40. package/docs/api/enumerations/BonusStatus.md +37 -0
  41. package/docs/api/{enums → enumerations}/BuyStoreItemErrorCode.md +21 -21
  42. package/docs/api/{enums → enumerations}/GPRoundStatus.md +9 -9
  43. package/docs/api/{enums → enumerations}/GamePickMarketType.md +3 -3
  44. package/docs/api/{enums → enumerations}/GamePickResolutionType.md +7 -7
  45. package/docs/api/{enums → enumerations}/GamePickScoreType.md +3 -3
  46. package/docs/api/enumerations/GamePickSportType.md +375 -0
  47. package/docs/api/{enums → enumerations}/GameRoundOrderType.md +7 -7
  48. package/docs/api/{enums → enumerations}/InboxCategories.md +5 -5
  49. package/docs/api/enumerations/InboxMessageType.md +55 -0
  50. package/docs/api/{enums → enumerations}/InboxReadStatus.md +3 -3
  51. package/docs/api/{enums → enumerations}/JackPotTemparature.md +7 -7
  52. package/docs/api/{enums → enumerations}/JackpotContributionType.md +3 -3
  53. package/docs/api/{enums → enumerations}/JackpotType.md +3 -3
  54. package/docs/api/{enums → enumerations}/LeaderBoardPeriodType.md +5 -5
  55. package/docs/api/enumerations/LiquidEntityData.md +73 -0
  56. package/docs/api/enumerations/MiniGamePrizeTypeName.md +67 -0
  57. package/docs/api/{enums → enumerations}/OpenLinksType.md +3 -3
  58. package/docs/api/enumerations/PointChangeSourceType.md +109 -0
  59. package/docs/api/enumerations/PrizeModifiers.md +49 -0
  60. package/docs/api/enumerations/QuizAnswersValueType.md +121 -0
  61. package/docs/api/{enums → enumerations}/RaffleDrawInstanceState.md +5 -5
  62. package/docs/api/{enums → enumerations}/RaffleDrawTypeExecution.md +5 -5
  63. package/docs/api/{enums → enumerations}/RaffleTicketCapVisualization.md +5 -5
  64. package/docs/api/{enums → enumerations}/SAWAcknowledgeType.md +7 -7
  65. package/docs/api/enumerations/SAWAcknowledgeTypeName.md +25 -0
  66. package/docs/api/{enums → enumerations}/SAWAskForUsername.md +3 -3
  67. package/docs/api/enumerations/SAWBuyInType.md +31 -0
  68. package/docs/api/enumerations/SAWBuyInTypeName.md +37 -0
  69. package/docs/api/{enums → enumerations}/SAWExposeUserSpinId.md +3 -3
  70. package/docs/api/{enums → enumerations}/SAWExposeUserSpinIdName.md +3 -3
  71. package/docs/api/enumerations/SAWGPMarketType.md +157 -0
  72. package/docs/api/{enums → enumerations}/SAWGameDifficultyType.md +5 -5
  73. package/docs/api/{enums → enumerations}/SAWGameDifficultyTypeName.md +5 -5
  74. package/docs/api/{enums → enumerations}/SAWGameLayout.md +3 -3
  75. package/docs/api/{enums → enumerations}/SAWGameLayoutName.md +3 -3
  76. package/docs/api/enumerations/SAWGameType.md +73 -0
  77. package/docs/api/enumerations/SAWGameTypeName.md +79 -0
  78. package/docs/api/enumerations/SAWPrizeType.md +61 -0
  79. package/docs/api/{enums → enumerations}/SAWSpinErrorCode.md +19 -19
  80. package/docs/api/{enums → enumerations}/SAWWheelLayout.md +7 -7
  81. package/docs/api/enumerations/SAWWinSoundType.md +31 -0
  82. package/docs/api/{enums → enumerations}/ScheduledMissionType.md +5 -5
  83. package/docs/api/{enums → enumerations}/StoreItemPurchaseType.md +5 -5
  84. package/docs/api/enumerations/StoreItemType.md +37 -0
  85. package/docs/api/enumerations/StoreItemTypeName.md +43 -0
  86. package/docs/api/enumerations/TournamentInstanceStatus.md +43 -0
  87. package/docs/api/enumerations/TournamentRegistrationError.md +55 -0
  88. package/docs/api/enumerations/TournamentRegistrationStatus.md +43 -0
  89. package/docs/api/enumerations/TournamentRegistrationStatusName.md +49 -0
  90. package/docs/api/enumerations/TournamentRegistrationType.md +43 -0
  91. package/docs/api/{enums → enumerations}/TournamentType.md +5 -5
  92. package/docs/api/{enums → enumerations}/UserBalanceType.md +5 -5
  93. package/docs/api/functions/AchCategoryTransform.md +13 -0
  94. package/docs/api/functions/BonusItemsTransform.md +13 -0
  95. package/docs/api/functions/InboxMessageBodyTransform.md +13 -0
  96. package/docs/api/functions/SAWHistoryTransform.md +13 -0
  97. package/docs/api/functions/SAWTemplatesTransform.md +13 -0
  98. package/docs/api/functions/StoreCategoryTransform.md +13 -0
  99. package/docs/api/functions/StoreItemTransform.md +13 -0
  100. package/docs/api/functions/StoreItemTypeNamed.md +13 -0
  101. package/docs/api/functions/TournamentInstanceStatusName.md +13 -0
  102. package/docs/api/functions/TournamentItemsTransform.md +13 -0
  103. package/docs/api/functions/UICustomSectionTransform.md +13 -0
  104. package/docs/api/functions/UserAchievementTransform.md +13 -0
  105. package/docs/api/functions/enrichUserAchievementsWithBadgeState.md +13 -0
  106. package/docs/api/functions/tournamentInfoItemTransform.md +13 -0
  107. package/docs/api/interfaces/AchCategory.md +5 -5
  108. package/docs/api/interfaces/AchCategoryPublicMeta.md +5 -5
  109. package/docs/api/interfaces/AchRelatedGame-1.md +50 -15
  110. package/docs/api/interfaces/AchRelatedGame.md +35 -16
  111. package/docs/api/interfaces/AchievementPublicMeta.md +65 -65
  112. package/docs/api/interfaces/AchievementTaskPublicMeta.md +16 -16
  113. package/docs/api/interfaces/AffectsProgress.md +7 -7
  114. package/docs/api/interfaces/Bonus.md +37 -37
  115. package/docs/api/interfaces/BonusMetaMap-1.md +2 -2
  116. package/docs/api/interfaces/BonusMetaMap.md +2 -2
  117. package/docs/api/interfaces/BonusTemplateMetaMap-1.md +8 -8
  118. package/docs/api/interfaces/BonusTemplateMetaMap.md +8 -8
  119. package/docs/api/interfaces/Clan.md +53 -0
  120. package/docs/api/interfaces/ClanLeaderboardEntry.md +31 -0
  121. package/docs/api/interfaces/ClanPrizeStructureEntry.md +45 -0
  122. package/docs/api/interfaces/ClanPrizeTier.md +43 -0
  123. package/docs/api/interfaces/ClanPublicMeta.md +19 -0
  124. package/docs/api/interfaces/GamePickBoardUser.md +17 -17
  125. package/docs/api/interfaces/GamePickEvent.md +40 -38
  126. package/docs/api/interfaces/GamePickEventMeta.md +79 -59
  127. package/docs/api/interfaces/GamePickGameInfo.md +5 -5
  128. package/docs/api/interfaces/GamePickRequestParams.md +10 -12
  129. package/docs/api/interfaces/GamePickRound.md +96 -98
  130. package/docs/api/interfaces/GamePickRoundBase.md +58 -61
  131. package/docs/api/interfaces/GamePickRoundBoard.md +88 -90
  132. package/docs/api/interfaces/GamePickRoundPublicMeta.md +26 -26
  133. package/docs/api/interfaces/GamePickRoundRequestParams.md +15 -17
  134. package/docs/api/interfaces/GamePickUserInfo.md +34 -34
  135. package/docs/api/interfaces/GamesApiResponse.md +11 -11
  136. package/docs/api/interfaces/GetCustomSectionsResponse.md +23 -25
  137. package/docs/api/interfaces/GetDrawRunRequest.md +21 -23
  138. package/docs/api/interfaces/GetDrawRunResponse.md +21 -23
  139. package/docs/api/interfaces/GetJackpotEligibleGamesRequest.md +13 -15
  140. package/docs/api/interfaces/GetJackpotEligibleGamesResponse.md +21 -23
  141. package/docs/api/interfaces/GetJackpotWinnersRequest.md +26 -28
  142. package/docs/api/interfaces/GetJackpotWinnersResponse.md +23 -25
  143. package/docs/api/interfaces/GetJackpotsPotsRequest.md +13 -15
  144. package/docs/api/interfaces/GetJackpotsPotsResponse.md +21 -23
  145. package/docs/api/interfaces/GetJackpotsRequest.md +17 -19
  146. package/docs/api/interfaces/GetJackpotsResponse.md +21 -23
  147. package/docs/api/interfaces/GetRaffleDrawRunsHistoryRequest.md +16 -18
  148. package/docs/api/interfaces/GetRaffleDrawRunsHistoryResponse.md +21 -23
  149. package/docs/api/interfaces/GetRafflesRequest.md +14 -16
  150. package/docs/api/interfaces/GetRafflesResponse.md +21 -23
  151. package/docs/api/interfaces/GetRelatedAchTourResponse.md +24 -26
  152. package/docs/api/interfaces/GetTournamentInfoResponse.md +68 -38
  153. package/docs/api/interfaces/InboxMarkMessageAction.md +3 -3
  154. package/docs/api/interfaces/InboxMessage.md +18 -18
  155. package/docs/api/interfaces/InboxMessageBody.md +37 -29
  156. package/docs/api/interfaces/JackPotWinner.md +11 -11
  157. package/docs/api/interfaces/JackpotDetails.md +23 -23
  158. package/docs/api/interfaces/JackpotEligibleGame.md +19 -19
  159. package/docs/api/interfaces/JackpotHtmlTemplate.md +3 -3
  160. package/docs/api/interfaces/JackpotPot.md +11 -11
  161. package/docs/api/interfaces/JackpotPublicMeta.md +15 -15
  162. package/docs/api/interfaces/JackpotWinPush.md +15 -17
  163. package/docs/api/interfaces/JackpotWinnerHistory.md +5 -5
  164. package/docs/api/interfaces/JackpotsOptinRequest.md +13 -15
  165. package/docs/api/interfaces/JackpotsOptinResponse.md +19 -21
  166. package/docs/api/interfaces/JackpotsOptoutRequest.md +13 -15
  167. package/docs/api/interfaces/JackpotsOptoutResponse.md +19 -21
  168. package/docs/api/interfaces/LeaderBoardDetailsT.md +16 -16
  169. package/docs/api/interfaces/LeaderBoardUserT.md +9 -9
  170. package/docs/api/interfaces/LeaderBoardsRewardsT.md +3 -3
  171. package/docs/api/interfaces/Level.md +15 -15
  172. package/docs/api/interfaces/LevelPublicMeta.md +31 -24
  173. package/docs/api/interfaces/QuizEventMeta.md +34 -14
  174. package/docs/api/interfaces/Raffle.md +13 -13
  175. package/docs/api/interfaces/RaffleClaimPrizeRequest.md +13 -15
  176. package/docs/api/interfaces/RaffleClaimPrizeResponse.md +18 -20
  177. package/docs/api/interfaces/RaffleDraw.md +44 -44
  178. package/docs/api/interfaces/RaffleDrawPublicMeta.md +15 -15
  179. package/docs/api/interfaces/RaffleDrawRun.md +15 -15
  180. package/docs/api/interfaces/RaffleOptinRequest.md +17 -19
  181. package/docs/api/interfaces/RaffleOptinResponse.md +19 -21
  182. package/docs/api/interfaces/RafflePrize.md +31 -31
  183. package/docs/api/interfaces/RafflePrizePublicMeta.md +7 -7
  184. package/docs/api/interfaces/RafflePrizeWinner.md +15 -15
  185. package/docs/api/interfaces/RafflePublicMeta.md +16 -16
  186. package/docs/api/interfaces/RaffleTicket.md +3 -3
  187. package/docs/api/interfaces/SAWAcknowledgeSpinPushRequest.md +24 -26
  188. package/docs/api/interfaces/SAWDoAknowledgeRequest.md +13 -15
  189. package/docs/api/interfaces/SAWDoAknowledgeResponse.md +13 -15
  190. package/docs/api/interfaces/SAWDoSpinRequest.md +24 -26
  191. package/docs/api/interfaces/SAWDoSpinResponse.md +33 -35
  192. package/docs/api/interfaces/SAWEventSawPush.md +17 -19
  193. package/docs/api/interfaces/SAWGetTemplatesRequest.md +26 -28
  194. package/docs/api/interfaces/SAWGetTemplatesResponse.md +21 -23
  195. package/docs/api/interfaces/SAWPrize.md +52 -52
  196. package/docs/api/interfaces/SAWPrizeDropAknowledgeRequest.md +17 -19
  197. package/docs/api/interfaces/SAWPrizeDropAknowledgeResponse.md +13 -15
  198. package/docs/api/interfaces/SAWPrizeDropWinPush.md +21 -23
  199. package/docs/api/interfaces/SAWPrizeUI.md +78 -78
  200. package/docs/api/interfaces/SAWPrizesHistory.md +15 -15
  201. package/docs/api/interfaces/SAWSpinsCountPush.md +15 -17
  202. package/docs/api/interfaces/SAWTemplate.md +70 -63
  203. package/docs/api/interfaces/SAWTemplateUI.md +155 -150
  204. package/docs/api/interfaces/SAWWinningHistoryRequest.md +21 -23
  205. package/docs/api/interfaces/SAWWinningHistoryResponse.md +23 -25
  206. package/docs/api/interfaces/StoreCategory.md +5 -5
  207. package/docs/api/interfaces/StoreCategoryPublicMeta.md +5 -5
  208. package/docs/api/interfaces/StoreItem.md +19 -19
  209. package/docs/api/interfaces/StoreItemPublicMeta.md +51 -51
  210. package/docs/api/interfaces/TAchCategory.md +5 -5
  211. package/docs/api/interfaces/TActivityLog.md +16 -16
  212. package/docs/api/interfaces/TAvatarCustomized.md +27 -0
  213. package/docs/api/interfaces/TAvatarDefinition.md +101 -0
  214. package/docs/api/interfaces/TAvatarPrompt.md +44 -0
  215. package/docs/api/interfaces/TBonus.md +22 -22
  216. package/docs/api/interfaces/TBuyStoreItemResult.md +3 -3
  217. package/docs/api/interfaces/TClaimBonusResult.md +6 -6
  218. package/docs/api/interfaces/TClan.md +79 -0
  219. package/docs/api/interfaces/TClanInfo.md +111 -0
  220. package/docs/api/interfaces/TClanJoinResult.md +15 -0
  221. package/docs/api/interfaces/TClanTournamentPlayers.md +71 -0
  222. package/docs/api/interfaces/TClans.md +27 -0
  223. package/docs/api/interfaces/TGetJackpotEligibleGamesResponse.md +1 -1
  224. package/docs/api/interfaces/TGetTranslations.md +3 -3
  225. package/docs/api/interfaces/TInboxMessage.md +13 -13
  226. package/docs/api/interfaces/TInboxMessageBody.md +28 -16
  227. package/docs/api/interfaces/TLevel.md +21 -23
  228. package/docs/api/interfaces/TLevelCurrent.md +32 -34
  229. package/docs/api/interfaces/TMiniGamePlayBatchResult.md +12 -12
  230. package/docs/api/interfaces/TMiniGamePlayResult.md +5 -5
  231. package/docs/api/interfaces/TMiniGamePrize.md +83 -83
  232. package/docs/api/interfaces/TMiniGameTemplate.md +81 -81
  233. package/docs/api/interfaces/TMissionClaimRewardResult.md +3 -3
  234. package/docs/api/interfaces/TMissionOptInResult.md +3 -3
  235. package/docs/api/interfaces/TMissionOrBadge.md +110 -110
  236. package/docs/api/interfaces/TMissionOrBadgeTask.md +15 -15
  237. package/docs/api/interfaces/TRaffle.md +25 -25
  238. package/docs/api/interfaces/TRaffleDraw.md +61 -61
  239. package/docs/api/interfaces/TRaffleDrawRun.md +39 -39
  240. package/docs/api/interfaces/TRaffleOptinResponse.md +4 -4
  241. package/docs/api/interfaces/TRafflePrize.md +35 -35
  242. package/docs/api/interfaces/TRafflePrizeWinner.md +13 -13
  243. package/docs/api/interfaces/TRaffleTicket.md +3 -3
  244. package/docs/api/interfaces/TSawHistory.md +15 -15
  245. package/docs/api/interfaces/TSegmentCheckResult.md +3 -3
  246. package/docs/api/interfaces/TSetAvatarResult.md +19 -0
  247. package/docs/api/interfaces/TStoreCategory.md +5 -5
  248. package/docs/api/interfaces/TStoreItem.md +77 -77
  249. package/docs/api/interfaces/TTournament.md +165 -97
  250. package/docs/api/interfaces/TTournamentDetailed.md +378 -140
  251. package/docs/api/interfaces/TTournamentRegistrationResult.md +3 -3
  252. package/docs/api/interfaces/TUICustomSection.md +52 -52
  253. package/docs/api/interfaces/TUserProfile.md +32 -32
  254. package/docs/api/interfaces/Tournament.md +87 -81
  255. package/docs/api/interfaces/TournamentPlayer.md +18 -18
  256. package/docs/api/interfaces/TournamentPrize.md +17 -17
  257. package/docs/api/interfaces/TournamentPublicMeta.md +47 -47
  258. package/docs/api/interfaces/TransformedRaffleClaimPrizeResponse.md +4 -4
  259. package/docs/api/interfaces/UICustomSection.md +50 -50
  260. package/docs/api/interfaces/UserAchievement.md +101 -101
  261. package/docs/api/interfaces/UserAchievementTask.md +38 -38
  262. package/docs/api/interfaces/UserLevelExtraCountersT.md +5 -5
  263. package/docs/api/type-aliases/TournamentRegistrationTypeName.md +3 -0
  264. package/docs/api/variables/AllRoundsGameBoardID.md +5 -0
  265. package/docs/api/variables/PrizeModifiersKeysNames.md +37 -0
  266. package/docs/api/variables/SAWWinSoundFiles.md +21 -0
  267. package/package.json +1 -1
  268. package/src/Base/ClassId.ts +12 -0
  269. package/src/Clans/Clan.ts +18 -0
  270. package/src/Clans/GetClanInfoRequest.ts +6 -0
  271. package/src/Clans/GetClanInfoResponse.ts +24 -0
  272. package/src/Clans/GetClanListRequest.ts +5 -0
  273. package/src/Clans/GetClanListResponse.ts +10 -0
  274. package/src/Clans/JoinClanRequest.ts +6 -0
  275. package/src/Clans/JoinClanResponse.ts +6 -0
  276. package/src/Clans/index.ts +7 -0
  277. package/src/SmarticoAPI.ts +95 -0
  278. package/src/SmarticoLib/index.ts +163 -0
  279. package/src/Tournaments/GetClanTournamentPlayersRequest.ts +7 -0
  280. package/src/Tournaments/GetClanTournamentPlayersResponse.ts +58 -0
  281. package/src/Tournaments/GetTournamentInfoResponse.ts +52 -0
  282. package/src/Tournaments/Tournament.ts +2 -0
  283. package/src/Tournaments/TournamentClan.ts +30 -0
  284. package/src/Tournaments/index.ts +3 -0
  285. package/src/WSAPI/WSAPI.ts +61 -2
  286. package/src/WSAPI/WSAPITypes.ts +131 -0
  287. package/src/index.ts +2 -1
  288. package/tsconfig.json +5 -3
  289. package/docs/api/.nojekyll +0 -1
  290. package/docs/api/enums/AchCustomLayoutTheme.md +0 -25
  291. package/docs/api/enums/AchCustomSectionType.md +0 -79
  292. package/docs/api/enums/AchievementStatus.md +0 -49
  293. package/docs/api/enums/ActivityTypeLimited.md +0 -115
  294. package/docs/api/enums/BonusStatus.md +0 -37
  295. package/docs/api/enums/GamePickSportType.md +0 -375
  296. package/docs/api/enums/InboxMessageType.md +0 -55
  297. package/docs/api/enums/LiquidEntityData.md +0 -73
  298. package/docs/api/enums/MiniGamePrizeTypeName.md +0 -67
  299. package/docs/api/enums/PointChangeSourceType.md +0 -109
  300. package/docs/api/enums/PrizeModifiers.md +0 -49
  301. package/docs/api/enums/QuizAnswersValueType.md +0 -121
  302. package/docs/api/enums/SAWAcknowledgeTypeName.md +0 -25
  303. package/docs/api/enums/SAWBuyInType.md +0 -31
  304. package/docs/api/enums/SAWBuyInTypeName.md +0 -37
  305. package/docs/api/enums/SAWGPMarketType.md +0 -157
  306. package/docs/api/enums/SAWGameType.md +0 -73
  307. package/docs/api/enums/SAWGameTypeName.md +0 -79
  308. package/docs/api/enums/SAWPrizeType.md +0 -61
  309. package/docs/api/enums/SAWWinSoundType.md +0 -31
  310. package/docs/api/enums/StoreItemType.md +0 -37
  311. package/docs/api/enums/StoreItemTypeName.md +0 -43
  312. package/docs/api/enums/TournamentInstanceStatus.md +0 -43
  313. package/docs/api/enums/TournamentRegistrationError.md +0 -55
  314. package/docs/api/enums/TournamentRegistrationStatus.md +0 -43
  315. package/docs/api/enums/TournamentRegistrationStatusName.md +0 -49
  316. package/docs/api/enums/TournamentRegistrationType.md +0 -43
@@ -2,493 +2,731 @@
2
2
 
3
3
  TTournamentDetailed describes the information of the tournament item and includes list of participants, their scores and position in the tournament leaderboard
4
4
 
5
- ## Hierarchy
5
+ ## Extends
6
6
 
7
7
  - [`TTournament`](TTournament.md)
8
8
 
9
- ↳ **`TTournamentDetailed`**
10
-
11
9
  ## Properties
12
10
 
13
11
  ### instance\_id
14
12
 
15
- • **instance\_id**: `number`
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
  #### Inherited from
20
18
 
21
- [TTournament](TTournament.md).[instance_id](TTournament.md#instance_id)
19
+ [`TTournament`](TTournament.md).[`instance_id`](TTournament.md#instance_id)
22
20
 
23
- ___
21
+ ***
24
22
 
25
23
  ### tournament\_id
26
24
 
27
- • **tournament\_id**: `number`
25
+ > **tournament\_id**: `number`
28
26
 
29
27
  ID of tournament template
30
28
 
31
29
  #### Inherited from
32
30
 
33
- [TTournament](TTournament.md).[tournament_id](TTournament.md#tournament_id)
31
+ [`TTournament`](TTournament.md).[`tournament_id`](TTournament.md#tournament_id)
34
32
 
35
- ___
33
+ ***
36
34
 
37
35
  ### name
38
36
 
39
- • **name**: `string`
37
+ > **name**: `string`
40
38
 
41
39
  Name of the tournament, translated to the user language
42
40
 
43
41
  #### Inherited from
44
42
 
45
- [TTournament](TTournament.md).[name](TTournament.md#name)
43
+ [`TTournament`](TTournament.md).[`name`](TTournament.md#name)
46
44
 
47
- ___
45
+ ***
48
46
 
49
47
  ### description
50
48
 
51
- • **description**: `string`
49
+ > **description**: `string`
52
50
 
53
51
  Description of the tournament, translated to the user language
54
52
 
55
53
  #### Inherited from
56
54
 
57
- [TTournament](TTournament.md).[description](TTournament.md#description)
55
+ [`TTournament`](TTournament.md).[`description`](TTournament.md#description)
58
56
 
59
- ___
57
+ ***
60
58
 
61
59
  ### image1
62
60
 
63
- • **image1**: `string`
61
+ > **image1**: `string`
64
62
 
65
63
  1st image URL representing the tournament, 544×216px
66
64
 
67
65
  #### Inherited from
68
66
 
69
- [TTournament](TTournament.md).[image1](TTournament.md#image1)
67
+ [`TTournament`](TTournament.md).[`image1`](TTournament.md#image1)
70
68
 
71
- ___
69
+ ***
72
70
 
73
71
  ### image2
74
72
 
75
- • **image2**: `string`
73
+ > **image2**: `string`
76
74
 
77
75
  2nd image URL representing the tournament, 920x200px
78
76
 
79
77
  #### Inherited from
80
78
 
81
- [TTournament](TTournament.md).[image2](TTournament.md#image2)
79
+ [`TTournament`](TTournament.md).[`image2`](TTournament.md#image2)
82
80
 
83
- ___
81
+ ***
84
82
 
85
83
  ### image2\_mobile
86
84
 
87
- • **image2\_mobile**: `string`
85
+ > **image2\_mobile**: `string`
88
86
 
89
87
  2nd image URL representing the tournament for mobile, 720x400px
90
88
 
91
89
  #### Inherited from
92
90
 
93
- [TTournament](TTournament.md).[image2_mobile](TTournament.md#image2_mobile)
91
+ [`TTournament`](TTournament.md).[`image2_mobile`](TTournament.md#image2_mobile)
94
92
 
95
- ___
93
+ ***
96
94
 
97
95
  ### prize\_pool\_short
98
96
 
99
- • **prize\_pool\_short**: `string`
97
+ > **prize\_pool\_short**: `string`
100
98
 
101
99
  The message indicating the prize pool of the tournament
102
100
 
103
101
  #### Inherited from
104
102
 
105
- [TTournament](TTournament.md).[prize_pool_short](TTournament.md#prize_pool_short)
103
+ [`TTournament`](TTournament.md).[`prize_pool_short`](TTournament.md#prize_pool_short)
106
104
 
107
- ___
105
+ ***
108
106
 
109
107
  ### custom\_price\_text
110
108
 
111
- • **custom\_price\_text**: `string`
109
+ > **custom\_price\_text**: `string`
112
110
 
113
111
  The message indicating the price to register in the tournament
114
112
 
115
113
  #### Inherited from
116
114
 
117
- [TTournament](TTournament.md).[custom_price_text](TTournament.md#custom_price_text)
115
+ [`TTournament`](TTournament.md).[`custom_price_text`](TTournament.md#custom_price_text)
118
116
 
119
- ___
117
+ ***
120
118
 
121
119
  ### segment\_dont\_match\_message
122
120
 
123
- • **segment\_dont\_match\_message**: `string`
121
+ > **segment\_dont\_match\_message**: `string`
124
122
 
125
123
  The message that should be shown to the user when the user cannot register in tournament with error code TOURNAMENT_USER_DONT_MATCH_CONDITIONS
126
124
 
127
125
  #### Inherited from
128
126
 
129
- [TTournament](TTournament.md).[segment_dont_match_message](TTournament.md#segment_dont_match_message)
127
+ [`TTournament`](TTournament.md).[`segment_dont_match_message`](TTournament.md#segment_dont_match_message)
130
128
 
131
- ___
129
+ ***
132
130
 
133
131
  ### custom\_section\_id
134
132
 
135
- • **custom\_section\_id**: `number`
133
+ > **custom\_section\_id**: `number`
136
134
 
137
135
  The ID of the custom section where the tournament is assigned
138
136
  The list of custom sections can be retrieved using _smartico.api.getCustomSections() method (TODO-API)
139
137
 
140
138
  #### Inherited from
141
139
 
142
- [TTournament](TTournament.md).[custom_section_id](TTournament.md#custom_section_id)
140
+ [`TTournament`](TTournament.md).[`custom_section_id`](TTournament.md#custom_section_id)
143
141
 
144
- ___
142
+ ***
145
143
 
146
144
  ### custom\_data
147
145
 
148
- • **custom\_data**: `any`
146
+ > **custom\_data**: `any`
149
147
 
150
148
  The custom data of the tournament defined by operator. Can be a JSON object, string or number
151
149
 
152
150
  #### Inherited from
153
151
 
154
- [TTournament](TTournament.md).[custom_data](TTournament.md#custom_data)
152
+ [`TTournament`](TTournament.md).[`custom_data`](TTournament.md#custom_data)
155
153
 
156
- ___
154
+ ***
157
155
 
158
156
  ### is\_featured
159
157
 
160
- • **is\_featured**: `boolean`
158
+ > **is\_featured**: `boolean`
161
159
 
162
160
  The indicator if the tournament is 'Featured'
163
161
 
164
162
  #### Inherited from
165
163
 
166
- [TTournament](TTournament.md).[is_featured](TTournament.md#is_featured)
164
+ [`TTournament`](TTournament.md).[`is_featured`](TTournament.md#is_featured)
167
165
 
168
- ___
166
+ ***
169
167
 
170
168
  ### ribbon
171
169
 
172
- • **ribbon**: `string`
170
+ > **ribbon**: `string`
173
171
 
174
172
  The ribbon of the tournament item. Can be 'sale', 'hot', 'new', 'vip' or URL to the image in case of custom ribbon, 250×300px
175
173
 
176
174
  #### Inherited from
177
175
 
178
- [TTournament](TTournament.md).[ribbon](TTournament.md#ribbon)
176
+ [`TTournament`](TTournament.md).[`ribbon`](TTournament.md#ribbon)
179
177
 
180
- ___
178
+ ***
181
179
 
182
180
  ### priority
183
181
 
184
- • **priority**: `number`
182
+ > **priority**: `number`
185
183
 
186
184
  A number is used to order the tournaments, representing their priority in the list
187
185
 
188
186
  #### Inherited from
189
187
 
190
- [TTournament](TTournament.md).[priority](TTournament.md#priority)
188
+ [`TTournament`](TTournament.md).[`priority`](TTournament.md#priority)
191
189
 
192
- ___
190
+ ***
193
191
 
194
192
  ### start\_time
195
193
 
196
- • **start\_time**: `number`
194
+ > **start\_time**: `number`
197
195
 
198
196
  The time when tournament is going to start, epoch with milliseconds
199
197
 
200
198
  #### Inherited from
201
199
 
202
- [TTournament](TTournament.md).[start_time](TTournament.md#start_time)
200
+ [`TTournament`](TTournament.md).[`start_time`](TTournament.md#start_time)
203
201
 
204
- ___
202
+ ***
205
203
 
206
204
  ### end\_time
207
205
 
208
- • **end\_time**: `number`
206
+ > **end\_time**: `number`
209
207
 
210
208
  The time when tournament is going to finish, epoch with milliseconds
211
209
 
212
210
  #### Inherited from
213
211
 
214
- [TTournament](TTournament.md).[end_time](TTournament.md#end_time)
212
+ [`TTournament`](TTournament.md).[`end_time`](TTournament.md#end_time)
215
213
 
216
- ___
214
+ ***
217
215
 
218
216
  ### registration\_type
219
217
 
220
- • **registration\_type**: [`TournamentRegistrationTypeName`](../README.md#tournamentregistrationtypename)
218
+ > **registration\_type**: [`TournamentRegistrationTypeName`](../type-aliases/TournamentRegistrationTypeName.md)
221
219
 
222
220
  Type of registration in the tournament
223
221
 
224
222
  #### Inherited from
225
223
 
226
- [TTournament](TTournament.md).[registration_type](TTournament.md#registration_type)
224
+ [`TTournament`](TTournament.md).[`registration_type`](TTournament.md#registration_type)
227
225
 
228
- ___
226
+ ***
229
227
 
230
228
  ### registration\_count
231
229
 
232
- • **registration\_count**: `number`
230
+ > **registration\_count**: `number`
233
231
 
234
232
  Number of users registered in the tournament
235
233
 
236
234
  #### Inherited from
237
235
 
238
- [TTournament](TTournament.md).[registration_count](TTournament.md#registration_count)
236
+ [`TTournament`](TTournament.md).[`registration_count`](TTournament.md#registration_count)
239
237
 
240
- ___
238
+ ***
241
239
 
242
240
  ### is\_user\_registered
243
241
 
244
- • **is\_user\_registered**: `boolean`
242
+ > **is\_user\_registered**: `boolean`
245
243
 
246
244
  flag indicating if current user is registered in the tournament
247
245
 
248
246
  #### Inherited from
249
247
 
250
- [TTournament](TTournament.md).[is_user_registered](TTournament.md#is_user_registered)
248
+ [`TTournament`](TTournament.md).[`is_user_registered`](TTournament.md#is_user_registered)
251
249
 
252
- ___
250
+ ***
253
251
 
254
252
  ### players\_min\_count
255
253
 
256
- • **players\_min\_count**: `number`
254
+ > **players\_min\_count**: `number`
257
255
 
258
256
  Minimum number of participant for this tournament. If tournament doesnt have enough registrations, it will not start
259
257
 
260
258
  #### Inherited from
261
259
 
262
- [TTournament](TTournament.md).[players_min_count](TTournament.md#players_min_count)
260
+ [`TTournament`](TTournament.md).[`players_min_count`](TTournament.md#players_min_count)
263
261
 
264
- ___
262
+ ***
265
263
 
266
264
  ### players\_max\_count
267
265
 
268
- • **players\_max\_count**: `number`
266
+ > **players\_max\_count**: `number`
269
267
 
270
268
  Maximum number of participant for this tournament. When reached, new users won't be able to register
271
269
 
272
270
  #### Inherited from
273
271
 
274
- [TTournament](TTournament.md).[players_max_count](TTournament.md#players_max_count)
272
+ [`TTournament`](TTournament.md).[`players_max_count`](TTournament.md#players_max_count)
275
273
 
276
- ___
274
+ ***
277
275
 
278
276
  ### registration\_status
279
277
 
280
- • **registration\_status**: [`TournamentRegistrationStatusName`](../enums/TournamentRegistrationStatusName.md)
278
+ > **registration\_status**: [`TournamentRegistrationStatusName`](../enumerations/TournamentRegistrationStatusName.md)
281
279
 
282
280
  Status of registration in the tournament for current user
283
281
 
284
282
  #### Inherited from
285
283
 
286
- [TTournament](TTournament.md).[registration_status](TTournament.md#registration_status)
284
+ [`TTournament`](TTournament.md).[`registration_status`](TTournament.md#registration_status)
287
285
 
288
- ___
286
+ ***
289
287
 
290
288
  ### duration\_ms
291
289
 
292
- • **duration\_ms**: `number`
290
+ > **duration\_ms**: `number`
293
291
 
294
292
  Tournament duration in millisecnnds
295
293
 
296
294
  #### Inherited from
297
295
 
298
- [TTournament](TTournament.md).[duration_ms](TTournament.md#duration_ms)
296
+ [`TTournament`](TTournament.md).[`duration_ms`](TTournament.md#duration_ms)
299
297
 
300
- ___
298
+ ***
301
299
 
302
- ### registration\_cost\_points
300
+ ### registration\_cost\_points?
303
301
 
304
- • `Optional` **registration\_cost\_points**: `number`
302
+ > `optional` **registration\_cost\_points?**: `number`
305
303
 
306
304
  Cost of registration in the tournament in gamification points
307
305
 
308
306
  #### Inherited from
309
307
 
310
- [TTournament](TTournament.md).[registration_cost_points](TTournament.md#registration_cost_points)
308
+ [`TTournament`](TTournament.md).[`registration_cost_points`](TTournament.md#registration_cost_points)
311
309
 
312
- ___
310
+ ***
313
311
 
314
- ### registration\_cost\_gems
312
+ ### registration\_cost\_gems?
315
313
 
316
- • `Optional` **registration\_cost\_gems**: `number`
314
+ > `optional` **registration\_cost\_gems?**: `number`
317
315
 
318
316
  Cost of registration in the tournament in gems
319
317
 
320
318
  #### Inherited from
321
319
 
322
- [TTournament](TTournament.md).[registration_cost_gems](TTournament.md#registration_cost_gems)
320
+ [`TTournament`](TTournament.md).[`registration_cost_gems`](TTournament.md#registration_cost_gems)
323
321
 
324
- ___
322
+ ***
325
323
 
326
- ### registration\_cost\_diamonds
324
+ ### registration\_cost\_diamonds?
327
325
 
328
- • `Optional` **registration\_cost\_diamonds**: `number`
326
+ > `optional` **registration\_cost\_diamonds?**: `number`
329
327
 
330
328
  Cost of registration in the tournament in diamonds
331
329
 
332
330
  #### Inherited from
333
331
 
334
- [TTournament](TTournament.md).[registration_cost_diamonds](TTournament.md#registration_cost_diamonds)
332
+ [`TTournament`](TTournament.md).[`registration_cost_diamonds`](TTournament.md#registration_cost_diamonds)
335
333
 
336
- ___
334
+ ***
337
335
 
338
336
  ### is\_active
339
337
 
340
- • **is\_active**: `boolean`
338
+ > **is\_active**: `boolean`
341
339
 
342
340
  Indicator if tournament instance is active, means in one of the statues - PUBLISHED, REGISTED, STARTED
343
341
 
344
342
  #### Inherited from
345
343
 
346
- [TTournament](TTournament.md).[is_active](TTournament.md#is_active)
344
+ [`TTournament`](TTournament.md).[`is_active`](TTournament.md#is_active)
347
345
 
348
- ___
346
+ ***
349
347
 
350
348
  ### is\_can\_register
351
349
 
352
- • **is\_can\_register**: `boolean`
350
+ > **is\_can\_register**: `boolean`
353
351
 
354
352
  Indicator if user can register in this tournament instance, e.g tournament is active, max users is not reached, user is not registered yet
355
353
 
356
354
  #### Inherited from
357
355
 
358
- [TTournament](TTournament.md).[is_can_register](TTournament.md#is_can_register)
356
+ [`TTournament`](TTournament.md).[`is_can_register`](TTournament.md#is_can_register)
359
357
 
360
- ___
358
+ ***
361
359
 
362
360
  ### is\_cancelled
363
361
 
364
- • **is\_cancelled**: `boolean`
362
+ > **is\_cancelled**: `boolean`
365
363
 
366
364
  Indicator if tournament instance is cancelled (status CANCELLED)
367
365
 
368
366
  #### Inherited from
369
367
 
370
- [TTournament](TTournament.md).[is_cancelled](TTournament.md#is_cancelled)
368
+ [`TTournament`](TTournament.md).[`is_cancelled`](TTournament.md#is_cancelled)
371
369
 
372
- ___
370
+ ***
373
371
 
374
372
  ### is\_finished
375
373
 
376
- • **is\_finished**: `boolean`
374
+ > **is\_finished**: `boolean`
377
375
 
378
376
  Indicator if tournament instance is finished (status FINISHED, CANCELLED OR FINIALIZING)
379
377
 
380
378
  #### Inherited from
381
379
 
382
- [TTournament](TTournament.md).[is_finished](TTournament.md#is_finished)
380
+ [`TTournament`](TTournament.md).[`is_finished`](TTournament.md#is_finished)
383
381
 
384
- ___
382
+ ***
385
383
 
386
384
  ### is\_in\_progress
387
385
 
388
- • **is\_in\_progress**: `boolean`
386
+ > **is\_in\_progress**: `boolean`
389
387
 
390
388
  Indicator if tournament instance is running (status STARTED)
391
389
 
392
390
  #### Inherited from
393
391
 
394
- [TTournament](TTournament.md).[is_in_progress](TTournament.md#is_in_progress)
392
+ [`TTournament`](TTournament.md).[`is_in_progress`](TTournament.md#is_in_progress)
395
393
 
396
- ___
394
+ ***
397
395
 
398
396
  ### is\_upcoming
399
397
 
400
- • **is\_upcoming**: `boolean`
398
+ > **is\_upcoming**: `boolean`
401
399
 
402
400
  Indicator if tournament instance is upcoming (status PUBLISHED or REGISTER)
403
401
 
404
402
  #### Inherited from
405
403
 
406
- [TTournament](TTournament.md).[is_upcoming](TTournament.md#is_upcoming)
404
+ [`TTournament`](TTournament.md).[`is_upcoming`](TTournament.md#is_upcoming)
407
405
 
408
- ___
406
+ ***
409
407
 
410
- ### min\_scores\_win
408
+ ### min\_scores\_win?
411
409
 
412
- • `Optional` **min\_scores\_win**: `number`
410
+ > `optional` **min\_scores\_win?**: `number`
413
411
 
414
412
  The minimum amount of score points that the user should get in order to be qualified for the prize
415
413
 
416
414
  #### Inherited from
417
415
 
418
- [TTournament](TTournament.md).[min_scores_win](TTournament.md#min_scores_win)
416
+ [`TTournament`](TTournament.md).[`min_scores_win`](TTournament.md#min_scores_win)
419
417
 
420
- ___
418
+ ***
421
419
 
422
- ### hide\_leaderboard\_min\_scores
420
+ ### hide\_leaderboard\_min\_scores?
423
421
 
424
- • `Optional` **hide\_leaderboard\_min\_scores**: `boolean`
422
+ > `optional` **hide\_leaderboard\_min\_scores?**: `boolean`
425
423
 
426
424
  When enabled, users who don’t meet the minimum qualifying score will be hidden from the Leaderboard
427
425
 
428
426
  #### Inherited from
429
427
 
430
- [TTournament](TTournament.md).[hide_leaderboard_min_scores](TTournament.md#hide_leaderboard_min_scores)
428
+ [`TTournament`](TTournament.md).[`hide_leaderboard_min_scores`](TTournament.md#hide_leaderboard_min_scores)
431
429
 
432
- ___
430
+ ***
433
431
 
434
- ### total\_scores
432
+ ### total\_scores?
435
433
 
436
- • `Optional` **total\_scores**: `number`
434
+ > `optional` **total\_scores?**: `number`
437
435
 
438
436
  Total scores across all participants in the tournament
439
437
 
440
438
  #### Inherited from
441
439
 
442
- [TTournament](TTournament.md).[total_scores](TTournament.md#total_scores)
440
+ [`TTournament`](TTournament.md).[`total_scores`](TTournament.md#total_scores)
443
441
 
444
- ___
442
+ ***
445
443
 
446
- ### related\_games
444
+ ### related\_games?
447
445
 
448
- • `Optional` **related\_games**: [`AchRelatedGame`](AchRelatedGame-1.md)[]
446
+ > `optional` **related\_games?**: [`AchRelatedGame`](AchRelatedGame-1.md)[]
449
447
 
450
448
  List of casino games (or other types of entities) related to the tournament
451
449
 
452
- ___
450
+ ***
453
451
 
454
- ### players
452
+ ### players?
455
453
 
456
- • `Optional` **players**: \{ `public_username`: `string` ; `avatar_url`: `string` ; `position`: `number` ; `scores`: `number` ; `is_me`: `boolean` ; `user_ext_id`: `string` ; `crm_brand_id`: `number` ; `user_id`: `number` }[]
454
+ > `optional` **players?**: `object`[]
457
455
 
458
456
  The list of the tournament participants
459
457
 
460
- ___
458
+ #### public\_username
459
+
460
+ > **public\_username**: `string`
461
+
462
+ The username of the participant
463
+
464
+ #### avatar\_url
465
+
466
+ > **avatar\_url**: `string`
467
+
468
+ The URL to the avatar of the participant
469
+
470
+ #### position
471
+
472
+ > **position**: `number`
473
+
474
+ The position of the participant in the tournament
475
+
476
+ #### scores
477
+
478
+ > **scores**: `number`
479
+
480
+ The scores of the participant in the tournament
481
+
482
+ #### is\_me
483
+
484
+ > **is\_me**: `boolean`
485
+
486
+ The indicator if the participant is current user
487
+
488
+ #### user\_ext\_id
461
489
 
462
- ### me
490
+ > **user\_ext\_id**: `string`
463
491
 
464
- • `Optional` **me**: `Object`
492
+ The external user id of the participant
493
+
494
+ #### crm\_brand\_id
495
+
496
+ > **crm\_brand\_id**: `number`
497
+
498
+ The crm brand id of the participant
499
+
500
+ #### user\_id
501
+
502
+ > **user\_id**: `number`
503
+
504
+ The user id of the participant
505
+
506
+ ***
507
+
508
+ ### me?
509
+
510
+ > `optional` **me?**: `object`
465
511
 
466
512
  The information about current user in the tournament if he is registered in the tournamnet
467
513
 
468
- #### Type declaration
514
+ #### public\_username
515
+
516
+ > **public\_username**: `string`
517
+
518
+ The username of the current user
519
+
520
+ #### avatar\_url
521
+
522
+ > **avatar\_url**: `string`
523
+
524
+ The URL to the avatar of the current user
525
+
526
+ #### position
527
+
528
+ > **position**: `number`
469
529
 
470
- | Name | Type | Description |
471
- | :------ | :------ | :------ |
472
- | `public_username` | `string` | The username of the current user |
473
- | `avatar_url` | `string` | The URL to the avatar of the current user |
474
- | `position` | `number` | The position of the current user in the tournament |
475
- | `scores` | `number` | The scores of the current user in the tournament |
476
- | `user_ext_id` | `string` | The external user id of the current user |
477
- | `crm_brand_id` | `number` | The crm brand id of the current user |
478
- | `user_id` | `number` | The user id of the current user |
530
+ The position of the current user in the tournament
531
+
532
+ #### scores
533
+
534
+ > **scores**: `number`
535
+
536
+ The scores of the current user in the tournament
537
+
538
+ #### user\_ext\_id
539
+
540
+ > **user\_ext\_id**: `string`
541
+
542
+ The external user id of the current user
543
+
544
+ #### crm\_brand\_id
545
+
546
+ > **crm\_brand\_id**: `number`
547
+
548
+ The crm brand id of the current user
549
+
550
+ #### user\_id
551
+
552
+ > **user\_id**: `number`
553
+
554
+ The user id of the current user
479
555
 
480
556
  #### Overrides
481
557
 
482
- [TTournament](TTournament.md).[me](TTournament.md#me)
558
+ [`TTournament`](TTournament.md).[`me`](TTournament.md#me)
483
559
 
484
- ___
560
+ ***
485
561
 
486
- ### prizes
562
+ ### prizes?
487
563
 
488
- • `Optional` **prizes**: \{ `name`: `string` ; `description`: `string` ; `image_url`: `string` ; `place_from`: `number` ; `place_to`: `number` ; `type`: `string` ; `points?`: `number` }[]
564
+ > `optional` **prizes?**: `object`[]
489
565
 
490
566
  Prize structure
491
567
 
568
+ #### name
569
+
570
+ > **name**: `string`
571
+
572
+ The name of the prize
573
+
574
+ #### description
575
+
576
+ > **description**: `string`
577
+
578
+ The description of the prize
579
+
580
+ #### image\_url
581
+
582
+ > **image\_url**: `string`
583
+
584
+ The image of the prize, 1:1 aspect ratio
585
+
586
+ #### place\_from
587
+
588
+ > **place\_from**: `number`
589
+
590
+ from-to range of the places to which this prize
591
+
592
+ #### place\_to
593
+
594
+ > **place\_to**: `number`
595
+
596
+ #### type
597
+
598
+ > **type**: `string`
599
+
600
+ type of the prize: TANGIBLE, POINTS_ADD, POINTS_DEDUCT, POINTS_RESET, MINI_GAME_ATTEMPT, BONUS
601
+
602
+ #### points?
603
+
604
+ > `optional` **points?**: `number`
605
+
606
+ if the prize is points related, indicates amount of points
607
+
492
608
  #### Overrides
493
609
 
494
- [TTournament](TTournament.md).[prizes](TTournament.md#prizes)
610
+ [`TTournament`](TTournament.md).[`prizes`](TTournament.md#prizes)
611
+
612
+ ***
613
+
614
+ ### is\_clan\_based?
615
+
616
+ > `optional` **is\_clan\_based?**: `boolean`
617
+
618
+ True when this tournament groups participants by clan
619
+
620
+ ***
621
+
622
+ ### clan\_leaderboard?
623
+
624
+ > `optional` **clan\_leaderboard?**: `object`[]
625
+
626
+ Ranked list of clans in this tournament; null for non-clan tournaments
627
+
628
+ #### clan\_id
629
+
630
+ > **clan\_id**: `number`
631
+
632
+ #### public\_meta
633
+
634
+ > **public\_meta**: `object`
635
+
636
+ ##### public\_meta.name
637
+
638
+ > **name**: `string`
639
+
640
+ ##### public\_meta.description
641
+
642
+ > **description**: `string`
643
+
644
+ ##### public\_meta.image\_url
645
+
646
+ > **image\_url**: `string`
647
+
648
+ #### position
649
+
650
+ > **position**: `number`
651
+
652
+ #### total\_score
653
+
654
+ > **total\_score**: `number`
655
+
656
+ #### contributing\_members
657
+
658
+ > **contributing\_members**: `number`
659
+
660
+ ***
661
+
662
+ ### user\_clan\_id?
663
+
664
+ > `optional` **user\_clan\_id?**: `number`
665
+
666
+ The clan ID the current user belongs to; null when clanless or non-clan tournament
667
+
668
+ ***
669
+
670
+ ### user\_position\_in\_clan?
671
+
672
+ > `optional` **user\_position\_in\_clan?**: `number`
673
+
674
+ The user's rank within their own clan; null when clanless or not registered
675
+
676
+ ***
677
+
678
+ ### user\_score\_in\_clan?
679
+
680
+ > `optional` **user\_score\_in\_clan?**: `number`
681
+
682
+ The user's score contribution to their clan; null when clanless or not registered
683
+
684
+ ***
685
+
686
+ ### clan\_prize\_structure?
687
+
688
+ > `optional` **clan\_prize\_structure?**: `object`[]
689
+
690
+ Per-clan prize structure; null for non-clan tournaments
691
+
692
+ #### clan\_place
693
+
694
+ > **clan\_place**: `number`
695
+
696
+ #### prize\_type\_id
697
+
698
+ > **prize\_type\_id**: `number`
699
+
700
+ 1 = Fixed, 2 = Dynamic
701
+
702
+ #### prize\_pool\_amount
703
+
704
+ > **prize\_pool\_amount**: `number`
705
+
706
+ #### activity\_type\_id
707
+
708
+ > **activity\_type\_id**: `number`
709
+
710
+ #### details\_json
711
+
712
+ > **details\_json**: `Record`\<`string`, `any`\>
713
+
714
+ #### public\_meta
715
+
716
+ > **public\_meta**: `object`
717
+
718
+ ##### public\_meta.name
719
+
720
+ > **name**: `string`
721
+
722
+ ##### public\_meta.description
723
+
724
+ > **description**: `string`
725
+
726
+ ##### public\_meta.image\_url
727
+
728
+ > **image\_url**: `string`
729
+
730
+ #### tiers
731
+
732
+ > **tiers**: `object`[]