@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.
Files changed (317) 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 +561 -290
  22. package/dist/index.js.map +1 -1
  23. package/dist/index.modern.mjs +193 -2
  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/Raffle/GetRafflesResponse.ts +1 -1
  278. package/src/SmarticoAPI.ts +95 -0
  279. package/src/SmarticoLib/index.ts +163 -0
  280. package/src/Tournaments/GetClanTournamentPlayersRequest.ts +7 -0
  281. package/src/Tournaments/GetClanTournamentPlayersResponse.ts +58 -0
  282. package/src/Tournaments/GetTournamentInfoResponse.ts +52 -0
  283. package/src/Tournaments/Tournament.ts +2 -0
  284. package/src/Tournaments/TournamentClan.ts +30 -0
  285. package/src/Tournaments/index.ts +3 -0
  286. package/src/WSAPI/WSAPI.ts +61 -2
  287. package/src/WSAPI/WSAPITypes.ts +131 -0
  288. package/src/index.ts +2 -1
  289. package/tsconfig.json +5 -3
  290. package/docs/api/.nojekyll +0 -1
  291. package/docs/api/enums/AchCustomLayoutTheme.md +0 -25
  292. package/docs/api/enums/AchCustomSectionType.md +0 -79
  293. package/docs/api/enums/AchievementStatus.md +0 -49
  294. package/docs/api/enums/ActivityTypeLimited.md +0 -115
  295. package/docs/api/enums/BonusStatus.md +0 -37
  296. package/docs/api/enums/GamePickSportType.md +0 -375
  297. package/docs/api/enums/InboxMessageType.md +0 -55
  298. package/docs/api/enums/LiquidEntityData.md +0 -73
  299. package/docs/api/enums/MiniGamePrizeTypeName.md +0 -67
  300. package/docs/api/enums/PointChangeSourceType.md +0 -109
  301. package/docs/api/enums/PrizeModifiers.md +0 -49
  302. package/docs/api/enums/QuizAnswersValueType.md +0 -121
  303. package/docs/api/enums/SAWAcknowledgeTypeName.md +0 -25
  304. package/docs/api/enums/SAWBuyInType.md +0 -31
  305. package/docs/api/enums/SAWBuyInTypeName.md +0 -37
  306. package/docs/api/enums/SAWGPMarketType.md +0 -157
  307. package/docs/api/enums/SAWGameType.md +0 -73
  308. package/docs/api/enums/SAWGameTypeName.md +0 -79
  309. package/docs/api/enums/SAWPrizeType.md +0 -61
  310. package/docs/api/enums/SAWWinSoundType.md +0 -31
  311. package/docs/api/enums/StoreItemType.md +0 -37
  312. package/docs/api/enums/StoreItemTypeName.md +0 -43
  313. package/docs/api/enums/TournamentInstanceStatus.md +0 -43
  314. package/docs/api/enums/TournamentRegistrationError.md +0 -55
  315. package/docs/api/enums/TournamentRegistrationStatus.md +0 -43
  316. package/docs/api/enums/TournamentRegistrationStatusName.md +0 -49
  317. package/docs/api/enums/TournamentRegistrationType.md +0 -43
@@ -2,204 +2,204 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- ### ach\_id
5
+ ### ach\_id?
6
6
 
7
- • `Optional` **ach\_id**: `number`
7
+ > `optional` **ach\_id?**: `number`
8
8
 
9
- ___
9
+ ***
10
10
 
11
- ### ach\_type\_id
11
+ ### ach\_type\_id?
12
12
 
13
- • `Optional` **ach\_type\_id**: [`AchievementType`](../enums/AchievementType.md)
13
+ > `optional` **ach\_type\_id?**: [`AchievementType`](../enumerations/AchievementType.md)
14
14
 
15
- ___
15
+ ***
16
16
 
17
- ### ach\_public\_meta
17
+ ### ach\_public\_meta?
18
18
 
19
- • `Optional` **ach\_public\_meta**: [`AchievementPublicMeta`](AchievementPublicMeta.md)
19
+ > `optional` **ach\_public\_meta?**: [`AchievementPublicMeta`](AchievementPublicMeta.md)
20
20
 
21
- ___
21
+ ***
22
22
 
23
- ### isCompleted
23
+ ### isCompleted?
24
24
 
25
- • `Optional` **isCompleted**: `boolean`
25
+ > `optional` **isCompleted?**: `boolean`
26
26
 
27
- ___
27
+ ***
28
28
 
29
- ### isLocked
29
+ ### isLocked?
30
30
 
31
- • `Optional` **isLocked**: `boolean`
31
+ > `optional` **isLocked?**: `boolean`
32
32
 
33
- ___
33
+ ***
34
34
 
35
- ### requiresOptin
35
+ ### requiresOptin?
36
36
 
37
- • `Optional` **requiresOptin**: `boolean`
37
+ > `optional` **requiresOptin?**: `boolean`
38
38
 
39
- ___
39
+ ***
40
40
 
41
- ### isOptedIn
41
+ ### isOptedIn?
42
42
 
43
- • `Optional` **isOptedIn**: `boolean`
43
+ > `optional` **isOptedIn?**: `boolean`
44
44
 
45
- ___
45
+ ***
46
46
 
47
- ### start\_date
47
+ ### start\_date?
48
48
 
49
- • `Optional` **start\_date**: `string`
49
+ > `optional` **start\_date?**: `string`
50
50
 
51
- ___
51
+ ***
52
52
 
53
- ### start\_date\_ts
53
+ ### start\_date\_ts?
54
54
 
55
- • `Optional` **start\_date\_ts**: `number`
55
+ > `optional` **start\_date\_ts?**: `number`
56
56
 
57
- ___
57
+ ***
58
58
 
59
- ### time\_limit\_ms
59
+ ### time\_limit\_ms?
60
60
 
61
- • `Optional` **time\_limit\_ms**: `number`
61
+ > `optional` **time\_limit\_ms?**: `number`
62
62
 
63
- ___
63
+ ***
64
64
 
65
- ### progress
65
+ ### progress?
66
66
 
67
- • `Optional` **progress**: `number`
67
+ > `optional` **progress?**: `number`
68
68
 
69
- ___
69
+ ***
70
70
 
71
- ### complete\_date
71
+ ### complete\_date?
72
72
 
73
- • `Optional` **complete\_date**: `string`
73
+ > `optional` **complete\_date?**: `string`
74
74
 
75
- ___
75
+ ***
76
76
 
77
- ### complete\_date\_ts
77
+ ### complete\_date\_ts?
78
78
 
79
- • `Optional` **complete\_date\_ts**: `number`
79
+ > `optional` **complete\_date\_ts?**: `number`
80
80
 
81
- ___
81
+ ***
82
82
 
83
- ### unlock\_date
83
+ ### unlock\_date?
84
84
 
85
- • `Optional` **unlock\_date**: `string`
85
+ > `optional` **unlock\_date?**: `string`
86
86
 
87
- ___
87
+ ***
88
88
 
89
- ### milliseconds\_till\_available
89
+ ### milliseconds\_till\_available?
90
90
 
91
- • `Optional` **milliseconds\_till\_available**: `number`
91
+ > `optional` **milliseconds\_till\_available?**: `number`
92
92
 
93
- ___
93
+ ***
94
94
 
95
- ### completed\_tasks
95
+ ### completed\_tasks?
96
96
 
97
- • `Optional` **completed\_tasks**: `number`
97
+ > `optional` **completed\_tasks?**: `number`
98
98
 
99
- ___
99
+ ***
100
100
 
101
- ### achievementTasks
101
+ ### achievementTasks?
102
102
 
103
- • `Optional` **achievementTasks**: [`UserAchievementTask`](UserAchievementTask.md)[]
103
+ > `optional` **achievementTasks?**: [`UserAchievementTask`](UserAchievementTask.md)[]
104
104
 
105
- ___
105
+ ***
106
106
 
107
- ### next\_recurrence\_date\_ts
107
+ ### next\_recurrence\_date\_ts?
108
108
 
109
- • `Optional` **next\_recurrence\_date\_ts**: `number`
109
+ > `optional` **next\_recurrence\_date\_ts?**: `number`
110
110
 
111
- ___
111
+ ***
112
112
 
113
- ### ach\_status\_id
113
+ ### ach\_status\_id?
114
114
 
115
- • `Optional` **ach\_status\_id**: [`AchievementStatus`](../enums/AchievementStatus.md)
115
+ > `optional` **ach\_status\_id?**: [`AchievementStatus`](../enumerations/AchievementStatus.md)
116
116
 
117
- ___
117
+ ***
118
118
 
119
- ### scheduledMissionType
119
+ ### scheduledMissionType?
120
120
 
121
- • `Optional` **scheduledMissionType**: [`ScheduledMissionType`](../enums/ScheduledMissionType.md)
121
+ > `optional` **scheduledMissionType?**: [`ScheduledMissionType`](../enumerations/ScheduledMissionType.md)
122
122
 
123
- ___
123
+ ***
124
124
 
125
- ### related\_games
125
+ ### related\_games?
126
126
 
127
- • `Optional` **related\_games**: [`AchRelatedGame`](AchRelatedGame.md)[]
127
+ > `optional` **related\_games?**: [`AchRelatedGame`](AchRelatedGame.md)[]
128
128
 
129
- ___
129
+ ***
130
130
 
131
- ### active\_from\_ts
131
+ ### active\_from\_ts?
132
132
 
133
- • `Optional` **active\_from\_ts**: `number`
133
+ > `optional` **active\_from\_ts?**: `number`
134
134
 
135
- ___
135
+ ***
136
136
 
137
- ### active\_till\_ts
137
+ ### active\_till\_ts?
138
138
 
139
- • `Optional` **active\_till\_ts**: `number`
139
+ > `optional` **active\_till\_ts?**: `number`
140
140
 
141
- ___
141
+ ***
142
142
 
143
- ### ach\_categories
143
+ ### ach\_categories?
144
144
 
145
- • `Optional` **ach\_categories**: `number`[]
145
+ > `optional` **ach\_categories?**: `number`[]
146
146
 
147
- ___
147
+ ***
148
148
 
149
- ### recurring\_quantity
149
+ ### recurring\_quantity?
150
150
 
151
- • `Optional` **recurring\_quantity**: `number`
151
+ > `optional` **recurring\_quantity?**: `number`
152
152
 
153
- ___
153
+ ***
154
154
 
155
- ### completed\_count
155
+ ### completed\_count?
156
156
 
157
- • `Optional` **completed\_count**: `number`
157
+ > `optional` **completed\_count?**: `number`
158
158
 
159
- ___
159
+ ***
160
160
 
161
- ### ach\_completed\_id
161
+ ### ach\_completed\_id?
162
162
 
163
- • `Optional` **ach\_completed\_id**: `number`
163
+ > `optional` **ach\_completed\_id?**: `number`
164
164
 
165
- ___
165
+ ***
166
166
 
167
- ### requires\_prize\_claim
167
+ ### requires\_prize\_claim?
168
168
 
169
- • `Optional` **requires\_prize\_claim**: `boolean`
169
+ > `optional` **requires\_prize\_claim?**: `boolean`
170
170
 
171
- ___
171
+ ***
172
172
 
173
- ### prize\_claimed\_date\_ts
173
+ ### prize\_claimed\_date\_ts?
174
174
 
175
- • `Optional` **prize\_claimed\_date\_ts**: `number`
175
+ > `optional` **prize\_claimed\_date\_ts?**: `number`
176
176
 
177
- ___
177
+ ***
178
178
 
179
- ### completed\_today
179
+ ### completed\_today?
180
180
 
181
- • `Optional` **completed\_today**: `boolean`
181
+ > `optional` **completed\_today?**: `boolean`
182
182
 
183
- ___
183
+ ***
184
184
 
185
- ### completed\_this\_week
185
+ ### completed\_this\_week?
186
186
 
187
- • `Optional` **completed\_this\_week**: `boolean`
187
+ > `optional` **completed\_this\_week?**: `boolean`
188
188
 
189
- ___
189
+ ***
190
190
 
191
- ### completed\_this\_month
191
+ ### completed\_this\_month?
192
192
 
193
- • `Optional` **completed\_this\_month**: `boolean`
193
+ > `optional` **completed\_this\_month?**: `boolean`
194
194
 
195
- ___
195
+ ***
196
196
 
197
- ### custom\_section\_type\_id
197
+ ### custom\_section\_type\_id?
198
198
 
199
- • `Optional` **custom\_section\_type\_id**: `number`
199
+ > `optional` **custom\_section\_type\_id?**: `number`
200
200
 
201
- ___
201
+ ***
202
202
 
203
- ### badgeTimeLimitState
203
+ ### badgeTimeLimitState?
204
204
 
205
- • `Optional` **badgeTimeLimitState**: [`BadgesTimeLimitStates`](../enums/BadgesTimeLimitStates.md)
205
+ > `optional` **badgeTimeLimitState?**: [`BadgesTimeLimitStates`](../enumerations/BadgesTimeLimitStates.md)
@@ -2,82 +2,82 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- ### task\_id
5
+ ### task\_id?
6
6
 
7
- • `Optional` **task\_id**: `number`
7
+ > `optional` **task\_id?**: `number`
8
8
 
9
- ___
9
+ ***
10
10
 
11
- ### task\_public\_meta
11
+ ### task\_public\_meta?
12
12
 
13
- • `Optional` **task\_public\_meta**: [`AchievementTaskPublicMeta`](AchievementTaskPublicMeta.md)
13
+ > `optional` **task\_public\_meta?**: [`AchievementTaskPublicMeta`](AchievementTaskPublicMeta.md)
14
14
 
15
- ___
15
+ ***
16
16
 
17
- ### points\_reward
17
+ ### points\_reward?
18
18
 
19
- • `Optional` **points\_reward**: `number`
19
+ > `optional` **points\_reward?**: `number`
20
20
 
21
- ___
21
+ ***
22
22
 
23
23
  ### task\_type\_id
24
24
 
25
- • **task\_type\_id**: [`AchievementTaskType`](../enums/AchievementTaskType.md)
25
+ > **task\_type\_id**: [`AchievementTaskType`](../enumerations/AchievementTaskType.md)
26
26
 
27
- ___
27
+ ***
28
28
 
29
- ### isCompleted
29
+ ### isCompleted?
30
30
 
31
- • `Optional` **isCompleted**: `boolean`
31
+ > `optional` **isCompleted?**: `boolean`
32
32
 
33
- ___
33
+ ***
34
34
 
35
- ### userExecutedCount
35
+ ### userExecutedCount?
36
36
 
37
- • `Optional` **userExecutedCount**: `number`
37
+ > `optional` **userExecutedCount?**: `number`
38
38
 
39
- ___
39
+ ***
40
40
 
41
- ### executionCount
41
+ ### executionCount?
42
42
 
43
- • `Optional` **executionCount**: `number`
43
+ > `optional` **executionCount?**: `number`
44
44
 
45
- ___
45
+ ***
46
46
 
47
- ### userProgress
47
+ ### userProgress?
48
48
 
49
- • `Optional` **userProgress**: `number`
49
+ > `optional` **userProgress?**: `number`
50
50
 
51
- ___
51
+ ***
52
52
 
53
53
  ### lastExecutionDate
54
54
 
55
- • **lastExecutionDate**: `string`
55
+ > **lastExecutionDate**: `string`
56
56
 
57
- ___
57
+ ***
58
58
 
59
- ### unlocked\_by\_mission\_id
59
+ ### unlocked\_by\_mission\_id?
60
60
 
61
- • `Optional` **unlocked\_by\_mission\_id**: `number`
61
+ > `optional` **unlocked\_by\_mission\_id?**: `number`
62
62
 
63
- ___
63
+ ***
64
64
 
65
- ### unlocked\_by\_level\_id
65
+ ### unlocked\_by\_level\_id?
66
66
 
67
- • `Optional` **unlocked\_by\_level\_id**: `number`
67
+ > `optional` **unlocked\_by\_level\_id?**: `number`
68
68
 
69
- ___
69
+ ***
70
70
 
71
- ### user\_state\_params
71
+ ### user\_state\_params?
72
72
 
73
- • `Optional` **user\_state\_params**: `Object`
73
+ > `optional` **user\_state\_params?**: `object`
74
74
 
75
- #### Index signature
75
+ #### Index Signature
76
76
 
77
- ▪ [key: `string`]: `any`
77
+ \[`key`: `string`\]: `any`
78
78
 
79
- ___
79
+ ***
80
80
 
81
- ### affects\_progress
81
+ ### affects\_progress?
82
82
 
83
- • `Optional` **affects\_progress**: [`AffectsProgress`](AffectsProgress.md)
83
+ > `optional` **affects\_progress?**: [`AffectsProgress`](AffectsProgress.md)
@@ -2,16 +2,16 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- ### level\_counter\_1
5
+ ### level\_counter\_1?
6
6
 
7
- • `Optional` **level\_counter\_1**: `number`
7
+ > `optional` **level\_counter\_1?**: `number`
8
8
 
9
9
  The counter of 1st metric used to reach the level.
10
10
 
11
- ___
11
+ ***
12
12
 
13
- ### level\_counter\_2
13
+ ### level\_counter\_2?
14
14
 
15
- • `Optional` **level\_counter\_2**: `number`
15
+ > `optional` **level\_counter\_2?**: `number`
16
16
 
17
17
  The counter of 2nd metric used to reach the level.
@@ -0,0 +1,3 @@
1
+ # Type Alias: TournamentRegistrationTypeName
2
+
3
+ > **TournamentRegistrationTypeName** = `"AUTO"` \| `"OPT_IN"` \| `"BUY_IN_POINTS"` \| `"MANUAL_APPROVAL"` \| `"REQUIRES_QUALIFICATION"` \| `"BUY_IN_GEMS"` \| `"BUY_IN_DIAMONDS"` \| `"UNKNOWN"`
@@ -0,0 +1,5 @@
1
+ # Variable: AllRoundsGameBoardID
2
+
3
+ > `const` **AllRoundsGameBoardID**: `-1` = `-1`
4
+
5
+ Round ID constant used to request the overall/seasonal leaderboard across all rounds
@@ -0,0 +1,37 @@
1
+ # Variable: PrizeModifiersKeysNames
2
+
3
+ > `const` **PrizeModifiersKeysNames**: `object`
4
+
5
+ ## Type Declaration
6
+
7
+ ### 1
8
+
9
+ > **1**: `string` = `'2x'`
10
+
11
+ ### 2
12
+
13
+ > **2**: `string` = `'5x'`
14
+
15
+ ### 3
16
+
17
+ > **3**: `string` = `'10x'`
18
+
19
+ ### 4
20
+
21
+ > **4**: `string` = `'/2'`
22
+
23
+ ### 5
24
+
25
+ > **5**: `string` = `'/5'`
26
+
27
+ ### 6
28
+
29
+ > **6**: `string` = `'/10'`
30
+
31
+ ### 7
32
+
33
+ > **7**: `string` = `'0'`
34
+
35
+ ### 8
36
+
37
+ > **8**: `string` = `'Reset to 0'`
@@ -0,0 +1,21 @@
1
+ # Variable: SAWWinSoundFiles
2
+
3
+ > `const` **SAWWinSoundFiles**: `object`
4
+
5
+ ## Type Declaration
6
+
7
+ ### 4
8
+
9
+ > **4**: `any` = `null`
10
+
11
+ ### 1
12
+
13
+ > **1**: `string` = `'saw-disappointed.m4a'`
14
+
15
+ ### 2
16
+
17
+ > **2**: `string` = `'saw-positive.m4a'`
18
+
19
+ ### 3
20
+
21
+ > **3**: `string` = `'saw-highly-positive.m4a'`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.364",
3
+ "version": "0.0.366",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -109,6 +109,18 @@ export enum ClassId {
109
109
  GET_AVATAR_PROMPTS_REQUEST = 564,
110
110
  GET_AVATAR_PROMPTS_RESPONSE = 565,
111
111
 
112
+ GET_CLAN_LIST_REQUEST = 570,
113
+ GET_CLAN_LIST_RESPONSE = 571,
114
+
115
+ GET_CLAN_INFO_REQUEST = 572,
116
+ GET_CLAN_INFO_RESPONSE = 573,
117
+
118
+ JOIN_CLAN_REQUEST = 574,
119
+ JOIN_CLAN_RESPONSE = 575,
120
+
121
+ GET_CLAN_TOURNAMENT_PLAYERS_REQUEST = 576,
122
+ GET_CLAN_TOURNAMENT_PLAYERS_RESPONSE = 577,
123
+
112
124
  /*
113
125
  !Important, if adding new messages that are 'acting' on behalf of the client,
114
126
  you need to include them in the CLASS_ID_IGNORE_FOR_SIMULATION
@@ -0,0 +1,18 @@
1
+ export interface ClanPublicMeta {
2
+ name: string;
3
+ description: string;
4
+ image_url: string;
5
+ }
6
+
7
+ export interface Clan {
8
+ clan_id: number;
9
+ public_meta: ClanPublicMeta;
10
+ member_count: number;
11
+ capacity_limit: number;
12
+ /** ShopPurchaseType: 0=Points, 1=Gems, 2=Diamonds, 3=Free */
13
+ entry_fee_currency_type_id: number;
14
+ entry_fee_amount: number;
15
+ /** F1 rank ASC, 1=best */
16
+ rating_position: number;
17
+ rating_score: number;
18
+ }
@@ -0,0 +1,6 @@
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
+
3
+ export interface GetClanInfoRequest extends ProtocolMessage {
4
+ clan_id: number;
5
+ force_language?: string;
6
+ }
@@ -0,0 +1,24 @@
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { Clan } from './Clan';
3
+
4
+ export interface ClanMember {
5
+ user_id: number;
6
+ public_username: string;
7
+ avatar_id: string;
8
+ avatar_real_id: number;
9
+ /** Rank within clan */
10
+ position: number;
11
+ /** Aggregated tournament contribution */
12
+ contribution_score: number;
13
+ is_me?: boolean;
14
+ clean_ext_user_id?: string;
15
+ }
16
+
17
+ export interface GetClanInfoResponse extends ProtocolResponse {
18
+ clan_info: Clan;
19
+ members: ClanMember[];
20
+ entry_fee_currency_type_id: number;
21
+ entry_fee_amount: number;
22
+ /** Cooldown until date string; null if no cooldown active */
23
+ cooldown_until: string | null;
24
+ }
@@ -0,0 +1,5 @@
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
+
3
+ export interface GetClanListRequest extends ProtocolMessage {
4
+ force_language?: string;
5
+ }
@@ -0,0 +1,10 @@
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { Clan } from './Clan';
3
+
4
+ export interface GetClanListResponse extends ProtocolResponse {
5
+ clans: Clan[];
6
+ /** The clan ID the current user belongs to; null if clanless */
7
+ user_clan_id: number | null;
8
+ /** Cooldown until date string (e.g. "29/03/2026 10:00:00"); null if no cooldown */
9
+ cooldown_until: string | null;
10
+ }
@@ -0,0 +1,6 @@
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
+
3
+ export interface JoinClanRequest extends ProtocolMessage {
4
+ clan_id: number;
5
+ join_source_id: number;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+
3
+ export interface JoinClanResponse extends ProtocolResponse {
4
+ errCode?: number;
5
+ errMsg?: string;
6
+ }
@@ -0,0 +1,7 @@
1
+ export * from './Clan';
2
+ export * from './GetClanListRequest';
3
+ export * from './GetClanListResponse';
4
+ export * from './GetClanInfoRequest';
5
+ export * from './GetClanInfoResponse';
6
+ export * from './JoinClanRequest';
7
+ export * from './JoinClanResponse';
@@ -26,7 +26,7 @@ export const winnersTransform = (items: RafflePrizeWinner[]): TRafflePrizeWinner
26
26
  return {
27
27
  id: item.user_id,
28
28
  username: item.public_username,
29
- avatar_url: item.avatar_url,
29
+ avatar_url: item.avatar_url || item.avatar_id,
30
30
  ticket: { ticekt_id: item.ticket.id, ticket_id_string: item.ticket.s },
31
31
  raf_won_id: item.raf_won_id,
32
32
  claimed_date: item.claimed_date,