@smartico/public-api 0.0.355 → 0.0.356
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/SmarticoAPI.d.ts +1 -1
- package/dist/WSAPI/WSAPI.d.ts +1 -30
- package/dist/WSAPI/WSAPITypes.d.ts +515 -32
- package/dist/index.d.ts +0 -1
- package/dist/index.js +66 -205
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -133
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/README.md +27 -0
- package/docs/api/classes/WSAPI.md +27 -47
- package/docs/api/enums/GPRoundStatus.md +43 -0
- package/docs/api/enums/GamePickMarketType.md +19 -0
- package/docs/api/enums/GamePickResolutionType.md +35 -0
- package/docs/api/enums/GamePickScoreType.md +19 -0
- package/docs/api/enums/GamePickSportType.md +375 -0
- package/docs/api/enums/GameRoundOrderType.md +35 -0
- package/docs/api/enums/PointChangeSourceType.md +6 -0
- package/docs/api/interfaces/AchRelatedGame-1.md +1 -1
- package/docs/api/interfaces/BonusTemplateMetaMap.md +1 -1
- package/docs/api/interfaces/GamePickBoardUser.md +75 -0
- package/docs/api/interfaces/GamePickEvent.md +121 -0
- package/docs/api/interfaces/GamePickEventMeta.md +181 -0
- package/docs/api/interfaces/GamePickGameInfo.md +27 -0
- package/docs/api/interfaces/GamePickRequestParams.md +41 -0
- package/docs/api/interfaces/GamePickRound.md +385 -0
- package/docs/api/interfaces/GamePickRoundBase.md +235 -0
- package/docs/api/interfaces/GamePickRoundBoard.md +361 -0
- package/docs/api/interfaces/GamePickRoundPublicMeta.md +103 -0
- package/docs/api/interfaces/GamePickRoundRequestParams.md +65 -0
- package/docs/api/interfaces/GamePickUserInfo.md +107 -0
- package/docs/api/interfaces/GamesApiResponse.md +33 -0
- package/docs/api/interfaces/QuizEventMeta.md +41 -0
- package/docs/api/interfaces/TInboxMessageBody.md +1 -1
- package/docs/api/interfaces/TLevel.md +1 -1
- package/docs/api/interfaces/TLevelCurrent.md +1 -1
- package/docs/api/interfaces/TMiniGamePrize.md +1 -1
- package/docs/api/interfaces/TMiniGameTemplate.md +2 -2
- package/docs/api/interfaces/TMissionOrBadge.md +2 -2
- package/docs/api/interfaces/TRaffle.md +2 -2
- package/docs/api/interfaces/TRaffleDraw.md +14 -2
- package/docs/api/interfaces/TRaffleDrawRun.md +20 -0
- package/docs/api/interfaces/TRafflePrize.md +1 -1
- package/docs/api/interfaces/TStoreItem.md +3 -3
- package/docs/api/interfaces/TTournament.md +4 -4
- package/docs/api/interfaces/TTournamentDetailed.md +4 -4
- package/docs/api/interfaces/TUICustomSection.md +1 -1
- package/package.json +6 -6
- package/src/SmarticoAPI.ts +1 -1
- package/src/WSAPI/WSAPI.ts +1 -37
- package/src/WSAPI/WSAPITypes.ts +525 -32
- package/src/index.ts +1 -2
- package/dist/GamePick/GPTypes.d.ts +0 -268
- package/dist/GamePick/index.d.ts +0 -1
- package/src/GamePick/GPTypes.ts +0 -277
- package/src/GamePick/index.ts +0 -1
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Interface: GamePickRoundBase
|
|
2
|
+
|
|
3
|
+
GamePickRoundBase describes a game round's metadata (without events or user-specific data)
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- **`GamePickRoundBase`**
|
|
8
|
+
|
|
9
|
+
↳ [`GamePickRound`](GamePickRound.md)
|
|
10
|
+
|
|
11
|
+
↳ [`GamePickRoundBoard`](GamePickRoundBoard.md)
|
|
12
|
+
|
|
13
|
+
## Properties
|
|
14
|
+
|
|
15
|
+
### round\_id
|
|
16
|
+
|
|
17
|
+
• **round\_id**: `number`
|
|
18
|
+
|
|
19
|
+
Unique round identifier
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### round\_row\_id
|
|
24
|
+
|
|
25
|
+
• **round\_row\_id**: `number`
|
|
26
|
+
|
|
27
|
+
Sequential row ID used for ordering rounds
|
|
28
|
+
|
|
29
|
+
___
|
|
30
|
+
|
|
31
|
+
### round\_name
|
|
32
|
+
|
|
33
|
+
• **round\_name**: `string`
|
|
34
|
+
|
|
35
|
+
Localized display name of the round
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### round\_description
|
|
40
|
+
|
|
41
|
+
• **round\_description**: `string`
|
|
42
|
+
|
|
43
|
+
Localized description of the round
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### final\_screen\_cta\_button\_title
|
|
48
|
+
|
|
49
|
+
• **final\_screen\_cta\_button\_title**: `string`
|
|
50
|
+
|
|
51
|
+
Label for the CTA button on the final/results screen
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### final\_screen\_message
|
|
56
|
+
|
|
57
|
+
• **final\_screen\_message**: `string`
|
|
58
|
+
|
|
59
|
+
Message displayed on the final/results screen
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### final\_screen\_image\_desktop
|
|
64
|
+
|
|
65
|
+
• **final\_screen\_image\_desktop**: `string`
|
|
66
|
+
|
|
67
|
+
URL of the final screen image (desktop)
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### final\_screen\_image\_mobile
|
|
72
|
+
|
|
73
|
+
• **final\_screen\_image\_mobile**: `string`
|
|
74
|
+
|
|
75
|
+
URL of the final screen image (mobile)
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### promo\_image
|
|
80
|
+
|
|
81
|
+
• **promo\_image**: `string`
|
|
82
|
+
|
|
83
|
+
URL of the promotional image for the round
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### promo\_text
|
|
88
|
+
|
|
89
|
+
• **promo\_text**: `string`
|
|
90
|
+
|
|
91
|
+
Promotional text displayed with the round
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### open\_date
|
|
96
|
+
|
|
97
|
+
• **open\_date**: `number`
|
|
98
|
+
|
|
99
|
+
Timestamp (ms) when the round opens for participation
|
|
100
|
+
|
|
101
|
+
___
|
|
102
|
+
|
|
103
|
+
### last\_bet\_date
|
|
104
|
+
|
|
105
|
+
• **last\_bet\_date**: `number`
|
|
106
|
+
|
|
107
|
+
Timestamp (ms) of the last moment bets are accepted
|
|
108
|
+
|
|
109
|
+
___
|
|
110
|
+
|
|
111
|
+
### resolution\_date
|
|
112
|
+
|
|
113
|
+
• **resolution\_date**: `number`
|
|
114
|
+
|
|
115
|
+
Timestamp (ms) when the round is expected to be resolved
|
|
116
|
+
|
|
117
|
+
___
|
|
118
|
+
|
|
119
|
+
### score\_full\_win
|
|
120
|
+
|
|
121
|
+
• **score\_full\_win**: `number`
|
|
122
|
+
|
|
123
|
+
Points awarded for a fully correct prediction
|
|
124
|
+
|
|
125
|
+
___
|
|
126
|
+
|
|
127
|
+
### score\_part\_win
|
|
128
|
+
|
|
129
|
+
• **score\_part\_win**: `number`
|
|
130
|
+
|
|
131
|
+
Points awarded for a partially correct prediction
|
|
132
|
+
|
|
133
|
+
___
|
|
134
|
+
|
|
135
|
+
### score\_lost
|
|
136
|
+
|
|
137
|
+
• **score\_lost**: `number`
|
|
138
|
+
|
|
139
|
+
Points awarded (or deducted) for an incorrect prediction
|
|
140
|
+
|
|
141
|
+
___
|
|
142
|
+
|
|
143
|
+
### is\_active\_now
|
|
144
|
+
|
|
145
|
+
• **is\_active\_now**: `boolean`
|
|
146
|
+
|
|
147
|
+
Whether the round is currently active for participation
|
|
148
|
+
|
|
149
|
+
___
|
|
150
|
+
|
|
151
|
+
### is\_resolved
|
|
152
|
+
|
|
153
|
+
• **is\_resolved**: `boolean`
|
|
154
|
+
|
|
155
|
+
Whether the round has been fully resolved and scored
|
|
156
|
+
|
|
157
|
+
___
|
|
158
|
+
|
|
159
|
+
### round\_status\_id
|
|
160
|
+
|
|
161
|
+
• **round\_status\_id**: [`GPRoundStatus`](../enums/GPRoundStatus.md)
|
|
162
|
+
|
|
163
|
+
Current lifecycle status of the round
|
|
164
|
+
|
|
165
|
+
___
|
|
166
|
+
|
|
167
|
+
### events\_total
|
|
168
|
+
|
|
169
|
+
• **events\_total**: `number`
|
|
170
|
+
|
|
171
|
+
Total number of events in the round
|
|
172
|
+
|
|
173
|
+
___
|
|
174
|
+
|
|
175
|
+
### events\_resolved
|
|
176
|
+
|
|
177
|
+
• **events\_resolved**: `number`
|
|
178
|
+
|
|
179
|
+
Number of events that have been resolved
|
|
180
|
+
|
|
181
|
+
___
|
|
182
|
+
|
|
183
|
+
### score\_type\_id
|
|
184
|
+
|
|
185
|
+
• **score\_type\_id**: [`GamePickScoreType`](../enums/GamePickScoreType.md)
|
|
186
|
+
|
|
187
|
+
Scoring method used for this round
|
|
188
|
+
|
|
189
|
+
___
|
|
190
|
+
|
|
191
|
+
### order\_events
|
|
192
|
+
|
|
193
|
+
• **order\_events**: [`GameRoundOrderType`](../enums/GameRoundOrderType.md)
|
|
194
|
+
|
|
195
|
+
How events are ordered for display
|
|
196
|
+
|
|
197
|
+
___
|
|
198
|
+
|
|
199
|
+
### board\_users\_count
|
|
200
|
+
|
|
201
|
+
• **board\_users\_count**: `number`
|
|
202
|
+
|
|
203
|
+
Maximum number of users shown on the leaderboard
|
|
204
|
+
|
|
205
|
+
___
|
|
206
|
+
|
|
207
|
+
### hide\_users\_predictions
|
|
208
|
+
|
|
209
|
+
• **hide\_users\_predictions**: `boolean`
|
|
210
|
+
|
|
211
|
+
Whether other users' predictions are hidden until resolution
|
|
212
|
+
|
|
213
|
+
___
|
|
214
|
+
|
|
215
|
+
### public\_meta
|
|
216
|
+
|
|
217
|
+
• **public\_meta**: [`GamePickRoundPublicMeta`](GamePickRoundPublicMeta.md)
|
|
218
|
+
|
|
219
|
+
Public metadata including translations and display settings from the BackOffice
|
|
220
|
+
|
|
221
|
+
___
|
|
222
|
+
|
|
223
|
+
### next\_round\_open\_date
|
|
224
|
+
|
|
225
|
+
• **next\_round\_open\_date**: `number`
|
|
226
|
+
|
|
227
|
+
Timestamp (ms) when the next round opens, if available
|
|
228
|
+
|
|
229
|
+
___
|
|
230
|
+
|
|
231
|
+
### show\_users\_preference
|
|
232
|
+
|
|
233
|
+
• **show\_users\_preference**: `boolean`
|
|
234
|
+
|
|
235
|
+
Whether to show aggregated user preference percentages for each outcome
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
# Interface: GamePickRoundBoard
|
|
2
|
+
|
|
3
|
+
GamePickRoundBoard describes a round's leaderboard with ranked users
|
|
4
|
+
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`GamePickRoundBase`](GamePickRoundBase.md)
|
|
8
|
+
|
|
9
|
+
↳ **`GamePickRoundBoard`**
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### round\_id
|
|
14
|
+
|
|
15
|
+
• **round\_id**: `number`
|
|
16
|
+
|
|
17
|
+
Unique round identifier
|
|
18
|
+
|
|
19
|
+
#### Inherited from
|
|
20
|
+
|
|
21
|
+
[GamePickRoundBase](GamePickRoundBase.md).[round_id](GamePickRoundBase.md#round_id)
|
|
22
|
+
|
|
23
|
+
___
|
|
24
|
+
|
|
25
|
+
### round\_row\_id
|
|
26
|
+
|
|
27
|
+
• **round\_row\_id**: `number`
|
|
28
|
+
|
|
29
|
+
Sequential row ID used for ordering rounds
|
|
30
|
+
|
|
31
|
+
#### Inherited from
|
|
32
|
+
|
|
33
|
+
[GamePickRoundBase](GamePickRoundBase.md).[round_row_id](GamePickRoundBase.md#round_row_id)
|
|
34
|
+
|
|
35
|
+
___
|
|
36
|
+
|
|
37
|
+
### round\_name
|
|
38
|
+
|
|
39
|
+
• **round\_name**: `string`
|
|
40
|
+
|
|
41
|
+
Localized display name of the round
|
|
42
|
+
|
|
43
|
+
#### Inherited from
|
|
44
|
+
|
|
45
|
+
[GamePickRoundBase](GamePickRoundBase.md).[round_name](GamePickRoundBase.md#round_name)
|
|
46
|
+
|
|
47
|
+
___
|
|
48
|
+
|
|
49
|
+
### round\_description
|
|
50
|
+
|
|
51
|
+
• **round\_description**: `string`
|
|
52
|
+
|
|
53
|
+
Localized description of the round
|
|
54
|
+
|
|
55
|
+
#### Inherited from
|
|
56
|
+
|
|
57
|
+
[GamePickRoundBase](GamePickRoundBase.md).[round_description](GamePickRoundBase.md#round_description)
|
|
58
|
+
|
|
59
|
+
___
|
|
60
|
+
|
|
61
|
+
### final\_screen\_cta\_button\_title
|
|
62
|
+
|
|
63
|
+
• **final\_screen\_cta\_button\_title**: `string`
|
|
64
|
+
|
|
65
|
+
Label for the CTA button on the final/results screen
|
|
66
|
+
|
|
67
|
+
#### Inherited from
|
|
68
|
+
|
|
69
|
+
[GamePickRoundBase](GamePickRoundBase.md).[final_screen_cta_button_title](GamePickRoundBase.md#final_screen_cta_button_title)
|
|
70
|
+
|
|
71
|
+
___
|
|
72
|
+
|
|
73
|
+
### final\_screen\_message
|
|
74
|
+
|
|
75
|
+
• **final\_screen\_message**: `string`
|
|
76
|
+
|
|
77
|
+
Message displayed on the final/results screen
|
|
78
|
+
|
|
79
|
+
#### Inherited from
|
|
80
|
+
|
|
81
|
+
[GamePickRoundBase](GamePickRoundBase.md).[final_screen_message](GamePickRoundBase.md#final_screen_message)
|
|
82
|
+
|
|
83
|
+
___
|
|
84
|
+
|
|
85
|
+
### final\_screen\_image\_desktop
|
|
86
|
+
|
|
87
|
+
• **final\_screen\_image\_desktop**: `string`
|
|
88
|
+
|
|
89
|
+
URL of the final screen image (desktop)
|
|
90
|
+
|
|
91
|
+
#### Inherited from
|
|
92
|
+
|
|
93
|
+
[GamePickRoundBase](GamePickRoundBase.md).[final_screen_image_desktop](GamePickRoundBase.md#final_screen_image_desktop)
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### final\_screen\_image\_mobile
|
|
98
|
+
|
|
99
|
+
• **final\_screen\_image\_mobile**: `string`
|
|
100
|
+
|
|
101
|
+
URL of the final screen image (mobile)
|
|
102
|
+
|
|
103
|
+
#### Inherited from
|
|
104
|
+
|
|
105
|
+
[GamePickRoundBase](GamePickRoundBase.md).[final_screen_image_mobile](GamePickRoundBase.md#final_screen_image_mobile)
|
|
106
|
+
|
|
107
|
+
___
|
|
108
|
+
|
|
109
|
+
### promo\_image
|
|
110
|
+
|
|
111
|
+
• **promo\_image**: `string`
|
|
112
|
+
|
|
113
|
+
URL of the promotional image for the round
|
|
114
|
+
|
|
115
|
+
#### Inherited from
|
|
116
|
+
|
|
117
|
+
[GamePickRoundBase](GamePickRoundBase.md).[promo_image](GamePickRoundBase.md#promo_image)
|
|
118
|
+
|
|
119
|
+
___
|
|
120
|
+
|
|
121
|
+
### promo\_text
|
|
122
|
+
|
|
123
|
+
• **promo\_text**: `string`
|
|
124
|
+
|
|
125
|
+
Promotional text displayed with the round
|
|
126
|
+
|
|
127
|
+
#### Inherited from
|
|
128
|
+
|
|
129
|
+
[GamePickRoundBase](GamePickRoundBase.md).[promo_text](GamePickRoundBase.md#promo_text)
|
|
130
|
+
|
|
131
|
+
___
|
|
132
|
+
|
|
133
|
+
### open\_date
|
|
134
|
+
|
|
135
|
+
• **open\_date**: `number`
|
|
136
|
+
|
|
137
|
+
Timestamp (ms) when the round opens for participation
|
|
138
|
+
|
|
139
|
+
#### Inherited from
|
|
140
|
+
|
|
141
|
+
[GamePickRoundBase](GamePickRoundBase.md).[open_date](GamePickRoundBase.md#open_date)
|
|
142
|
+
|
|
143
|
+
___
|
|
144
|
+
|
|
145
|
+
### last\_bet\_date
|
|
146
|
+
|
|
147
|
+
• **last\_bet\_date**: `number`
|
|
148
|
+
|
|
149
|
+
Timestamp (ms) of the last moment bets are accepted
|
|
150
|
+
|
|
151
|
+
#### Inherited from
|
|
152
|
+
|
|
153
|
+
[GamePickRoundBase](GamePickRoundBase.md).[last_bet_date](GamePickRoundBase.md#last_bet_date)
|
|
154
|
+
|
|
155
|
+
___
|
|
156
|
+
|
|
157
|
+
### resolution\_date
|
|
158
|
+
|
|
159
|
+
• **resolution\_date**: `number`
|
|
160
|
+
|
|
161
|
+
Timestamp (ms) when the round is expected to be resolved
|
|
162
|
+
|
|
163
|
+
#### Inherited from
|
|
164
|
+
|
|
165
|
+
[GamePickRoundBase](GamePickRoundBase.md).[resolution_date](GamePickRoundBase.md#resolution_date)
|
|
166
|
+
|
|
167
|
+
___
|
|
168
|
+
|
|
169
|
+
### score\_full\_win
|
|
170
|
+
|
|
171
|
+
• **score\_full\_win**: `number`
|
|
172
|
+
|
|
173
|
+
Points awarded for a fully correct prediction
|
|
174
|
+
|
|
175
|
+
#### Inherited from
|
|
176
|
+
|
|
177
|
+
[GamePickRoundBase](GamePickRoundBase.md).[score_full_win](GamePickRoundBase.md#score_full_win)
|
|
178
|
+
|
|
179
|
+
___
|
|
180
|
+
|
|
181
|
+
### score\_part\_win
|
|
182
|
+
|
|
183
|
+
• **score\_part\_win**: `number`
|
|
184
|
+
|
|
185
|
+
Points awarded for a partially correct prediction
|
|
186
|
+
|
|
187
|
+
#### Inherited from
|
|
188
|
+
|
|
189
|
+
[GamePickRoundBase](GamePickRoundBase.md).[score_part_win](GamePickRoundBase.md#score_part_win)
|
|
190
|
+
|
|
191
|
+
___
|
|
192
|
+
|
|
193
|
+
### score\_lost
|
|
194
|
+
|
|
195
|
+
• **score\_lost**: `number`
|
|
196
|
+
|
|
197
|
+
Points awarded (or deducted) for an incorrect prediction
|
|
198
|
+
|
|
199
|
+
#### Inherited from
|
|
200
|
+
|
|
201
|
+
[GamePickRoundBase](GamePickRoundBase.md).[score_lost](GamePickRoundBase.md#score_lost)
|
|
202
|
+
|
|
203
|
+
___
|
|
204
|
+
|
|
205
|
+
### is\_active\_now
|
|
206
|
+
|
|
207
|
+
• **is\_active\_now**: `boolean`
|
|
208
|
+
|
|
209
|
+
Whether the round is currently active for participation
|
|
210
|
+
|
|
211
|
+
#### Inherited from
|
|
212
|
+
|
|
213
|
+
[GamePickRoundBase](GamePickRoundBase.md).[is_active_now](GamePickRoundBase.md#is_active_now)
|
|
214
|
+
|
|
215
|
+
___
|
|
216
|
+
|
|
217
|
+
### is\_resolved
|
|
218
|
+
|
|
219
|
+
• **is\_resolved**: `boolean`
|
|
220
|
+
|
|
221
|
+
Whether the round has been fully resolved and scored
|
|
222
|
+
|
|
223
|
+
#### Inherited from
|
|
224
|
+
|
|
225
|
+
[GamePickRoundBase](GamePickRoundBase.md).[is_resolved](GamePickRoundBase.md#is_resolved)
|
|
226
|
+
|
|
227
|
+
___
|
|
228
|
+
|
|
229
|
+
### round\_status\_id
|
|
230
|
+
|
|
231
|
+
• **round\_status\_id**: [`GPRoundStatus`](../enums/GPRoundStatus.md)
|
|
232
|
+
|
|
233
|
+
Current lifecycle status of the round
|
|
234
|
+
|
|
235
|
+
#### Inherited from
|
|
236
|
+
|
|
237
|
+
[GamePickRoundBase](GamePickRoundBase.md).[round_status_id](GamePickRoundBase.md#round_status_id)
|
|
238
|
+
|
|
239
|
+
___
|
|
240
|
+
|
|
241
|
+
### events\_total
|
|
242
|
+
|
|
243
|
+
• **events\_total**: `number`
|
|
244
|
+
|
|
245
|
+
Total number of events in the round
|
|
246
|
+
|
|
247
|
+
#### Inherited from
|
|
248
|
+
|
|
249
|
+
[GamePickRoundBase](GamePickRoundBase.md).[events_total](GamePickRoundBase.md#events_total)
|
|
250
|
+
|
|
251
|
+
___
|
|
252
|
+
|
|
253
|
+
### events\_resolved
|
|
254
|
+
|
|
255
|
+
• **events\_resolved**: `number`
|
|
256
|
+
|
|
257
|
+
Number of events that have been resolved
|
|
258
|
+
|
|
259
|
+
#### Inherited from
|
|
260
|
+
|
|
261
|
+
[GamePickRoundBase](GamePickRoundBase.md).[events_resolved](GamePickRoundBase.md#events_resolved)
|
|
262
|
+
|
|
263
|
+
___
|
|
264
|
+
|
|
265
|
+
### score\_type\_id
|
|
266
|
+
|
|
267
|
+
• **score\_type\_id**: [`GamePickScoreType`](../enums/GamePickScoreType.md)
|
|
268
|
+
|
|
269
|
+
Scoring method used for this round
|
|
270
|
+
|
|
271
|
+
#### Inherited from
|
|
272
|
+
|
|
273
|
+
[GamePickRoundBase](GamePickRoundBase.md).[score_type_id](GamePickRoundBase.md#score_type_id)
|
|
274
|
+
|
|
275
|
+
___
|
|
276
|
+
|
|
277
|
+
### order\_events
|
|
278
|
+
|
|
279
|
+
• **order\_events**: [`GameRoundOrderType`](../enums/GameRoundOrderType.md)
|
|
280
|
+
|
|
281
|
+
How events are ordered for display
|
|
282
|
+
|
|
283
|
+
#### Inherited from
|
|
284
|
+
|
|
285
|
+
[GamePickRoundBase](GamePickRoundBase.md).[order_events](GamePickRoundBase.md#order_events)
|
|
286
|
+
|
|
287
|
+
___
|
|
288
|
+
|
|
289
|
+
### board\_users\_count
|
|
290
|
+
|
|
291
|
+
• **board\_users\_count**: `number`
|
|
292
|
+
|
|
293
|
+
Maximum number of users shown on the leaderboard
|
|
294
|
+
|
|
295
|
+
#### Inherited from
|
|
296
|
+
|
|
297
|
+
[GamePickRoundBase](GamePickRoundBase.md).[board_users_count](GamePickRoundBase.md#board_users_count)
|
|
298
|
+
|
|
299
|
+
___
|
|
300
|
+
|
|
301
|
+
### hide\_users\_predictions
|
|
302
|
+
|
|
303
|
+
• **hide\_users\_predictions**: `boolean`
|
|
304
|
+
|
|
305
|
+
Whether other users' predictions are hidden until resolution
|
|
306
|
+
|
|
307
|
+
#### Inherited from
|
|
308
|
+
|
|
309
|
+
[GamePickRoundBase](GamePickRoundBase.md).[hide_users_predictions](GamePickRoundBase.md#hide_users_predictions)
|
|
310
|
+
|
|
311
|
+
___
|
|
312
|
+
|
|
313
|
+
### public\_meta
|
|
314
|
+
|
|
315
|
+
• **public\_meta**: [`GamePickRoundPublicMeta`](GamePickRoundPublicMeta.md)
|
|
316
|
+
|
|
317
|
+
Public metadata including translations and display settings from the BackOffice
|
|
318
|
+
|
|
319
|
+
#### Inherited from
|
|
320
|
+
|
|
321
|
+
[GamePickRoundBase](GamePickRoundBase.md).[public_meta](GamePickRoundBase.md#public_meta)
|
|
322
|
+
|
|
323
|
+
___
|
|
324
|
+
|
|
325
|
+
### next\_round\_open\_date
|
|
326
|
+
|
|
327
|
+
• **next\_round\_open\_date**: `number`
|
|
328
|
+
|
|
329
|
+
Timestamp (ms) when the next round opens, if available
|
|
330
|
+
|
|
331
|
+
#### Inherited from
|
|
332
|
+
|
|
333
|
+
[GamePickRoundBase](GamePickRoundBase.md).[next_round_open_date](GamePickRoundBase.md#next_round_open_date)
|
|
334
|
+
|
|
335
|
+
___
|
|
336
|
+
|
|
337
|
+
### show\_users\_preference
|
|
338
|
+
|
|
339
|
+
• **show\_users\_preference**: `boolean`
|
|
340
|
+
|
|
341
|
+
Whether to show aggregated user preference percentages for each outcome
|
|
342
|
+
|
|
343
|
+
#### Inherited from
|
|
344
|
+
|
|
345
|
+
[GamePickRoundBase](GamePickRoundBase.md).[show_users_preference](GamePickRoundBase.md#show_users_preference)
|
|
346
|
+
|
|
347
|
+
___
|
|
348
|
+
|
|
349
|
+
### my\_user
|
|
350
|
+
|
|
351
|
+
• **my\_user**: [`GamePickBoardUser`](GamePickBoardUser.md)
|
|
352
|
+
|
|
353
|
+
Current user's leaderboard entry, or null if user hasn't participated
|
|
354
|
+
|
|
355
|
+
___
|
|
356
|
+
|
|
357
|
+
### users
|
|
358
|
+
|
|
359
|
+
• **users**: [`GamePickBoardUser`](GamePickBoardUser.md)[]
|
|
360
|
+
|
|
361
|
+
Ranked list of users on the leaderboard
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Interface: GamePickRoundPublicMeta
|
|
2
|
+
|
|
3
|
+
GamePickRoundPublicMeta describes the public-facing metadata and translations for a round, configured in the BackOffice
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### round\_name
|
|
8
|
+
|
|
9
|
+
• **round\_name**: `string`
|
|
10
|
+
|
|
11
|
+
Localized round name
|
|
12
|
+
|
|
13
|
+
___
|
|
14
|
+
|
|
15
|
+
### round\_description
|
|
16
|
+
|
|
17
|
+
• **round\_description**: `string`
|
|
18
|
+
|
|
19
|
+
Localized round description
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### promo\_image
|
|
24
|
+
|
|
25
|
+
• **promo\_image**: `string`
|
|
26
|
+
|
|
27
|
+
URL of the promotional image for the round
|
|
28
|
+
|
|
29
|
+
___
|
|
30
|
+
|
|
31
|
+
### promo\_text
|
|
32
|
+
|
|
33
|
+
• **promo\_text**: `string`
|
|
34
|
+
|
|
35
|
+
Promotional text displayed with the round
|
|
36
|
+
|
|
37
|
+
___
|
|
38
|
+
|
|
39
|
+
### hide\_resolved\_round
|
|
40
|
+
|
|
41
|
+
• **hide\_resolved\_round**: `boolean`
|
|
42
|
+
|
|
43
|
+
Whether to hide the round from the UI after it has been resolved
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### final\_screen\_image\_desktop
|
|
48
|
+
|
|
49
|
+
• **final\_screen\_image\_desktop**: `string`
|
|
50
|
+
|
|
51
|
+
URL of the final screen image for desktop
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### final\_screen\_image\_mobile
|
|
56
|
+
|
|
57
|
+
• **final\_screen\_image\_mobile**: `string`
|
|
58
|
+
|
|
59
|
+
URL of the final screen image for mobile
|
|
60
|
+
|
|
61
|
+
___
|
|
62
|
+
|
|
63
|
+
### final\_screen\_message
|
|
64
|
+
|
|
65
|
+
• **final\_screen\_message**: `string`
|
|
66
|
+
|
|
67
|
+
Message displayed on the final/results screen
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
71
|
+
### final\_screen\_cta\_button\_title
|
|
72
|
+
|
|
73
|
+
• **final\_screen\_cta\_button\_title**: `string`
|
|
74
|
+
|
|
75
|
+
Label for the CTA button on the final screen
|
|
76
|
+
|
|
77
|
+
___
|
|
78
|
+
|
|
79
|
+
### final\_screen\_cta\_dp
|
|
80
|
+
|
|
81
|
+
• **final\_screen\_cta\_dp**: `string`
|
|
82
|
+
|
|
83
|
+
Deep link triggered by the CTA button on the final screen
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
87
|
+
### allow\_edit\_answers
|
|
88
|
+
|
|
89
|
+
• `Optional` **allow\_edit\_answers**: `boolean`
|
|
90
|
+
|
|
91
|
+
Whether users can edit their answers after initial submission (within betting window)
|
|
92
|
+
|
|
93
|
+
___
|
|
94
|
+
|
|
95
|
+
### \_translations
|
|
96
|
+
|
|
97
|
+
• **\_translations**: `Object`
|
|
98
|
+
|
|
99
|
+
Per-language overrides for round display content
|
|
100
|
+
|
|
101
|
+
#### Index signature
|
|
102
|
+
|
|
103
|
+
▪ [key: `string`]: \{ `round_name`: `string` ; `round_description`: `string` ; `promo_image`: `string` ; `promo_text`: `string` ; `final_screen_image_desktop`: `string` ; `final_screen_image_mobile`: `string` ; `final_screen_message`: `string` ; `final_screen_cta_button_title`: `string` }
|