@smartico/public-api 0.0.420 → 0.0.422
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/README.md +14 -0
- package/dist/ActivityLog/ActivityLogActivities.d.ts +1 -1
- package/dist/ActivityLog/ActivityLogEntry.d.ts +35 -17
- package/dist/ActivityLog/ActivityLogMeta.d.ts +31 -0
- package/dist/ActivityLog/GetActivityLogRequest.d.ts +2 -0
- package/dist/ActivityLog/GetActivityLogResponse.d.ts +1 -2
- package/dist/Jackpots/JackPotWinPushWinner.d.ts +34 -0
- package/dist/Jackpots/JackPotWinner.d.ts +3 -1
- package/dist/Jackpots/JackpotContributionRule.d.ts +23 -0
- package/dist/Jackpots/JackpotDetails.d.ts +8 -0
- package/dist/Jackpots/JackpotPot.d.ts +4 -2
- package/dist/Jackpots/JackpotPublicMeta.d.ts +6 -2
- package/dist/Jackpots/JackpotWinPush.d.ts +14 -2
- package/dist/Jackpots/index.d.ts +2 -0
- package/dist/SmarticoAPI.d.ts +1 -3
- package/dist/WSAPI/WSAPIBase.d.ts +0 -1
- package/dist/WSAPI/WSAPIJackpots.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +19 -17
- package/dist/WSAPI/WSAPIUser.d.ts +11 -36
- package/dist/index.js +36 -128
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +34 -100
- package/dist/index.modern.mjs.map +1 -1
- package/docs/Callbacks.md +1 -1
- package/docs/api/README.md +4 -4
- package/docs/api/classes/WSAPIJackpots.md +2 -0
- package/docs/api/classes/WSAPIUser.md +30 -59
- package/docs/api/documents/Callbacks.md +1 -1
- package/docs/api/enumerations/ActivityLogActivities.md +1 -1
- package/docs/api/enumerations/PointChangeSourceType.md +6 -0
- package/docs/api/interfaces/ActivityLogEntry.md +124 -0
- package/docs/api/interfaces/ActivityLogMeta.md +100 -0
- package/docs/api/interfaces/JackPotWinPushWinner.md +103 -0
- package/docs/api/interfaces/JackPotWinner.md +9 -1
- package/docs/api/interfaces/JackpotContributionRule.md +49 -0
- package/docs/api/interfaces/JackpotDetails.md +24 -0
- package/docs/api/interfaces/JackpotPot.md +9 -1
- package/docs/api/interfaces/JackpotPublicMeta.md +12 -2
- package/docs/api/interfaces/JackpotWinPush.md +14 -1
- package/docs/api/interfaces/TActivityLog.md +70 -2
- package/docs/api/type-aliases/TActivityLogEntry.md +7 -0
- package/docs/capabilities/_responses/gamePickGetActiveRound.json +37 -37
- package/docs/capabilities/_responses/gamePickGetActiveRounds.json +37 -131
- package/docs/capabilities/_responses/gamePickGetBoard.json +25 -14
- package/docs/capabilities/_responses/gamePickGetGameInfo.json +93 -79
- package/docs/capabilities/_responses/gamePickGetHistory.json +37 -131
- package/docs/capabilities/_responses/gamePickGetUserInfo.json +5 -5
- package/docs/capabilities/_responses/getActivityLog.json +106 -1
- package/docs/capabilities/_responses/getAvatarsCustomized.json +4 -4
- package/docs/capabilities/_responses/getAvatarsList.json +2 -2
- package/docs/capabilities/_responses/getBadges.json +27 -29
- package/docs/capabilities/_responses/getBonuses.json +1 -18
- package/docs/capabilities/_responses/getClanInfo.json +13 -13
- package/docs/capabilities/_responses/getClans.json +6 -6
- package/docs/capabilities/_responses/getCurrentLevel.json +12 -12
- package/docs/capabilities/_responses/getInboxMessageBody.json +2 -2
- package/docs/capabilities/_responses/getInboxMessages.json +6 -6
- package/docs/capabilities/_responses/getInboxUnreadCount.json +1 -1
- package/docs/capabilities/_responses/getJackpotWinners.json +14 -14
- package/docs/capabilities/_responses/getLeaderBoard.json +8 -8
- package/docs/capabilities/_responses/getMiniGames.json +92 -90
- package/docs/capabilities/_responses/getMiniGamesHistory.json +874 -1
- package/docs/capabilities/_responses/getMissions.json +2 -2
- package/docs/capabilities/_responses/getRaffleDrawRun.json +7 -7
- package/docs/capabilities/_responses/getRaffleDrawRunsHistory.json +6 -6
- package/docs/capabilities/_responses/getRaffles.json +14 -14
- package/docs/capabilities/_responses/getStorePurchasedItems.json +5 -5
- package/docs/capabilities/_responses/getTournamentInstanceInfo.json +100 -53
- package/docs/capabilities/_responses/getTournamentsList.json +12 -12
- package/docs/capabilities/_responses/getTranslations.json +1 -1
- package/docs/capabilities/_responses/getUserProfile.json +10 -10
- package/docs/capabilities/_responses/jackpotGet.json +33 -34
- package/docs/capabilities/gamePickGetActiveRound.md +22 -23
- package/docs/capabilities/gamePickGetActiveRounds.md +22 -23
- package/docs/capabilities/gamePickGetBoard.md +14 -14
- package/docs/capabilities/gamePickGetGameInfo.md +24 -44
- package/docs/capabilities/gamePickGetHistory.md +22 -23
- package/docs/capabilities/gamePickGetUserInfo.md +5 -5
- package/docs/capabilities/getActivityLog.md +69 -9
- package/docs/capabilities/getAvatarsCustomized.md +3 -3
- package/docs/capabilities/getBadges.md +13 -14
- package/docs/capabilities/getBonuses.md +2 -17
- package/docs/capabilities/getClanInfo.md +8 -8
- package/docs/capabilities/getClans.md +4 -4
- package/docs/capabilities/getCurrentLevel.md +12 -12
- package/docs/capabilities/getInboxMessageBody.md +2 -2
- package/docs/capabilities/getInboxMessages.md +3 -3
- package/docs/capabilities/getInboxUnreadCount.md +6 -0
- package/docs/capabilities/getJackpotWinners.md +9 -8
- package/docs/capabilities/getLeaderBoard.md +5 -5
- package/docs/capabilities/getMiniGames.md +35 -37
- package/docs/capabilities/getMiniGamesHistory.md +83 -2
- package/docs/capabilities/getMissions.md +1 -1
- package/docs/capabilities/getRaffleDrawRun.md +7 -7
- package/docs/capabilities/getRaffleDrawRunsHistory.md +3 -3
- package/docs/capabilities/getRaffles.md +8 -8
- package/docs/capabilities/getStorePurchasedItems.md +2 -2
- package/docs/capabilities/getTournamentInstanceInfo.md +45 -37
- package/docs/capabilities/getTournamentsList.md +6 -6
- package/docs/capabilities/getTranslations.md +1 -1
- package/docs/capabilities/getUserProfile.md +10 -10
- package/docs/capabilities/jackpotGet.md +56 -28
- package/docs/capabilities/jackpotOptIn.md +2 -0
- package/docs/capabilities/smarticoCallbacks.md +1 -1
- package/docs/native/PROTOCOL.md +141 -18
- package/docs/ui/jackpots/UIGuide_jackpotGet.md +1 -1
- package/docs/ui/user/UIGuide_getActivityLog.md +4 -2
- package/package.json +4 -3
- package/scripts/capture-responses-browser.mjs +8 -1
- package/src/ActivityLog/ActivityLogActivities.ts +1 -1
- package/src/ActivityLog/ActivityLogEntry.ts +33 -21
- package/src/ActivityLog/ActivityLogMeta.ts +31 -0
- package/src/ActivityLog/GetActivityLogRequest.ts +2 -0
- package/src/ActivityLog/GetActivityLogResponse.ts +23 -49
- package/src/Jackpots/JackPotWinPushWinner.ts +35 -0
- package/src/Jackpots/JackPotWinner.ts +3 -1
- package/src/Jackpots/JackpotContributionRule.ts +25 -0
- package/src/Jackpots/JackpotDetails.ts +8 -0
- package/src/Jackpots/JackpotPot.ts +4 -2
- package/src/Jackpots/JackpotPublicMeta.ts +6 -2
- package/src/Jackpots/JackpotWinPush.ts +14 -2
- package/src/Jackpots/index.ts +2 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/SmarticoAPI.ts +1 -44
- package/src/WSAPI/WSAPIBase.ts +0 -1
- package/src/WSAPI/WSAPIJackpots.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +20 -18
- package/src/WSAPI/WSAPIUser.ts +10 -53
- package/docs/api/interfaces/GemsDiamondsLog.md +0 -45
- package/docs/api/interfaces/PointsLog.md +0 -45
- package/docs/api/interfaces/TActivityLogEntry.md +0 -100
- package/docs/api/type-aliases/ActivityLogEntry.md +0 -3
- package/docs/capabilities/getActivityLogV2.md +0 -62
|
@@ -58,10 +58,20 @@ custom value of placeholder2 defined by operator and can be used in the HTML tem
|
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
61
|
+
### priority
|
|
62
|
+
|
|
63
|
+
> **priority**: `string`
|
|
64
|
+
|
|
65
|
+
operator-defined display order, ascending; sent as a string
|
|
66
|
+
|
|
67
|
+
***
|
|
68
|
+
|
|
61
69
|
### custom\_data
|
|
62
70
|
|
|
63
|
-
> **custom\_data**: `
|
|
71
|
+
> **custom\_data**: `any`
|
|
64
72
|
|
|
65
|
-
Custom data
|
|
73
|
+
Custom data that can be used in API to build custom UI.
|
|
74
|
+
`jackpotGet()` returns this already parsed — an object when the operator stored JSON,
|
|
75
|
+
otherwise the raw string. Elsewhere (e.g. the jackpot-win push) it arrives unparsed.
|
|
66
76
|
You can request from Smartico to define fields for your specific case that will be managed from Smartico BackOffice
|
|
67
77
|
Read more here - <https://help.smartico.ai/welcome/products/tools-and-guides/custom-fields-attributes>
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Interface: JackpotWinPush
|
|
2
2
|
|
|
3
|
+
Live jackpot-win notification. Delivered both to the winner and to other players
|
|
4
|
+
taking part in the same jackpot — use `winners[].is_me` to tell the two apart;
|
|
5
|
+
the copy sent to other players has its `public_username` masked.
|
|
6
|
+
|
|
7
|
+
Surfaced to consumers through the `jackpot_win` callback
|
|
8
|
+
(`_smartico.on('jackpot_win', …)`).
|
|
9
|
+
|
|
10
|
+
The explosion time is `jackpot.pot.explode_date_ts` (epoch milliseconds).
|
|
11
|
+
|
|
3
12
|
## Extends
|
|
4
13
|
|
|
5
14
|
- `ProtocolMessage`
|
|
@@ -40,8 +49,12 @@
|
|
|
40
49
|
|
|
41
50
|
> **jackpot**: [`JackpotDetails`](JackpotDetails.md)
|
|
42
51
|
|
|
52
|
+
The jackpot that exploded, including its live `pot` snapshot
|
|
53
|
+
|
|
43
54
|
***
|
|
44
55
|
|
|
45
56
|
### winners
|
|
46
57
|
|
|
47
|
-
> **winners**: [`
|
|
58
|
+
> **winners**: [`JackPotWinPushWinner`](JackPotWinPushWinner.md)[]
|
|
59
|
+
|
|
60
|
+
Winner entries; currently always a single entry
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
# Interface: TActivityLog
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
One activity-log row from [WSAPIUser.getActivityLog](../classes/WSAPIUser.md#getactivitylog).
|
|
4
|
+
|
|
5
|
+
Always includes the wallet fields (`type` / `amount` / `balance` / …). When the
|
|
6
|
+
server returns richer activity rows (missions, badges, levels, …), the optional
|
|
7
|
+
fields below are populated — same method, same CID; clients that ignore unknown
|
|
8
|
+
fields keep working.
|
|
5
9
|
|
|
6
10
|
## Properties
|
|
7
11
|
|
|
@@ -66,3 +70,67 @@ Total ever collected (only relevant for type points)
|
|
|
66
70
|
> **source\_type\_id**: [`PointChangeSourceType`](../enumerations/PointChangeSourceType.md)
|
|
67
71
|
|
|
68
72
|
Source type ID indicating what triggered this change
|
|
73
|
+
|
|
74
|
+
***
|
|
75
|
+
|
|
76
|
+
### activity\_type\_id?
|
|
77
|
+
|
|
78
|
+
> `optional` **activity\_type\_id?**: [`ActivityLogActivities`](../enumerations/ActivityLogActivities.md)
|
|
79
|
+
|
|
80
|
+
Activity kind — see [ActivityLogActivities](../enumerations/ActivityLogActivities.md) (`type` on the wire).
|
|
81
|
+
|
|
82
|
+
***
|
|
83
|
+
|
|
84
|
+
### context\_value\_1?
|
|
85
|
+
|
|
86
|
+
> `optional` **context\_value\_1?**: `number`
|
|
87
|
+
|
|
88
|
+
Sub-action for `activity_type_id` (e.g. unlock vs complete, add vs deduct, raffle win vs register).
|
|
89
|
+
|
|
90
|
+
***
|
|
91
|
+
|
|
92
|
+
### meta?
|
|
93
|
+
|
|
94
|
+
> `optional` **meta?**: [`ActivityLogMeta`](ActivityLogMeta.md)
|
|
95
|
+
|
|
96
|
+
Extra display payload for the row (name, image, position, …) — see [ActivityLogMeta](ActivityLogMeta.md).
|
|
97
|
+
|
|
98
|
+
***
|
|
99
|
+
|
|
100
|
+
### source\_entity\_name?
|
|
101
|
+
|
|
102
|
+
> `optional` **source\_entity\_name?**: `string`
|
|
103
|
+
|
|
104
|
+
Human-readable name of the source entity (mission, tournament, raffle, …).
|
|
105
|
+
|
|
106
|
+
***
|
|
107
|
+
|
|
108
|
+
### source\_entity\_id?
|
|
109
|
+
|
|
110
|
+
> `optional` **source\_entity\_id?**: `number`
|
|
111
|
+
|
|
112
|
+
Primary id of the source entity (mission / badge / tournament / …).
|
|
113
|
+
|
|
114
|
+
***
|
|
115
|
+
|
|
116
|
+
### source\_reference\_id?
|
|
117
|
+
|
|
118
|
+
> `optional` **source\_reference\_id?**: `number`
|
|
119
|
+
|
|
120
|
+
More specific id within the source (e.g. level id, draw id, win id).
|
|
121
|
+
|
|
122
|
+
***
|
|
123
|
+
|
|
124
|
+
### source\_root\_id?
|
|
125
|
+
|
|
126
|
+
> `optional` **source\_root\_id?**: `number`
|
|
127
|
+
|
|
128
|
+
Root / parent entity id when the source is nested (e.g. raffle id owning a draw).
|
|
129
|
+
|
|
130
|
+
***
|
|
131
|
+
|
|
132
|
+
### is\_wallet\_entry?
|
|
133
|
+
|
|
134
|
+
> `optional` **is\_wallet\_entry?**: `boolean`
|
|
135
|
+
|
|
136
|
+
True when the row is a points/gems/diamonds wallet change.
|
|
@@ -1,58 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errCode": 0,
|
|
3
3
|
"data": {
|
|
4
|
-
"round_id":
|
|
5
|
-
"round_row_id":
|
|
4
|
+
"round_id": 40920,
|
|
5
|
+
"round_row_id": 1,
|
|
6
6
|
"public_meta": {
|
|
7
|
-
"round_name": "
|
|
7
|
+
"round_name": "Final",
|
|
8
8
|
"_translations": {
|
|
9
9
|
"BR": {},
|
|
10
10
|
"TH": {}
|
|
11
11
|
},
|
|
12
12
|
"allow_edit_answers": true,
|
|
13
|
-
"final_screen_cta_dp":
|
|
13
|
+
"final_screen_cta_dp": null,
|
|
14
14
|
"hide_resolved_round": false
|
|
15
15
|
},
|
|
16
16
|
"score_type_id": 1,
|
|
17
|
-
"open_date":
|
|
18
|
-
"last_bet_date":
|
|
17
|
+
"open_date": 1780282219930,
|
|
18
|
+
"last_bet_date": 1786665540000,
|
|
19
19
|
"is_active_now": true,
|
|
20
20
|
"is_resolved": false,
|
|
21
21
|
"round_status_id": -1,
|
|
22
|
-
"score_full_win":
|
|
23
|
-
"score_part_win":
|
|
22
|
+
"score_full_win": 4,
|
|
23
|
+
"score_part_win": 2,
|
|
24
24
|
"score_lost": 0,
|
|
25
|
-
"events_total": "
|
|
26
|
-
"events_resolved": "
|
|
25
|
+
"events_total": "8",
|
|
26
|
+
"events_resolved": "7",
|
|
27
27
|
"show_users_preference": true,
|
|
28
28
|
"order_events": 1,
|
|
29
29
|
"board_users_count": 20,
|
|
30
30
|
"hide_users_predictions": false,
|
|
31
|
-
"round_name": "
|
|
31
|
+
"round_name": "Final",
|
|
32
32
|
"user_score": 0,
|
|
33
33
|
"user_placed_bet": false,
|
|
34
34
|
"events": [
|
|
35
35
|
{
|
|
36
|
-
"gp_event_id":
|
|
37
|
-
"market_type_id":
|
|
36
|
+
"gp_event_id": 136181,
|
|
37
|
+
"market_type_id": 1,
|
|
38
38
|
"event_meta": {
|
|
39
|
-
"event_name": "
|
|
40
|
-
"team1_name": "
|
|
41
|
-
"team2_name": "
|
|
39
|
+
"event_name": "UEFA Super Cup",
|
|
40
|
+
"team1_name": "Paris Saint-Germain FC",
|
|
41
|
+
"team2_name": "Aston Villa FC",
|
|
42
42
|
"is_canceled": false,
|
|
43
|
-
"team1_image": "https://cdn.example/
|
|
44
|
-
"team2_image": "https://cdn.example/
|
|
43
|
+
"team1_image": "https://cdn.example/gp-images-ai/16018/1783346543507-xtewml.png",
|
|
44
|
+
"team2_image": "https://cdn.example/gp-images-ai/16018/1783346545290-i42wsu.png",
|
|
45
45
|
"sport_type_id": 1,
|
|
46
|
-
"question_image": "https://cdn.example/5ff1fc35b419e43886d227-Artboard3.png",
|
|
47
46
|
"scores_manually_adjusted": false
|
|
48
47
|
},
|
|
49
48
|
"event_resolution_date": null,
|
|
50
|
-
"match_date": "2026-
|
|
49
|
+
"match_date": "2026-08-12T19:00:00.000Z",
|
|
51
50
|
"odds_details": {
|
|
52
51
|
"odd_value": {
|
|
53
|
-
"1":
|
|
54
|
-
"2":
|
|
55
|
-
"
|
|
52
|
+
"1": 1.81,
|
|
53
|
+
"2": 4.43,
|
|
54
|
+
"X": 3.83
|
|
56
55
|
}
|
|
57
56
|
},
|
|
58
57
|
"user_placed_bet": false,
|
|
@@ -61,31 +60,32 @@
|
|
|
61
60
|
"resolution_type_id": 0
|
|
62
61
|
},
|
|
63
62
|
{
|
|
64
|
-
"gp_event_id":
|
|
65
|
-
"market_type_id":
|
|
63
|
+
"gp_event_id": 151703,
|
|
64
|
+
"market_type_id": 1,
|
|
66
65
|
"event_meta": {
|
|
67
|
-
"event_name": "
|
|
68
|
-
"team1_name": "
|
|
69
|
-
"team2_name": "
|
|
66
|
+
"event_name": "UEFA Champions League",
|
|
67
|
+
"team1_name": "Floriana FC",
|
|
68
|
+
"team2_name": "Shamrock Rovers",
|
|
70
69
|
"is_canceled": false,
|
|
71
|
-
"team1_image": "https://cdn.example/
|
|
72
|
-
"team2_image": "https://cdn.example/
|
|
70
|
+
"team1_image": "https://cdn.example/gp-images-ai/16018/1783346052949-1mxiyb.png",
|
|
71
|
+
"team2_image": "https://cdn.example/gp-images-ai/16018/1783346187145-k2o1mm.png",
|
|
72
|
+
"team1_result": 2,
|
|
73
|
+
"team2_result": 0,
|
|
73
74
|
"sport_type_id": 1,
|
|
74
|
-
"question_image": "https://cdn.example/c7877cf61d820ebf372382-Artboard4.png",
|
|
75
75
|
"scores_manually_adjusted": false
|
|
76
76
|
},
|
|
77
|
-
"event_resolution_date":
|
|
78
|
-
"match_date": "2026-
|
|
77
|
+
"event_resolution_date": "2026-07-07T19:31:10.105Z",
|
|
78
|
+
"match_date": "2026-07-07T17:30:00.000Z",
|
|
79
79
|
"odds_details": {
|
|
80
80
|
"odd_value": {
|
|
81
|
-
"1":
|
|
82
|
-
"2":
|
|
83
|
-
"
|
|
81
|
+
"1": 3.89,
|
|
82
|
+
"2": 2.02,
|
|
83
|
+
"X": 3.36
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"user_placed_bet": false,
|
|
87
87
|
"resolution_score": 0,
|
|
88
|
-
"is_open_for_bets":
|
|
88
|
+
"is_open_for_bets": false,
|
|
89
89
|
"resolution_type_id": 0
|
|
90
90
|
}
|
|
91
91
|
],
|
|
@@ -2,58 +2,57 @@
|
|
|
2
2
|
"errCode": 0,
|
|
3
3
|
"data": [
|
|
4
4
|
{
|
|
5
|
-
"round_id":
|
|
6
|
-
"round_row_id":
|
|
5
|
+
"round_id": 40920,
|
|
6
|
+
"round_row_id": 1,
|
|
7
7
|
"public_meta": {
|
|
8
|
-
"round_name": "
|
|
8
|
+
"round_name": "Final",
|
|
9
9
|
"_translations": {
|
|
10
10
|
"BR": {},
|
|
11
11
|
"TH": {}
|
|
12
12
|
},
|
|
13
13
|
"allow_edit_answers": true,
|
|
14
|
-
"final_screen_cta_dp":
|
|
14
|
+
"final_screen_cta_dp": null,
|
|
15
15
|
"hide_resolved_round": false
|
|
16
16
|
},
|
|
17
17
|
"score_type_id": 1,
|
|
18
|
-
"open_date":
|
|
19
|
-
"last_bet_date":
|
|
18
|
+
"open_date": 1780282219930,
|
|
19
|
+
"last_bet_date": 1786665540000,
|
|
20
20
|
"is_active_now": true,
|
|
21
21
|
"is_resolved": false,
|
|
22
22
|
"round_status_id": -1,
|
|
23
|
-
"score_full_win":
|
|
24
|
-
"score_part_win":
|
|
23
|
+
"score_full_win": 4,
|
|
24
|
+
"score_part_win": 2,
|
|
25
25
|
"score_lost": 0,
|
|
26
|
-
"events_total": "
|
|
27
|
-
"events_resolved": "
|
|
26
|
+
"events_total": "8",
|
|
27
|
+
"events_resolved": "7",
|
|
28
28
|
"show_users_preference": true,
|
|
29
29
|
"order_events": 1,
|
|
30
30
|
"board_users_count": 20,
|
|
31
31
|
"hide_users_predictions": false,
|
|
32
|
-
"round_name": "
|
|
32
|
+
"round_name": "Final",
|
|
33
33
|
"user_score": 0,
|
|
34
34
|
"user_placed_bet": false,
|
|
35
35
|
"events": [
|
|
36
36
|
{
|
|
37
|
-
"gp_event_id":
|
|
38
|
-
"market_type_id":
|
|
37
|
+
"gp_event_id": 136181,
|
|
38
|
+
"market_type_id": 1,
|
|
39
39
|
"event_meta": {
|
|
40
|
-
"event_name": "
|
|
41
|
-
"team1_name": "
|
|
42
|
-
"team2_name": "
|
|
40
|
+
"event_name": "UEFA Super Cup",
|
|
41
|
+
"team1_name": "Paris Saint-Germain FC",
|
|
42
|
+
"team2_name": "Aston Villa FC",
|
|
43
43
|
"is_canceled": false,
|
|
44
|
-
"team1_image": "https://cdn.example/
|
|
45
|
-
"team2_image": "https://cdn.example/
|
|
44
|
+
"team1_image": "https://cdn.example/gp-images-ai/16018/1783346543507-xtewml.png",
|
|
45
|
+
"team2_image": "https://cdn.example/gp-images-ai/16018/1783346545290-i42wsu.png",
|
|
46
46
|
"sport_type_id": 1,
|
|
47
|
-
"question_image": "https://cdn.example/5ff1fc35b419e43886d227-Artboard3.png",
|
|
48
47
|
"scores_manually_adjusted": false
|
|
49
48
|
},
|
|
50
49
|
"event_resolution_date": null,
|
|
51
|
-
"match_date": "2026-
|
|
50
|
+
"match_date": "2026-08-12T19:00:00.000Z",
|
|
52
51
|
"odds_details": {
|
|
53
52
|
"odd_value": {
|
|
54
|
-
"1":
|
|
55
|
-
"2":
|
|
56
|
-
"
|
|
53
|
+
"1": 1.81,
|
|
54
|
+
"2": 4.43,
|
|
55
|
+
"X": 3.83
|
|
57
56
|
}
|
|
58
57
|
},
|
|
59
58
|
"user_placed_bet": false,
|
|
@@ -62,120 +61,27 @@
|
|
|
62
61
|
"resolution_type_id": 0
|
|
63
62
|
},
|
|
64
63
|
{
|
|
65
|
-
"gp_event_id":
|
|
66
|
-
"market_type_id":
|
|
64
|
+
"gp_event_id": 151703,
|
|
65
|
+
"market_type_id": 1,
|
|
67
66
|
"event_meta": {
|
|
68
|
-
"event_name": "
|
|
69
|
-
"team1_name": "
|
|
70
|
-
"team2_name": "
|
|
67
|
+
"event_name": "UEFA Champions League",
|
|
68
|
+
"team1_name": "Floriana FC",
|
|
69
|
+
"team2_name": "Shamrock Rovers",
|
|
71
70
|
"is_canceled": false,
|
|
72
|
-
"team1_image": "https://cdn.example/
|
|
73
|
-
"team2_image": "https://cdn.example/
|
|
71
|
+
"team1_image": "https://cdn.example/gp-images-ai/16018/1783346052949-1mxiyb.png",
|
|
72
|
+
"team2_image": "https://cdn.example/gp-images-ai/16018/1783346187145-k2o1mm.png",
|
|
73
|
+
"team1_result": 2,
|
|
74
|
+
"team2_result": 0,
|
|
74
75
|
"sport_type_id": 1,
|
|
75
|
-
"question_image": "https://cdn.example/c7877cf61d820ebf372382-Artboard4.png",
|
|
76
76
|
"scores_manually_adjusted": false
|
|
77
77
|
},
|
|
78
|
-
"event_resolution_date":
|
|
79
|
-
"match_date": "2026-
|
|
78
|
+
"event_resolution_date": "2026-07-07T19:31:10.105Z",
|
|
79
|
+
"match_date": "2026-07-07T17:30:00.000Z",
|
|
80
80
|
"odds_details": {
|
|
81
81
|
"odd_value": {
|
|
82
|
-
"1":
|
|
83
|
-
"2":
|
|
84
|
-
"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"user_placed_bet": false,
|
|
88
|
-
"resolution_score": 0,
|
|
89
|
-
"is_open_for_bets": true,
|
|
90
|
-
"resolution_type_id": 0
|
|
91
|
-
}
|
|
92
|
-
],
|
|
93
|
-
"has_open_for_bet_events": true,
|
|
94
|
-
"has_not_submitted_changes": false
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"round_id": 40564,
|
|
98
|
-
"round_row_id": 1,
|
|
99
|
-
"public_meta": {
|
|
100
|
-
"round_name": "Group stage 11-14 June",
|
|
101
|
-
"_translations": {
|
|
102
|
-
"BR": {}
|
|
103
|
-
},
|
|
104
|
-
"allow_edit_answers": true,
|
|
105
|
-
"final_screen_cta_dp": "dp:ok",
|
|
106
|
-
"hide_resolved_round": false
|
|
107
|
-
},
|
|
108
|
-
"score_type_id": 1,
|
|
109
|
-
"open_date": 1779269280999,
|
|
110
|
-
"last_bet_date": 1781481540000,
|
|
111
|
-
"is_active_now": false,
|
|
112
|
-
"is_resolved": true,
|
|
113
|
-
"round_status_id": 4,
|
|
114
|
-
"resolution_date": 1782200293679,
|
|
115
|
-
"score_full_win": 0,
|
|
116
|
-
"score_part_win": 0,
|
|
117
|
-
"score_lost": 0,
|
|
118
|
-
"events_total": "11",
|
|
119
|
-
"events_resolved": "11",
|
|
120
|
-
"show_users_preference": true,
|
|
121
|
-
"order_events": 1,
|
|
122
|
-
"board_users_count": 20,
|
|
123
|
-
"hide_users_predictions": false,
|
|
124
|
-
"round_name": "Group stage 11-14 June",
|
|
125
|
-
"user_score": 0,
|
|
126
|
-
"user_placed_bet": false,
|
|
127
|
-
"events": [
|
|
128
|
-
{
|
|
129
|
-
"gp_event_id": 132891,
|
|
130
|
-
"market_type_id": 4,
|
|
131
|
-
"event_meta": {
|
|
132
|
-
"result": "1",
|
|
133
|
-
"event_name": "World Cup",
|
|
134
|
-
"team1_name": "Mexico",
|
|
135
|
-
"team2_name": "South Africa",
|
|
136
|
-
"is_canceled": false,
|
|
137
|
-
"team1_image": "https://cdn.example/games/teams-images/4781.png",
|
|
138
|
-
"team2_image": null,
|
|
139
|
-
"sport_type_id": 1,
|
|
140
|
-
"question_image": "https://cdn.example/5ff1fc35b419e43886d227-Artboard3.png",
|
|
141
|
-
"scores_manually_adjusted": false
|
|
142
|
-
},
|
|
143
|
-
"event_resolution_date": "2026-06-11T22:09:59.536Z",
|
|
144
|
-
"match_date": "2026-06-11T19:00:00.000Z",
|
|
145
|
-
"odds_details": {
|
|
146
|
-
"odd_value": {
|
|
147
|
-
"1": 48,
|
|
148
|
-
"2": 11,
|
|
149
|
-
"x": 42
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
"user_placed_bet": false,
|
|
153
|
-
"resolution_score": 0,
|
|
154
|
-
"is_open_for_bets": false,
|
|
155
|
-
"resolution_type_id": 0
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"gp_event_id": 132892,
|
|
159
|
-
"market_type_id": 6,
|
|
160
|
-
"event_meta": {
|
|
161
|
-
"result": "2",
|
|
162
|
-
"event_name": "World Cup",
|
|
163
|
-
"team1_name": "Republic of Korea",
|
|
164
|
-
"team2_name": "Czech Republic",
|
|
165
|
-
"is_canceled": false,
|
|
166
|
-
"team1_image": "https://cdn.example/games/teams-images/4735.png",
|
|
167
|
-
"team2_image": null,
|
|
168
|
-
"sport_type_id": 1,
|
|
169
|
-
"question_image": "https://cdn.example/c7877cf61d820ebf372382-Artboard4.png",
|
|
170
|
-
"scores_manually_adjusted": false
|
|
171
|
-
},
|
|
172
|
-
"event_resolution_date": "2026-06-12T04:50:43.260Z",
|
|
173
|
-
"match_date": "2026-06-12T02:00:00.000Z",
|
|
174
|
-
"odds_details": {
|
|
175
|
-
"odd_value": {
|
|
176
|
-
"1": 48,
|
|
177
|
-
"2": 44,
|
|
178
|
-
"x": 8
|
|
82
|
+
"1": 3.89,
|
|
83
|
+
"2": 2.02,
|
|
84
|
+
"X": 3.36
|
|
179
85
|
}
|
|
180
86
|
},
|
|
181
87
|
"user_placed_bet": false,
|
|
@@ -184,7 +90,7 @@
|
|
|
184
90
|
"resolution_type_id": 0
|
|
185
91
|
}
|
|
186
92
|
],
|
|
187
|
-
"has_open_for_bet_events":
|
|
93
|
+
"has_open_for_bet_events": true,
|
|
188
94
|
"has_not_submitted_changes": false
|
|
189
95
|
}
|
|
190
96
|
]
|
|
@@ -1,39 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"errCode": 0,
|
|
3
3
|
"data": {
|
|
4
|
-
"round_id":
|
|
5
|
-
"round_row_id":
|
|
4
|
+
"round_id": 40920,
|
|
5
|
+
"round_row_id": 1,
|
|
6
6
|
"public_meta": {
|
|
7
|
-
"round_name": "
|
|
7
|
+
"round_name": "Final",
|
|
8
8
|
"_translations": {
|
|
9
9
|
"BR": {},
|
|
10
10
|
"TH": {}
|
|
11
11
|
},
|
|
12
12
|
"allow_edit_answers": true,
|
|
13
|
-
"final_screen_cta_dp":
|
|
13
|
+
"final_screen_cta_dp": null,
|
|
14
14
|
"hide_resolved_round": false
|
|
15
15
|
},
|
|
16
16
|
"score_type_id": 1,
|
|
17
|
-
"open_date":
|
|
18
|
-
"last_bet_date":
|
|
17
|
+
"open_date": 1780282219930,
|
|
18
|
+
"last_bet_date": 1786665540000,
|
|
19
19
|
"is_active_now": true,
|
|
20
20
|
"is_resolved": false,
|
|
21
21
|
"round_status_id": -1,
|
|
22
|
-
"score_full_win":
|
|
23
|
-
"score_part_win":
|
|
22
|
+
"score_full_win": 4,
|
|
23
|
+
"score_part_win": 2,
|
|
24
24
|
"score_lost": 0,
|
|
25
|
-
"events_total": "
|
|
26
|
-
"events_resolved": "
|
|
25
|
+
"events_total": "8",
|
|
26
|
+
"events_resolved": "7",
|
|
27
27
|
"show_users_preference": true,
|
|
28
28
|
"order_events": 1,
|
|
29
29
|
"board_users_count": 20,
|
|
30
30
|
"hide_users_predictions": false,
|
|
31
|
-
"round_name": "
|
|
31
|
+
"round_name": "Final",
|
|
32
32
|
"users": [
|
|
33
33
|
{
|
|
34
|
-
"ext_user_id": "
|
|
35
|
-
"int_user_id": "
|
|
36
|
-
"public_username": "
|
|
34
|
+
"ext_user_id": "411422935",
|
|
35
|
+
"int_user_id": "255291150",
|
|
36
|
+
"public_username": "Kana*****",
|
|
37
|
+
"avatar_url": "https://cdn.example/d58c99035fadf00dcfe638-Dragongenderless.webp",
|
|
38
|
+
"gp_position": null,
|
|
39
|
+
"resolution_score": 0,
|
|
40
|
+
"full_wins_count": 0,
|
|
41
|
+
"part_wins_count": 0,
|
|
42
|
+
"lost_count": 0
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"ext_user_id": "190261498",
|
|
46
|
+
"int_user_id": "24617406",
|
|
47
|
+
"public_username": "Sant*****",
|
|
37
48
|
"avatar_url": "https://cdn.example/d58c99035fadf00dcfe638-Dragongenderless.webp",
|
|
38
49
|
"gp_position": null,
|
|
39
50
|
"resolution_score": 0,
|