@smartico/public-api 0.0.382 → 0.0.383

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 (54) hide show
  1. package/dist/GamePick/GamePickTypes.d.ts +461 -0
  2. package/dist/GamePick/MarketsAnswers.d.ts +40 -0
  3. package/dist/GamePick/MarketsInfo.d.ts +14 -0
  4. package/dist/GamePick/MarketsPerSport.d.ts +6 -0
  5. package/dist/GamePick/MarketsType.d.ts +28 -0
  6. package/dist/GamePick/ScoreResultTypes.d.ts +28 -0
  7. package/dist/GamePick/SportTypes.d.ts +6 -0
  8. package/dist/GamePick/index.d.ts +7 -0
  9. package/dist/SmarticoAPI.d.ts +1 -1
  10. package/dist/WSAPI/WSAPIGamePick.d.ts +1 -1
  11. package/dist/WSAPI/WSAPITypes.d.ts +2 -460
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.js +136 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.modern.mjs +136 -1
  16. package/dist/index.modern.mjs.map +1 -1
  17. package/docs/api/README.md +2 -22
  18. package/docs/api/classes/WSAPIGamePick.md +42 -42
  19. package/docs/api/enumerations/SAWGameType.md +6 -0
  20. package/docs/api/enumerations/SAWGameTypeName.md +6 -0
  21. package/docs/api/interfaces/SAWTemplateUI.md +11 -0
  22. package/package.json +1 -1
  23. package/src/GamePick/GamePickTypes.ts +471 -0
  24. package/src/{Quiz → GamePick}/index.ts +1 -0
  25. package/src/SmarticoAPI.ts +1 -7
  26. package/src/WSAPI/WSAPIGamePick.ts +1 -9
  27. package/src/WSAPI/WSAPITypes.ts +2 -471
  28. package/src/index.ts +1 -1
  29. package/docs/api/enumerations/GPRoundStatus.md +0 -43
  30. package/docs/api/enumerations/GamePickMarketType.md +0 -19
  31. package/docs/api/enumerations/GamePickResolutionType.md +0 -35
  32. package/docs/api/enumerations/GamePickScoreType.md +0 -19
  33. package/docs/api/enumerations/GamePickSportType.md +0 -375
  34. package/docs/api/enumerations/GameRoundOrderType.md +0 -35
  35. package/docs/api/interfaces/GamePickBoardUser.md +0 -75
  36. package/docs/api/interfaces/GamePickEvent.md +0 -123
  37. package/docs/api/interfaces/GamePickEventMeta.md +0 -201
  38. package/docs/api/interfaces/GamePickGameInfo.md +0 -27
  39. package/docs/api/interfaces/GamePickRequestParams.md +0 -39
  40. package/docs/api/interfaces/GamePickRound.md +0 -383
  41. package/docs/api/interfaces/GamePickRoundBase.md +0 -232
  42. package/docs/api/interfaces/GamePickRoundBoard.md +0 -359
  43. package/docs/api/interfaces/GamePickRoundPublicMeta.md +0 -103
  44. package/docs/api/interfaces/GamePickRoundRequestParams.md +0 -63
  45. package/docs/api/interfaces/GamePickUserInfo.md +0 -107
  46. package/docs/api/interfaces/GamesApiResponse.md +0 -33
  47. package/docs/api/interfaces/QuizEventMeta.md +0 -61
  48. package/docs/api/variables/AllRoundsGameBoardID.md +0 -5
  49. /package/src/{Quiz → GamePick}/MarketsAnswers.ts +0 -0
  50. /package/src/{Quiz → GamePick}/MarketsInfo.ts +0 -0
  51. /package/src/{Quiz → GamePick}/MarketsPerSport.ts +0 -0
  52. /package/src/{Quiz → GamePick}/MarketsType.ts +0 -0
  53. /package/src/{Quiz → GamePick}/ScoreResultTypes.ts +0 -0
  54. /package/src/{Quiz → GamePick}/SportTypes.ts +0 -0
@@ -18,6 +18,8 @@
18
18
  - [AchMissionsTabsOptions](enumerations/AchMissionsTabsOptions.md)
19
19
  - [AchOverviewMissionsFilter](enumerations/AchOverviewMissionsFilter.md)
20
20
  - [LiquidEntityData](enumerations/LiquidEntityData.md)
21
+ - [QuizAnswersValueType](enumerations/QuizAnswersValueType.md)
22
+ - [SAWGPMarketType](enumerations/SAWGPMarketType.md)
21
23
  - [InboxCategories](enumerations/InboxCategories.md)
22
24
  - [InboxMessageType](enumerations/InboxMessageType.md)
23
25
  - [InboxReadStatus](enumerations/InboxReadStatus.md)
@@ -53,8 +55,6 @@
53
55
  - [AchievementType](enumerations/AchievementType.md)
54
56
  - [BadgesTimeLimitStates](enumerations/BadgesTimeLimitStates.md)
55
57
  - [ScheduledMissionType](enumerations/ScheduledMissionType.md)
56
- - [QuizAnswersValueType](enumerations/QuizAnswersValueType.md)
57
- - [SAWGPMarketType](enumerations/SAWGPMarketType.md)
58
58
  - [RaffleTicketCapVisualization](enumerations/RaffleTicketCapVisualization.md)
59
59
  - [RaffleDrawInstanceState](enumerations/RaffleDrawInstanceState.md)
60
60
  - [RaffleDrawTypeExecution](enumerations/RaffleDrawTypeExecution.md)
@@ -69,12 +69,6 @@
69
69
  - [TournamentRegistrationType](enumerations/TournamentRegistrationType.md)
70
70
  - [TournamentType](enumerations/TournamentType.md)
71
71
  - [BonusStatus](enumerations/BonusStatus-1.md)
72
- - [GamePickMarketType](enumerations/GamePickMarketType.md)
73
- - [GamePickResolutionType](enumerations/GamePickResolutionType.md)
74
- - [GPRoundStatus](enumerations/GPRoundStatus.md)
75
- - [GamePickScoreType](enumerations/GamePickScoreType.md)
76
- - [GamePickSportType](enumerations/GamePickSportType.md)
77
- - [GameRoundOrderType](enumerations/GameRoundOrderType.md)
78
72
 
79
73
  ## Classes
80
74
 
@@ -239,19 +233,6 @@
239
233
  - [TransformedRaffleClaimPrizeResponse](interfaces/TransformedRaffleClaimPrizeResponse.md)
240
234
  - [TActivityLog](interfaces/TActivityLog.md)
241
235
  - [TRaffleOptinResponse](interfaces/TRaffleOptinResponse.md)
242
- - [QuizEventMeta](interfaces/QuizEventMeta.md)
243
- - [GamePickEventMeta](interfaces/GamePickEventMeta.md)
244
- - [GamePickEvent](interfaces/GamePickEvent.md)
245
- - [GamePickRoundPublicMeta](interfaces/GamePickRoundPublicMeta.md)
246
- - [GamePickRoundBase](interfaces/GamePickRoundBase.md)
247
- - [GamePickRound](interfaces/GamePickRound.md)
248
- - [GamePickRoundBoard](interfaces/GamePickRoundBoard.md)
249
- - [GamePickBoardUser](interfaces/GamePickBoardUser.md)
250
- - [GamePickUserInfo](interfaces/GamePickUserInfo.md)
251
- - [GamePickGameInfo](interfaces/GamePickGameInfo.md)
252
- - [GamesApiResponse](interfaces/GamesApiResponse.md)
253
- - [GamePickRequestParams](interfaces/GamePickRequestParams.md)
254
- - [GamePickRoundRequestParams](interfaces/GamePickRoundRequestParams.md)
255
236
  - [TAvatarDefinition](interfaces/TAvatarDefinition.md)
256
237
  - [TAvatarCustomized](interfaces/TAvatarCustomized.md)
257
238
  - [TAvatarPrompt](interfaces/TAvatarPrompt.md)
@@ -266,7 +247,6 @@
266
247
 
267
248
  - [PrizeModifiersKeysNames](variables/PrizeModifiersKeysNames.md)
268
249
  - [SAWWinSoundFiles](variables/SAWWinSoundFiles.md)
269
- - [AllRoundsGameBoardID](variables/AllRoundsGameBoardID.md)
270
250
 
271
251
  ## Functions
272
252
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  ### gamePickGetActiveRounds()
5
5
 
6
- > **gamePickGetActiveRounds**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)[]\>\>
6
+ > **gamePickGetActiveRounds**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`[]\>\>
7
7
 
8
8
  Returns every open round for a MatchX or Quiz game template, with the full
9
9
  event list (matches / questions) and the current user's selections per event.
@@ -16,13 +16,13 @@ can tap into to make predictions. For a single round, use
16
16
 
17
17
  ##### props
18
18
 
19
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md)
19
+ `GamePickRequestParams`
20
20
 
21
21
  #### Returns
22
22
 
23
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)[]\>\>
23
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`[]\>\>
24
24
 
25
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of [GamePickRound](../interfaces/GamePickRound.md) array.
25
+ Wrapped GamesApiResponse of GamePickRound array.
26
26
 
27
27
  #### Remarks
28
28
 
@@ -37,7 +37,7 @@ Game Pick methods are HTTP REST calls to a separate Game Pick games server
37
37
  subscription — every call is a fresh server roundtrip.
38
38
 
39
39
  **Round status**
40
- Each round's `round_status_id` is a [GPRoundStatus](../enumerations/GPRoundStatus.md) value. Rounds with
40
+ Each round's `round_status_id` is a GPRoundStatus value. Rounds with
41
41
  status `NoEventsDefined` (1) are filtered out server-side and never appear
42
42
  here. Other values: `Other` (-1, normally open), `NoMoreBetsAllowed` (2),
43
43
  `AllEventsResolved_ButNotRound` (3), `RoundResolved` (4 — appears here only
@@ -80,7 +80,7 @@ for (const round of r.data ?? []) {
80
80
 
81
81
  ### gamePickGetActiveRound()
82
82
 
83
- > **gamePickGetActiveRound**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
83
+ > **gamePickGetActiveRound**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
84
84
 
85
85
  Returns a single round (events, user selections, scoring rules) for a
86
86
  MatchX or Quiz game. Use to power the round-detail / prediction-input
@@ -93,13 +93,13 @@ UI only shows one round at a time.
93
93
 
94
94
  ##### props
95
95
 
96
- [`GamePickRoundRequestParams`](../interfaces/GamePickRoundRequestParams.md)
96
+ `GamePickRoundRequestParams`
97
97
 
98
98
  #### Returns
99
99
 
100
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
100
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
101
101
 
102
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of a single [GamePickRound](../interfaces/GamePickRound.md).
102
+ Wrapped GamesApiResponse of a single GamePickRound.
103
103
 
104
104
  #### Remarks
105
105
 
@@ -147,7 +147,7 @@ if (r.errCode === 0 && r.data) {
147
147
 
148
148
  ### gamePickGetHistory()
149
149
 
150
- > **gamePickGetHistory**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)[]\>\>
150
+ > **gamePickGetHistory**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`[]\>\>
151
151
 
152
152
  Returns the full round history (active + resolved) for a MatchX or Quiz game
153
153
  template, newest-first. Each round carries the user's predictions plus the
@@ -160,13 +160,13 @@ use [gamePickGetActiveRounds](#gamepickgetactiverounds) (faster — skips resolv
160
160
 
161
161
  ##### props
162
162
 
163
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md)
163
+ `GamePickRequestParams`
164
164
 
165
165
  #### Returns
166
166
 
167
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)[]\>\>
167
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`[]\>\>
168
168
 
169
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of [GamePickRound](../interfaces/GamePickRound.md) array,
169
+ Wrapped GamesApiResponse of GamePickRound array,
170
170
  newest-first.
171
171
 
172
172
  #### Remarks
@@ -179,7 +179,7 @@ Server returns rounds newest-first. No client-side sort needed.
179
179
 
180
180
  **Per-event resolution**
181
181
  Each event in the rounds carries `resolution_type_id` — values are from
182
- [GamePickResolutionType](../enumerations/GamePickResolutionType.md): `None` (0, not yet resolved), `Lost` (2),
182
+ GamePickResolutionType: `None` (0, not yet resolved), `Lost` (2),
183
183
  `PartialWin` (3), `FullWin` (4). Use these to render result badges on
184
184
  each event row.
185
185
 
@@ -211,7 +211,7 @@ for (const round of r.data ?? []) {
211
211
 
212
212
  ### gamePickGetBoard()
213
213
 
214
- > **gamePickGetBoard**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRoundBoard`](../interfaces/GamePickRoundBoard.md)\>\>
214
+ > **gamePickGetBoard**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRoundBoard`\>\>
215
215
 
216
216
  Returns the leaderboard for a MatchX or Quiz game round — ranked list of
217
217
  players plus the current user's entry (`my_user`). Pass `round_id: -1` for
@@ -221,13 +221,13 @@ the season / overall leaderboard across every round in the template.
221
221
 
222
222
  ##### props
223
223
 
224
- [`GamePickRoundRequestParams`](../interfaces/GamePickRoundRequestParams.md)
224
+ `GamePickRoundRequestParams`
225
225
 
226
226
  #### Returns
227
227
 
228
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRoundBoard`](../interfaces/GamePickRoundBoard.md)\>\>
228
+ `Promise`\<`GamesApiResponse`\<`GamePickRoundBoard`\>\>
229
229
 
230
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of [GamePickRoundBoard](../interfaces/GamePickRoundBoard.md).
230
+ Wrapped GamesApiResponse of GamePickRoundBoard.
231
231
 
232
232
  #### Remarks
233
233
 
@@ -288,7 +288,7 @@ if (r.errCode === 0 && r.data) {
288
288
 
289
289
  ### gamePickSubmitSelection()
290
290
 
291
- > **gamePickSubmitSelection**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
291
+ > **gamePickSubmitSelection**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
292
292
 
293
293
  Submits all score predictions for a round in a MatchX game in one shot.
294
294
  Each event in the round must carry `team1_user_selection` and
@@ -303,13 +303,13 @@ selections.
303
303
 
304
304
  ##### props
305
305
 
306
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md) & `object`
306
+ `GamePickRequestParams` & `object`
307
307
 
308
308
  #### Returns
309
309
 
310
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
310
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
311
311
 
312
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) with the updated round.
312
+ Wrapped GamesApiResponse with the updated round.
313
313
 
314
314
  #### Remarks
315
315
 
@@ -353,7 +353,7 @@ buy-in is consumed exactly once per round-per-user. Re-submitting after
353
353
  - Updates the round's participant counter (`users_cnt`) and per-event
354
354
  counters (`num_users`).
355
355
  - Score is awarded after the operator resolves the round
356
- ([GPRoundStatus](../enumerations/GPRoundStatus.md) = `RoundResolved`).
356
+ (GPRoundStatus = `RoundResolved`).
357
357
 
358
358
  **Visitor mode**: not supported.
359
359
 
@@ -405,7 +405,7 @@ switch (r.errCode) {
405
405
 
406
406
  ### gamePickSubmitSelectionQuiz()
407
407
 
408
- > **gamePickSubmitSelectionQuiz**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
408
+ > **gamePickSubmitSelectionQuiz**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
409
409
 
410
410
  Submits all quiz answers for a round in one shot. Each event in the round
411
411
  must carry `user_selection` (the answer value — typically `"1"` / `"2"` /
@@ -420,13 +420,13 @@ the same round are free.
420
420
 
421
421
  ##### props
422
422
 
423
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md) & `object`
423
+ `GamePickRequestParams` & `object`
424
424
 
425
425
  #### Returns
426
426
 
427
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
427
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
428
428
 
429
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) with the updated round.
429
+ Wrapped GamesApiResponse with the updated round.
430
430
 
431
431
  #### Remarks
432
432
 
@@ -498,7 +498,7 @@ if (r.errCode === 0) {
498
498
 
499
499
  ### gamePickGetUserInfo()
500
500
 
501
- > **gamePickGetUserInfo**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickUserInfo`](../interfaces/GamePickUserInfo.md)\>\>
501
+ > **gamePickGetUserInfo**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickUserInfo`\>\>
502
502
 
503
503
  Returns the current user's profile within the Game Pick system — display
504
504
  name, avatar, balances, and last wallet-sync timestamp. The Game Pick server
@@ -514,13 +514,13 @@ with this game" call.
514
514
 
515
515
  ##### props
516
516
 
517
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md)
517
+ `GamePickRequestParams`
518
518
 
519
519
  #### Returns
520
520
 
521
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickUserInfo`](../interfaces/GamePickUserInfo.md)\>\>
521
+ `Promise`\<`GamesApiResponse`\<`GamePickUserInfo`\>\>
522
522
 
523
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of [GamePickUserInfo](../interfaces/GamePickUserInfo.md).
523
+ Wrapped GamesApiResponse of GamePickUserInfo.
524
524
 
525
525
  #### Remarks
526
526
 
@@ -561,7 +561,7 @@ if (r.errCode === 0 && r.data) {
561
561
 
562
562
  ### gamePickGetGameInfo()
563
563
 
564
- > **gamePickGetGameInfo**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickGameInfo`](../interfaces/GamePickGameInfo.md)\>\>
564
+ > **gamePickGetGameInfo**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickGameInfo`\>\>
565
565
 
566
566
  Returns the game template configuration plus a metadata listing of every
567
567
  round (without events). Use to power the game's welcome / lobby screen —
@@ -577,13 +577,13 @@ the user actually opens.
577
577
 
578
578
  ##### props
579
579
 
580
- [`GamePickRequestParams`](../interfaces/GamePickRequestParams.md)
580
+ `GamePickRequestParams`
581
581
 
582
582
  #### Returns
583
583
 
584
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickGameInfo`](../interfaces/GamePickGameInfo.md)\>\>
584
+ `Promise`\<`GamesApiResponse`\<`GamePickGameInfo`\>\>
585
585
 
586
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) of [GamePickGameInfo](../interfaces/GamePickGameInfo.md).
586
+ Wrapped GamesApiResponse of GamePickGameInfo.
587
587
 
588
588
  #### Remarks
589
589
 
@@ -629,7 +629,7 @@ if (r.errCode === 0 && r.data) {
629
629
 
630
630
  ### gamePickGetRoundInfoForUser()
631
631
 
632
- > **gamePickGetRoundInfoForUser**(`props`): `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
632
+ > **gamePickGetRoundInfoForUser**(`props`): `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
633
633
 
634
634
  Returns a round with another player's predictions instead of the current
635
635
  user's. The target player is identified by `int_user_id` (the Game Pick
@@ -643,14 +643,14 @@ rows — community / social inspection of how a top-ranked user predicted.
643
643
 
644
644
  ##### props
645
645
 
646
- [`GamePickRoundRequestParams`](../interfaces/GamePickRoundRequestParams.md) & `object`
646
+ `GamePickRoundRequestParams` & `object`
647
647
 
648
648
  #### Returns
649
649
 
650
- `Promise`\<[`GamesApiResponse`](../interfaces/GamesApiResponse.md)\<[`GamePickRound`](../interfaces/GamePickRound.md)\>\>
650
+ `Promise`\<`GamesApiResponse`\<`GamePickRound`\>\>
651
651
 
652
- Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) with the target user's
653
- [GamePickRound](../interfaces/GamePickRound.md).
652
+ Wrapped GamesApiResponse with the target user's
653
+ GamePickRound.
654
654
 
655
655
  #### Remarks
656
656
 
@@ -663,10 +663,10 @@ Wrapped [GamesApiResponse](../interfaces/GamesApiResponse.md) with the target us
663
663
  templates.
664
664
 
665
665
  **Shape vs `gamePickGetActiveRound`**
666
- Same [GamePickRound](../interfaces/GamePickRound.md) structure, but `user_selection` /
666
+ Same GamePickRound structure, but `user_selection` /
667
667
  `team1_user_selection` / `team2_user_selection` reflect the TARGET user's
668
668
  predictions instead of the caller's. Each event still carries its own
669
- `resolution_type_id` (see [GamePickResolutionType](../enumerations/GamePickResolutionType.md)) so the UI can
669
+ `resolution_type_id` (see GamePickResolutionType) so the UI can
670
670
  render result badges per pick.
671
671
 
672
672
  **Error codes** (in `errCode`)
@@ -71,3 +71,9 @@
71
71
  ### CoinFlip
72
72
 
73
73
  > **CoinFlip**: `12`
74
+
75
+ ***
76
+
77
+ ### CustomMinigame
78
+
79
+ > **CustomMinigame**: `13`
@@ -74,6 +74,12 @@
74
74
 
75
75
  ***
76
76
 
77
+ ### CustomMinigame
78
+
79
+ > **CustomMinigame**: `"custom_minigame"`
80
+
81
+ ***
82
+
77
83
  ### Unknown
78
84
 
79
85
  > **Unknown**: `"unknown"`
@@ -566,6 +566,17 @@ controlling obstacle frequency and game speed.
566
566
 
567
567
  ***
568
568
 
569
+ ### custom\_game\_url?
570
+
571
+ > `optional` **custom\_game\_url?**: `string`
572
+
573
+ URL of the operator-hosted custom mini-game, loaded inside an iframe by
574
+ the widget for `SAWGameType.CustomMinigame`. The operator is trusted, so
575
+ the iframe is rendered without a sandbox.
576
+ Back-Office label: _"Game URL"_.
577
+
578
+ ***
579
+
569
580
  ### voyager\_seed\_window\_min?
570
581
 
571
582
  > `optional` **voyager\_seed\_window\_min?**: `number`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.382",
3
+ "version": "0.0.383",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",