@smartico/public-api 0.0.402 → 0.0.404

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 (153) hide show
  1. package/.claude/skills/api-tsdoc/SKILL.md +675 -0
  2. package/.claude/skills/api-tsdoc-final/SKILL.md +266 -0
  3. package/.claude/skills/api-tsdoc-howto/SKILL.md +143 -0
  4. package/dist/MiniGames/SAWTemplate.d.ts +4 -0
  5. package/dist/NodeCache.d.ts +1 -0
  6. package/dist/OCache.d.ts +7 -0
  7. package/dist/SmarticoGlobal.d.ts +0 -6
  8. package/dist/WSAPI/WSAPITypes.d.ts +43 -0
  9. package/dist/WSAPI/WSAPIUser.d.ts +3 -0
  10. package/dist/index.js +92 -33
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.modern.mjs +60 -10
  13. package/dist/index.modern.mjs.map +1 -1
  14. package/docs/api/interfaces/TUserProfile.md +136 -0
  15. package/docs/capabilities/_responses/buyStoreItem.json +4 -0
  16. package/docs/capabilities/_responses/claimBonus.json +4 -0
  17. package/docs/capabilities/_responses/gamePickGetActiveRound.json +95 -0
  18. package/docs/capabilities/_responses/gamePickGetActiveRounds.json +191 -0
  19. package/docs/capabilities/_responses/gamePickGetBoard.json +47 -0
  20. package/docs/capabilities/_responses/gamePickGetGameInfo.json +355 -0
  21. package/docs/capabilities/_responses/gamePickGetHistory.json +191 -0
  22. package/docs/capabilities/_responses/gamePickGetUserInfo.json +14 -0
  23. package/docs/capabilities/_responses/getAchCategories.json +12 -0
  24. package/docs/capabilities/_responses/getActivityLog.json +1 -0
  25. package/docs/capabilities/_responses/getAvatarPrompts.json +16 -0
  26. package/docs/capabilities/_responses/getAvatarsCustomized.json +12 -0
  27. package/docs/capabilities/_responses/getAvatarsList.json +24 -0
  28. package/docs/capabilities/_responses/getBadges.json +98 -0
  29. package/docs/capabilities/_responses/getBonuses.json +18 -0
  30. package/docs/capabilities/_responses/getClanInfo.json +39 -0
  31. package/docs/capabilities/_responses/getClans.json +35 -0
  32. package/docs/capabilities/_responses/getCurrentLevel.json +20 -0
  33. package/docs/capabilities/_responses/getCustomSections.json +25 -0
  34. package/docs/capabilities/_responses/getInboxMessageBody.json +7 -0
  35. package/docs/capabilities/_responses/getInboxMessages.json +18 -0
  36. package/docs/capabilities/_responses/getInboxUnreadCount.json +1 -0
  37. package/docs/capabilities/_responses/getJackpotEligibleGames.json +20 -0
  38. package/docs/capabilities/_responses/getJackpotWinners.json +28 -0
  39. package/docs/capabilities/_responses/getLeaderBoard.json +45 -0
  40. package/docs/capabilities/_responses/getLevels.json +40 -0
  41. package/docs/capabilities/_responses/getMiniGames.json +208 -0
  42. package/docs/capabilities/_responses/getMiniGamesHistory.json +1 -0
  43. package/docs/capabilities/_responses/getMissions.json +117 -0
  44. package/docs/capabilities/_responses/getRaffleDrawRun.json +62 -0
  45. package/docs/capabilities/_responses/getRaffleDrawRunsHistory.json +34 -0
  46. package/docs/capabilities/_responses/getRaffles.json +140 -0
  47. package/docs/capabilities/_responses/getStoreCategories.json +12 -0
  48. package/docs/capabilities/_responses/getStoreItems.json +47 -0
  49. package/docs/capabilities/_responses/getStorePurchasedItems.json +49 -0
  50. package/docs/capabilities/_responses/getTournamentInstanceInfo.json +75 -0
  51. package/docs/capabilities/_responses/getTournamentsList.json +66 -0
  52. package/docs/capabilities/_responses/getTranslations.json +25 -0
  53. package/docs/capabilities/_responses/getUserLevelExtraCounters.json +4 -0
  54. package/docs/capabilities/_responses/getUserProfile.json +34 -0
  55. package/docs/capabilities/_responses/jackpotGet.json +113 -0
  56. package/docs/capabilities/_responses/jackpotOptIn.json +9 -0
  57. package/docs/capabilities/_responses/jackpotOptOut.json +9 -0
  58. package/docs/capabilities/_responses/markAllInboxMessagesAsRead.json +4 -0
  59. package/docs/capabilities/_responses/markInboxMessageAsRead.json +4 -0
  60. package/docs/capabilities/_responses/markUnmarkInboxMessageAsFavorite.json +4 -0
  61. package/docs/capabilities/_responses/miniGameWinAcknowledgeRequest.json +10 -0
  62. package/docs/capabilities/_responses/playMiniGame.json +6 -0
  63. package/docs/capabilities/_responses/playMiniGameBatch.json +9 -0
  64. package/docs/capabilities/_responses/registerInTournament.json +4 -0
  65. package/docs/capabilities/_responses/requestMissionOptIn.json +4 -0
  66. package/docs/capabilities/_responses/setAvatar.json +4 -0
  67. package/docs/capabilities/avatarsCustomize.md +115 -0
  68. package/docs/capabilities/buyStoreItem.md +179 -0
  69. package/docs/capabilities/checkSegmentListMatch.md +69 -0
  70. package/docs/capabilities/checkSegmentMatch.md +74 -0
  71. package/docs/capabilities/claimBonus.md +125 -0
  72. package/docs/capabilities/claimRafflePrize.md +116 -0
  73. package/docs/capabilities/deleteAllInboxMessages.md +66 -0
  74. package/docs/capabilities/deleteInboxMessage.md +60 -0
  75. package/docs/capabilities/gamePickGetActiveRound.md +248 -0
  76. package/docs/capabilities/gamePickGetActiveRounds.md +259 -0
  77. package/docs/capabilities/gamePickGetBoard.md +202 -0
  78. package/docs/capabilities/gamePickGetGameInfo.md +318 -0
  79. package/docs/capabilities/gamePickGetHistory.md +244 -0
  80. package/docs/capabilities/gamePickGetRoundInfoForUser.md +189 -0
  81. package/docs/capabilities/gamePickGetUserInfo.md +91 -0
  82. package/docs/capabilities/gamePickSubmitSelection.md +222 -0
  83. package/docs/capabilities/gamePickSubmitSelectionQuiz.md +198 -0
  84. package/docs/capabilities/getAchCategories.md +119 -0
  85. package/docs/capabilities/getActivityLog.md +108 -0
  86. package/docs/capabilities/getAvatarPrompts.md +81 -0
  87. package/docs/capabilities/getAvatarsCustomized.md +96 -0
  88. package/docs/capabilities/getAvatarsList.md +101 -0
  89. package/docs/capabilities/getBadges.md +237 -0
  90. package/docs/capabilities/getBonuses.md +159 -0
  91. package/docs/capabilities/getClanInfo.md +164 -0
  92. package/docs/capabilities/getClanTournamentPlayers.md +112 -0
  93. package/docs/capabilities/getClans.md +168 -0
  94. package/docs/capabilities/getCurrentLevel.md +123 -0
  95. package/docs/capabilities/getCustomSections.md +96 -0
  96. package/docs/capabilities/getInboxMessageBody.md +87 -0
  97. package/docs/capabilities/getInboxMessages.md +146 -0
  98. package/docs/capabilities/getInboxUnreadCount.md +54 -0
  99. package/docs/capabilities/getJackpotEligibleGames.md +93 -0
  100. package/docs/capabilities/getJackpotWinners.md +113 -0
  101. package/docs/capabilities/getLeaderBoard.md +187 -0
  102. package/docs/capabilities/getLeaderBoards.md +88 -0
  103. package/docs/capabilities/getLevels.md +118 -0
  104. package/docs/capabilities/getMiniGames.md +295 -0
  105. package/docs/capabilities/getMiniGamesHistory.md +183 -0
  106. package/docs/capabilities/getMissions.md +253 -0
  107. package/docs/capabilities/getRaffleDrawRun.md +210 -0
  108. package/docs/capabilities/getRaffleDrawRunsHistory.md +116 -0
  109. package/docs/capabilities/getRaffleWonPrizes.md +153 -0
  110. package/docs/capabilities/getRaffles.md +249 -0
  111. package/docs/capabilities/getRelatedItemsForGame.md +236 -0
  112. package/docs/capabilities/getStoreCategories.md +128 -0
  113. package/docs/capabilities/getStoreItems.md +260 -0
  114. package/docs/capabilities/getStorePurchasedItems.md +280 -0
  115. package/docs/capabilities/getTournamentInstanceInfo.md +301 -0
  116. package/docs/capabilities/getTournamentsList.md +234 -0
  117. package/docs/capabilities/getTranslations.md +95 -0
  118. package/docs/capabilities/getUserLevelExtraCounters.md +92 -0
  119. package/docs/capabilities/getUserProfile.md +184 -0
  120. package/docs/capabilities/jackpotGet.md +173 -0
  121. package/docs/capabilities/jackpotOptIn.md +94 -0
  122. package/docs/capabilities/jackpotOptOut.md +92 -0
  123. package/docs/capabilities/joinClan.md +169 -0
  124. package/docs/capabilities/markAllInboxMessagesAsRead.md +72 -0
  125. package/docs/capabilities/markInboxMessageAsRead.md +69 -0
  126. package/docs/capabilities/markUnmarkInboxMessageAsFavorite.md +75 -0
  127. package/docs/capabilities/miniGameWinAcknowledgeRequest.md +98 -0
  128. package/docs/capabilities/playMiniGame.md +217 -0
  129. package/docs/capabilities/playMiniGameBatch.md +129 -0
  130. package/docs/capabilities/registerInTournament.md +187 -0
  131. package/docs/capabilities/reportClickEvent.md +74 -0
  132. package/docs/capabilities/reportImpressionEvent.md +67 -0
  133. package/docs/capabilities/requestMissionClaimReward.md +117 -0
  134. package/docs/capabilities/requestMissionOptIn.md +98 -0
  135. package/docs/capabilities/requestRaffleOptin.md +108 -0
  136. package/docs/capabilities/setAvatar.md +132 -0
  137. package/docs/capabilities/smarticoCallbacks.md +165 -0
  138. package/docs/capabilities/smarticoGlobal.md +62 -0
  139. package/package.json +3 -2
  140. package/readme-smartico-dev.md +208 -0
  141. package/scripts/capture-responses-browser.mjs +301 -0
  142. package/scripts/gen-capabilities.js +368 -0
  143. package/scripts/run-public-api.mjs +105 -0
  144. package/src/MiniGames/SAWGetTemplatesResponse.ts +2 -0
  145. package/src/MiniGames/SAWTemplate.ts +5 -0
  146. package/src/NodeCache.ts +8 -0
  147. package/src/OCache.ts +17 -0
  148. package/src/SmarticoGlobal.ts +0 -7
  149. package/src/WSAPI/WSAPI.ts +3 -3
  150. package/src/WSAPI/WSAPIJackpots.ts +4 -1
  151. package/src/WSAPI/WSAPIMiniGames.ts +1 -1
  152. package/src/WSAPI/WSAPITypes.ts +44 -0
  153. package/src/WSAPI/WSAPIUser.ts +30 -5
@@ -0,0 +1,98 @@
1
+ [
2
+ {
3
+ "id": 40733,
4
+ "name": "Deep Blue Bet",
5
+ "description": "Place a bet on Ocean Riches",
6
+ "image": "https://cdn.example/843b3b60ad20cb6df257c5-puzzle_01.webp",
7
+ "is_completed": true,
8
+ "is_locked": false,
9
+ "is_requires_optin": false,
10
+ "is_opted_in": false,
11
+ "time_limit_ms": null,
12
+ "active_from_ts": null,
13
+ "active_till_ts": null,
14
+ "dt_start": null,
15
+ "progress": 100,
16
+ "type": "badge",
17
+ "custom_section_id": 1128,
18
+ "only_in_custom_section": true,
19
+ "custom_data": {},
20
+ "position": 1,
21
+ "tasks": [
22
+ {
23
+ "id": 71250,
24
+ "name": "Place a bet on Ocean Riches",
25
+ "points_reward": 0,
26
+ "gems_reward": null,
27
+ "diamonds_reward": null,
28
+ "is_completed": true,
29
+ "progress": 100,
30
+ "execution_count_expected": 1,
31
+ "execution_count_actual": 1
32
+ }
33
+ ],
34
+ "related_games": [],
35
+ "category_ids": [],
36
+ "ach_completed_id": 3410338746,
37
+ "requires_prize_claim": false,
38
+ "prize_claimed_date_ts": null,
39
+ "complete_date": "08/06/2026 20:59:17",
40
+ "complete_date_ts": 1780952357322,
41
+ "completed_today": false,
42
+ "completed_this_week": false,
43
+ "completed_this_month": true,
44
+ "custom_section_type_id": 14,
45
+ "availability_status": 0,
46
+ "hide_locked_mission": true,
47
+ "prize_claim_expiration_date": null,
48
+ "prize_claim_period_type_id": null
49
+ },
50
+ {
51
+ "id": 41290,
52
+ "name": "Ocean Explorer",
53
+ "description": "Place 10 bets on Ocean Riches",
54
+ "image": "https://cdn.example/ccbf14f7fe1ad3758cdceb-puzzle_20.webp",
55
+ "is_completed": true,
56
+ "is_locked": false,
57
+ "is_requires_optin": false,
58
+ "is_opted_in": false,
59
+ "time_limit_ms": null,
60
+ "active_from_ts": null,
61
+ "active_till_ts": null,
62
+ "dt_start": null,
63
+ "progress": 100,
64
+ "type": "badge",
65
+ "custom_section_id": 1128,
66
+ "only_in_custom_section": true,
67
+ "custom_data": {},
68
+ "position": 20,
69
+ "tasks": [
70
+ {
71
+ "id": 72237,
72
+ "name": "Place 10 bets on Ocean Riches",
73
+ "points_reward": 0,
74
+ "gems_reward": null,
75
+ "diamonds_reward": null,
76
+ "is_completed": true,
77
+ "progress": 100,
78
+ "execution_count_expected": 1,
79
+ "execution_count_actual": 1
80
+ }
81
+ ],
82
+ "related_games": [],
83
+ "category_ids": [],
84
+ "ach_completed_id": 3410338797,
85
+ "requires_prize_claim": false,
86
+ "prize_claimed_date_ts": null,
87
+ "complete_date": "08/06/2026 20:59:17",
88
+ "complete_date_ts": 1780952357433,
89
+ "completed_today": false,
90
+ "completed_this_week": false,
91
+ "completed_this_month": true,
92
+ "custom_section_type_id": 14,
93
+ "availability_status": 0,
94
+ "hide_locked_mission": true,
95
+ "prize_claim_expiration_date": null,
96
+ "prize_claim_period_type_id": null
97
+ }
98
+ ]
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "bonus_id": 910171929,
4
+ "is_redeemable": false,
5
+ "create_date": "09/06/2026 23:05:03",
6
+ "redeem_date": "09/06/2026 23:05:03",
7
+ "label_bonus_template_id": 2152,
8
+ "bonus_status_id": 3,
9
+ "label_bonus_template_meta_map": {
10
+ "name": "",
11
+ "description": "100 Euro Free Chip",
12
+ "image_url": "https://cdn.example/4011a701f070093978f2df-Storeitemcopy12.png"
13
+ },
14
+ "bonus_meta_map": {
15
+ "uiAmount": "100 EUR Big Bonus "
16
+ }
17
+ }
18
+ ]
@@ -0,0 +1,39 @@
1
+ {
2
+ "clan_id": 6,
3
+ "public_meta": {
4
+ "name": "Joker Clan",
5
+ "description": "Join the clan if you're a wild card and are completely out of control! Or if you just hate Bruce Wayne very much.\n\nPlay in the tournaments, grab that cash and show them that you don't even care. We…",
6
+ "image_url": "https://cdn.example/00000000-0000-0000-0000-000000000000/entity-image-1780057181857-1.png"
7
+ },
8
+ "member_count": 885,
9
+ "capacity_limit": 1000,
10
+ "entry_fee_currency_type_id": 0,
11
+ "entry_fee_amount": 100,
12
+ "rating_position": 1,
13
+ "rating_score": 90,
14
+ "cooldown_until": null,
15
+ "members": [
16
+ {
17
+ "user_id": 183751733,
18
+ "public_username": "Daniel",
19
+ "avatar_id": "183751733",
20
+ "avatar_real_id": null,
21
+ "avatar_url": "https://cdn.example/avatar/183751733",
22
+ "position": 1,
23
+ "contribution_score": 456786,
24
+ "is_me": false,
25
+ "clean_ext_user_id": "0"
26
+ },
27
+ {
28
+ "user_id": 339588750,
29
+ "public_username": "Carolyn",
30
+ "avatar_id": "339588750",
31
+ "avatar_real_id": null,
32
+ "avatar_url": "https://cdn.example/avatar/339588750",
33
+ "position": 2,
34
+ "contribution_score": 314574,
35
+ "is_me": false,
36
+ "clean_ext_user_id": "0"
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "clans": [
3
+ {
4
+ "clan_id": 6,
5
+ "public_meta": {
6
+ "name": "Joker Clan",
7
+ "description": "Join the clan if you're a wild card and are completely out of control! Or if you just hate Bruce Wayne very much.\n\nPlay in the tournaments, grab that cash and show them that you don't even care. We…",
8
+ "image_url": "https://cdn.example/00000000-0000-0000-0000-000000000000/entity-image-1780057181857-1.png"
9
+ },
10
+ "member_count": 885,
11
+ "capacity_limit": 1000,
12
+ "entry_fee_currency_type_id": 0,
13
+ "entry_fee_amount": 100,
14
+ "rating_position": 1,
15
+ "rating_score": 90
16
+ },
17
+ {
18
+ "clan_id": 5,
19
+ "public_meta": {
20
+ "name": "Horseshoe Clan",
21
+ "description": "Join the clan if you believe in the lucky powers of horseshoes! Or just if you are a horse, this works as well.\n\nCrush the tournament leaderboards at full gallop, and ride into the sunset with your…",
22
+ "image_url": "https://cdn.example/00000000-0000-0000-0000-000000000000/entity-image-1780055765844-1.png"
23
+ },
24
+ "member_count": 887,
25
+ "capacity_limit": 1000,
26
+ "entry_fee_currency_type_id": 3,
27
+ "entry_fee_amount": 1,
28
+ "rating_position": 2,
29
+ "rating_score": 94
30
+ }
31
+ ],
32
+ "user_clan_id": null,
33
+ "cooldown_until": null,
34
+ "join_date": null
35
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "id": 698,
3
+ "name": "Silver",
4
+ "description": "Now you’re playing! Enjoy exclusive missions and exciting rewards.",
5
+ "image": "https://cdn.example/665b45d5a01e2191288091-3silver.png",
6
+ "required_points": 500,
7
+ "visibility_points": 0,
8
+ "required_level_counter_1": null,
9
+ "required_level_counter_2": null,
10
+ "custom_data": {
11
+ "reward": "1000 EUR + 300 Free Spins",
12
+ "image_inactive": "https://cdn.example/bdf58fecfda5a1b9627f8f-LevelLevel3Enabledfalse.png",
13
+ "image_active": "https://cdn.example/90a40da1c5e201f8fa1d3c-LevelLevel3Enabledtrue.png",
14
+ "rakeback": 5,
15
+ "has_vip_club": true,
16
+ "cashback": 2
17
+ },
18
+ "ordinal_position": 3,
19
+ "progress": 38
20
+ }
@@ -0,0 +1,25 @@
1
+ [
2
+ {
3
+ "id": 625,
4
+ "body": "<!-- Google Font -->\n<link href=\"https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap\" rel=\"stylesheet\">\n\n<style>\n * {\n scrollbar-width: none;\n }\n\n…",
5
+ "menu_img": "https://cdn.example/9f1d1ae8915eef1f5db75c-Storeitemcopy21ice.png",
6
+ "menu_name": "Custom overview",
7
+ "section_type_id": 4,
8
+ "liquid_entity_data": [
9
+ 1,
10
+ 2
11
+ ],
12
+ "liquid_template": 1
13
+ },
14
+ {
15
+ "id": 663,
16
+ "body": "<!-- Google Font -->\n<link href=\"https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap\" rel=\"stylesheet\">\n\n{% assign level_map_desktop = \"https://d146b4m7rkvjkw.cloudfront…",
17
+ "menu_img": "https://cdn.example/48d9243b06748dbe9881ce-map.png",
18
+ "menu_name": "Liquid Level Map",
19
+ "section_type_id": 4,
20
+ "liquid_entity_data": [
21
+ 5
22
+ ],
23
+ "liquid_template": 2
24
+ }
25
+ ]
@@ -0,0 +1,7 @@
1
+ {
2
+ "action": "dp:close",
3
+ "icon": "https://cdn.example/d0f46ded3f7c9439fa0239-home-gems.webp",
4
+ "title": "Congratulations!",
5
+ "preview_body": "You have received 10 Gems to your balance!",
6
+ "custom_data": {}
7
+ }
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "sent_date": "24/06/2026 07:43:31",
4
+ "message_guid": "00000000-0000-0000-0000-000000000000",
5
+ "read": true,
6
+ "favorite": false,
7
+ "category_id": 0,
8
+ "expire_on_dt": 1784879011491
9
+ },
10
+ {
11
+ "sent_date": "19/06/2026 14:46:52",
12
+ "message_guid": "00000000-0000-0000-0000-000000000000",
13
+ "read": true,
14
+ "favorite": false,
15
+ "category_id": 0,
16
+ "expire_on_dt": 1784472412391
17
+ }
18
+ ]
@@ -0,0 +1,20 @@
1
+ {
2
+ "eligible_games": [
3
+ {
4
+ "game_id": 2106041136,
5
+ "ext_game_id": "666",
6
+ "name": "Deadman's Luck",
7
+ "image": "https://cdn.example/d67393a1c13d95219e6d03-SlotLogowithSkulls.png",
8
+ "enabled": true,
9
+ "priority": 1
10
+ },
11
+ {
12
+ "game_id": 2106041137,
13
+ "ext_game_id": "667",
14
+ "name": "Vampire's Treasure",
15
+ "image": "https://cdn.example/eb63838100c4a1b4641d60-SlotLogoGothicCastleBats.png",
16
+ "enabled": true,
17
+ "priority": 2
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,28 @@
1
+ [
2
+ {
3
+ "winner": {
4
+ "is_me": false,
5
+ "public_username": "731:*****",
6
+ "winning_amount_jp_currency": 16.720332488,
7
+ "winning_amount_wallet_currency": 98.525768722,
8
+ "winning_position": 1,
9
+ "avatar_id": "183751796",
10
+ "avatar_real_id": null
11
+ },
12
+ "win_date_ts": 1782295329703,
13
+ "jp_pot_id": 306053
14
+ },
15
+ {
16
+ "winner": {
17
+ "is_me": false,
18
+ "public_username": "731:*****",
19
+ "winning_amount_jp_currency": 14.30613568,
20
+ "winning_amount_wallet_currency": 84.29993939,
21
+ "winning_position": 1,
22
+ "avatar_id": "183751682",
23
+ "avatar_real_id": null
24
+ },
25
+ "win_date_ts": 1782274146343,
26
+ "jp_pot_id": 306000
27
+ }
28
+ ]
@@ -0,0 +1,45 @@
1
+ {
2
+ "board_id": 143,
3
+ "name": "Daily Leaderboard",
4
+ "description": "This <b>Leaderboard</b> is showing the names and current scores of the leading competitors of the day.<br>\nYou can put any text here to describe this Leaderboard from Smartico backoffice. HTML is s…",
5
+ "rules": "Leaderboards are the simplest form of tournaments. Easy to set up in 5 minutes or less. Boards only calculate gamification point progress, and award points for prize places. The points can later be…",
6
+ "period_type_id": 1,
7
+ "version_id": 0,
8
+ "create_date": 0,
9
+ "rewards": [
10
+ {
11
+ "place": 1,
12
+ "points": 100
13
+ },
14
+ {
15
+ "place": 2,
16
+ "points": 75
17
+ }
18
+ ],
19
+ "users": [
20
+ {
21
+ "public_username": "Matt*****",
22
+ "avatar_url": "https://cdn.example/avatar/344499363",
23
+ "level_id": 700,
24
+ "position": 1,
25
+ "points": 2155,
26
+ "is_me": false
27
+ },
28
+ {
29
+ "public_username": "Sofy*****",
30
+ "avatar_url": "https://cdn.example/d58c99035fadf00dcfe638-Dragongenderless.webp",
31
+ "level_id": 699,
32
+ "position": 2,
33
+ "points": 935,
34
+ "is_me": false
35
+ }
36
+ ],
37
+ "me": {
38
+ "public_username": "Antonio",
39
+ "avatar_url": "https://cdn.example/avatars/12/00000000-0000-0000-0000-000000000000.png",
40
+ "level_id": 698,
41
+ "position": -1,
42
+ "points": 0,
43
+ "is_me": true
44
+ }
45
+ }
@@ -0,0 +1,40 @@
1
+ [
2
+ {
3
+ "id": 696,
4
+ "name": "Stone",
5
+ "description": "Your journey begins here! Step into the game and start climbing the ranks.",
6
+ "image": "https://cdn.example/1a4199871dc30acf09374a-1stone.png",
7
+ "required_points": 0,
8
+ "visibility_points": 0,
9
+ "required_level_counter_1": 0,
10
+ "required_level_counter_2": 0,
11
+ "custom_data": {
12
+ "reward": "100 Free Spins",
13
+ "image_inactive": "https://cdn.example/e917989495185e3fed695d-LevelLevel1Enabledfalse.png",
14
+ "image_active": "https://cdn.example/a961023ab3f6441ac19dfc-LevelLevel1Enabledtrue.png",
15
+ "rakeback": 0,
16
+ "has_vip_club": false,
17
+ "cashback": 0
18
+ },
19
+ "ordinal_position": 1
20
+ },
21
+ {
22
+ "id": 699,
23
+ "name": "Gold",
24
+ "description": "You’ve hit gold status! VIP perks and special bonuses await.",
25
+ "image": "https://cdn.example/23155a8ee9fe0c4784dcf2-4gold.png",
26
+ "required_points": 1000,
27
+ "visibility_points": 0,
28
+ "required_level_counter_1": null,
29
+ "required_level_counter_2": null,
30
+ "custom_data": {
31
+ "reward": "3000 EUR",
32
+ "image_inactive": "https://cdn.example/e917989495185e3fed695d-LevelLevel1Enabledfalse.png",
33
+ "image_active": "https://cdn.example/a961023ab3f6441ac19dfc-LevelLevel1Enabledtrue.png",
34
+ "rakeback": 4,
35
+ "has_vip_club": true,
36
+ "cashback": 4
37
+ },
38
+ "ordinal_position": 4
39
+ }
40
+ ]
@@ -0,0 +1,208 @@
1
+ [
2
+ {
3
+ "id": 656,
4
+ "name": "Scratch & Love",
5
+ "description": "This is demo description of mini game. <br/>\n <hr/>\n\n You can <b>use tags</b> like {{spins_available}}, to show number of spins that user can use in this game. <br/>\n …",
6
+ "thumbnail": "https://cdn.example/00000000-0000-0000-0000-000000000000/ico.png",
7
+ "visibile_when_can_spin": false,
8
+ "saw_game_type": "scratch",
9
+ "saw_buyin_type": "spins",
10
+ "jackpot_add_on_attempt": 1,
11
+ "jackpot_current": 1070,
12
+ "spin_count": 5,
13
+ "promo_image": "https://cdn.example/d3d65f1bc722a8c66a9493-PromoImagefromTinyPNG.png",
14
+ "promo_text": "The Scratch of Love is better than any other scratch!",
15
+ "custom_data": {},
16
+ "expose_game_stat_on_api": false,
17
+ "relative_period_timezone": 0,
18
+ "activeFromDate": -9223372036854776000,
19
+ "activeTillDate": 9223372036854776000,
20
+ "next_available_spin_ts": null,
21
+ "earliest_expiration_dt": 1952155860877,
22
+ "latest_expiration_dt": 1952155860877,
23
+ "custom_section_id": 491,
24
+ "saw_template_ui_definition": {
25
+ "scratch_bg_mobile": "",
26
+ "promo_text": "The Scratch of Love is better than any other scratch!",
27
+ "thumbnail": "",
28
+ "only_in_custom_section": false,
29
+ "scratch_logo": "",
30
+ "description": "This is demo description of mini game. <br/>\n <hr/>\n\n You can <b>use tags</b> like {{spins_available}}, to show number of spins that user can use in this game. <br/>\n …",
31
+ "background_image_mobile": "",
32
+ "custom_css": ".scratch-card-root-mobile .scratch-area .button-area div {\n background-image: linear-gradient(180deg,#BD0A42,50%,#BD0A42);\n}\n.scratch-card-root .scratch-area .button-area div {\n background-im…",
33
+ "hide_prize_names": false,
34
+ "scratch_bg_desktop": "",
35
+ "priority": 1,
36
+ "scratch_cover": "",
37
+ "background_image": "",
38
+ "sectors_count": 6,
39
+ "show_countdown_for_next_availability": false,
40
+ "promo_image": "https://cdn.example/d3d65f1bc722a8c66a9493-PromoImagefromTinyPNG.png",
41
+ "disable_background_music": true,
42
+ "scratch_cursor": "",
43
+ "background_sound": "",
44
+ "name": "Scratch & Love",
45
+ "spin_animation_duration": 15,
46
+ "flow_builder_only": false,
47
+ "custom_section_id": 491,
48
+ "background_music_volume": 10
49
+ },
50
+ "show_prize_history": true,
51
+ "max_number_of_attempts": 0,
52
+ "prizes": [
53
+ {
54
+ "id": 15589,
55
+ "name": "No luck this time =(",
56
+ "prize_type": "no-prize",
57
+ "prize_value": 1,
58
+ "font_size": null,
59
+ "position": 7,
60
+ "sectors": [
61
+ ""
62
+ ],
63
+ "acknowledge_type": "silent",
64
+ "acknowledge_dp": "dp:ok",
65
+ "acknowledge_action_title": "OK",
66
+ "pool": null,
67
+ "pool_initial": 100,
68
+ "wins_count": null,
69
+ "weekdays": null,
70
+ "active_from_ts": null,
71
+ "active_till_ts": null,
72
+ "relative_period_timezone": 0,
73
+ "is_surcharge": false,
74
+ "is_deleted": false,
75
+ "custom_data": {},
76
+ "max_give_period_type_id": 2
77
+ },
78
+ {
79
+ "id": 3301,
80
+ "name": "150 Points",
81
+ "prize_type": "points",
82
+ "prize_value": 150,
83
+ "font_size": null,
84
+ "icon": "https://cdn.example/cbc28c039c3b2b4f91034c-Storeitemcopy18.png",
85
+ "position": 5,
86
+ "sectors": [
87
+ ""
88
+ ],
89
+ "acknowledge_type": "silent",
90
+ "acknowledge_dp": "dp:ok",
91
+ "acknowledge_action_title": "OK",
92
+ "pool": null,
93
+ "pool_initial": 1000,
94
+ "wins_count": null,
95
+ "weekdays": null,
96
+ "active_from_ts": null,
97
+ "active_till_ts": null,
98
+ "relative_period_timezone": 0,
99
+ "is_surcharge": true,
100
+ "is_deleted": false,
101
+ "custom_data": {},
102
+ "max_give_period_type_id": 2
103
+ }
104
+ ]
105
+ },
106
+ {
107
+ "id": 651,
108
+ "name": "Wheel of Love",
109
+ "description": "This is demo description of mini game. <br/>\n <hr/>\n\n You can <b>use tags</b> like {{spins_available}}, to show number of spins that user can use in this game. <br/>\n …",
110
+ "thumbnail": "https://cdn.example/00000000-0000-0000-0000-000000000000/ico.png",
111
+ "visibile_when_can_spin": false,
112
+ "over_limit_message": "That's enough for today, please come back tomorrow",
113
+ "no_attempts_message": "You don't have any more attempts on this minigame",
114
+ "jackpot_symbol": "hugs",
115
+ "saw_game_type": "wheel",
116
+ "saw_buyin_type": "free",
117
+ "jackpot_add_on_attempt": 1,
118
+ "jackpot_current": 5180,
119
+ "spin_count": 1,
120
+ "promo_image": "https://cdn.example/31c0db8a8d3e9888ba009a-promo-image.png",
121
+ "custom_data": {},
122
+ "expose_game_stat_on_api": false,
123
+ "relative_period_timezone": 0,
124
+ "activeFromDate": -9223372036854776000,
125
+ "activeTillDate": 9223372036854776000,
126
+ "next_available_spin_ts": null,
127
+ "saw_template_ui_definition": {
128
+ "thumbnail": "",
129
+ "jackpot_symbol": "hugs",
130
+ "over_limit_message": "That's enough for today, please come back tomorrow",
131
+ "description": "This is demo description of mini game. <br/>\n <hr/>\n\n You can <b>use tags</b> like {{spins_available}}, to show number of spins that user can use in this game. <br/>\n …",
132
+ "background_image_mobile": "",
133
+ "custom_css": "/* text of the prize on sector */\n.saw-view .wheel-sector-name .sector-text {\n\n}\n\n/* the name of the game shown under the wheel */\n.saw-info-name {\n \n}\n\n/* style of the \"?\" mark opening descripti…",
134
+ "priority": 1,
135
+ "background_image": "",
136
+ "wheel_layout": 1,
137
+ "sectors_count": 7,
138
+ "show_countdown_for_next_availability": true,
139
+ "promo_image": "https://cdn.example/31c0db8a8d3e9888ba009a-promo-image.png",
140
+ "disable_background_music": false,
141
+ "background_sound": "",
142
+ "name": "Wheel of Love",
143
+ "max_spins_period_ms": 60000,
144
+ "spin_animation_duration": 10,
145
+ "flow_builder_only": false,
146
+ "wheel_pointer_rotation": 0,
147
+ "background_music_volume": 10,
148
+ "no_attempts_message": "You don't have any more attempts on this minigame"
149
+ },
150
+ "show_prize_history": true,
151
+ "max_number_of_attempts": 1,
152
+ "prizes": [
153
+ {
154
+ "id": 3272,
155
+ "name": "Try again!",
156
+ "prize_type": "no-prize",
157
+ "prize_value": 1,
158
+ "font_size": 20,
159
+ "icon": "",
160
+ "sectors": [
161
+ 1
162
+ ],
163
+ "acknowledge_type": "silent",
164
+ "acknowledge_dp": "dp:ok",
165
+ "acknowledge_action_title": "OK",
166
+ "pool": null,
167
+ "pool_initial": 500,
168
+ "wins_count": null,
169
+ "weekdays": null,
170
+ "active_from_ts": null,
171
+ "active_till_ts": null,
172
+ "relative_period_timezone": 0,
173
+ "is_surcharge": true,
174
+ "is_deleted": false,
175
+ "custom_data": {},
176
+ "max_give_period_type_id": 2
177
+ },
178
+ {
179
+ "id": 3273,
180
+ "name": "25 Points",
181
+ "prize_type": "points",
182
+ "prize_value": 25,
183
+ "font_size": 20,
184
+ "icon": "",
185
+ "sectors": [
186
+ 2
187
+ ],
188
+ "acknowledge_type": "explicity-acknowledge",
189
+ "aknowledge_message": "You've won 25 gamification points! You may spend them in the store to purchase a bonus, a minigame, or a tangible prize!",
190
+ "acknowledge_dp": "dp:ok",
191
+ "acknowledge_action_title": "Claim the prize",
192
+ "acknowledge_dp_additional": "dp:ok",
193
+ "acknowledge_action_title_additional": "Cancel",
194
+ "pool": null,
195
+ "pool_initial": 1000,
196
+ "wins_count": null,
197
+ "weekdays": null,
198
+ "active_from_ts": null,
199
+ "active_till_ts": null,
200
+ "relative_period_timezone": 0,
201
+ "is_surcharge": false,
202
+ "is_deleted": false,
203
+ "custom_data": {},
204
+ "max_give_period_type_id": 2
205
+ }
206
+ ]
207
+ }
208
+ ]