@smartico/public-api 0.0.340 → 0.0.342
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CustomSections/AchCustomSection.d.ts +3 -1
- package/dist/CustomSections/UICustomSection.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +3 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/.nojekyll +1 -0
- package/docs/api/README.md +415 -0
- package/docs/{enums → api/enums}/LiquidEntityData.md +12 -0
- package/docs/api/interfaces/AchCategory.md +13 -0
- package/docs/api/interfaces/AchCategoryPublicMeta.md +13 -0
- package/docs/api/interfaces/AchievementPublicMeta.md +133 -0
- package/docs/api/interfaces/Bonus.md +79 -0
- package/docs/api/interfaces/GemsDiamondsLog.md +43 -0
- package/docs/api/interfaces/GetTournamentInfoResponse.md +95 -0
- package/docs/api/interfaces/InboxMessage.md +49 -0
- package/docs/api/interfaces/InboxMessageBody.md +73 -0
- package/docs/{interfaces → api/interfaces}/Level.md +1 -17
- package/docs/api/interfaces/LevelPublicMeta.md +60 -0
- package/docs/api/interfaces/PointsLog.md +43 -0
- package/docs/{interfaces → api/interfaces}/SAWPrizesHistory.md +0 -18
- package/docs/api/interfaces/StoreCategory.md +13 -0
- package/docs/api/interfaces/StoreCategoryPublicMeta.md +13 -0
- package/docs/api/interfaces/StoreItem.md +43 -0
- package/docs/{interfaces → api/interfaces}/TTournamentRegistrationResult.md +1 -1
- package/docs/{interfaces → api/interfaces}/TUICustomSection.md +8 -0
- package/docs/api/interfaces/Tournament.md +207 -0
- package/docs/{interfaces → api/interfaces}/TournamentPlayer.md +1 -21
- package/docs/{interfaces → api/interfaces}/TournamentPrize.md +1 -21
- package/docs/api/interfaces/UICustomSection.md +103 -0
- package/docs/api/interfaces/UserAchievement.md +205 -0
- package/docs/api/interfaces/UserAchievementTask.md +83 -0
- package/docs/native/ADDING_METHODS.md +3 -3
- package/docs/native/PROTOCOL.md +35 -28
- package/package.json +1 -1
- package/src/CustomSections/AchCustomSection.ts +2 -0
- package/src/CustomSections/UICustomSection.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
- package/tsconfig.json +19 -2
- package/docs/enums/TournamentRegistrationError.md +0 -55
- package/docs/interfaces/AchCategory.md +0 -19
- package/docs/interfaces/AchCategoryPublicMeta.md +0 -19
- package/docs/interfaces/AchCustomSectionType.md +0 -21
- package/docs/interfaces/AchievementPublicMeta.md +0 -155
- package/docs/interfaces/Bonus.md +0 -107
- package/docs/interfaces/GetTournamentInfoResponse.md +0 -37
- package/docs/interfaces/InboxMessage.md +0 -51
- package/docs/interfaces/InboxMessageBody.md +0 -64
- package/docs/interfaces/LevelPublicMeta.md +0 -51
- package/docs/interfaces/StoreCategory.md +0 -19
- package/docs/interfaces/StoreCategoryPublicMeta.md +0 -19
- package/docs/interfaces/StoreItem.md +0 -59
- package/docs/interfaces/Tournament.md +0 -187
- package/docs/interfaces/UICustomSection.md +0 -123
- package/docs/interfaces/UserAchievement.md +0 -275
- package/docs/interfaces/UserAchievementTask.md +0 -67
- /package/docs/{classes → api/classes}/SAWUtils.md +0 -0
- /package/docs/{classes → api/classes}/WSAPI.md +0 -0
- /package/docs/{enums → api/enums}/AchCustomLayoutTheme.md +0 -0
- /package/docs/{enums → api/enums}/AchCustomSectionType.md +0 -0
- /package/docs/{enums → api/enums}/AchMissionsTabsOptions.md +0 -0
- /package/docs/{enums → api/enums}/AchOverviewMissionsFilter.md +0 -0
- /package/docs/{enums → api/enums}/AchievementAvailabilityStatus.md +0 -0
- /package/docs/{enums → api/enums}/AttemptPeriodType.md +0 -0
- /package/docs/{enums → api/enums}/BonusStatus-1.md +0 -0
- /package/docs/{enums → api/enums}/BonusStatus.md +0 -0
- /package/docs/{enums → api/enums}/BuyStoreItemErrorCode.md +0 -0
- /package/docs/{enums → api/enums}/InboxCategories.md +0 -0
- /package/docs/{enums → api/enums}/JackPotTemparature.md +0 -0
- /package/docs/{enums → api/enums}/JackpotContributionType.md +0 -0
- /package/docs/{enums → api/enums}/JackpotType.md +0 -0
- /package/docs/{enums → api/enums}/LeaderBoardPeriodType.md +0 -0
- /package/docs/{enums → api/enums}/MiniGamePrizeTypeName.md +0 -0
- /package/docs/{enums → api/enums}/PointChangeSourceType.md +0 -0
- /package/docs/{enums → api/enums}/PrizeModifiers.md +0 -0
- /package/docs/{enums → api/enums}/RaffleDrawInstanceState.md +0 -0
- /package/docs/{enums → api/enums}/RaffleDrawTypeExecution.md +0 -0
- /package/docs/{enums → api/enums}/SAWAcknowledgeType.md +0 -0
- /package/docs/{enums → api/enums}/SAWAcknowledgeTypeName.md +0 -0
- /package/docs/{enums → api/enums}/SAWAskForUsername.md +0 -0
- /package/docs/{enums → api/enums}/SAWBuyInType.md +0 -0
- /package/docs/{enums → api/enums}/SAWBuyInTypeName.md +0 -0
- /package/docs/{enums → api/enums}/SAWExposeUserSpinId.md +0 -0
- /package/docs/{enums → api/enums}/SAWGameDifficultyType.md +0 -0
- /package/docs/{enums → api/enums}/SAWGameDifficultyTypeName.md +0 -0
- /package/docs/{enums → api/enums}/SAWGameLayout.md +0 -0
- /package/docs/{enums → api/enums}/SAWGameType.md +0 -0
- /package/docs/{enums → api/enums}/SAWGameTypeName.md +0 -0
- /package/docs/{enums → api/enums}/SAWPrizeType.md +0 -0
- /package/docs/{enums → api/enums}/SAWSpinErrorCode.md +0 -0
- /package/docs/{enums → api/enums}/SAWWheelLayout.md +0 -0
- /package/docs/{enums → api/enums}/SAWWinSoundType.md +0 -0
- /package/docs/{enums → api/enums}/TournamentRegistrationStatus.md +0 -0
- /package/docs/{enums → api/enums}/TournamentRegistrationStatusName.md +0 -0
- /package/docs/{enums → api/enums}/TournamentRegistrationType.md +0 -0
- /package/docs/{enums → api/enums}/UserBalanceType.md +0 -0
- /package/docs/{interfaces → api/interfaces}/AchRelatedGame-1.md +0 -0
- /package/docs/{interfaces → api/interfaces}/AchRelatedGame.md +0 -0
- /package/docs/{interfaces → api/interfaces}/BonusMetaMap.md +0 -0
- /package/docs/{interfaces → api/interfaces}/BonusTemplateMetaMap.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetDrawRunRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetDrawRunResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotEligibleGamesRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotEligibleGamesResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotWinnersRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotWinnersResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotsPotsRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotsPotsResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotsRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetJackpotsResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetRaffleDrawRunsHistoryRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetRaffleDrawRunsHistoryResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetRafflesRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/GetRafflesResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/InboxMarkMessageAction.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackPotWinner.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotDetails.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotEligibleGame.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotHtmlTemplate.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotPot.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotPublicMeta.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotWinPush.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotWinnerHistory.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotsOptinRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotsOptinResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotsOptoutRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/JackpotsOptoutResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/LeaderBoardDetailsT.md +0 -0
- /package/docs/{interfaces → api/interfaces}/LeaderBoardUserT.md +0 -0
- /package/docs/{interfaces → api/interfaces}/LeaderBoardsRewardsT.md +0 -0
- /package/docs/{interfaces → api/interfaces}/Raffle.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleClaimPrizeRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleClaimPrizeResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleDraw.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleDrawPublicMeta.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleDrawRun.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleOptinRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleOptinResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RafflePrize.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RafflePrizePublicMeta.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RafflePrizeWinner.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RafflePublicMeta.md +0 -0
- /package/docs/{interfaces → api/interfaces}/RaffleTicket.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWAcknowledgeSpinPushRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWDoAknowledgeRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWDoAknowledgeResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWDoSpinRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWDoSpinResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWEventSawPush.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWGetTemplatesRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWGetTemplatesResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWPrize.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWPrizeDropAknowledgeRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWPrizeDropAknowledgeResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWPrizeDropWinPush.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWPrizeUI.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWSpinsCountPush.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWTemplate.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWTemplateUI.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWWinningHistoryRequest.md +0 -0
- /package/docs/{interfaces → api/interfaces}/SAWWinningHistoryResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TAchCategory.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TActivityLog.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TBonus.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TBuyStoreItemResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TClaimBonusResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TGetJackpotEligibleGamesResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TGetTranslations.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TInboxMessage.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TInboxMessageBody.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TLevel.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TLevelCurrent.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMiniGamePlayBatchResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMiniGamePlayResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMiniGamePrize.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMiniGameTemplate.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMissionClaimRewardResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMissionOptInResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMissionOrBadge.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TMissionOrBadgeTask.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRaffle.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRaffleDraw.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRaffleDrawRun.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRaffleOptinResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRafflePrize.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRafflePrizeWinner.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TRaffleTicket.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TSawHistory.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TSegmentCheckResult.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TStoreCategory.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TStoreItem.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TTournament.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TTournamentDetailed.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TUserProfile.md +0 -0
- /package/docs/{interfaces → api/interfaces}/TransformedRaffleClaimPrizeResponse.md +0 -0
- /package/docs/{interfaces → api/interfaces}/UserLevelExtraCountersT.md +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
# Interface: Tournament
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### tournamentId
|
|
6
|
+
|
|
7
|
+
• `Optional` **tournamentId**: `number`
|
|
8
|
+
|
|
9
|
+
ID of tournament template
|
|
10
|
+
|
|
11
|
+
___
|
|
12
|
+
|
|
13
|
+
### tournamentInstanceId
|
|
14
|
+
|
|
15
|
+
• `Optional` **tournamentInstanceId**: `number`
|
|
16
|
+
|
|
17
|
+
ID of tournament instance. Generated every time when tournament based on specific template is scheduled for run
|
|
18
|
+
|
|
19
|
+
___
|
|
20
|
+
|
|
21
|
+
### tournamentType
|
|
22
|
+
|
|
23
|
+
• `Optional` **tournamentType**: `TournamentType`
|
|
24
|
+
|
|
25
|
+
Type of the tournament. For now only SCHEDULED is support
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### publicMeta
|
|
30
|
+
|
|
31
|
+
• `Optional` **publicMeta**: `TournamentPublicMeta`
|
|
32
|
+
|
|
33
|
+
Meta information about tournament that should be used to build UI
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### buyInAmount
|
|
38
|
+
|
|
39
|
+
• `Optional` **buyInAmount**: `number`
|
|
40
|
+
|
|
41
|
+
Cost of registration in the tournament in gamification points
|
|
42
|
+
|
|
43
|
+
___
|
|
44
|
+
|
|
45
|
+
### prizePool
|
|
46
|
+
|
|
47
|
+
• `Optional` **prizePool**: `number`
|
|
48
|
+
|
|
49
|
+
Not in use
|
|
50
|
+
|
|
51
|
+
___
|
|
52
|
+
|
|
53
|
+
### startTime
|
|
54
|
+
|
|
55
|
+
• `Optional` **startTime**: `string`
|
|
56
|
+
|
|
57
|
+
The time when tournament is going to start
|
|
58
|
+
|
|
59
|
+
___
|
|
60
|
+
|
|
61
|
+
### endTime
|
|
62
|
+
|
|
63
|
+
• `Optional` **endTime**: `string`
|
|
64
|
+
|
|
65
|
+
The time when tournament is going to finish
|
|
66
|
+
|
|
67
|
+
___
|
|
68
|
+
|
|
69
|
+
### startTimeTs
|
|
70
|
+
|
|
71
|
+
• `Optional` **startTimeTs**: `number`
|
|
72
|
+
|
|
73
|
+
The time when tournament is going to start, epoch
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### endTimeTs
|
|
78
|
+
|
|
79
|
+
• `Optional` **endTimeTs**: `number`
|
|
80
|
+
|
|
81
|
+
The time when tournament is going to finish, epoch
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### registrationCount
|
|
86
|
+
|
|
87
|
+
• `Optional` **registrationCount**: `number`
|
|
88
|
+
|
|
89
|
+
Number of users registered in the tournament
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### totalCount
|
|
94
|
+
|
|
95
|
+
• `Optional` **totalCount**: `number`
|
|
96
|
+
|
|
97
|
+
Not in use
|
|
98
|
+
|
|
99
|
+
___
|
|
100
|
+
|
|
101
|
+
### registrationType
|
|
102
|
+
|
|
103
|
+
• `Optional` **registrationType**: [`TournamentRegistrationType`](../enums/TournamentRegistrationType.md)
|
|
104
|
+
|
|
105
|
+
Type of registration in the tournament
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### tournamentRegistrationStatus
|
|
110
|
+
|
|
111
|
+
• `Optional` **tournamentRegistrationStatus**: [`TournamentRegistrationStatus`](../enums/TournamentRegistrationStatus.md)
|
|
112
|
+
|
|
113
|
+
Status of registration in the tournament for current user
|
|
114
|
+
|
|
115
|
+
___
|
|
116
|
+
|
|
117
|
+
### tournamentInstanceStatus
|
|
118
|
+
|
|
119
|
+
• `Optional` **tournamentInstanceStatus**: `TournamentInstanceStatus`
|
|
120
|
+
|
|
121
|
+
Status of tournament instance
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### isUserRegistered
|
|
126
|
+
|
|
127
|
+
• `Optional` **isUserRegistered**: `boolean`
|
|
128
|
+
|
|
129
|
+
flag indicating if current user is registered in the tournament
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### allowLateRegistration
|
|
134
|
+
|
|
135
|
+
• `Optional` **allowLateRegistration**: `boolean`
|
|
136
|
+
|
|
137
|
+
Indicator if tournament allows later registration, when tournament is already started
|
|
138
|
+
|
|
139
|
+
___
|
|
140
|
+
|
|
141
|
+
### playersMinCount
|
|
142
|
+
|
|
143
|
+
• `Optional` **playersMinCount**: `number`
|
|
144
|
+
|
|
145
|
+
Minimum number of participant for this tournament. If tournament doesnt have enough registrations, it will not start
|
|
146
|
+
|
|
147
|
+
___
|
|
148
|
+
|
|
149
|
+
### playersMaxCount
|
|
150
|
+
|
|
151
|
+
• `Optional` **playersMaxCount**: `number`
|
|
152
|
+
|
|
153
|
+
Maximum number of participant for this tournament. When reached, new users won't be able to register
|
|
154
|
+
|
|
155
|
+
___
|
|
156
|
+
|
|
157
|
+
### durationMs
|
|
158
|
+
|
|
159
|
+
• `Optional` **durationMs**: `number`
|
|
160
|
+
|
|
161
|
+
Tournament duration in millisecnnds
|
|
162
|
+
|
|
163
|
+
___
|
|
164
|
+
|
|
165
|
+
### prizeStructure
|
|
166
|
+
|
|
167
|
+
• `Optional` **prizeStructure**: `Object`
|
|
168
|
+
|
|
169
|
+
prizes structure
|
|
170
|
+
|
|
171
|
+
#### Type declaration
|
|
172
|
+
|
|
173
|
+
| Name | Type |
|
|
174
|
+
| :------ | :------ |
|
|
175
|
+
| `prizes` | [`TournamentPrize`](TournamentPrize.md)[] |
|
|
176
|
+
|
|
177
|
+
___
|
|
178
|
+
|
|
179
|
+
### tournamentPlayer
|
|
180
|
+
|
|
181
|
+
• `Optional` **tournamentPlayer**: [`TournamentPlayer`](TournamentPlayer.md)
|
|
182
|
+
|
|
183
|
+
Information about current user
|
|
184
|
+
|
|
185
|
+
___
|
|
186
|
+
|
|
187
|
+
### related\_games
|
|
188
|
+
|
|
189
|
+
• `Optional` **related\_games**: [`AchRelatedGame`](AchRelatedGame.md)[]
|
|
190
|
+
|
|
191
|
+
List of casino games (or other types of entities) related to the tournament
|
|
192
|
+
|
|
193
|
+
___
|
|
194
|
+
|
|
195
|
+
### minScoreToWin
|
|
196
|
+
|
|
197
|
+
• `Optional` **minScoreToWin**: `number`
|
|
198
|
+
|
|
199
|
+
The minimum amount of score points that the user should get in order to be qualified for the prize
|
|
200
|
+
|
|
201
|
+
___
|
|
202
|
+
|
|
203
|
+
### hideLeaderboardsMinScores
|
|
204
|
+
|
|
205
|
+
• `Optional` **hideLeaderboardsMinScores**: `boolean`
|
|
206
|
+
|
|
207
|
+
When enabled, users who don't meet the minimum qualifying score will be hidden from the Leaderboard.
|
|
@@ -1,75 +1,55 @@
|
|
|
1
1
|
# Interface: TournamentPlayer
|
|
2
2
|
|
|
3
|
-
Tournament player/participant object (raw, non-transformed).
|
|
4
|
-
|
|
5
3
|
## Properties
|
|
6
4
|
|
|
7
5
|
### userAltName
|
|
8
6
|
|
|
9
7
|
• **userAltName**: `string`
|
|
10
8
|
|
|
11
|
-
User's display name (public username)
|
|
12
|
-
|
|
13
9
|
___
|
|
14
10
|
|
|
15
11
|
### cleanExtUserId
|
|
16
12
|
|
|
17
13
|
• **cleanExtUserId**: `string`
|
|
18
14
|
|
|
19
|
-
Clean external user ID
|
|
20
|
-
|
|
21
15
|
___
|
|
22
16
|
|
|
23
17
|
### crmBrandId
|
|
24
18
|
|
|
25
19
|
• **crmBrandId**: `number`
|
|
26
20
|
|
|
27
|
-
CRM brand ID
|
|
28
|
-
|
|
29
21
|
___
|
|
30
22
|
|
|
31
23
|
### position
|
|
32
24
|
|
|
33
25
|
• **position**: `number`
|
|
34
26
|
|
|
35
|
-
User's position in the tournament leaderboard
|
|
36
|
-
|
|
37
27
|
___
|
|
38
28
|
|
|
39
29
|
### scores
|
|
40
30
|
|
|
41
31
|
• **scores**: `number`
|
|
42
32
|
|
|
43
|
-
User's score in the tournament
|
|
44
|
-
|
|
45
33
|
___
|
|
46
34
|
|
|
47
35
|
### isMe
|
|
48
36
|
|
|
49
37
|
• **isMe**: `boolean`
|
|
50
38
|
|
|
51
|
-
Whether this is the current user
|
|
52
|
-
|
|
53
39
|
___
|
|
54
40
|
|
|
55
41
|
### userId
|
|
56
42
|
|
|
57
43
|
• **userId**: `number`
|
|
58
44
|
|
|
59
|
-
Internal user ID
|
|
60
|
-
|
|
61
45
|
___
|
|
62
46
|
|
|
63
47
|
### avatar\_id
|
|
64
48
|
|
|
65
49
|
• **avatar\_id**: `string`
|
|
66
50
|
|
|
67
|
-
Avatar ID
|
|
68
|
-
|
|
69
51
|
___
|
|
70
52
|
|
|
71
53
|
### avatar\_url
|
|
72
54
|
|
|
73
|
-
• **avatar\_url**: `string`
|
|
74
|
-
|
|
75
|
-
Avatar URL (optional)
|
|
55
|
+
• `Optional` **avatar\_url**: `string`
|
|
@@ -1,54 +1,40 @@
|
|
|
1
1
|
# Interface: TournamentPrize
|
|
2
2
|
|
|
3
|
-
Tournament prize object (raw, non-transformed).
|
|
4
|
-
|
|
5
3
|
## Properties
|
|
6
4
|
|
|
7
5
|
### name
|
|
8
6
|
|
|
9
7
|
• **name**: `string`
|
|
10
8
|
|
|
11
|
-
Prize name
|
|
12
|
-
|
|
13
9
|
___
|
|
14
10
|
|
|
15
11
|
### description
|
|
16
12
|
|
|
17
13
|
• **description**: `string`
|
|
18
14
|
|
|
19
|
-
Prize description
|
|
20
|
-
|
|
21
15
|
___
|
|
22
16
|
|
|
23
17
|
### image\_url
|
|
24
18
|
|
|
25
19
|
• **image\_url**: `string`
|
|
26
20
|
|
|
27
|
-
Prize image URL
|
|
28
|
-
|
|
29
21
|
___
|
|
30
22
|
|
|
31
23
|
### place\_from
|
|
32
24
|
|
|
33
25
|
• **place\_from**: `number`
|
|
34
26
|
|
|
35
|
-
Starting place for this prize (e.g., 1 for 1st place)
|
|
36
|
-
|
|
37
27
|
___
|
|
38
28
|
|
|
39
29
|
### place\_to
|
|
40
30
|
|
|
41
31
|
• **place\_to**: `number`
|
|
42
32
|
|
|
43
|
-
Ending place for this prize (e.g., 3 for places 1-3)
|
|
44
|
-
|
|
45
33
|
___
|
|
46
34
|
|
|
47
35
|
### type
|
|
48
36
|
|
|
49
|
-
• **type**: `
|
|
50
|
-
|
|
51
|
-
Prize type (ActivityTypeLimited)
|
|
37
|
+
• **type**: `ActivityTypeLimited`
|
|
52
38
|
|
|
53
39
|
___
|
|
54
40
|
|
|
@@ -56,20 +42,14 @@ ___
|
|
|
56
42
|
|
|
57
43
|
• **points**: `number`
|
|
58
44
|
|
|
59
|
-
Points reward amount
|
|
60
|
-
|
|
61
45
|
___
|
|
62
46
|
|
|
63
47
|
### gems
|
|
64
48
|
|
|
65
49
|
• **gems**: `number`
|
|
66
50
|
|
|
67
|
-
Gems reward amount
|
|
68
|
-
|
|
69
51
|
___
|
|
70
52
|
|
|
71
53
|
### diamonds
|
|
72
54
|
|
|
73
55
|
• **diamonds**: `number`
|
|
74
|
-
|
|
75
|
-
Diamonds reward amount
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Interface: UICustomSection
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### body
|
|
6
|
+
|
|
7
|
+
• `Optional` **body**: `string`
|
|
8
|
+
|
|
9
|
+
___
|
|
10
|
+
|
|
11
|
+
### menu\_img
|
|
12
|
+
|
|
13
|
+
• `Optional` **menu\_img**: `string`
|
|
14
|
+
|
|
15
|
+
___
|
|
16
|
+
|
|
17
|
+
### menu\_name
|
|
18
|
+
|
|
19
|
+
• `Optional` **menu\_name**: `string`
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### custom\_skin\_images
|
|
24
|
+
|
|
25
|
+
• `Optional` **custom\_skin\_images**: `string`
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### section\_type\_id
|
|
30
|
+
|
|
31
|
+
• `Optional` **section\_type\_id**: [`AchCustomSectionType`](../enums/AchCustomSectionType.md)
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### theme
|
|
36
|
+
|
|
37
|
+
• `Optional` **theme**: [`AchCustomLayoutTheme`](../enums/AchCustomLayoutTheme.md)
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### generic\_custom\_css
|
|
42
|
+
|
|
43
|
+
• `Optional` **generic\_custom\_css**: `string`
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### mission\_tabs\_options
|
|
48
|
+
|
|
49
|
+
• `Optional` **mission\_tabs\_options**: [`AchMissionsTabsOptions`](../enums/AchMissionsTabsOptions.md)
|
|
50
|
+
|
|
51
|
+
___
|
|
52
|
+
|
|
53
|
+
### overview\_missions\_filter
|
|
54
|
+
|
|
55
|
+
• `Optional` **overview\_missions\_filter**: [`AchOverviewMissionsFilter`](../enums/AchOverviewMissionsFilter.md)
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### overview\_missions\_count
|
|
60
|
+
|
|
61
|
+
• `Optional` **overview\_missions\_count**: `number`
|
|
62
|
+
|
|
63
|
+
___
|
|
64
|
+
|
|
65
|
+
### liquid\_entity\_data
|
|
66
|
+
|
|
67
|
+
• `Optional` **liquid\_entity\_data**: [`LiquidEntityData`](../enums/LiquidEntityData.md)[]
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### ach\_tournament\_id
|
|
72
|
+
|
|
73
|
+
• `Optional` **ach\_tournament\_id**: `number`
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### raffle\_id
|
|
78
|
+
|
|
79
|
+
• `Optional` **raffle\_id**: `number`
|
|
80
|
+
|
|
81
|
+
___
|
|
82
|
+
|
|
83
|
+
### show\_raw\_data
|
|
84
|
+
|
|
85
|
+
• `Optional` **show\_raw\_data**: `boolean`
|
|
86
|
+
|
|
87
|
+
___
|
|
88
|
+
|
|
89
|
+
### liquid\_template
|
|
90
|
+
|
|
91
|
+
• `Optional` **liquid\_template**: `number`
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### ach\_category\_ids
|
|
96
|
+
|
|
97
|
+
• `Optional` **ach\_category\_ids**: `number`[]
|
|
98
|
+
|
|
99
|
+
___
|
|
100
|
+
|
|
101
|
+
### shop\_category\_ids
|
|
102
|
+
|
|
103
|
+
• `Optional` **shop\_category\_ids**: `number`[]
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Interface: UserAchievement
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
### ach\_id
|
|
6
|
+
|
|
7
|
+
• `Optional` **ach\_id**: `number`
|
|
8
|
+
|
|
9
|
+
___
|
|
10
|
+
|
|
11
|
+
### ach\_type\_id
|
|
12
|
+
|
|
13
|
+
• `Optional` **ach\_type\_id**: `AchievementType`
|
|
14
|
+
|
|
15
|
+
___
|
|
16
|
+
|
|
17
|
+
### ach\_public\_meta
|
|
18
|
+
|
|
19
|
+
• `Optional` **ach\_public\_meta**: [`AchievementPublicMeta`](AchievementPublicMeta.md)
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### isCompleted
|
|
24
|
+
|
|
25
|
+
• `Optional` **isCompleted**: `boolean`
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### isLocked
|
|
30
|
+
|
|
31
|
+
• `Optional` **isLocked**: `boolean`
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### requiresOptin
|
|
36
|
+
|
|
37
|
+
• `Optional` **requiresOptin**: `boolean`
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### isOptedIn
|
|
42
|
+
|
|
43
|
+
• `Optional` **isOptedIn**: `boolean`
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### start\_date
|
|
48
|
+
|
|
49
|
+
• `Optional` **start\_date**: `string`
|
|
50
|
+
|
|
51
|
+
___
|
|
52
|
+
|
|
53
|
+
### start\_date\_ts
|
|
54
|
+
|
|
55
|
+
• `Optional` **start\_date\_ts**: `number`
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### time\_limit\_ms
|
|
60
|
+
|
|
61
|
+
• `Optional` **time\_limit\_ms**: `number`
|
|
62
|
+
|
|
63
|
+
___
|
|
64
|
+
|
|
65
|
+
### progress
|
|
66
|
+
|
|
67
|
+
• `Optional` **progress**: `number`
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### complete\_date
|
|
72
|
+
|
|
73
|
+
• `Optional` **complete\_date**: `string`
|
|
74
|
+
|
|
75
|
+
___
|
|
76
|
+
|
|
77
|
+
### complete\_date\_ts
|
|
78
|
+
|
|
79
|
+
• `Optional` **complete\_date\_ts**: `number`
|
|
80
|
+
|
|
81
|
+
___
|
|
82
|
+
|
|
83
|
+
### unlock\_date
|
|
84
|
+
|
|
85
|
+
• `Optional` **unlock\_date**: `string`
|
|
86
|
+
|
|
87
|
+
___
|
|
88
|
+
|
|
89
|
+
### milliseconds\_till\_available
|
|
90
|
+
|
|
91
|
+
• `Optional` **milliseconds\_till\_available**: `number`
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### completed\_tasks
|
|
96
|
+
|
|
97
|
+
• `Optional` **completed\_tasks**: `number`
|
|
98
|
+
|
|
99
|
+
___
|
|
100
|
+
|
|
101
|
+
### achievementTasks
|
|
102
|
+
|
|
103
|
+
• `Optional` **achievementTasks**: [`UserAchievementTask`](UserAchievementTask.md)[]
|
|
104
|
+
|
|
105
|
+
___
|
|
106
|
+
|
|
107
|
+
### next\_recurrence\_date\_ts
|
|
108
|
+
|
|
109
|
+
• `Optional` **next\_recurrence\_date\_ts**: `number`
|
|
110
|
+
|
|
111
|
+
___
|
|
112
|
+
|
|
113
|
+
### ach\_status\_id
|
|
114
|
+
|
|
115
|
+
• `Optional` **ach\_status\_id**: `AchievementStatus`
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### scheduledMissionType
|
|
120
|
+
|
|
121
|
+
• `Optional` **scheduledMissionType**: `ScheduledMissionType`
|
|
122
|
+
|
|
123
|
+
___
|
|
124
|
+
|
|
125
|
+
### related\_games
|
|
126
|
+
|
|
127
|
+
• `Optional` **related\_games**: [`AchRelatedGame`](AchRelatedGame.md)[]
|
|
128
|
+
|
|
129
|
+
___
|
|
130
|
+
|
|
131
|
+
### active\_from\_ts
|
|
132
|
+
|
|
133
|
+
• `Optional` **active\_from\_ts**: `number`
|
|
134
|
+
|
|
135
|
+
___
|
|
136
|
+
|
|
137
|
+
### active\_till\_ts
|
|
138
|
+
|
|
139
|
+
• `Optional` **active\_till\_ts**: `number`
|
|
140
|
+
|
|
141
|
+
___
|
|
142
|
+
|
|
143
|
+
### ach\_categories
|
|
144
|
+
|
|
145
|
+
• `Optional` **ach\_categories**: `number`[]
|
|
146
|
+
|
|
147
|
+
___
|
|
148
|
+
|
|
149
|
+
### recurring\_quantity
|
|
150
|
+
|
|
151
|
+
• `Optional` **recurring\_quantity**: `number`
|
|
152
|
+
|
|
153
|
+
___
|
|
154
|
+
|
|
155
|
+
### completed\_count
|
|
156
|
+
|
|
157
|
+
• `Optional` **completed\_count**: `number`
|
|
158
|
+
|
|
159
|
+
___
|
|
160
|
+
|
|
161
|
+
### ach\_completed\_id
|
|
162
|
+
|
|
163
|
+
• `Optional` **ach\_completed\_id**: `number`
|
|
164
|
+
|
|
165
|
+
___
|
|
166
|
+
|
|
167
|
+
### requires\_prize\_claim
|
|
168
|
+
|
|
169
|
+
• `Optional` **requires\_prize\_claim**: `boolean`
|
|
170
|
+
|
|
171
|
+
___
|
|
172
|
+
|
|
173
|
+
### prize\_claimed\_date\_ts
|
|
174
|
+
|
|
175
|
+
• `Optional` **prize\_claimed\_date\_ts**: `number`
|
|
176
|
+
|
|
177
|
+
___
|
|
178
|
+
|
|
179
|
+
### completed\_today
|
|
180
|
+
|
|
181
|
+
• `Optional` **completed\_today**: `boolean`
|
|
182
|
+
|
|
183
|
+
___
|
|
184
|
+
|
|
185
|
+
### completed\_this\_week
|
|
186
|
+
|
|
187
|
+
• `Optional` **completed\_this\_week**: `boolean`
|
|
188
|
+
|
|
189
|
+
___
|
|
190
|
+
|
|
191
|
+
### completed\_this\_month
|
|
192
|
+
|
|
193
|
+
• `Optional` **completed\_this\_month**: `boolean`
|
|
194
|
+
|
|
195
|
+
___
|
|
196
|
+
|
|
197
|
+
### custom\_section\_type\_id
|
|
198
|
+
|
|
199
|
+
• `Optional` **custom\_section\_type\_id**: `number`
|
|
200
|
+
|
|
201
|
+
___
|
|
202
|
+
|
|
203
|
+
### badgeTimeLimitState
|
|
204
|
+
|
|
205
|
+
• `Optional` **badgeTimeLimitState**: `BadgesTimeLimitStates`
|