@smartico/public-api 0.0.379 → 0.0.381

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 (219) hide show
  1. package/.nvmrc +1 -1
  2. package/CLAUDE.md +103 -0
  3. package/README.md +53 -2
  4. package/dist/Base/ClassId.d.ts +2 -0
  5. package/dist/Jackpots/JackpotDetails.d.ts +14 -15
  6. package/dist/Jackpots/JackpotPot.d.ts +10 -6
  7. package/dist/Raffle/GetRaffleWonPrizesRequest.d.ts +9 -0
  8. package/dist/Raffle/GetRaffleWonPrizesResponse.d.ts +52 -0
  9. package/dist/Raffle/index.d.ts +2 -0
  10. package/dist/SmarticoAPI.d.ts +6 -1
  11. package/dist/SmarticoLib/index.d.ts +5 -1
  12. package/dist/Store/BuyStoreItemErrorCode.d.ts +9 -1
  13. package/dist/Tournaments/TournamentRegistrationError.d.ts +3 -1
  14. package/dist/WSAPI/WSAPI.d.ts +13 -1235
  15. package/dist/WSAPI/WSAPIAvatars.d.ts +296 -0
  16. package/dist/WSAPI/WSAPIBase.d.ts +71 -0
  17. package/dist/WSAPI/WSAPIBonuses.d.ts +240 -0
  18. package/dist/WSAPI/WSAPIClans.d.ts +388 -0
  19. package/dist/WSAPI/WSAPIGamePick.d.ts +593 -0
  20. package/dist/WSAPI/WSAPIGeneral.d.ts +172 -0
  21. package/dist/WSAPI/WSAPIInbox.d.ts +615 -0
  22. package/dist/WSAPI/WSAPIJackpots.d.ts +344 -0
  23. package/dist/WSAPI/WSAPILeaderBoard.d.ts +139 -0
  24. package/dist/WSAPI/WSAPIMiniGames.d.ts +510 -0
  25. package/dist/WSAPI/WSAPIMissions.d.ts +517 -0
  26. package/dist/WSAPI/WSAPIRaffles.d.ts +643 -0
  27. package/dist/WSAPI/WSAPIStore.d.ts +656 -0
  28. package/dist/WSAPI/WSAPITournaments.d.ts +501 -0
  29. package/dist/WSAPI/WSAPITypes.d.ts +376 -205
  30. package/dist/WSAPI/WSAPIUser.d.ts +533 -0
  31. package/dist/index.js +6745 -1661
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.modern.mjs +6324 -1342
  34. package/dist/index.modern.mjs.map +1 -1
  35. package/docs/Callbacks.md +162 -0
  36. package/docs/SmarticoObject.md +445 -0
  37. package/docs/Transforms.md +99 -0
  38. package/docs/api/README.md +82 -2
  39. package/docs/api/classes/WSAPIAvatars.md +344 -0
  40. package/docs/api/classes/WSAPIBonuses.md +271 -0
  41. package/docs/api/classes/WSAPIClans.md +436 -0
  42. package/docs/api/classes/WSAPIGamePick.md +710 -0
  43. package/docs/api/classes/WSAPIGeneral.md +212 -0
  44. package/docs/api/classes/WSAPIInbox.md +801 -0
  45. package/docs/api/classes/WSAPIJackpots.md +439 -0
  46. package/docs/api/classes/WSAPILeaderBoard.md +157 -0
  47. package/docs/api/classes/WSAPIMiniGames.md +612 -0
  48. package/docs/api/classes/WSAPIMissions.md +590 -0
  49. package/docs/api/classes/WSAPIRaffles.md +773 -0
  50. package/docs/api/classes/WSAPIStore.md +719 -0
  51. package/docs/api/classes/WSAPITournaments.md +571 -0
  52. package/docs/api/classes/WSAPIUser.md +637 -0
  53. package/docs/api/documents/Callbacks.md +162 -0
  54. package/docs/api/documents/SmarticoObject.md +445 -0
  55. package/docs/api/documents/Transforms.md +99 -0
  56. package/docs/api/enumerations/AchievementClaimPeriodTypeId.md +13 -0
  57. package/docs/api/enumerations/BonusStatus-1.md +11 -6
  58. package/docs/api/enumerations/BuyStoreItemErrorCode.md +32 -0
  59. package/docs/api/enumerations/JoinClanErrorCode.md +81 -0
  60. package/docs/api/enumerations/TournamentRegistrationError.md +12 -0
  61. package/docs/api/functions/clanTournamentPlayersTransform.md +13 -0
  62. package/docs/api/interfaces/AvatarCustomized.md +25 -0
  63. package/docs/api/interfaces/AvatarDefinition.md +94 -0
  64. package/docs/api/interfaces/AvatarPrompt.md +45 -0
  65. package/docs/api/interfaces/BonusMetaMap-1.md +4 -1
  66. package/docs/api/interfaces/BonusTemplateMetaMap-1.md +9 -4
  67. package/docs/api/interfaces/Clan.md +4 -0
  68. package/docs/api/interfaces/ClanInfo.md +109 -0
  69. package/docs/api/interfaces/ClanMember.md +53 -0
  70. package/docs/api/interfaces/ClanPrizePublicMeta.md +41 -0
  71. package/docs/api/interfaces/ClanPrizeStructureEntry.md +7 -1
  72. package/docs/api/interfaces/ClanPublicMeta.md +4 -0
  73. package/docs/api/interfaces/ClanTournamentPlayerRaw.md +67 -0
  74. package/docs/api/interfaces/GemsDiamondsLog.md +43 -0
  75. package/docs/api/interfaces/GetClanInfoResponse.md +61 -0
  76. package/docs/api/interfaces/GetClanTournamentPlayersResponse.md +81 -0
  77. package/docs/api/interfaces/GetRaffleWonPrizesRequest.md +59 -0
  78. package/docs/api/interfaces/GetRaffleWonPrizesResponse.md +95 -0
  79. package/docs/api/interfaces/InboxMarkMessageAction.md +10 -2
  80. package/docs/api/interfaces/JackpotDetails.md +14 -15
  81. package/docs/api/interfaces/JackpotPot.md +9 -6
  82. package/docs/api/interfaces/LeaderBoardDetailsT.md +14 -8
  83. package/docs/api/interfaces/LeaderBoardUserT.md +8 -5
  84. package/docs/api/interfaces/LeaderBoardsRewardsT.md +7 -0
  85. package/docs/api/interfaces/PointsLog.md +43 -0
  86. package/docs/api/interfaces/RaffleWonPrize.md +59 -0
  87. package/docs/api/interfaces/RaffleWonPrizePublicMeta.md +27 -0
  88. package/docs/api/interfaces/RaffleWonPrizeUser.md +43 -0
  89. package/docs/api/interfaces/SAWTemplateUI.md +10 -0
  90. package/docs/api/interfaces/TAchCategory.md +14 -4
  91. package/docs/api/interfaces/TAvatarCustomized.md +4 -4
  92. package/docs/api/interfaces/TAvatarDefinition.md +13 -14
  93. package/docs/api/interfaces/TAvatarPrompt.md +6 -6
  94. package/docs/api/interfaces/TBonus.md +16 -8
  95. package/docs/api/interfaces/TBuyStoreItemResult.md +4 -11
  96. package/docs/api/interfaces/TClaimBonusResult.md +5 -5
  97. package/docs/api/interfaces/TClan.md +8 -4
  98. package/docs/api/interfaces/TClanInfo.md +47 -0
  99. package/docs/api/interfaces/TClanJoinResult.md +11 -1
  100. package/docs/api/interfaces/TClanTournamentPlayer.md +55 -0
  101. package/docs/api/interfaces/TClanTournamentPlayersResult.md +27 -0
  102. package/docs/api/interfaces/TClans.md +3 -1
  103. package/docs/api/interfaces/TGetTranslations.md +4 -0
  104. package/docs/api/interfaces/TInboxMessage.md +14 -6
  105. package/docs/api/interfaces/TInboxMessageBody.md +18 -12
  106. package/docs/api/interfaces/TLevel.md +17 -20
  107. package/docs/api/interfaces/TLevelCurrent.md +19 -18
  108. package/docs/api/interfaces/TMiniGamePlayBatchResult.md +14 -6
  109. package/docs/api/interfaces/TMiniGamePlayResult.md +9 -4
  110. package/docs/api/interfaces/TMissionClaimRewardResult.md +6 -3
  111. package/docs/api/interfaces/TMissionOptInResult.md +6 -3
  112. package/docs/api/interfaces/TMissionOrBadge.md +5 -4
  113. package/docs/api/interfaces/TRaffleOptinResponse.md +4 -2
  114. package/docs/api/interfaces/TSegmentCheckResult.md +10 -0
  115. package/docs/api/interfaces/TSetAvatarResult.md +3 -3
  116. package/docs/api/interfaces/TStoreItem.md +11 -1
  117. package/docs/api/interfaces/TTournament.md +1 -1
  118. package/docs/api/interfaces/TTournamentDetailed.md +9 -1
  119. package/docs/api/interfaces/TTournamentRegistrationResult.md +4 -2
  120. package/docs/api/interfaces/TUICustomSection.md +23 -19
  121. package/docs/api/interfaces/TUserProfile.md +18 -16
  122. package/docs/api/interfaces/TransformedRaffleClaimPrizeResponse.md +6 -2
  123. package/docs/api/interfaces/UserAchievement.md +1 -1
  124. package/docs/api/interfaces/UserLevelExtraCountersT.md +9 -2
  125. package/docs/api/type-aliases/ActivityLogEntry.md +3 -0
  126. package/docs/native/ADDING_METHODS.md +7 -2
  127. package/docs/native/PROTOCOL.md +337 -0
  128. package/docs/ui/avatars/UIGuide_getAvatarPrompts.md +100 -0
  129. package/docs/ui/avatars/UIGuide_getAvatarsCustomized.md +90 -0
  130. package/docs/ui/avatars/UIGuide_getAvatarsList.md +105 -0
  131. package/docs/ui/avatars/UIGuide_setAvatar.md +118 -0
  132. package/docs/ui/bonuses/UIGuide_claimBonus.md +144 -0
  133. package/docs/ui/bonuses/UIGuide_getBonuses.md +176 -0
  134. package/docs/ui/clans/UIGuide_getClanInfo.md +153 -0
  135. package/docs/ui/clans/UIGuide_getClans.md +172 -0
  136. package/docs/ui/clans/UIGuide_joinClan.md +196 -0
  137. package/docs/ui/gamepick/UIGuide_gamePickGetActiveRound.md +99 -0
  138. package/docs/ui/gamepick/UIGuide_gamePickGetActiveRounds.md +76 -0
  139. package/docs/ui/gamepick/UIGuide_gamePickGetBoard.md +81 -0
  140. package/docs/ui/gamepick/UIGuide_gamePickGetGameInfo.md +78 -0
  141. package/docs/ui/gamepick/UIGuide_gamePickGetHistory.md +55 -0
  142. package/docs/ui/gamepick/UIGuide_gamePickGetRoundInfoForUser.md +71 -0
  143. package/docs/ui/gamepick/UIGuide_gamePickGetUserInfo.md +64 -0
  144. package/docs/ui/gamepick/UIGuide_gamePickSubmitSelection.md +103 -0
  145. package/docs/ui/gamepick/UIGuide_gamePickSubmitSelectionQuiz.md +67 -0
  146. package/docs/ui/general/UIGuide_getCustomSections.md +137 -0
  147. package/docs/ui/general/UIGuide_getRelatedItemsForGame.md +140 -0
  148. package/docs/ui/inbox/UIGuide_deleteInboxMessage.md +135 -0
  149. package/docs/ui/inbox/UIGuide_getInboxMessageBody.md +133 -0
  150. package/docs/ui/inbox/UIGuide_getInboxMessages.md +186 -0
  151. package/docs/ui/inbox/UIGuide_markInboxMessageAsRead.md +122 -0
  152. package/docs/ui/inbox/UIGuide_markUnmarkInboxMessageAsFavorite.md +84 -0
  153. package/docs/ui/jackpots/UIGuide_getJackpotEligibleGames.md +73 -0
  154. package/docs/ui/jackpots/UIGuide_getJackpotWinners.md +83 -0
  155. package/docs/ui/jackpots/UIGuide_jackpotGet.md +138 -0
  156. package/docs/ui/jackpots/UIGuide_jackpotOptIn.md +85 -0
  157. package/docs/ui/jackpots/UIGuide_jackpotOptOut.md +65 -0
  158. package/docs/ui/leaderboard/UIGuide_getLeaderBoard.md +166 -0
  159. package/docs/ui/minigames/UIGuide_getMiniGames.md +153 -0
  160. package/docs/ui/minigames/UIGuide_getMiniGamesHistory.md +90 -0
  161. package/docs/ui/minigames/UIGuide_playMiniGame.md +150 -0
  162. package/docs/ui/minigames/UIGuide_playMiniGameBatch.md +128 -0
  163. package/docs/ui/missions/UIGuide_getAchCategories.md +17 -0
  164. package/docs/ui/missions/UIGuide_getBadges.md +237 -0
  165. package/docs/ui/missions/UIGuide_getMissions.md +268 -0
  166. package/docs/ui/missions/UIGuide_requestMissionClaimReward.md +21 -0
  167. package/docs/ui/missions/UIGuide_requestMissionOptIn.md +16 -0
  168. package/docs/ui/raffles/UIGuide_claimRafflePrize.md +99 -0
  169. package/docs/ui/raffles/UIGuide_getRaffleDrawRun.md +117 -0
  170. package/docs/ui/raffles/UIGuide_getRaffleDrawRunsHistory.md +92 -0
  171. package/docs/ui/raffles/UIGuide_getRaffleWonPrizes.md +120 -0
  172. package/docs/ui/raffles/UIGuide_getRaffles.md +175 -0
  173. package/docs/ui/raffles/UIGuide_requestRaffleOptin.md +114 -0
  174. package/docs/ui/store/UIGuide_buyStoreItem.md +133 -0
  175. package/docs/ui/store/UIGuide_getStoreCategories.md +19 -0
  176. package/docs/ui/store/UIGuide_getStoreItems.md +264 -0
  177. package/docs/ui/store/UIGuide_getStorePurchasedItems.md +122 -0
  178. package/docs/ui/tournaments/UIGuide_getClanTournamentPlayers.md +140 -0
  179. package/docs/ui/tournaments/UIGuide_getTournamentInstanceInfo.md +265 -0
  180. package/docs/ui/tournaments/UIGuide_getTournamentsList.md +236 -0
  181. package/docs/ui/tournaments/UIGuide_registerInTournament.md +156 -0
  182. package/docs/ui/user/UIGuide_getActivityLog.md +130 -0
  183. package/docs/ui/user/UIGuide_getLevels.md +167 -0
  184. package/docs/ui/user/UIGuide_getUserProfile.md +213 -0
  185. package/package.json +3 -3
  186. package/scripts/postdoc-cleanup.js +195 -0
  187. package/src/Base/ClassId.ts +2 -0
  188. package/src/Jackpots/JackpotDetails.ts +14 -15
  189. package/src/Jackpots/JackpotPot.ts +10 -6
  190. package/src/Missions/MissionsUtils.ts +5 -2
  191. package/src/Raffle/GetRaffleWonPrizesRequest.ts +12 -0
  192. package/src/Raffle/GetRaffleWonPrizesResponse.ts +56 -0
  193. package/src/Raffle/index.ts +3 -1
  194. package/src/SmarticoAPI.ts +14 -1
  195. package/src/SmarticoLib/index.ts +4 -0
  196. package/src/Store/BuyStoreItemErrorCode.ts +8 -0
  197. package/src/Store/StoreItem.ts +1 -0
  198. package/src/Store/StoreItemPurchased.ts +1 -0
  199. package/src/Store/StoreItemType.ts +1 -1
  200. package/src/Tournaments/TournamentRegistrationError.ts +4 -0
  201. package/src/WSAPI/WSAPI.ts +27 -2007
  202. package/src/WSAPI/WSAPIAvatars.ts +345 -0
  203. package/src/WSAPI/WSAPIBase.ts +93 -0
  204. package/src/WSAPI/WSAPIBonuses.ts +268 -0
  205. package/src/WSAPI/WSAPIClans.ts +417 -0
  206. package/src/WSAPI/WSAPIGamePick.ts +667 -0
  207. package/src/WSAPI/WSAPIGeneral.ts +199 -0
  208. package/src/WSAPI/WSAPIInbox.ts +711 -0
  209. package/src/WSAPI/WSAPIJackpots.ts +448 -0
  210. package/src/WSAPI/WSAPILeaderBoard.ts +154 -0
  211. package/src/WSAPI/WSAPIMiniGames.ts +597 -0
  212. package/src/WSAPI/WSAPIMissions.ts +572 -0
  213. package/src/WSAPI/WSAPIRaffles.ts +703 -0
  214. package/src/WSAPI/WSAPIStore.ts +732 -0
  215. package/src/WSAPI/WSAPITournaments.ts +541 -0
  216. package/src/WSAPI/WSAPITypes.ts +376 -207
  217. package/src/WSAPI/WSAPIUser.ts +606 -0
  218. package/tsconfig.json +26 -2
  219. package/docs/api/classes/WSAPI.md +0 -1927
@@ -0,0 +1,53 @@
1
+ # Interface: ClanMember
2
+
3
+ ## Properties
4
+
5
+ ### user\_id
6
+
7
+ > **user\_id**: `number`
8
+
9
+ ***
10
+
11
+ ### public\_username
12
+
13
+ > **public\_username**: `string`
14
+
15
+ ***
16
+
17
+ ### avatar\_id
18
+
19
+ > **avatar\_id**: `string`
20
+
21
+ ***
22
+
23
+ ### avatar\_real\_id
24
+
25
+ > **avatar\_real\_id**: `number`
26
+
27
+ ***
28
+
29
+ ### position
30
+
31
+ > **position**: `number`
32
+
33
+ Rank within clan
34
+
35
+ ***
36
+
37
+ ### contribution\_score
38
+
39
+ > **contribution\_score**: `number`
40
+
41
+ Aggregated tournament contribution
42
+
43
+ ***
44
+
45
+ ### is\_me?
46
+
47
+ > `optional` **is\_me?**: `boolean`
48
+
49
+ ***
50
+
51
+ ### clean\_ext\_user\_id?
52
+
53
+ > `optional` **clean\_ext\_user\_id?**: `string`
@@ -0,0 +1,41 @@
1
+ # Interface: ClanPrizePublicMeta
2
+
3
+ ## Extends
4
+
5
+ - [`ClanPublicMeta`](ClanPublicMeta.md)
6
+
7
+ ## Properties
8
+
9
+ ### name
10
+
11
+ > **name**: `string`
12
+
13
+ #### Inherited from
14
+
15
+ [`ClanPublicMeta`](ClanPublicMeta.md).[`name`](ClanPublicMeta.md#name)
16
+
17
+ ***
18
+
19
+ ### description
20
+
21
+ > **description**: `string`
22
+
23
+ #### Inherited from
24
+
25
+ [`ClanPublicMeta`](ClanPublicMeta.md).[`description`](ClanPublicMeta.md#description)
26
+
27
+ ***
28
+
29
+ ### image\_url
30
+
31
+ > **image\_url**: `string`
32
+
33
+ #### Inherited from
34
+
35
+ [`ClanPublicMeta`](ClanPublicMeta.md).[`image_url`](ClanPublicMeta.md#image_url)
36
+
37
+ ***
38
+
39
+ ### prize\_name?
40
+
41
+ > `optional` **prize\_name?**: `string`
@@ -22,6 +22,12 @@
22
22
 
23
23
  ***
24
24
 
25
+ ### prize\_pool\_currency\_code
26
+
27
+ > **prize\_pool\_currency\_code**: `string`
28
+
29
+ ***
30
+
25
31
  ### activity\_type\_id
26
32
 
27
33
  > **activity\_type\_id**: `number`
@@ -36,7 +42,7 @@
36
42
 
37
43
  ### public\_meta
38
44
 
39
- > **public\_meta**: [`ClanPublicMeta`](ClanPublicMeta.md)
45
+ > **public\_meta**: [`ClanPrizePublicMeta`](ClanPrizePublicMeta.md)
40
46
 
41
47
  ***
42
48
 
@@ -1,5 +1,9 @@
1
1
  # Interface: ClanPublicMeta
2
2
 
3
+ ## Extended by
4
+
5
+ - [`ClanPrizePublicMeta`](ClanPrizePublicMeta.md)
6
+
3
7
  ## Properties
4
8
 
5
9
  ### name
@@ -0,0 +1,67 @@
1
+ # Interface: ClanTournamentPlayerRaw
2
+
3
+ ## Properties
4
+
5
+ ### userId
6
+
7
+ > **userId**: `number`
8
+
9
+ ***
10
+
11
+ ### cleanExtUserId
12
+
13
+ > **cleanExtUserId**: `string`
14
+
15
+ ***
16
+
17
+ ### userAltName
18
+
19
+ > **userAltName**: `string`
20
+
21
+ ***
22
+
23
+ ### avatar\_id
24
+
25
+ > **avatar\_id**: `string`
26
+
27
+ ***
28
+
29
+ ### avatar\_real\_id
30
+
31
+ > **avatar\_real\_id**: `number`
32
+
33
+ ***
34
+
35
+ ### position
36
+
37
+ > **position**: `number`
38
+
39
+ ***
40
+
41
+ ### scores
42
+
43
+ > **scores**: `number`
44
+
45
+ ***
46
+
47
+ ### isMe
48
+
49
+ > **isMe**: `boolean`
50
+
51
+ ***
52
+
53
+ ### registration\_status?
54
+
55
+ > `optional` **registration\_status?**: `number`
56
+
57
+ ***
58
+
59
+ ### crmBrandId?
60
+
61
+ > `optional` **crmBrandId?**: `number`
62
+
63
+ ***
64
+
65
+ ### avatar\_url?
66
+
67
+ > `optional` **avatar\_url?**: `string`
@@ -0,0 +1,43 @@
1
+ # Interface: GemsDiamondsLog
2
+
3
+ ## Properties
4
+
5
+ ### create\_date
6
+
7
+ > **create\_date**: `number`
8
+
9
+ ***
10
+
11
+ ### user\_ext\_id
12
+
13
+ > **user\_ext\_id**: `string`
14
+
15
+ ***
16
+
17
+ ### crm\_brand\_id
18
+
19
+ > **crm\_brand\_id**: `number`
20
+
21
+ ***
22
+
23
+ ### type
24
+
25
+ > **type**: [`UserBalanceType`](../enumerations/UserBalanceType.md)
26
+
27
+ ***
28
+
29
+ ### amount
30
+
31
+ > **amount**: `number`
32
+
33
+ ***
34
+
35
+ ### balance
36
+
37
+ > **balance**: `number`
38
+
39
+ ***
40
+
41
+ ### source\_type\_id
42
+
43
+ > **source\_type\_id**: [`PointChangeSourceType`](../enumerations/PointChangeSourceType.md)
@@ -0,0 +1,61 @@
1
+ # Interface: GetClanInfoResponse
2
+
3
+ ## Extends
4
+
5
+ - `ProtocolResponse`
6
+
7
+ ## Properties
8
+
9
+ ### cid
10
+
11
+ > **cid**: `number`
12
+
13
+ #### Inherited from
14
+
15
+ `ProtocolResponse.cid`
16
+
17
+ ***
18
+
19
+ ### ts?
20
+
21
+ > `optional` **ts?**: `number`
22
+
23
+ #### Inherited from
24
+
25
+ `ProtocolResponse.ts`
26
+
27
+ ***
28
+
29
+ ### uuid?
30
+
31
+ > `optional` **uuid?**: `string`
32
+
33
+ #### Inherited from
34
+
35
+ `ProtocolResponse.uuid`
36
+
37
+ ***
38
+
39
+ ### errCode?
40
+
41
+ > `optional` **errCode?**: `number`
42
+
43
+ #### Inherited from
44
+
45
+ `ProtocolResponse.errCode`
46
+
47
+ ***
48
+
49
+ ### errMsg?
50
+
51
+ > `optional` **errMsg?**: `string`
52
+
53
+ #### Inherited from
54
+
55
+ `ProtocolResponse.errMsg`
56
+
57
+ ***
58
+
59
+ ### clanInfo
60
+
61
+ > **clanInfo**: [`ClanInfo`](ClanInfo.md)
@@ -0,0 +1,81 @@
1
+ # Interface: GetClanTournamentPlayersResponse
2
+
3
+ ## Extends
4
+
5
+ - `ProtocolResponse`
6
+
7
+ ## Properties
8
+
9
+ ### cid
10
+
11
+ > **cid**: `number`
12
+
13
+ #### Inherited from
14
+
15
+ `ProtocolResponse.cid`
16
+
17
+ ***
18
+
19
+ ### ts?
20
+
21
+ > `optional` **ts?**: `number`
22
+
23
+ #### Inherited from
24
+
25
+ `ProtocolResponse.ts`
26
+
27
+ ***
28
+
29
+ ### uuid?
30
+
31
+ > `optional` **uuid?**: `string`
32
+
33
+ #### Inherited from
34
+
35
+ `ProtocolResponse.uuid`
36
+
37
+ ***
38
+
39
+ ### errCode?
40
+
41
+ > `optional` **errCode?**: `number`
42
+
43
+ #### Inherited from
44
+
45
+ `ProtocolResponse.errCode`
46
+
47
+ ***
48
+
49
+ ### errMsg?
50
+
51
+ > `optional` **errMsg?**: `string`
52
+
53
+ #### Inherited from
54
+
55
+ `ProtocolResponse.errMsg`
56
+
57
+ ***
58
+
59
+ ### clan\_id
60
+
61
+ > **clan\_id**: `number`
62
+
63
+ ***
64
+
65
+ ### clan\_public\_meta
66
+
67
+ > **clan\_public\_meta**: `object`
68
+
69
+ #### name
70
+
71
+ > **name**: `string`
72
+
73
+ #### image\_url
74
+
75
+ > **image\_url**: `string`
76
+
77
+ ***
78
+
79
+ ### players
80
+
81
+ > **players**: [`ClanTournamentPlayerRaw`](ClanTournamentPlayerRaw.md)[]
@@ -0,0 +1,59 @@
1
+ # Interface: GetRaffleWonPrizesRequest
2
+
3
+ ## Extends
4
+
5
+ - `ProtocolMessage`
6
+
7
+ ## Properties
8
+
9
+ ### cid
10
+
11
+ > **cid**: `number`
12
+
13
+ #### Inherited from
14
+
15
+ `ProtocolMessage.cid`
16
+
17
+ ***
18
+
19
+ ### ts?
20
+
21
+ > `optional` **ts?**: `number`
22
+
23
+ #### Inherited from
24
+
25
+ `ProtocolMessage.ts`
26
+
27
+ ***
28
+
29
+ ### uuid?
30
+
31
+ > `optional` **uuid?**: `string`
32
+
33
+ #### Inherited from
34
+
35
+ `ProtocolMessage.uuid`
36
+
37
+ ***
38
+
39
+ ### raffle\_id
40
+
41
+ > **raffle\_id**: `number`
42
+
43
+ ID of the raffle to fetch the current user's won prizes for.
44
+
45
+ ***
46
+
47
+ ### offset
48
+
49
+ > **offset**: `number`
50
+
51
+ Zero-based index of the first won-prize row to return (pagination).
52
+
53
+ ***
54
+
55
+ ### limit
56
+
57
+ > **limit**: `number`
58
+
59
+ Maximum number of won-prize rows to return (pagination).
@@ -0,0 +1,95 @@
1
+ # Interface: GetRaffleWonPrizesResponse
2
+
3
+ ## Extends
4
+
5
+ - `ProtocolResponse`
6
+
7
+ ## Properties
8
+
9
+ ### cid
10
+
11
+ > **cid**: `number`
12
+
13
+ #### Inherited from
14
+
15
+ `ProtocolResponse.cid`
16
+
17
+ ***
18
+
19
+ ### ts?
20
+
21
+ > `optional` **ts?**: `number`
22
+
23
+ #### Inherited from
24
+
25
+ `ProtocolResponse.ts`
26
+
27
+ ***
28
+
29
+ ### uuid?
30
+
31
+ > `optional` **uuid?**: `string`
32
+
33
+ #### Inherited from
34
+
35
+ `ProtocolResponse.uuid`
36
+
37
+ ***
38
+
39
+ ### errCode?
40
+
41
+ > `optional` **errCode?**: `number`
42
+
43
+ #### Inherited from
44
+
45
+ `ProtocolResponse.errCode`
46
+
47
+ ***
48
+
49
+ ### errMsg?
50
+
51
+ > `optional` **errMsg?**: `string`
52
+
53
+ #### Inherited from
54
+
55
+ `ProtocolResponse.errMsg`
56
+
57
+ ***
58
+
59
+ ### user
60
+
61
+ > **user**: [`RaffleWonPrizeUser`](RaffleWonPrizeUser.md)
62
+
63
+ The user the won prizes belong to; `null` when `won_prizes` is empty.
64
+
65
+ ***
66
+
67
+ ### won\_prizes
68
+
69
+ > **won\_prizes**: [`RaffleWonPrize`](RaffleWonPrize.md)[]
70
+
71
+ Page of won prizes for the requested raffle, newest-first.
72
+
73
+ ***
74
+
75
+ ### total
76
+
77
+ > **total**: `number`
78
+
79
+ Total number of won prizes for this user/raffle across all draws (for pagination).
80
+
81
+ ***
82
+
83
+ ### offset
84
+
85
+ > **offset**: `number`
86
+
87
+ Zero-based offset of this page (echoes the resolved request).
88
+
89
+ ***
90
+
91
+ ### limit
92
+
93
+ > **limit**: `number`
94
+
95
+ Page size (echoes the resolved request).
@@ -1,12 +1,19 @@
1
1
  # Interface: InboxMarkMessageAction
2
2
 
3
+ InboxMarkMessageAction is the response of the five inbox mutation
4
+ methods (`markInboxMessageAsRead`, `markAllInboxMessagesAsRead`,
5
+ `markUnmarkInboxMessageAsFavorite`, `deleteInboxMessage`,
6
+ `deleteAllInboxMessages`).
7
+
3
8
  ## Properties
4
9
 
5
10
  ### err\_code
6
11
 
7
12
  > **err\_code**: `number`
8
13
 
9
- An error code representing the result of marking a message as deleted, favorite or read. Successful marking action if err_code is 0
14
+ Error code. `0` = success. See the calling method's TSDoc for
15
+ the full error semantics (server returns generic codes; the
16
+ five inbox mutations share the same shape).
10
17
 
11
18
  ***
12
19
 
@@ -14,4 +21,5 @@ An error code representing the result of marking a message as deleted, favorite
14
21
 
15
22
  > **err\_message**: `string`
16
23
 
17
- Optional error message
24
+ Optional server-side error message. Present only on non-zero
25
+ `err_code`; may be empty even then.
@@ -1,8 +1,7 @@
1
1
  # Interface: JackpotDetails
2
2
 
3
- JackpotDetails the information about Jackpot template
4
- It also includes JackpotPot object that holds the current value of the jackpot
5
- Flag is_opted_in indicates if the current user is opted in to the jackpot
3
+ One jackpot template the user is eligible for, with its live pot snapshot.
4
+ Returned by `jackpotGet()`.
6
5
 
7
6
  ## Properties
8
7
 
@@ -10,7 +9,7 @@ Flag is_opted_in indicates if the current user is opted in to the jackpot
10
9
 
11
10
  > **jp\_template\_id**: `number`
12
11
 
13
- ID of the jackpot template
12
+ Stable numeric ID of the template; pass to opt-in / opt-out / winners / eligible-games methods.
14
13
 
15
14
  ***
16
15
 
@@ -18,7 +17,7 @@ ID of the jackpot template
18
17
 
19
18
  > **jp\_type\_id**: [`JackpotType`](../enumerations/JackpotType.md)
20
19
 
21
- Type of jackpot logic
20
+ Whether the jackpot has a shared pot or one independent per user; see [JackpotType](../enumerations/JackpotType.md).
22
21
 
23
22
  ***
24
23
 
@@ -26,7 +25,7 @@ Type of jackpot logic
26
25
 
27
26
  > **jp\_public\_meta**: [`JackpotPublicMeta`](JackpotPublicMeta.md)
28
27
 
29
- UI information of jackpot, like name, description, etc.
28
+ Display data: name, description, image_url, winner / not-winner HTML templates, custom_data (JSON-parsed).
30
29
 
31
30
  ***
32
31
 
@@ -34,7 +33,7 @@ UI information of jackpot, like name, description, etc.
34
33
 
35
34
  > **jp\_currency**: `string`
36
35
 
37
- Base currency of the jackpot
36
+ Native jackpot currency (ISO 4217). Used for winner-history amounts.
38
37
 
39
38
  ***
40
39
 
@@ -42,7 +41,7 @@ Base currency of the jackpot
42
41
 
43
42
  > **user\_currency**: `string`
44
43
 
45
- Wallet currency of currently logged in user
44
+ Current user's wallet currency. Used to display the pot via `pot.current_pot_amount_user_currency`.
46
45
 
47
46
  ***
48
47
 
@@ -50,7 +49,7 @@ Wallet currency of currently logged in user
50
49
 
51
50
  > **contribution\_type**: [`JackpotContributionType`](../enumerations/JackpotContributionType.md)
52
51
 
53
- Type of the user contribution to the jackpot
52
+ Whether the contribution is a fixed amount or a percentage of the bet; see [JackpotContributionType](../enumerations/JackpotContributionType.md).
54
53
 
55
54
  ***
56
55
 
@@ -58,7 +57,7 @@ Type of the user contribution to the jackpot
58
57
 
59
58
  > **contribution\_value**: `number`
60
59
 
61
- Value of the user contribution. Fixed amount or percentage of bet depending on the contribution type
60
+ Amount of contribution per qualifying bet — fixed value or percentage depending on `contribution_type`.
62
61
 
63
62
  ***
64
63
 
@@ -66,7 +65,7 @@ Value of the user contribution. Fixed amount or percentage of bet depending on t
66
65
 
67
66
  > **pot**: [`JackpotPot`](JackpotPot.md)
68
67
 
69
- Information of current value of the jackpot
68
+ Live pot snapshot (amount, temperature, last explosion timestamp).
70
69
 
71
70
  ***
72
71
 
@@ -74,7 +73,7 @@ Information of current value of the jackpot
74
73
 
75
74
  > **is\_opted\_in**: `boolean`
76
75
 
77
- Indication if the current user is opted in to the jackpot
76
+ `true` when the current user is currently opted in.
78
77
 
79
78
  ***
80
79
 
@@ -82,7 +81,7 @@ Indication if the current user is opted in to the jackpot
82
81
 
83
82
  > **ach\_related\_game\_allow\_all**: `boolean`
84
83
 
85
- Indicates whether all games are eligible for the jackpot
84
+ `true` when every game in the operator catalog contributes; if `true`, skip `getJackpotEligibleGames`.
86
85
 
87
86
  ***
88
87
 
@@ -90,7 +89,7 @@ Indicates whether all games are eligible for the jackpot
90
89
 
91
90
  > **registration\_count**: `number`
92
91
 
93
- The number of users who have opted in to participate in the jackpot
92
+ Number of users currently opted in; always `1` for `JackpotType.Personal`.
94
93
 
95
94
  ***
96
95
 
@@ -98,4 +97,4 @@ The number of users who have opted in to participate in the jackpot
98
97
 
99
98
  > **expose\_winners\_over\_api**: `boolean`
100
99
 
101
- Show winners in widget and over API
100
+ Operator flag: whether the winners list should be displayed. Enforced client-side only — gate `getJackpotWinners` calls on this.