@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.
Files changed (133) hide show
  1. package/README.md +14 -0
  2. package/dist/ActivityLog/ActivityLogActivities.d.ts +1 -1
  3. package/dist/ActivityLog/ActivityLogEntry.d.ts +35 -17
  4. package/dist/ActivityLog/ActivityLogMeta.d.ts +31 -0
  5. package/dist/ActivityLog/GetActivityLogRequest.d.ts +2 -0
  6. package/dist/ActivityLog/GetActivityLogResponse.d.ts +1 -2
  7. package/dist/Jackpots/JackPotWinPushWinner.d.ts +34 -0
  8. package/dist/Jackpots/JackPotWinner.d.ts +3 -1
  9. package/dist/Jackpots/JackpotContributionRule.d.ts +23 -0
  10. package/dist/Jackpots/JackpotDetails.d.ts +8 -0
  11. package/dist/Jackpots/JackpotPot.d.ts +4 -2
  12. package/dist/Jackpots/JackpotPublicMeta.d.ts +6 -2
  13. package/dist/Jackpots/JackpotWinPush.d.ts +14 -2
  14. package/dist/Jackpots/index.d.ts +2 -0
  15. package/dist/SmarticoAPI.d.ts +1 -3
  16. package/dist/WSAPI/WSAPIBase.d.ts +0 -1
  17. package/dist/WSAPI/WSAPIJackpots.d.ts +2 -0
  18. package/dist/WSAPI/WSAPITypes.d.ts +19 -17
  19. package/dist/WSAPI/WSAPIUser.d.ts +11 -36
  20. package/dist/index.js +36 -128
  21. package/dist/index.js.map +1 -1
  22. package/dist/index.modern.mjs +34 -100
  23. package/dist/index.modern.mjs.map +1 -1
  24. package/docs/Callbacks.md +1 -1
  25. package/docs/api/README.md +4 -4
  26. package/docs/api/classes/WSAPIJackpots.md +2 -0
  27. package/docs/api/classes/WSAPIUser.md +30 -59
  28. package/docs/api/documents/Callbacks.md +1 -1
  29. package/docs/api/enumerations/ActivityLogActivities.md +1 -1
  30. package/docs/api/enumerations/PointChangeSourceType.md +6 -0
  31. package/docs/api/interfaces/ActivityLogEntry.md +124 -0
  32. package/docs/api/interfaces/ActivityLogMeta.md +100 -0
  33. package/docs/api/interfaces/JackPotWinPushWinner.md +103 -0
  34. package/docs/api/interfaces/JackPotWinner.md +9 -1
  35. package/docs/api/interfaces/JackpotContributionRule.md +49 -0
  36. package/docs/api/interfaces/JackpotDetails.md +24 -0
  37. package/docs/api/interfaces/JackpotPot.md +9 -1
  38. package/docs/api/interfaces/JackpotPublicMeta.md +12 -2
  39. package/docs/api/interfaces/JackpotWinPush.md +14 -1
  40. package/docs/api/interfaces/TActivityLog.md +70 -2
  41. package/docs/api/type-aliases/TActivityLogEntry.md +7 -0
  42. package/docs/capabilities/_responses/gamePickGetActiveRound.json +37 -37
  43. package/docs/capabilities/_responses/gamePickGetActiveRounds.json +37 -131
  44. package/docs/capabilities/_responses/gamePickGetBoard.json +25 -14
  45. package/docs/capabilities/_responses/gamePickGetGameInfo.json +93 -79
  46. package/docs/capabilities/_responses/gamePickGetHistory.json +37 -131
  47. package/docs/capabilities/_responses/gamePickGetUserInfo.json +5 -5
  48. package/docs/capabilities/_responses/getActivityLog.json +106 -1
  49. package/docs/capabilities/_responses/getAvatarsCustomized.json +4 -4
  50. package/docs/capabilities/_responses/getAvatarsList.json +2 -2
  51. package/docs/capabilities/_responses/getBadges.json +27 -29
  52. package/docs/capabilities/_responses/getBonuses.json +1 -18
  53. package/docs/capabilities/_responses/getClanInfo.json +13 -13
  54. package/docs/capabilities/_responses/getClans.json +6 -6
  55. package/docs/capabilities/_responses/getCurrentLevel.json +12 -12
  56. package/docs/capabilities/_responses/getInboxMessageBody.json +2 -2
  57. package/docs/capabilities/_responses/getInboxMessages.json +6 -6
  58. package/docs/capabilities/_responses/getInboxUnreadCount.json +1 -1
  59. package/docs/capabilities/_responses/getJackpotWinners.json +14 -14
  60. package/docs/capabilities/_responses/getLeaderBoard.json +8 -8
  61. package/docs/capabilities/_responses/getMiniGames.json +92 -90
  62. package/docs/capabilities/_responses/getMiniGamesHistory.json +874 -1
  63. package/docs/capabilities/_responses/getMissions.json +2 -2
  64. package/docs/capabilities/_responses/getRaffleDrawRun.json +7 -7
  65. package/docs/capabilities/_responses/getRaffleDrawRunsHistory.json +6 -6
  66. package/docs/capabilities/_responses/getRaffles.json +14 -14
  67. package/docs/capabilities/_responses/getStorePurchasedItems.json +5 -5
  68. package/docs/capabilities/_responses/getTournamentInstanceInfo.json +100 -53
  69. package/docs/capabilities/_responses/getTournamentsList.json +12 -12
  70. package/docs/capabilities/_responses/getTranslations.json +1 -1
  71. package/docs/capabilities/_responses/getUserProfile.json +10 -10
  72. package/docs/capabilities/_responses/jackpotGet.json +33 -34
  73. package/docs/capabilities/gamePickGetActiveRound.md +22 -23
  74. package/docs/capabilities/gamePickGetActiveRounds.md +22 -23
  75. package/docs/capabilities/gamePickGetBoard.md +14 -14
  76. package/docs/capabilities/gamePickGetGameInfo.md +24 -44
  77. package/docs/capabilities/gamePickGetHistory.md +22 -23
  78. package/docs/capabilities/gamePickGetUserInfo.md +5 -5
  79. package/docs/capabilities/getActivityLog.md +69 -9
  80. package/docs/capabilities/getAvatarsCustomized.md +3 -3
  81. package/docs/capabilities/getBadges.md +13 -14
  82. package/docs/capabilities/getBonuses.md +2 -17
  83. package/docs/capabilities/getClanInfo.md +8 -8
  84. package/docs/capabilities/getClans.md +4 -4
  85. package/docs/capabilities/getCurrentLevel.md +12 -12
  86. package/docs/capabilities/getInboxMessageBody.md +2 -2
  87. package/docs/capabilities/getInboxMessages.md +3 -3
  88. package/docs/capabilities/getInboxUnreadCount.md +6 -0
  89. package/docs/capabilities/getJackpotWinners.md +9 -8
  90. package/docs/capabilities/getLeaderBoard.md +5 -5
  91. package/docs/capabilities/getMiniGames.md +35 -37
  92. package/docs/capabilities/getMiniGamesHistory.md +83 -2
  93. package/docs/capabilities/getMissions.md +1 -1
  94. package/docs/capabilities/getRaffleDrawRun.md +7 -7
  95. package/docs/capabilities/getRaffleDrawRunsHistory.md +3 -3
  96. package/docs/capabilities/getRaffles.md +8 -8
  97. package/docs/capabilities/getStorePurchasedItems.md +2 -2
  98. package/docs/capabilities/getTournamentInstanceInfo.md +45 -37
  99. package/docs/capabilities/getTournamentsList.md +6 -6
  100. package/docs/capabilities/getTranslations.md +1 -1
  101. package/docs/capabilities/getUserProfile.md +10 -10
  102. package/docs/capabilities/jackpotGet.md +56 -28
  103. package/docs/capabilities/jackpotOptIn.md +2 -0
  104. package/docs/capabilities/smarticoCallbacks.md +1 -1
  105. package/docs/native/PROTOCOL.md +141 -18
  106. package/docs/ui/jackpots/UIGuide_jackpotGet.md +1 -1
  107. package/docs/ui/user/UIGuide_getActivityLog.md +4 -2
  108. package/package.json +4 -3
  109. package/scripts/capture-responses-browser.mjs +8 -1
  110. package/src/ActivityLog/ActivityLogActivities.ts +1 -1
  111. package/src/ActivityLog/ActivityLogEntry.ts +33 -21
  112. package/src/ActivityLog/ActivityLogMeta.ts +31 -0
  113. package/src/ActivityLog/GetActivityLogRequest.ts +2 -0
  114. package/src/ActivityLog/GetActivityLogResponse.ts +23 -49
  115. package/src/Jackpots/JackPotWinPushWinner.ts +35 -0
  116. package/src/Jackpots/JackPotWinner.ts +3 -1
  117. package/src/Jackpots/JackpotContributionRule.ts +25 -0
  118. package/src/Jackpots/JackpotDetails.ts +8 -0
  119. package/src/Jackpots/JackpotPot.ts +4 -2
  120. package/src/Jackpots/JackpotPublicMeta.ts +6 -2
  121. package/src/Jackpots/JackpotWinPush.ts +14 -2
  122. package/src/Jackpots/index.ts +2 -0
  123. package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
  124. package/src/SmarticoAPI.ts +1 -44
  125. package/src/WSAPI/WSAPIBase.ts +0 -1
  126. package/src/WSAPI/WSAPIJackpots.ts +2 -0
  127. package/src/WSAPI/WSAPITypes.ts +20 -18
  128. package/src/WSAPI/WSAPIUser.ts +10 -53
  129. package/docs/api/interfaces/GemsDiamondsLog.md +0 -45
  130. package/docs/api/interfaces/PointsLog.md +0 -45
  131. package/docs/api/interfaces/TActivityLogEntry.md +0 -100
  132. package/docs/api/type-aliases/ActivityLogEntry.md +0 -3
  133. package/docs/capabilities/getActivityLogV2.md +0 -62
@@ -1 +1,874 @@
1
- []
1
+ [
2
+ {
3
+ "template": {
4
+ "saw_template_id": 12658,
5
+ "saw_game_type_id": 13,
6
+ "saw_template_ui_definition": {
7
+ "show_countdown_for_next_availability": false,
8
+ "promo_text": "Guess the shell, grab your iPhone",
9
+ "promo_image": "https://cdn.example/00000000-0000-0000-0000-000000000000/entity-image-1783600519171-1.png",
10
+ "custom_game_url": "https://00000000-0000-0000-0000-000000000000.ld-int.dev/index.html",
11
+ "name": "Pinyata",
12
+ "description": "Remember that shell with the prize, follow it, and open the right cap to grab it",
13
+ "flow_builder_only": false,
14
+ "priority": 1
15
+ },
16
+ "saw_buyin_type_id": 1,
17
+ "buyin_cost_points": 0,
18
+ "visibile_when_can_spin": false,
19
+ "spin_count": null,
20
+ "prizesMap": {
21
+ "75903": {
22
+ "saw_prize_id": 75903,
23
+ "saw_template_id": 12658,
24
+ "saw_prize_ui_definition": {
25
+ "aknowledge_message_lose": "Lost",
26
+ "sectors": [
27
+ ""
28
+ ],
29
+ "name": "100 Points",
30
+ "second_btn": "",
31
+ "acknowledge_dp": "dp:ok",
32
+ "sound_type": 2,
33
+ "aknowledge_message": "Congratulations!!",
34
+ "acknowledge_action_title": "OK",
35
+ "acknowledge_type": 3,
36
+ "second_btn_action_title": ""
37
+ },
38
+ "prize_value": 100,
39
+ "prize_type_id": 2,
40
+ "pool": 99,
41
+ "wins_count": 6,
42
+ "pool_initial": 100,
43
+ "prize_ref_id": 0,
44
+ "is_surcharge": true,
45
+ "prize_details_json": null,
46
+ "affects_points_progress": true,
47
+ "affects_leaderboard_progress": true,
48
+ "affects_level_progress": true,
49
+ "affects_current_balance_progress": true,
50
+ "place_from": null,
51
+ "place_to": null,
52
+ "weekdays": null,
53
+ "active_from": null,
54
+ "active_till": null,
55
+ "active_from_ts": null,
56
+ "active_till_ts": null,
57
+ "is_deleted": false,
58
+ "relative_period_timezone": 0,
59
+ "show_prize_history": true,
60
+ "needed_tag_replacement": false,
61
+ "win_segment_id": null,
62
+ "win_conditions": "[]",
63
+ "max_give_period_type_id": 2
64
+ },
65
+ "75904": {
66
+ "saw_prize_id": 75904,
67
+ "saw_template_id": 12658,
68
+ "saw_prize_ui_definition": {
69
+ "aknowledge_message_lose": "Lost",
70
+ "sectors": [
71
+ ""
72
+ ],
73
+ "name": "5 gems",
74
+ "second_btn": "",
75
+ "acknowledge_dp": "dp:ok",
76
+ "sound_type": 2,
77
+ "aknowledge_message": "Congratulations!!",
78
+ "acknowledge_action_title": "OK",
79
+ "acknowledge_type": 3,
80
+ "second_btn_action_title": ""
81
+ },
82
+ "prize_value": 1,
83
+ "prize_type_id": 10,
84
+ "pool": 99,
85
+ "wins_count": 3,
86
+ "pool_initial": 100,
87
+ "prize_ref_id": 0,
88
+ "is_surcharge": false,
89
+ "prize_details_json": {
90
+ "gems": 5,
91
+ "amount_type": 0,
92
+ "_gems_diamonds_type": 0
93
+ },
94
+ "affects_points_progress": true,
95
+ "affects_leaderboard_progress": true,
96
+ "affects_level_progress": true,
97
+ "affects_current_balance_progress": true,
98
+ "place_from": null,
99
+ "place_to": null,
100
+ "weekdays": null,
101
+ "active_from": null,
102
+ "active_till": null,
103
+ "active_from_ts": null,
104
+ "active_till_ts": null,
105
+ "is_deleted": false,
106
+ "relative_period_timezone": 0,
107
+ "show_prize_history": true,
108
+ "needed_tag_replacement": false,
109
+ "win_segment_id": null,
110
+ "win_conditions": "[]",
111
+ "max_give_period_type_id": 2
112
+ },
113
+ "75905": {
114
+ "saw_prize_id": 75905,
115
+ "saw_template_id": 12658,
116
+ "saw_prize_ui_definition": {
117
+ "aknowledge_message_lose": "Lost",
118
+ "sectors": [
119
+ ""
120
+ ],
121
+ "name": "3 diamonds",
122
+ "second_btn": "",
123
+ "acknowledge_dp": "dp:ok",
124
+ "sound_type": 2,
125
+ "aknowledge_message": "You won 3 diamonds!!!",
126
+ "acknowledge_action_title": "OK",
127
+ "acknowledge_type": 3,
128
+ "second_btn_action_title": ""
129
+ },
130
+ "prize_value": 1,
131
+ "prize_type_id": 10,
132
+ "pool": 98,
133
+ "wins_count": 7,
134
+ "pool_initial": 100,
135
+ "prize_ref_id": 0,
136
+ "is_surcharge": false,
137
+ "prize_details_json": {
138
+ "diamonds": 3,
139
+ "amount_type": 0,
140
+ "_gems_diamonds_type": 1
141
+ },
142
+ "affects_points_progress": true,
143
+ "affects_leaderboard_progress": true,
144
+ "affects_level_progress": true,
145
+ "affects_current_balance_progress": true,
146
+ "place_from": null,
147
+ "place_to": null,
148
+ "weekdays": null,
149
+ "active_from": null,
150
+ "active_till": null,
151
+ "active_from_ts": null,
152
+ "active_till_ts": null,
153
+ "is_deleted": false,
154
+ "relative_period_timezone": 0,
155
+ "show_prize_history": true,
156
+ "needed_tag_replacement": false,
157
+ "win_segment_id": null,
158
+ "win_conditions": "[]",
159
+ "max_give_period_type_id": 2
160
+ },
161
+ "75906": {
162
+ "saw_prize_id": 75906,
163
+ "saw_template_id": 12658,
164
+ "saw_prize_ui_definition": {
165
+ "aknowledge_message_lose": "Lost",
166
+ "sectors": [
167
+ ""
168
+ ],
169
+ "name": "100 Tickets in the Raffle 3.0",
170
+ "second_btn": "",
171
+ "acknowledge_dp": "dp:ok",
172
+ "sound_type": 2,
173
+ "aknowledge_message": "Congratulations!!",
174
+ "acknowledge_action_title": "OK",
175
+ "acknowledge_type": 3,
176
+ "second_btn_action_title": ""
177
+ },
178
+ "prize_value": 1,
179
+ "prize_type_id": 9,
180
+ "pool": 98,
181
+ "wins_count": 8,
182
+ "pool_initial": 100,
183
+ "prize_ref_id": 0,
184
+ "is_surcharge": false,
185
+ "prize_details_json": {
186
+ "raffle_id": 158,
187
+ "tickets_count": 100
188
+ },
189
+ "affects_points_progress": true,
190
+ "affects_leaderboard_progress": true,
191
+ "affects_level_progress": true,
192
+ "affects_current_balance_progress": true,
193
+ "place_from": null,
194
+ "place_to": null,
195
+ "weekdays": null,
196
+ "active_from": null,
197
+ "active_till": null,
198
+ "active_from_ts": null,
199
+ "active_till_ts": null,
200
+ "is_deleted": false,
201
+ "relative_period_timezone": 0,
202
+ "show_prize_history": true,
203
+ "needed_tag_replacement": false,
204
+ "win_segment_id": null,
205
+ "win_conditions": "[]",
206
+ "max_give_period_type_id": 2
207
+ },
208
+ "75907": {
209
+ "saw_prize_id": 75907,
210
+ "saw_template_id": 12658,
211
+ "saw_prize_ui_definition": {
212
+ "aknowledge_message_lose": "Lost",
213
+ "sectors": [
214
+ ""
215
+ ],
216
+ "name": "Rare Witch Avatar",
217
+ "second_btn": "",
218
+ "acknowledge_dp": "dp:ok",
219
+ "sound_type": 2,
220
+ "aknowledge_message": "Congratulations!!",
221
+ "acknowledge_action_title": "OK",
222
+ "acknowledge_type": 3,
223
+ "second_btn_action_title": ""
224
+ },
225
+ "prize_value": 1,
226
+ "prize_type_id": 11,
227
+ "pool": 99,
228
+ "wins_count": 5,
229
+ "pool_initial": 100,
230
+ "prize_ref_id": 0,
231
+ "is_surcharge": false,
232
+ "prize_details_json": {
233
+ "avatar_real_id": 20
234
+ },
235
+ "affects_points_progress": true,
236
+ "affects_leaderboard_progress": true,
237
+ "affects_level_progress": true,
238
+ "affects_current_balance_progress": true,
239
+ "place_from": null,
240
+ "place_to": null,
241
+ "weekdays": null,
242
+ "active_from": null,
243
+ "active_till": null,
244
+ "active_from_ts": null,
245
+ "active_till_ts": null,
246
+ "is_deleted": false,
247
+ "relative_period_timezone": 0,
248
+ "show_prize_history": true,
249
+ "needed_tag_replacement": false,
250
+ "win_segment_id": null,
251
+ "win_conditions": "[]",
252
+ "max_give_period_type_id": 2
253
+ },
254
+ "75908": {
255
+ "saw_prize_id": 75908,
256
+ "saw_template_id": 12658,
257
+ "saw_prize_ui_definition": {
258
+ "aknowledge_message_lose": "Lost",
259
+ "sectors": [
260
+ ""
261
+ ],
262
+ "name": "iPhone",
263
+ "second_btn": "",
264
+ "acknowledge_dp": "dp:ok",
265
+ "sound_type": 2,
266
+ "aknowledge_message": "You got an iPhone",
267
+ "acknowledge_action_title": "OK",
268
+ "acknowledge_type": 3,
269
+ "second_btn_action_title": ""
270
+ },
271
+ "prize_value": null,
272
+ "prize_type_id": 4,
273
+ "pool": 3,
274
+ "wins_count": 0,
275
+ "pool_initial": 3,
276
+ "prize_ref_id": 0,
277
+ "is_surcharge": false,
278
+ "prize_details_json": null,
279
+ "affects_points_progress": true,
280
+ "affects_leaderboard_progress": false,
281
+ "affects_level_progress": false,
282
+ "affects_current_balance_progress": false,
283
+ "place_from": null,
284
+ "place_to": null,
285
+ "weekdays": null,
286
+ "active_from": null,
287
+ "active_till": null,
288
+ "active_from_ts": null,
289
+ "active_till_ts": null,
290
+ "is_deleted": false,
291
+ "relative_period_timezone": 0,
292
+ "show_prize_history": true,
293
+ "needed_tag_replacement": false,
294
+ "win_segment_id": null,
295
+ "win_conditions": "[]",
296
+ "max_give_period_type_id": 2
297
+ }
298
+ },
299
+ "prizes": [
300
+ {
301
+ "saw_prize_id": 75905,
302
+ "saw_template_id": 12658,
303
+ "saw_prize_ui_definition": {
304
+ "aknowledge_message_lose": "Lost",
305
+ "sectors": [
306
+ ""
307
+ ],
308
+ "name": "3 diamonds",
309
+ "second_btn": "",
310
+ "acknowledge_dp": "dp:ok",
311
+ "sound_type": 2,
312
+ "aknowledge_message": "You won 3 diamonds!!!",
313
+ "acknowledge_action_title": "OK",
314
+ "acknowledge_type": 3,
315
+ "second_btn_action_title": ""
316
+ },
317
+ "prize_value": 1,
318
+ "prize_type_id": 10,
319
+ "pool": 98,
320
+ "wins_count": 7,
321
+ "pool_initial": 100,
322
+ "prize_ref_id": 0,
323
+ "is_surcharge": false,
324
+ "prize_details_json": {
325
+ "diamonds": 3,
326
+ "amount_type": 0,
327
+ "_gems_diamonds_type": 1
328
+ },
329
+ "affects_points_progress": true,
330
+ "affects_leaderboard_progress": true,
331
+ "affects_level_progress": true,
332
+ "affects_current_balance_progress": true,
333
+ "place_from": null,
334
+ "place_to": null,
335
+ "weekdays": null,
336
+ "active_from": null,
337
+ "active_till": null,
338
+ "active_from_ts": null,
339
+ "active_till_ts": null,
340
+ "is_deleted": false,
341
+ "relative_period_timezone": 0,
342
+ "show_prize_history": true,
343
+ "needed_tag_replacement": false,
344
+ "win_segment_id": null,
345
+ "win_conditions": "[]",
346
+ "max_give_period_type_id": 2
347
+ },
348
+ {
349
+ "saw_prize_id": 75904,
350
+ "saw_template_id": 12658,
351
+ "saw_prize_ui_definition": {
352
+ "aknowledge_message_lose": "Lost",
353
+ "sectors": [
354
+ ""
355
+ ],
356
+ "name": "5 gems",
357
+ "second_btn": "",
358
+ "acknowledge_dp": "dp:ok",
359
+ "sound_type": 2,
360
+ "aknowledge_message": "Congratulations!!",
361
+ "acknowledge_action_title": "OK",
362
+ "acknowledge_type": 3,
363
+ "second_btn_action_title": ""
364
+ },
365
+ "prize_value": 1,
366
+ "prize_type_id": 10,
367
+ "pool": 99,
368
+ "wins_count": 3,
369
+ "pool_initial": 100,
370
+ "prize_ref_id": 0,
371
+ "is_surcharge": false,
372
+ "prize_details_json": {
373
+ "gems": 5,
374
+ "amount_type": 0,
375
+ "_gems_diamonds_type": 0
376
+ },
377
+ "affects_points_progress": true,
378
+ "affects_leaderboard_progress": true,
379
+ "affects_level_progress": true,
380
+ "affects_current_balance_progress": true,
381
+ "place_from": null,
382
+ "place_to": null,
383
+ "weekdays": null,
384
+ "active_from": null,
385
+ "active_till": null,
386
+ "active_from_ts": null,
387
+ "active_till_ts": null,
388
+ "is_deleted": false,
389
+ "relative_period_timezone": 0,
390
+ "show_prize_history": true,
391
+ "needed_tag_replacement": false,
392
+ "win_segment_id": null,
393
+ "win_conditions": "[]",
394
+ "max_give_period_type_id": 2
395
+ }
396
+ ],
397
+ "segment_id": 44162,
398
+ "label_id": 16018,
399
+ "maxActiveSpinsAllowed": null,
400
+ "maxSpinsCount": 0,
401
+ "maxSpinsPeriodMs": 0,
402
+ "sawStatusId": 2,
403
+ "needsTagReplacement": false,
404
+ "containsConditionalPrize": true,
405
+ "jackpot_guaranteed": null,
406
+ "jackpot_add_on_attempt": null,
407
+ "jackpot_current": null,
408
+ "saw_skin_key": null,
409
+ "saw_skin_ui_definition": null,
410
+ "maxSpinPeriodTypeId": 4,
411
+ "expireSpinsMs": 0,
412
+ "next_available_spin_ts": null,
413
+ "saw_expire_spin_type": null,
414
+ "saw_expire_spin_config": null,
415
+ "isVisitorMode": false,
416
+ "activeFromDate": -9223372036854776000,
417
+ "activeTillDate": 9223372036854776000,
418
+ "requires_prize_claim": false,
419
+ "requires_manual_claim": false,
420
+ "expose_game_stat_on_api": true,
421
+ "relative_period_timezone": 0,
422
+ "templateName": "Pinyata",
423
+ "show_prize_history": true,
424
+ "visibility_conditions": "[]",
425
+ "active_start_time": null,
426
+ "active_end_time": null,
427
+ "earliest_expiration_dt": null,
428
+ "latest_expiration_dt": null
429
+ },
430
+ "saw_template_id": 12658,
431
+ "saw_prize_id": 75907,
432
+ "prize_amount": 1,
433
+ "client_request_id": "00000000-0000-0000-0000-000000000000",
434
+ "is_claimed": true,
435
+ "create_date_ts": 1785917360000,
436
+ "acknowledge_date_ts": 1785917360000
437
+ },
438
+ {
439
+ "template": {
440
+ "saw_template_id": 12658,
441
+ "saw_game_type_id": 13,
442
+ "saw_template_ui_definition": {
443
+ "show_countdown_for_next_availability": false,
444
+ "promo_text": "Guess the shell, grab your iPhone",
445
+ "promo_image": "https://cdn.example/00000000-0000-0000-0000-000000000000/entity-image-1783600519171-1.png",
446
+ "custom_game_url": "https://00000000-0000-0000-0000-000000000000.ld-int.dev/index.html",
447
+ "name": "Pinyata",
448
+ "description": "Remember that shell with the prize, follow it, and open the right cap to grab it",
449
+ "flow_builder_only": false,
450
+ "priority": 1
451
+ },
452
+ "saw_buyin_type_id": 1,
453
+ "buyin_cost_points": 0,
454
+ "visibile_when_can_spin": false,
455
+ "spin_count": null,
456
+ "prizesMap": {
457
+ "75903": {
458
+ "saw_prize_id": 75903,
459
+ "saw_template_id": 12658,
460
+ "saw_prize_ui_definition": {
461
+ "aknowledge_message_lose": "Lost",
462
+ "sectors": [
463
+ ""
464
+ ],
465
+ "name": "100 Points",
466
+ "second_btn": "",
467
+ "acknowledge_dp": "dp:ok",
468
+ "sound_type": 2,
469
+ "aknowledge_message": "Congratulations!!",
470
+ "acknowledge_action_title": "OK",
471
+ "acknowledge_type": 3,
472
+ "second_btn_action_title": ""
473
+ },
474
+ "prize_value": 100,
475
+ "prize_type_id": 2,
476
+ "pool": 99,
477
+ "wins_count": 6,
478
+ "pool_initial": 100,
479
+ "prize_ref_id": 0,
480
+ "is_surcharge": true,
481
+ "prize_details_json": null,
482
+ "affects_points_progress": true,
483
+ "affects_leaderboard_progress": true,
484
+ "affects_level_progress": true,
485
+ "affects_current_balance_progress": true,
486
+ "place_from": null,
487
+ "place_to": null,
488
+ "weekdays": null,
489
+ "active_from": null,
490
+ "active_till": null,
491
+ "active_from_ts": null,
492
+ "active_till_ts": null,
493
+ "is_deleted": false,
494
+ "relative_period_timezone": 0,
495
+ "show_prize_history": true,
496
+ "needed_tag_replacement": false,
497
+ "win_segment_id": null,
498
+ "win_conditions": "[]",
499
+ "max_give_period_type_id": 2
500
+ },
501
+ "75904": {
502
+ "saw_prize_id": 75904,
503
+ "saw_template_id": 12658,
504
+ "saw_prize_ui_definition": {
505
+ "aknowledge_message_lose": "Lost",
506
+ "sectors": [
507
+ ""
508
+ ],
509
+ "name": "5 gems",
510
+ "second_btn": "",
511
+ "acknowledge_dp": "dp:ok",
512
+ "sound_type": 2,
513
+ "aknowledge_message": "Congratulations!!",
514
+ "acknowledge_action_title": "OK",
515
+ "acknowledge_type": 3,
516
+ "second_btn_action_title": ""
517
+ },
518
+ "prize_value": 1,
519
+ "prize_type_id": 10,
520
+ "pool": 99,
521
+ "wins_count": 3,
522
+ "pool_initial": 100,
523
+ "prize_ref_id": 0,
524
+ "is_surcharge": false,
525
+ "prize_details_json": {
526
+ "gems": 5,
527
+ "amount_type": 0,
528
+ "_gems_diamonds_type": 0
529
+ },
530
+ "affects_points_progress": true,
531
+ "affects_leaderboard_progress": true,
532
+ "affects_level_progress": true,
533
+ "affects_current_balance_progress": true,
534
+ "place_from": null,
535
+ "place_to": null,
536
+ "weekdays": null,
537
+ "active_from": null,
538
+ "active_till": null,
539
+ "active_from_ts": null,
540
+ "active_till_ts": null,
541
+ "is_deleted": false,
542
+ "relative_period_timezone": 0,
543
+ "show_prize_history": true,
544
+ "needed_tag_replacement": false,
545
+ "win_segment_id": null,
546
+ "win_conditions": "[]",
547
+ "max_give_period_type_id": 2
548
+ },
549
+ "75905": {
550
+ "saw_prize_id": 75905,
551
+ "saw_template_id": 12658,
552
+ "saw_prize_ui_definition": {
553
+ "aknowledge_message_lose": "Lost",
554
+ "sectors": [
555
+ ""
556
+ ],
557
+ "name": "3 diamonds",
558
+ "second_btn": "",
559
+ "acknowledge_dp": "dp:ok",
560
+ "sound_type": 2,
561
+ "aknowledge_message": "You won 3 diamonds!!!",
562
+ "acknowledge_action_title": "OK",
563
+ "acknowledge_type": 3,
564
+ "second_btn_action_title": ""
565
+ },
566
+ "prize_value": 1,
567
+ "prize_type_id": 10,
568
+ "pool": 98,
569
+ "wins_count": 7,
570
+ "pool_initial": 100,
571
+ "prize_ref_id": 0,
572
+ "is_surcharge": false,
573
+ "prize_details_json": {
574
+ "diamonds": 3,
575
+ "amount_type": 0,
576
+ "_gems_diamonds_type": 1
577
+ },
578
+ "affects_points_progress": true,
579
+ "affects_leaderboard_progress": true,
580
+ "affects_level_progress": true,
581
+ "affects_current_balance_progress": true,
582
+ "place_from": null,
583
+ "place_to": null,
584
+ "weekdays": null,
585
+ "active_from": null,
586
+ "active_till": null,
587
+ "active_from_ts": null,
588
+ "active_till_ts": null,
589
+ "is_deleted": false,
590
+ "relative_period_timezone": 0,
591
+ "show_prize_history": true,
592
+ "needed_tag_replacement": false,
593
+ "win_segment_id": null,
594
+ "win_conditions": "[]",
595
+ "max_give_period_type_id": 2
596
+ },
597
+ "75906": {
598
+ "saw_prize_id": 75906,
599
+ "saw_template_id": 12658,
600
+ "saw_prize_ui_definition": {
601
+ "aknowledge_message_lose": "Lost",
602
+ "sectors": [
603
+ ""
604
+ ],
605
+ "name": "100 Tickets in the Raffle 3.0",
606
+ "second_btn": "",
607
+ "acknowledge_dp": "dp:ok",
608
+ "sound_type": 2,
609
+ "aknowledge_message": "Congratulations!!",
610
+ "acknowledge_action_title": "OK",
611
+ "acknowledge_type": 3,
612
+ "second_btn_action_title": ""
613
+ },
614
+ "prize_value": 1,
615
+ "prize_type_id": 9,
616
+ "pool": 98,
617
+ "wins_count": 8,
618
+ "pool_initial": 100,
619
+ "prize_ref_id": 0,
620
+ "is_surcharge": false,
621
+ "prize_details_json": {
622
+ "raffle_id": 158,
623
+ "tickets_count": 100
624
+ },
625
+ "affects_points_progress": true,
626
+ "affects_leaderboard_progress": true,
627
+ "affects_level_progress": true,
628
+ "affects_current_balance_progress": true,
629
+ "place_from": null,
630
+ "place_to": null,
631
+ "weekdays": null,
632
+ "active_from": null,
633
+ "active_till": null,
634
+ "active_from_ts": null,
635
+ "active_till_ts": null,
636
+ "is_deleted": false,
637
+ "relative_period_timezone": 0,
638
+ "show_prize_history": true,
639
+ "needed_tag_replacement": false,
640
+ "win_segment_id": null,
641
+ "win_conditions": "[]",
642
+ "max_give_period_type_id": 2
643
+ },
644
+ "75907": {
645
+ "saw_prize_id": 75907,
646
+ "saw_template_id": 12658,
647
+ "saw_prize_ui_definition": {
648
+ "aknowledge_message_lose": "Lost",
649
+ "sectors": [
650
+ ""
651
+ ],
652
+ "name": "Rare Witch Avatar",
653
+ "second_btn": "",
654
+ "acknowledge_dp": "dp:ok",
655
+ "sound_type": 2,
656
+ "aknowledge_message": "Congratulations!!",
657
+ "acknowledge_action_title": "OK",
658
+ "acknowledge_type": 3,
659
+ "second_btn_action_title": ""
660
+ },
661
+ "prize_value": 1,
662
+ "prize_type_id": 11,
663
+ "pool": 99,
664
+ "wins_count": 5,
665
+ "pool_initial": 100,
666
+ "prize_ref_id": 0,
667
+ "is_surcharge": false,
668
+ "prize_details_json": {
669
+ "avatar_real_id": 20
670
+ },
671
+ "affects_points_progress": true,
672
+ "affects_leaderboard_progress": true,
673
+ "affects_level_progress": true,
674
+ "affects_current_balance_progress": true,
675
+ "place_from": null,
676
+ "place_to": null,
677
+ "weekdays": null,
678
+ "active_from": null,
679
+ "active_till": null,
680
+ "active_from_ts": null,
681
+ "active_till_ts": null,
682
+ "is_deleted": false,
683
+ "relative_period_timezone": 0,
684
+ "show_prize_history": true,
685
+ "needed_tag_replacement": false,
686
+ "win_segment_id": null,
687
+ "win_conditions": "[]",
688
+ "max_give_period_type_id": 2
689
+ },
690
+ "75908": {
691
+ "saw_prize_id": 75908,
692
+ "saw_template_id": 12658,
693
+ "saw_prize_ui_definition": {
694
+ "aknowledge_message_lose": "Lost",
695
+ "sectors": [
696
+ ""
697
+ ],
698
+ "name": "iPhone",
699
+ "second_btn": "",
700
+ "acknowledge_dp": "dp:ok",
701
+ "sound_type": 2,
702
+ "aknowledge_message": "You got an iPhone",
703
+ "acknowledge_action_title": "OK",
704
+ "acknowledge_type": 3,
705
+ "second_btn_action_title": ""
706
+ },
707
+ "prize_value": null,
708
+ "prize_type_id": 4,
709
+ "pool": 3,
710
+ "wins_count": 0,
711
+ "pool_initial": 3,
712
+ "prize_ref_id": 0,
713
+ "is_surcharge": false,
714
+ "prize_details_json": null,
715
+ "affects_points_progress": true,
716
+ "affects_leaderboard_progress": false,
717
+ "affects_level_progress": false,
718
+ "affects_current_balance_progress": false,
719
+ "place_from": null,
720
+ "place_to": null,
721
+ "weekdays": null,
722
+ "active_from": null,
723
+ "active_till": null,
724
+ "active_from_ts": null,
725
+ "active_till_ts": null,
726
+ "is_deleted": false,
727
+ "relative_period_timezone": 0,
728
+ "show_prize_history": true,
729
+ "needed_tag_replacement": false,
730
+ "win_segment_id": null,
731
+ "win_conditions": "[]",
732
+ "max_give_period_type_id": 2
733
+ }
734
+ },
735
+ "prizes": [
736
+ {
737
+ "saw_prize_id": 75905,
738
+ "saw_template_id": 12658,
739
+ "saw_prize_ui_definition": {
740
+ "aknowledge_message_lose": "Lost",
741
+ "sectors": [
742
+ ""
743
+ ],
744
+ "name": "3 diamonds",
745
+ "second_btn": "",
746
+ "acknowledge_dp": "dp:ok",
747
+ "sound_type": 2,
748
+ "aknowledge_message": "You won 3 diamonds!!!",
749
+ "acknowledge_action_title": "OK",
750
+ "acknowledge_type": 3,
751
+ "second_btn_action_title": ""
752
+ },
753
+ "prize_value": 1,
754
+ "prize_type_id": 10,
755
+ "pool": 98,
756
+ "wins_count": 7,
757
+ "pool_initial": 100,
758
+ "prize_ref_id": 0,
759
+ "is_surcharge": false,
760
+ "prize_details_json": {
761
+ "diamonds": 3,
762
+ "amount_type": 0,
763
+ "_gems_diamonds_type": 1
764
+ },
765
+ "affects_points_progress": true,
766
+ "affects_leaderboard_progress": true,
767
+ "affects_level_progress": true,
768
+ "affects_current_balance_progress": true,
769
+ "place_from": null,
770
+ "place_to": null,
771
+ "weekdays": null,
772
+ "active_from": null,
773
+ "active_till": null,
774
+ "active_from_ts": null,
775
+ "active_till_ts": null,
776
+ "is_deleted": false,
777
+ "relative_period_timezone": 0,
778
+ "show_prize_history": true,
779
+ "needed_tag_replacement": false,
780
+ "win_segment_id": null,
781
+ "win_conditions": "[]",
782
+ "max_give_period_type_id": 2
783
+ },
784
+ {
785
+ "saw_prize_id": 75904,
786
+ "saw_template_id": 12658,
787
+ "saw_prize_ui_definition": {
788
+ "aknowledge_message_lose": "Lost",
789
+ "sectors": [
790
+ ""
791
+ ],
792
+ "name": "5 gems",
793
+ "second_btn": "",
794
+ "acknowledge_dp": "dp:ok",
795
+ "sound_type": 2,
796
+ "aknowledge_message": "Congratulations!!",
797
+ "acknowledge_action_title": "OK",
798
+ "acknowledge_type": 3,
799
+ "second_btn_action_title": ""
800
+ },
801
+ "prize_value": 1,
802
+ "prize_type_id": 10,
803
+ "pool": 99,
804
+ "wins_count": 3,
805
+ "pool_initial": 100,
806
+ "prize_ref_id": 0,
807
+ "is_surcharge": false,
808
+ "prize_details_json": {
809
+ "gems": 5,
810
+ "amount_type": 0,
811
+ "_gems_diamonds_type": 0
812
+ },
813
+ "affects_points_progress": true,
814
+ "affects_leaderboard_progress": true,
815
+ "affects_level_progress": true,
816
+ "affects_current_balance_progress": true,
817
+ "place_from": null,
818
+ "place_to": null,
819
+ "weekdays": null,
820
+ "active_from": null,
821
+ "active_till": null,
822
+ "active_from_ts": null,
823
+ "active_till_ts": null,
824
+ "is_deleted": false,
825
+ "relative_period_timezone": 0,
826
+ "show_prize_history": true,
827
+ "needed_tag_replacement": false,
828
+ "win_segment_id": null,
829
+ "win_conditions": "[]",
830
+ "max_give_period_type_id": 2
831
+ }
832
+ ],
833
+ "segment_id": 44162,
834
+ "label_id": 16018,
835
+ "maxActiveSpinsAllowed": null,
836
+ "maxSpinsCount": 0,
837
+ "maxSpinsPeriodMs": 0,
838
+ "sawStatusId": 2,
839
+ "needsTagReplacement": false,
840
+ "containsConditionalPrize": true,
841
+ "jackpot_guaranteed": null,
842
+ "jackpot_add_on_attempt": null,
843
+ "jackpot_current": null,
844
+ "saw_skin_key": null,
845
+ "saw_skin_ui_definition": null,
846
+ "maxSpinPeriodTypeId": 4,
847
+ "expireSpinsMs": 0,
848
+ "next_available_spin_ts": null,
849
+ "saw_expire_spin_type": null,
850
+ "saw_expire_spin_config": null,
851
+ "isVisitorMode": false,
852
+ "activeFromDate": -9223372036854776000,
853
+ "activeTillDate": 9223372036854776000,
854
+ "requires_prize_claim": false,
855
+ "requires_manual_claim": false,
856
+ "expose_game_stat_on_api": true,
857
+ "relative_period_timezone": 0,
858
+ "templateName": "Pinyata",
859
+ "show_prize_history": true,
860
+ "visibility_conditions": "[]",
861
+ "active_start_time": null,
862
+ "active_end_time": null,
863
+ "earliest_expiration_dt": null,
864
+ "latest_expiration_dt": null
865
+ },
866
+ "saw_template_id": 12658,
867
+ "saw_prize_id": 75903,
868
+ "prize_amount": 100,
869
+ "client_request_id": "00000000-0000-0000-0000-000000000000",
870
+ "is_claimed": true,
871
+ "create_date_ts": 1785831140000,
872
+ "acknowledge_date_ts": 1785831146000
873
+ }
874
+ ]