@smartico/public-api 0.0.149 → 0.0.151

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 (168) hide show
  1. package/README.md +3 -1
  2. package/dist/Base/AchRelatedGame.d.ts +13 -13
  3. package/dist/Base/ClassId.d.ts +97 -97
  4. package/dist/Base/ProtocolMessage.d.ts +5 -5
  5. package/dist/Base/ProtocolRequest.d.ts +6 -6
  6. package/dist/Base/ProtocolResponse.d.ts +5 -5
  7. package/dist/CookieStore.d.ts +6 -6
  8. package/dist/Core/ActivityTypeLimited.d.ts +18 -18
  9. package/dist/Core/CheckSegmentMatchRequest.d.ts +4 -4
  10. package/dist/Core/CheckSegmentMatchResponse.d.ts +7 -7
  11. package/dist/Core/CoreUtils.d.ts +5 -5
  12. package/dist/Core/GetAchievementsUserInfoRequest.d.ts +3 -3
  13. package/dist/Core/GetAchievementsUserInfoResponse.d.ts +5 -5
  14. package/dist/Core/GetLabelInfoRequest.d.ts +3 -3
  15. package/dist/Core/GetLabelInfoResponse.d.ts +7 -7
  16. package/dist/Core/GetTranslationsRequest.d.ts +7 -7
  17. package/dist/Core/GetTranslationsResponse.d.ts +7 -7
  18. package/dist/Core/PublicLabelSettings.d.ts +27 -27
  19. package/dist/Core/PublicProperties.d.ts +9 -9
  20. package/dist/Core/ResponseIdentify.d.ts +12 -12
  21. package/dist/Core/TranslationArea.d.ts +10 -10
  22. package/dist/Core/index.d.ts +9 -9
  23. package/dist/CustomSections/AchCustomSection.d.ts +27 -27
  24. package/dist/CustomSections/GetCustomSectionsRequest.d.ts +3 -3
  25. package/dist/CustomSections/GetCustomSectionsResponse.d.ts +7 -7
  26. package/dist/CustomSections/UICustomSection.d.ts +15 -15
  27. package/dist/CustomSections/index.d.ts +4 -4
  28. package/dist/ErrorCodes.d.ts +12 -12
  29. package/dist/GResponse.d.ts +9 -9
  30. package/dist/ILogger.d.ts +7 -7
  31. package/dist/Inbox/GetInboxMessagesRequest.d.ts +6 -6
  32. package/dist/Inbox/GetInboxMessagesResponse.d.ts +7 -7
  33. package/dist/Inbox/InboxMessage.d.ts +23 -23
  34. package/dist/Inbox/InboxMessageType.d.ts +11 -11
  35. package/dist/Inbox/MarkInboxMessageDeletedRequest.d.ts +5 -5
  36. package/dist/Inbox/MarkInboxMessageDeletedResponse.d.ts +5 -5
  37. package/dist/Inbox/MarkInboxMessageReadRequest.d.ts +5 -5
  38. package/dist/Inbox/MarkInboxMessageReadResponse.d.ts +5 -5
  39. package/dist/Inbox/MarkInboxMessageStarredRequest.d.ts +5 -5
  40. package/dist/Inbox/MarkInboxMessageStarredResponse.d.ts +5 -5
  41. package/dist/Inbox/index.d.ts +10 -10
  42. package/dist/IntUtils.d.ts +10 -10
  43. package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +4 -4
  44. package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +5 -5
  45. package/dist/Jackpots/GetJackpotsRequest.d.ts +5 -5
  46. package/dist/Jackpots/GetJackpotsResponse.d.ts +5 -5
  47. package/dist/Jackpots/JackPotWinner.d.ts +13 -13
  48. package/dist/Jackpots/JackpotContributionType.d.ts +5 -5
  49. package/dist/Jackpots/JackpotDetails.d.ts +37 -35
  50. package/dist/Jackpots/JackpotHtmlTemplate.d.ts +5 -5
  51. package/dist/Jackpots/JackpotPot.d.ts +13 -13
  52. package/dist/Jackpots/JackpotPublicMeta.d.ts +18 -18
  53. package/dist/Jackpots/JackpotType.d.ts +4 -4
  54. package/dist/Jackpots/JackpotWinPush.d.ts +7 -7
  55. package/dist/Jackpots/JackpotsOptinRequest.d.ts +4 -4
  56. package/dist/Jackpots/JackpotsOptinResponse.d.ts +3 -3
  57. package/dist/Jackpots/JackpotsOptoutRequest.d.ts +4 -4
  58. package/dist/Jackpots/JackpotsOptoutResponse.d.ts +3 -3
  59. package/dist/Jackpots/index.d.ts +16 -16
  60. package/dist/Leaderboard/GetLeaderBoardsRequest.d.ts +7 -7
  61. package/dist/Leaderboard/GetLeaderBoardsResponse.d.ts +7 -7
  62. package/dist/Leaderboard/LeaderBoardDetails.d.ts +13 -13
  63. package/dist/Leaderboard/LeaderBoardPeriodType.d.ts +5 -5
  64. package/dist/Leaderboard/LeaderBoardPosition.d.ts +10 -10
  65. package/dist/Leaderboard/LeaderBoardPublicMeta.d.ts +5 -5
  66. package/dist/Leaderboard/LeaderBoards.d.ts +3 -3
  67. package/dist/Leaderboard/index.d.ts +6 -6
  68. package/dist/Level/GetLevelMapResponse.d.ts +7 -7
  69. package/dist/Level/Level.d.ts +12 -12
  70. package/dist/Level/LevelPublicMeta.d.ts +19 -19
  71. package/dist/Level/index.d.ts +3 -3
  72. package/dist/MiniGames/SAWAcknowledgeType.d.ts +5 -5
  73. package/dist/MiniGames/SAWAskForUsername.d.ts +4 -4
  74. package/dist/MiniGames/SAWBuyInType.d.ts +14 -14
  75. package/dist/MiniGames/SAWDoAknowledgeRequest.d.ts +4 -4
  76. package/dist/MiniGames/SAWDoAknowledgeResponse.d.ts +4 -4
  77. package/dist/MiniGames/SAWDoSpinRequest.d.ts +5 -5
  78. package/dist/MiniGames/SAWDoSpinResponse.d.ts +11 -11
  79. package/dist/MiniGames/SAWGameType.d.ts +20 -20
  80. package/dist/MiniGames/SAWGetTemplatesRequest.d.ts +5 -5
  81. package/dist/MiniGames/SAWGetTemplatesResponse.d.ts +7 -7
  82. package/dist/MiniGames/SAWPrize.d.ts +13 -13
  83. package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +4 -4
  84. package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +4 -4
  85. package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +9 -9
  86. package/dist/MiniGames/SAWPrizeType.d.ts +20 -20
  87. package/dist/MiniGames/SAWPrizeUI.d.ts +18 -18
  88. package/dist/MiniGames/SAWSpinErrorCode.d.ts +14 -14
  89. package/dist/MiniGames/SAWSpinsCountPush.d.ts +5 -5
  90. package/dist/MiniGames/SAWTemplate.d.ts +29 -29
  91. package/dist/MiniGames/SAWTemplateUI.d.ts +45 -45
  92. package/dist/MiniGames/SAWUtils.d.ts +5 -5
  93. package/dist/MiniGames/SAWWinSoundType.d.ts +13 -13
  94. package/dist/MiniGames/index.d.ts +20 -20
  95. package/dist/Missions/AchCategoryPublicMeta.d.ts +4 -4
  96. package/dist/Missions/AchClaimPrizeRequest.d.ts +5 -5
  97. package/dist/Missions/AchClaimPrizeResponse.d.ts +3 -3
  98. package/dist/Missions/AchievementCategory.d.ts +7 -7
  99. package/dist/Missions/AchievementOptinRequest.d.ts +4 -4
  100. package/dist/Missions/AchievementOptinResponse.d.ts +3 -3
  101. package/dist/Missions/AchievementPublicMeta.d.ts +21 -21
  102. package/dist/Missions/AchievementStatus.d.ts +9 -9
  103. package/dist/Missions/AchievementTaskPublicMeta.d.ts +3 -3
  104. package/dist/Missions/AchievementTaskType.d.ts +4 -4
  105. package/dist/Missions/AchievementType.d.ts +4 -4
  106. package/dist/Missions/GetAchCategoriesRequest.d.ts +3 -3
  107. package/dist/Missions/GetAchCategoriesResponse.d.ts +5 -5
  108. package/dist/Missions/GetAchievementMapRequest.d.ts +3 -3
  109. package/dist/Missions/GetAchievementMapResponse.d.ts +5 -5
  110. package/dist/Missions/ReloadAchievementsEvent.d.ts +3 -3
  111. package/dist/Missions/ScheduledMissionType.d.ts +5 -5
  112. package/dist/Missions/UserAchievement.d.ts +39 -39
  113. package/dist/Missions/UserAchievementTask.d.ts +15 -15
  114. package/dist/Missions/index.d.ts +19 -19
  115. package/dist/NodeCache.d.ts +10 -10
  116. package/dist/OCache.d.ts +15 -15
  117. package/dist/Quiz/MarketsAnswers.d.ts +38 -38
  118. package/dist/Quiz/MarketsInfo.d.ts +14 -14
  119. package/dist/Quiz/MarketsPerSport.d.ts +6 -6
  120. package/dist/Quiz/MarketsType.d.ts +29 -29
  121. package/dist/Quiz/ScoreResultTypes.d.ts +28 -28
  122. package/dist/Quiz/SportTypes.d.ts +6 -6
  123. package/dist/Quiz/index.d.ts +6 -6
  124. package/dist/SmarticoAPI.d.ts +119 -119
  125. package/dist/SmarticoLib/index.d.ts +2013 -2013
  126. package/dist/Store/BuyStoreItemErrorCode.d.ts +11 -11
  127. package/dist/Store/BuyStoreItemRequest.d.ts +4 -4
  128. package/dist/Store/BuyStoreItemResponse.d.ts +4 -4
  129. package/dist/Store/GetCategoriesStoreResponse.d.ts +5 -5
  130. package/dist/Store/GetStoreHistoryRequest.d.ts +5 -5
  131. package/dist/Store/GetStoreHistoryResponse.d.ts +6 -6
  132. package/dist/Store/GetStoreItemsResponse.d.ts +5 -5
  133. package/dist/Store/StoreCategory.d.ts +7 -7
  134. package/dist/Store/StoreCategoryPublicMeta.d.ts +4 -4
  135. package/dist/Store/StoreItem.d.ts +12 -12
  136. package/dist/Store/StoreItemPublicMeta.d.ts +12 -12
  137. package/dist/Store/StoreItemPurchased.d.ts +11 -11
  138. package/dist/Store/StoreItemType.d.ts +16 -16
  139. package/dist/Store/index.d.ts +13 -13
  140. package/dist/Tournaments/GetTournamentInfoRequest.d.ts +4 -4
  141. package/dist/Tournaments/GetTournamentInfoResponse.d.ts +22 -22
  142. package/dist/Tournaments/GetTournamentsRequest.d.ts +3 -3
  143. package/dist/Tournaments/GetTournamentsResponse.d.ts +6 -6
  144. package/dist/Tournaments/Tournament.d.ts +59 -59
  145. package/dist/Tournaments/TournamentInstanceStatus.d.ts +10 -10
  146. package/dist/Tournaments/TournamentPlayer.d.ts +9 -9
  147. package/dist/Tournaments/TournamentPrize.d.ts +10 -10
  148. package/dist/Tournaments/TournamentPublicMeta.d.ts +27 -27
  149. package/dist/Tournaments/TournamentRegisterRequest.d.ts +4 -4
  150. package/dist/Tournaments/TournamentRegisterResponse.d.ts +5 -5
  151. package/dist/Tournaments/TournamentRegistrationError.d.ts +11 -11
  152. package/dist/Tournaments/TournamentRegistrationStatus.d.ts +22 -22
  153. package/dist/Tournaments/TournamentRegistrationType.d.ts +11 -11
  154. package/dist/Tournaments/TournamentType.d.ts +5 -5
  155. package/dist/Tournaments/TournamentUtils.d.ts +27 -27
  156. package/dist/Tournaments/index.d.ts +16 -16
  157. package/dist/WSAPI/WSAPI.d.ts +445 -445
  158. package/dist/WSAPI/WSAPITypes.d.ts +621 -621
  159. package/dist/index.d.ts +15 -15
  160. package/dist/index.js +373 -366
  161. package/dist/index.js.map +1 -1
  162. package/dist/index.modern.mjs +381 -375
  163. package/dist/index.modern.mjs.map +1 -1
  164. package/docs/interfaces/JackpotDetails.md +8 -0
  165. package/docs/interfaces/TMissionOrBadgeTask.md +16 -0
  166. package/package.json +1 -1
  167. package/src/Core/CoreUtils.ts +9 -9
  168. package/src/Jackpots/JackpotDetails.ts +2 -0
package/README.md CHANGED
@@ -44,7 +44,9 @@ See the [API documentation](docs/classes/WSAPI.md) for all available methods and
44
44
 
45
45
  You can also get gamification data for the visitors (not authorized users).
46
46
 
47
- Calls to the methods look similar, with the only exception that you need to use **_smartico.vapi('EN')** method in order to get access to the Visitor API object with specific language.
47
+ Calls to the methods look similar, with the only exception that you need to use **_smartico.vapi('EN')** method to get access to the Visitor API object with a specific language.
48
+
49
+ **Note: please contact your Success Manager on the Smartico side to enable Visitor mode**
48
50
 
49
51
  ```javascript
50
52
 
@@ -1,13 +1,13 @@
1
- interface AchRelatedGame {
2
- ach_game_id: number;
3
- ext_game_id: string;
4
- game_public_meta: {
5
- name: string;
6
- link: string;
7
- image: string;
8
- enabled: boolean;
9
- game_categories?: string[];
10
- game_provider?: string;
11
- };
12
- }
13
- export { AchRelatedGame };
1
+ interface AchRelatedGame {
2
+ ach_game_id: number;
3
+ ext_game_id: string;
4
+ game_public_meta: {
5
+ name: string;
6
+ link: string;
7
+ image: string;
8
+ enabled: boolean;
9
+ game_categories?: string[];
10
+ game_provider?: string;
11
+ };
12
+ }
13
+ export { AchRelatedGame };
@@ -1,97 +1,97 @@
1
- export declare enum ClassId {
2
- PING = 1,
3
- PONG = 2,
4
- INIT = 3,
5
- INIT_RESPONSE = 4,
6
- IDENTIFY = 5,
7
- IDENTIFY_RESPONSE = 6,
8
- LOGIN = 7,
9
- LOGOUT = 8,
10
- EVENT = 9,
11
- EVENT_RESPONSE = 10,
12
- LOGIN_RESPONSE = 11,
13
- LOGOUT_RESPONSE = 12,
14
- GET_TRANSLATIONS_REQUEST = 13,
15
- GET_TRANSLATIONS_RESPONSE = 14,
16
- CLIENT_ENGAGEMENT_IMPRESSION_REQUEST = 103,
17
- CLIENT_ENGAGEMENT_ACTION_REQUEST = 104,
18
- CLIENT_EXECUTE_DEEPLINK_EVENT = 105,
19
- CLIENT_ENGAGEMENT_FAILED_REQUEST = 106,
20
- CLIENT_EXECUTE_JS_EVENT = 107,
21
- CLIENT_PUBLIC_PROPERTIES_CHANGED_EVENT = 108,
22
- CLIENT_ENGAGEMENT_EVENT_NEW = 110,
23
- CLIENT_TRACK_ACTIVITY_REQUEST = 155,
24
- CLIENT_SET_AVATAR_REQUEST = 157,
25
- CLIENT_SET_AVATAR_RESPONSE = 158,
26
- CLIENT_SET_CUSTOM_USERNAME_REQUEST = 159,
27
- CLIENT_SET_CUSTOM_USERNAME_RESPONSE = 160,
28
- CHECK_SEGMENT_MATCH_REQUEST = 161,
29
- CHECK_SEGMENT_MATCH_RESPONSE = 162,
30
- GET_LEVEL_MAP_REQUEST = 500,
31
- GET_LEVEL_MAP_RESPONSE = 501,
32
- GET_ACHIEVEMENT_MAP_REQUEST = 502,
33
- GET_ACHIEVEMENT_MAP_RESPONSE = 503,
34
- RELOAD_ACHIEVEMENTS_EVENT = 504,
35
- GET_LEADERS_BOARD_REQUEST = 505,
36
- GET_LEADERS_BOARD_RESPONSE = 506,
37
- GET_SHOP_ITEMS_REQUEST = 509,
38
- GET_SHOP_ITEMS_RESPONSE = 510,
39
- BUY_SHOP_ITEM_REQUEST = 511,
40
- BUY_SHOP_ITEM_RESPONSE = 512,
41
- GET_INBOX_MESSAGES_REQUEST = 513,
42
- GET_INBOX_MESSAGES_RESPONSE = 514,
43
- GET_SHOP_CATEGORIES_REQUEST = 515,
44
- GET_SHOP_CATEGORIES_RESPONSE = 516,
45
- GET_TOURNAMENT_LOBBY_REQUEST = 517,
46
- GET_TOURNAMENT_LOBBY_RESPONSE = 518,
47
- GET_TOURNAMENT_INFO_REQUEST = 519,
48
- GET_TOURNAMENT_INFO_RESPONSE = 520,
49
- TOURNAMENT_REGISTER_REQUEST = 521,
50
- TOURNAMENT_REGISTER_RESPONSE = 522,
51
- GET_CUSTOM_SECTIONS_REQUEST = 523,
52
- GET_CUSTOM_SECTIONS_RESPONSE = 524,
53
- MISSION_OPTIN_REQUEST = 525,
54
- MISSION_OPTIN_RESPONSE = 526,
55
- GET_ACHIEVEMENT_USER_REQUEST = 527,
56
- GET_ACHIEVEMENT_USER_RESPONSE = 528,
57
- MARK_INBOX_READ_REQUEST = 529,
58
- MARK_INBOX_READ_RESPONSE = 530,
59
- MARK_INBOX_STARRED_REQUEST = 531,
60
- MARK_INBOX_STARRED_RESPONSE = 532,
61
- MARK_INBOX_DELETED_REQUEST = 535,
62
- MARK_INBOX_DELETED_RESPONSE = 536,
63
- GET_ACH_CATEGORIES_REQUEST = 537,
64
- GET_ACH_CATEGORIES_RESPONSE = 538,
65
- ACHIEVEMENT_CLAIM_PRIZE_REQUEST = 539,
66
- ACHIEVEMENT_CLAIM_PRIZE_RESPONSE = 540,
67
- ACH_SHOP_ITEM_HISTORY_REQUEST = 541,
68
- ACH_SHOP_ITEM_HISTORY_RESPONSE = 542,
69
- GET_BONUSES_REQUEST = 600,
70
- GET_BONUSES_RESPONSE = 601,
71
- CLAIM_BONUS_REQUEST = 602,
72
- CLAIM_BONUS_RESPONSE = 603,
73
- SAW_GET_SPINS_REQUEST = 700,
74
- SAW_GET_SPINS_RESPONSE = 701,
75
- SAW_DO_SPIN_REQUEST = 702,
76
- SAW_DO_SPIN_RESPONSE = 703,
77
- SAW_AKNOWLEDGE_REQUEST = 704,
78
- SAW_AKNOWLEDGE_RESPONSE = 705,
79
- SAW_SPINS_COUNT_PUSH = 706,
80
- SAW_SHOW_SPIN_PUSH = 707,
81
- SAW_PRIZE_DROP_WIN_PUSH = 708,
82
- SAW_PRIZE_DROP_WIN_AKNOWLEDGE_REQUEST = 709,
83
- SAW_PRIZE_DROP_WIN_AKNOWLEDGE_RESPONSE = 710,
84
- JP_GET_JACKPOTS_REQUEST = 800,
85
- JP_GET_JACKPOTS_RESPONSE = 801,
86
- JP_GET_LATEST_POTS_REQUEST = 802,
87
- JP_GET_LATEST_POTS_RESPONSE = 803,
88
- JP_OPTIN_REQUEST = 804,
89
- JP_OPTIN_RESPONSE = 805,
90
- JP_OPTOUT_REQUEST = 806,
91
- JP_OPTOUT_RESPONSE = 807,
92
- JP_WIN_PUSH = 808,
93
- REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
94
- REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
95
- CLIENT_DEBUG_REQUEST = 77777,
96
- UNSUPPORTED_COMMAND = 99999
97
- }
1
+ export declare enum ClassId {
2
+ PING = 1,
3
+ PONG = 2,
4
+ INIT = 3,
5
+ INIT_RESPONSE = 4,
6
+ IDENTIFY = 5,
7
+ IDENTIFY_RESPONSE = 6,
8
+ LOGIN = 7,
9
+ LOGOUT = 8,
10
+ EVENT = 9,
11
+ EVENT_RESPONSE = 10,
12
+ LOGIN_RESPONSE = 11,
13
+ LOGOUT_RESPONSE = 12,
14
+ GET_TRANSLATIONS_REQUEST = 13,
15
+ GET_TRANSLATIONS_RESPONSE = 14,
16
+ CLIENT_ENGAGEMENT_IMPRESSION_REQUEST = 103,
17
+ CLIENT_ENGAGEMENT_ACTION_REQUEST = 104,
18
+ CLIENT_EXECUTE_DEEPLINK_EVENT = 105,
19
+ CLIENT_ENGAGEMENT_FAILED_REQUEST = 106,
20
+ CLIENT_EXECUTE_JS_EVENT = 107,
21
+ CLIENT_PUBLIC_PROPERTIES_CHANGED_EVENT = 108,
22
+ CLIENT_ENGAGEMENT_EVENT_NEW = 110,
23
+ CLIENT_TRACK_ACTIVITY_REQUEST = 155,
24
+ CLIENT_SET_AVATAR_REQUEST = 157,
25
+ CLIENT_SET_AVATAR_RESPONSE = 158,
26
+ CLIENT_SET_CUSTOM_USERNAME_REQUEST = 159,
27
+ CLIENT_SET_CUSTOM_USERNAME_RESPONSE = 160,
28
+ CHECK_SEGMENT_MATCH_REQUEST = 161,
29
+ CHECK_SEGMENT_MATCH_RESPONSE = 162,
30
+ GET_LEVEL_MAP_REQUEST = 500,
31
+ GET_LEVEL_MAP_RESPONSE = 501,
32
+ GET_ACHIEVEMENT_MAP_REQUEST = 502,
33
+ GET_ACHIEVEMENT_MAP_RESPONSE = 503,
34
+ RELOAD_ACHIEVEMENTS_EVENT = 504,
35
+ GET_LEADERS_BOARD_REQUEST = 505,
36
+ GET_LEADERS_BOARD_RESPONSE = 506,
37
+ GET_SHOP_ITEMS_REQUEST = 509,
38
+ GET_SHOP_ITEMS_RESPONSE = 510,
39
+ BUY_SHOP_ITEM_REQUEST = 511,
40
+ BUY_SHOP_ITEM_RESPONSE = 512,
41
+ GET_INBOX_MESSAGES_REQUEST = 513,
42
+ GET_INBOX_MESSAGES_RESPONSE = 514,
43
+ GET_SHOP_CATEGORIES_REQUEST = 515,
44
+ GET_SHOP_CATEGORIES_RESPONSE = 516,
45
+ GET_TOURNAMENT_LOBBY_REQUEST = 517,
46
+ GET_TOURNAMENT_LOBBY_RESPONSE = 518,
47
+ GET_TOURNAMENT_INFO_REQUEST = 519,
48
+ GET_TOURNAMENT_INFO_RESPONSE = 520,
49
+ TOURNAMENT_REGISTER_REQUEST = 521,
50
+ TOURNAMENT_REGISTER_RESPONSE = 522,
51
+ GET_CUSTOM_SECTIONS_REQUEST = 523,
52
+ GET_CUSTOM_SECTIONS_RESPONSE = 524,
53
+ MISSION_OPTIN_REQUEST = 525,
54
+ MISSION_OPTIN_RESPONSE = 526,
55
+ GET_ACHIEVEMENT_USER_REQUEST = 527,
56
+ GET_ACHIEVEMENT_USER_RESPONSE = 528,
57
+ MARK_INBOX_READ_REQUEST = 529,
58
+ MARK_INBOX_READ_RESPONSE = 530,
59
+ MARK_INBOX_STARRED_REQUEST = 531,
60
+ MARK_INBOX_STARRED_RESPONSE = 532,
61
+ MARK_INBOX_DELETED_REQUEST = 535,
62
+ MARK_INBOX_DELETED_RESPONSE = 536,
63
+ GET_ACH_CATEGORIES_REQUEST = 537,
64
+ GET_ACH_CATEGORIES_RESPONSE = 538,
65
+ ACHIEVEMENT_CLAIM_PRIZE_REQUEST = 539,
66
+ ACHIEVEMENT_CLAIM_PRIZE_RESPONSE = 540,
67
+ ACH_SHOP_ITEM_HISTORY_REQUEST = 541,
68
+ ACH_SHOP_ITEM_HISTORY_RESPONSE = 542,
69
+ GET_BONUSES_REQUEST = 600,
70
+ GET_BONUSES_RESPONSE = 601,
71
+ CLAIM_BONUS_REQUEST = 602,
72
+ CLAIM_BONUS_RESPONSE = 603,
73
+ SAW_GET_SPINS_REQUEST = 700,
74
+ SAW_GET_SPINS_RESPONSE = 701,
75
+ SAW_DO_SPIN_REQUEST = 702,
76
+ SAW_DO_SPIN_RESPONSE = 703,
77
+ SAW_AKNOWLEDGE_REQUEST = 704,
78
+ SAW_AKNOWLEDGE_RESPONSE = 705,
79
+ SAW_SPINS_COUNT_PUSH = 706,
80
+ SAW_SHOW_SPIN_PUSH = 707,
81
+ SAW_PRIZE_DROP_WIN_PUSH = 708,
82
+ SAW_PRIZE_DROP_WIN_AKNOWLEDGE_REQUEST = 709,
83
+ SAW_PRIZE_DROP_WIN_AKNOWLEDGE_RESPONSE = 710,
84
+ JP_GET_JACKPOTS_REQUEST = 800,
85
+ JP_GET_JACKPOTS_RESPONSE = 801,
86
+ JP_GET_LATEST_POTS_REQUEST = 802,
87
+ JP_GET_LATEST_POTS_RESPONSE = 803,
88
+ JP_OPTIN_REQUEST = 804,
89
+ JP_OPTIN_RESPONSE = 805,
90
+ JP_OPTOUT_REQUEST = 806,
91
+ JP_OPTOUT_RESPONSE = 807,
92
+ JP_WIN_PUSH = 808,
93
+ REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
94
+ REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
95
+ CLIENT_DEBUG_REQUEST = 77777,
96
+ UNSUPPORTED_COMMAND = 99999
97
+ }
@@ -1,5 +1,5 @@
1
- export interface ProtocolMessage {
2
- cid: number;
3
- ts?: number;
4
- uuid?: string;
5
- }
1
+ export interface ProtocolMessage {
2
+ cid: number;
3
+ ts?: number;
4
+ uuid?: string;
5
+ }
@@ -1,6 +1,6 @@
1
- import { ProtocolMessage } from "./ProtocolMessage";
2
- export interface ProtocolRequest extends ProtocolMessage {
3
- api_key: string;
4
- brand_key: string;
5
- ext_user_id: string;
6
- }
1
+ import { ProtocolMessage } from "./ProtocolMessage";
2
+ export interface ProtocolRequest extends ProtocolMessage {
3
+ api_key: string;
4
+ brand_key: string;
5
+ ext_user_id: string;
6
+ }
@@ -1,5 +1,5 @@
1
- import { ProtocolMessage } from "./ProtocolMessage";
2
- export interface ProtocolResponse extends ProtocolMessage {
3
- errCode?: number;
4
- errMsg?: string;
5
- }
1
+ import { ProtocolMessage } from "./ProtocolMessage";
2
+ export interface ProtocolResponse extends ProtocolMessage {
3
+ errCode?: number;
4
+ errMsg?: string;
5
+ }
@@ -1,6 +1,6 @@
1
- declare class CookieStore {
2
- private static cookieStore;
3
- static get(key: string): string[] | undefined;
4
- static set(key: string, value: string[]): void;
5
- }
6
- export { CookieStore };
1
+ declare class CookieStore {
2
+ private static cookieStore;
3
+ static get(key: string): string[] | undefined;
4
+ static set(key: string, value: string[]): void;
5
+ }
6
+ export { CookieStore };
@@ -1,18 +1,18 @@
1
- export declare enum ActivityTypeLimited {
2
- DoNothing = 8,
3
- Points = 12,
4
- GiveMission = 14,
5
- StartAnotherCampaign = 15,
6
- MiniGameAttempt = 16,
7
- DeductPoints = 21,
8
- ResetPoints = 22,
9
- Popup = 30,
10
- Inbox = 31,
11
- Slack = 70,
12
- Email_To_Customer_Support = 80,
13
- Email_To_Risk_Operator = 90,
14
- Bonus = 100,
15
- WebHook = 200,
16
- TagCustomer = 504,
17
- UnTagCustomer = 505
18
- }
1
+ export declare enum ActivityTypeLimited {
2
+ DoNothing = 8,
3
+ Points = 12,
4
+ GiveMission = 14,
5
+ StartAnotherCampaign = 15,
6
+ MiniGameAttempt = 16,
7
+ DeductPoints = 21,
8
+ ResetPoints = 22,
9
+ Popup = 30,
10
+ Inbox = 31,
11
+ Slack = 70,
12
+ Email_To_Customer_Support = 80,
13
+ Email_To_Risk_Operator = 90,
14
+ Bonus = 100,
15
+ WebHook = 200,
16
+ TagCustomer = 504,
17
+ UnTagCustomer = 505
18
+ }
@@ -1,4 +1,4 @@
1
- import { ProtocolRequest } from "../Base/ProtocolRequest";
2
- export interface CheckSegmentMatchRequest extends ProtocolRequest {
3
- segment_id: number[];
4
- }
1
+ import { ProtocolRequest } from "../Base/ProtocolRequest";
2
+ export interface CheckSegmentMatchRequest extends ProtocolRequest {
3
+ segment_id: number[];
4
+ }
@@ -1,7 +1,7 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- export interface CheckSegmentMatchResponse extends ProtocolResponse {
3
- segments: {
4
- segment_id: number;
5
- is_matching: boolean;
6
- }[];
7
- }
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface CheckSegmentMatchResponse extends ProtocolResponse {
3
+ segments: {
4
+ segment_id: number;
5
+ is_matching: boolean;
6
+ }[];
7
+ }
@@ -1,5 +1,5 @@
1
- declare class CoreUtils {
2
- static avatarUrl: (avatar_id: string, avatarDomain: string) => string;
3
- static currencySymbol(currency: string): string;
4
- }
5
- export { CoreUtils };
1
+ declare class CoreUtils {
2
+ static avatarUrl: (avatar_id: string, avatarDomain: string) => string;
3
+ static currencySymbol(currency: string): string;
4
+ }
5
+ export { CoreUtils };
@@ -1,3 +1,3 @@
1
- import { ProtocolRequest } from "../Base/ProtocolRequest";
2
- export interface GetAchievementsUserInfoRequest extends ProtocolRequest {
3
- }
1
+ import { ProtocolRequest } from "../Base/ProtocolRequest";
2
+ export interface GetAchievementsUserInfoRequest extends ProtocolRequest {
3
+ }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- export interface GetAchievementsUserInfoResponse extends ProtocolResponse {
3
- level_counter_1?: number;
4
- level_counter_2?: number;
5
- }
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface GetAchievementsUserInfoResponse extends ProtocolResponse {
3
+ level_counter_1?: number;
4
+ level_counter_2?: number;
5
+ }
@@ -1,3 +1,3 @@
1
- import { ProtocolRequest } from "../Base/ProtocolRequest";
2
- export interface GetLabelInfoRequest extends ProtocolRequest {
3
- }
1
+ import { ProtocolRequest } from "../Base/ProtocolRequest";
2
+ export interface GetLabelInfoRequest extends ProtocolRequest {
3
+ }
@@ -1,7 +1,7 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- export interface GetLabelInfoResponse extends ProtocolResponse {
3
- settings: {
4
- [key: string]: string;
5
- };
6
- label_id: string;
7
- }
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface GetLabelInfoResponse extends ProtocolResponse {
3
+ settings: {
4
+ [key: string]: string;
5
+ };
6
+ label_id: string;
7
+ }
@@ -1,7 +1,7 @@
1
- import { ProtocolRequest } from "../Base/ProtocolRequest";
2
- import { TranslationArea } from "./TranslationArea";
3
- export interface GetTranslationsRequest extends ProtocolRequest {
4
- hash_code: number;
5
- areas: TranslationArea[];
6
- lang_code: string;
7
- }
1
+ import { ProtocolRequest } from "../Base/ProtocolRequest";
2
+ import { TranslationArea } from "./TranslationArea";
3
+ export interface GetTranslationsRequest extends ProtocolRequest {
4
+ hash_code: number;
5
+ areas: TranslationArea[];
6
+ lang_code: string;
7
+ }
@@ -1,7 +1,7 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- export interface GetTranslationsResponse extends ProtocolResponse {
3
- hash_code: number;
4
- translations: {
5
- [key: string]: string;
6
- };
7
- }
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface GetTranslationsResponse extends ProtocolResponse {
3
+ hash_code: number;
4
+ translations: {
5
+ [key: string]: string;
6
+ };
7
+ }
@@ -1,27 +1,27 @@
1
- export declare enum PublicLabelSettings {
2
- PUBLIC_API_URL = "PUBLIC_API_URL",
3
- RECORDING_ENABLED_FOR_ALL_USERS = "RECORDING_ENABLED_FOR_ALL_USERS",
4
- JS_INJECTION = "JS_INJECTION",
5
- GAMIFICATION_UI_MAIN = "GAMIFICATION_UI_MAIN",
6
- GAMIFICATION_UI_WIDGET = "GAMIFICATION_UI_WIDGET",
7
- GAMIFICATION_UI_MINI_GAME = "GAMIFICATION_UI_MINI_GAME",
8
- GAMIFICATION_UI_SETTINGS = "GAMIFICATION_UI_SETTINGS",
9
- GAMIFICATION_UI_MAIN_TEST = "GAMIFICATION_UI_MAIN_TEST",
10
- GAMIFICATION_UI_WIDGET_TEST = "GAMIFICATION_UI_WIDGET_TEST",
11
- GAMIFICATION_UI_SETTINGS_TEST = "GAMIFICATION_UI_SETTINGS_TEST",
12
- FRONT_END_ALLOWED_LANGUAGES = "FRONT_END_ALLOWED_LANGUAGES",
13
- FRONT_END_ALLOW_DOMAINS = "FRONT_END_ALLOW_DOMAINS",
14
- DELAY_ENGAGEMENT_EXECUTION_ON_LOGIN_MS = "DELAY_ENGAGEMENT_EXECUTION_ON_LOGIN_MS",
15
- SHADOW_LABEL_PUBLIC_KEY = "SHADOW_LABEL_PUBLIC_KEY",
16
- DYNAMIC_IMAGE_DOMAIN = "DYNAMIC_IMAGE_DOMAIN",
17
- GAMIFICATION_UI_LEVEL_ENABLED = "GAMIFICATION_UI_LEVEL_ENABLED",
18
- GAMIFICATION_UI_LEVEL_IMAGE_MOB = "GAMIFICATION_UI_LEVEL_IMAGE_MOB",
19
- GAMIFICATION_UI_LEVEL_IMAGE_DESK = "GAMIFICATION_UI_LEVEL_IMAGE_DESK",
20
- GAMIFICATION_LEVELS_LOGIC2 = "GAMIFICATION_LEVELS_LOGIC2",
21
- GAMIFICATION_LEVELS_LOGIC3 = "GAMIFICATION_LEVELS_LOGIC2",
22
- AVATAR_CUSTOM_IMAGE_MAX_ID = "AVATAR_CUSTOM_IMAGE_MAX_ID",
23
- AVATAR_CUSTOM_IMAGE_FOLDER = "AVATAR_CUSTOM_IMAGE_FOLDER",
24
- GAMIFICATION_SHOW_POWERED_BY = "GAMIFICATION_SHOW_POWERED_BY",
25
- _system_leader_board_mask_username = "_system_leader_board_mask_username",
26
- INBOX_PUBLIC_CDN = "INBOX_PUBLIC_CDN"
27
- }
1
+ export declare enum PublicLabelSettings {
2
+ PUBLIC_API_URL = "PUBLIC_API_URL",
3
+ RECORDING_ENABLED_FOR_ALL_USERS = "RECORDING_ENABLED_FOR_ALL_USERS",
4
+ JS_INJECTION = "JS_INJECTION",
5
+ GAMIFICATION_UI_MAIN = "GAMIFICATION_UI_MAIN",
6
+ GAMIFICATION_UI_WIDGET = "GAMIFICATION_UI_WIDGET",
7
+ GAMIFICATION_UI_MINI_GAME = "GAMIFICATION_UI_MINI_GAME",
8
+ GAMIFICATION_UI_SETTINGS = "GAMIFICATION_UI_SETTINGS",
9
+ GAMIFICATION_UI_MAIN_TEST = "GAMIFICATION_UI_MAIN_TEST",
10
+ GAMIFICATION_UI_WIDGET_TEST = "GAMIFICATION_UI_WIDGET_TEST",
11
+ GAMIFICATION_UI_SETTINGS_TEST = "GAMIFICATION_UI_SETTINGS_TEST",
12
+ FRONT_END_ALLOWED_LANGUAGES = "FRONT_END_ALLOWED_LANGUAGES",
13
+ FRONT_END_ALLOW_DOMAINS = "FRONT_END_ALLOW_DOMAINS",
14
+ DELAY_ENGAGEMENT_EXECUTION_ON_LOGIN_MS = "DELAY_ENGAGEMENT_EXECUTION_ON_LOGIN_MS",
15
+ SHADOW_LABEL_PUBLIC_KEY = "SHADOW_LABEL_PUBLIC_KEY",
16
+ DYNAMIC_IMAGE_DOMAIN = "DYNAMIC_IMAGE_DOMAIN",
17
+ GAMIFICATION_UI_LEVEL_ENABLED = "GAMIFICATION_UI_LEVEL_ENABLED",
18
+ GAMIFICATION_UI_LEVEL_IMAGE_MOB = "GAMIFICATION_UI_LEVEL_IMAGE_MOB",
19
+ GAMIFICATION_UI_LEVEL_IMAGE_DESK = "GAMIFICATION_UI_LEVEL_IMAGE_DESK",
20
+ GAMIFICATION_LEVELS_LOGIC2 = "GAMIFICATION_LEVELS_LOGIC2",
21
+ GAMIFICATION_LEVELS_LOGIC3 = "GAMIFICATION_LEVELS_LOGIC2",
22
+ AVATAR_CUSTOM_IMAGE_MAX_ID = "AVATAR_CUSTOM_IMAGE_MAX_ID",
23
+ AVATAR_CUSTOM_IMAGE_FOLDER = "AVATAR_CUSTOM_IMAGE_FOLDER",
24
+ GAMIFICATION_SHOW_POWERED_BY = "GAMIFICATION_SHOW_POWERED_BY",
25
+ _system_leader_board_mask_username = "_system_leader_board_mask_username",
26
+ INBOX_PUBLIC_CDN = "INBOX_PUBLIC_CDN"
27
+ }
@@ -1,9 +1,9 @@
1
- export interface PublicProperties {
2
- core_user_language?: string;
3
- ach_points_balance?: number;
4
- ach_points_ever?: number;
5
- ach_level_current_id?: number;
6
- ach_level_current?: string;
7
- core_is_test_account?: boolean;
8
- ach_gamification_in_control_group?: boolean;
9
- }
1
+ export interface PublicProperties {
2
+ core_user_language?: string;
3
+ ach_points_balance?: number;
4
+ ach_points_ever?: number;
5
+ ach_level_current_id?: number;
6
+ ach_level_current?: string;
7
+ core_is_test_account?: boolean;
8
+ ach_gamification_in_control_group?: boolean;
9
+ }
@@ -1,12 +1,12 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { PublicProperties } from "./PublicProperties";
3
- interface ResponseIdentify extends ProtocolResponse {
4
- user_id: number;
5
- ext_user_id: string;
6
- public_username: string;
7
- avatar_id: string;
8
- job: boolean;
9
- props?: PublicProperties;
10
- pubic_username_set: boolean;
11
- }
12
- export { ResponseIdentify };
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ import { PublicProperties } from "./PublicProperties";
3
+ interface ResponseIdentify extends ProtocolResponse {
4
+ user_id: number;
5
+ ext_user_id: string;
6
+ public_username: string;
7
+ avatar_id: string;
8
+ job: boolean;
9
+ props?: PublicProperties;
10
+ pubic_username_set: boolean;
11
+ }
12
+ export { ResponseIdentify };
@@ -1,10 +1,10 @@
1
- declare enum TranslationArea {
2
- Casino = 1,
3
- Gamification = 2,
4
- Trading = 3,
5
- Archived = 4,
6
- Affiliation = 5,
7
- RetentionGames = 6,
8
- AffIliateAdminNew = 7
9
- }
10
- export { TranslationArea };
1
+ declare enum TranslationArea {
2
+ Casino = 1,
3
+ Gamification = 2,
4
+ Trading = 3,
5
+ Archived = 4,
6
+ Affiliation = 5,
7
+ RetentionGames = 6,
8
+ AffIliateAdminNew = 7
9
+ }
10
+ export { TranslationArea };
@@ -1,9 +1,9 @@
1
- export * from './ActivityTypeLimited';
2
- export * from './CoreUtils';
3
- export * from './GetLabelInfoRequest';
4
- export * from './GetLabelInfoResponse';
5
- export * from './GetTranslationsRequest';
6
- export * from './GetTranslationsResponse';
7
- export * from './PublicLabelSettings';
8
- export * from './ResponseIdentify';
9
- export * from './TranslationArea';
1
+ export * from './ActivityTypeLimited';
2
+ export * from './CoreUtils';
3
+ export * from './GetLabelInfoRequest';
4
+ export * from './GetLabelInfoResponse';
5
+ export * from './GetTranslationsRequest';
6
+ export * from './GetTranslationsResponse';
7
+ export * from './PublicLabelSettings';
8
+ export * from './ResponseIdentify';
9
+ export * from './TranslationArea';
@@ -1,27 +1,27 @@
1
- export declare enum AchCustomSectionType {
2
- HTML_PAGE = 1,
3
- MISSIONS_CATEGORY = 2,
4
- TOURNAMENTS_CATEGORY = 3,
5
- LEVELS = 4,
6
- MINI_GAMES = 5,
7
- MISSION_CUSTOM_LAYOUT = 6,
8
- MATCH_X = 7
9
- }
10
- export declare enum AchCustomLayoutTheme {
11
- VALENTINES_LIGHT = "valentines-light",
12
- VALENTINES_DARK = "valentines-dark",
13
- EURO_2024 = "euro-2024",
14
- GENERIC = "generic"
15
- }
16
- export declare enum AchMissionsTabsOptions {
17
- ONLY_OVERVIEW = 1,
18
- NO_OVERVIEW = 2,
19
- ALL = 3
20
- }
21
- export declare enum AchOverviewMissionsFilter {
22
- ANY = 1,
23
- ALL_MISSIONS = 2,
24
- ALL_EXCEPT_COMPLETED = 3,
25
- ALL_EXCEPT_LOCKED = 4,
26
- ALL_EXCEPT_COMPLETED_AND_LOCKED = 5
27
- }
1
+ export declare enum AchCustomSectionType {
2
+ HTML_PAGE = 1,
3
+ MISSIONS_CATEGORY = 2,
4
+ TOURNAMENTS_CATEGORY = 3,
5
+ LEVELS = 4,
6
+ MINI_GAMES = 5,
7
+ MISSION_CUSTOM_LAYOUT = 6,
8
+ MATCH_X = 7
9
+ }
10
+ export declare enum AchCustomLayoutTheme {
11
+ VALENTINES_LIGHT = "valentines-light",
12
+ VALENTINES_DARK = "valentines-dark",
13
+ EURO_2024 = "euro-2024",
14
+ GENERIC = "generic"
15
+ }
16
+ export declare enum AchMissionsTabsOptions {
17
+ ONLY_OVERVIEW = 1,
18
+ NO_OVERVIEW = 2,
19
+ ALL = 3
20
+ }
21
+ export declare enum AchOverviewMissionsFilter {
22
+ ANY = 1,
23
+ ALL_MISSIONS = 2,
24
+ ALL_EXCEPT_COMPLETED = 3,
25
+ ALL_EXCEPT_LOCKED = 4,
26
+ ALL_EXCEPT_COMPLETED_AND_LOCKED = 5
27
+ }
@@ -1,3 +1,3 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
2
- export interface GetCustomSectionsRequest extends ProtocolMessage {
3
- }
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface GetCustomSectionsRequest extends ProtocolMessage {
3
+ }