@smartico/public-api 0.0.154 → 0.0.156

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 (269) hide show
  1. package/.prettierrc +12 -0
  2. package/dist/Base/ProtocolRequest.d.ts +1 -1
  3. package/dist/Base/ProtocolResponse.d.ts +1 -1
  4. package/dist/Core/CheckSegmentMatchRequest.d.ts +1 -1
  5. package/dist/Core/CheckSegmentMatchResponse.d.ts +1 -1
  6. package/dist/Core/GetAchievementsUserInfoRequest.d.ts +1 -1
  7. package/dist/Core/GetAchievementsUserInfoResponse.d.ts +1 -1
  8. package/dist/Core/GetLabelInfoRequest.d.ts +1 -1
  9. package/dist/Core/GetLabelInfoResponse.d.ts +1 -1
  10. package/dist/Core/GetTranslationsRequest.d.ts +2 -2
  11. package/dist/Core/GetTranslationsResponse.d.ts +1 -1
  12. package/dist/Core/ResponseIdentify.d.ts +2 -2
  13. package/dist/CustomSections/GetCustomSectionsRequest.d.ts +1 -1
  14. package/dist/CustomSections/GetCustomSectionsResponse.d.ts +2 -2
  15. package/dist/CustomSections/UICustomSection.d.ts +2 -2
  16. package/dist/GResponse.d.ts +1 -1
  17. package/dist/Inbox/GetInboxMessagesRequest.d.ts +1 -1
  18. package/dist/Inbox/GetInboxMessagesResponse.d.ts +3 -3
  19. package/dist/Inbox/InboxMessage.d.ts +2 -2
  20. package/dist/Inbox/MarkInboxMessageDeletedRequest.d.ts +1 -1
  21. package/dist/Inbox/MarkInboxMessageDeletedResponse.d.ts +1 -1
  22. package/dist/Inbox/MarkInboxMessageReadRequest.d.ts +1 -1
  23. package/dist/Inbox/MarkInboxMessageReadResponse.d.ts +1 -1
  24. package/dist/Inbox/MarkInboxMessageStarredRequest.d.ts +1 -1
  25. package/dist/Inbox/MarkInboxMessageStarredResponse.d.ts +1 -1
  26. package/dist/Inbox/index.d.ts +8 -8
  27. package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +1 -1
  28. package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +2 -2
  29. package/dist/Jackpots/GetJackpotsRequest.d.ts +1 -1
  30. package/dist/Jackpots/GetJackpotsResponse.d.ts +2 -2
  31. package/dist/Jackpots/JackpotDetails.d.ts +6 -6
  32. package/dist/Jackpots/JackpotWinPush.d.ts +3 -3
  33. package/dist/Jackpots/JackpotsOptinRequest.d.ts +1 -1
  34. package/dist/Jackpots/JackpotsOptinResponse.d.ts +1 -1
  35. package/dist/Jackpots/JackpotsOptoutRequest.d.ts +1 -1
  36. package/dist/Jackpots/JackpotsOptoutResponse.d.ts +1 -1
  37. package/dist/Leaderboard/GetLeaderBoardsRequest.d.ts +2 -2
  38. package/dist/Leaderboard/GetLeaderBoardsResponse.d.ts +2 -2
  39. package/dist/Leaderboard/LeaderBoardDetails.d.ts +3 -3
  40. package/dist/Leaderboard/LeaderBoards.d.ts +2 -2
  41. package/dist/Leaderboard/index.d.ts +6 -6
  42. package/dist/Level/GetLevelMapResponse.d.ts +3 -3
  43. package/dist/Level/Level.d.ts +1 -1
  44. package/dist/MiniGames/SAWAcknowledgeSpinPushRequest.d.ts +1 -1
  45. package/dist/MiniGames/SAWDoAknowledgeRequest.d.ts +1 -1
  46. package/dist/MiniGames/SAWDoAknowledgeResponse.d.ts +1 -1
  47. package/dist/MiniGames/SAWDoSpinRequest.d.ts +1 -1
  48. package/dist/MiniGames/SAWDoSpinResponse.d.ts +2 -2
  49. package/dist/MiniGames/SAWEventSawPush.d.ts +1 -1
  50. package/dist/MiniGames/SAWGetTemplatesRequest.d.ts +1 -1
  51. package/dist/MiniGames/SAWGetTemplatesResponse.d.ts +3 -3
  52. package/dist/MiniGames/SAWPrize.d.ts +2 -2
  53. package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +3 -1
  54. package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +1 -1
  55. package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +4 -3
  56. package/dist/MiniGames/SAWPrizeUI.d.ts +2 -2
  57. package/dist/MiniGames/SAWSpinsCountPush.d.ts +1 -1
  58. package/dist/MiniGames/SAWTemplate.d.ts +4 -4
  59. package/dist/MiniGames/SAWTemplateUI.d.ts +1 -1
  60. package/dist/MiniGames/SAWUtils.d.ts +1 -1
  61. package/dist/MiniGames/index.d.ts +24 -22
  62. package/dist/Missions/AchClaimPrizeRequest.d.ts +1 -1
  63. package/dist/Missions/AchClaimPrizeResponse.d.ts +1 -1
  64. package/dist/Missions/AchievementCategory.d.ts +2 -2
  65. package/dist/Missions/AchievementOptinRequest.d.ts +1 -1
  66. package/dist/Missions/AchievementOptinResponse.d.ts +1 -1
  67. package/dist/Missions/GetAchCategoriesRequest.d.ts +1 -1
  68. package/dist/Missions/GetAchCategoriesResponse.d.ts +2 -2
  69. package/dist/Missions/GetAchievementMapRequest.d.ts +1 -1
  70. package/dist/Missions/GetAchievementMapResponse.d.ts +2 -2
  71. package/dist/Missions/GetRelatedAchTourRequest.d.ts +1 -1
  72. package/dist/Missions/GetRelatedAchTourResponse.d.ts +3 -3
  73. package/dist/Missions/ReloadAchievementsEvent.d.ts +2 -2
  74. package/dist/Missions/UserAchievement.d.ts +7 -7
  75. package/dist/Missions/UserAchievementTask.d.ts +2 -2
  76. package/dist/Missions/index.d.ts +13 -13
  77. package/dist/Quiz/MarketsInfo.d.ts +2 -2
  78. package/dist/Quiz/MarketsPerSport.d.ts +1 -1
  79. package/dist/SmarticoAPI.d.ts +8 -8
  80. package/dist/SmarticoLib/index.d.ts +39 -39
  81. package/dist/Store/BuyStoreItemRequest.d.ts +1 -1
  82. package/dist/Store/BuyStoreItemResponse.d.ts +1 -1
  83. package/dist/Store/GetCategoriesStoreResponse.d.ts +2 -2
  84. package/dist/Store/GetStoreHistoryRequest.d.ts +1 -1
  85. package/dist/Store/GetStoreHistoryResponse.d.ts +2 -2
  86. package/dist/Store/GetStoreItemsResponse.d.ts +2 -2
  87. package/dist/Store/StoreCategory.d.ts +2 -2
  88. package/dist/Store/StoreItem.d.ts +3 -3
  89. package/dist/Store/StoreItemPurchased.d.ts +2 -2
  90. package/dist/Store/index.d.ts +10 -10
  91. package/dist/Tournaments/GetTournamentInfoRequest.d.ts +1 -1
  92. package/dist/Tournaments/GetTournamentInfoResponse.d.ts +5 -5
  93. package/dist/Tournaments/GetTournamentsRequest.d.ts +1 -1
  94. package/dist/Tournaments/GetTournamentsResponse.d.ts +2 -2
  95. package/dist/Tournaments/Tournament.d.ts +8 -8
  96. package/dist/Tournaments/TournamentPrize.d.ts +1 -1
  97. package/dist/Tournaments/TournamentRegisterRequest.d.ts +1 -1
  98. package/dist/Tournaments/TournamentRegisterResponse.d.ts +2 -2
  99. package/dist/Tournaments/TournamentUtils.d.ts +3 -3
  100. package/dist/Tournaments/index.d.ts +16 -16
  101. package/dist/WSAPI/WSAPI.d.ts +65 -65
  102. package/dist/WSAPI/WSAPITypes.d.ts +18 -18
  103. package/dist/index.js +76 -78
  104. package/dist/index.js.map +1 -1
  105. package/dist/index.modern.mjs +103 -103
  106. package/dist/index.modern.mjs.map +1 -1
  107. package/package.json +1 -1
  108. package/src/Base/AchRelatedGame.ts +13 -13
  109. package/src/Base/ClassId.ts +118 -121
  110. package/src/Base/ProtocolMessage.ts +6 -7
  111. package/src/Base/ProtocolRequest.ts +4 -5
  112. package/src/Base/ProtocolResponse.ts +3 -5
  113. package/src/CookieStore.ts +10 -11
  114. package/src/Core/ActivityTypeLimited.ts +17 -18
  115. package/src/Core/CheckSegmentMatchRequest.ts +2 -3
  116. package/src/Core/CheckSegmentMatchResponse.ts +6 -6
  117. package/src/Core/CoreUtils.ts +37 -39
  118. package/src/Core/GetAchievementsUserInfoRequest.ts +2 -4
  119. package/src/Core/GetAchievementsUserInfoResponse.ts +4 -4
  120. package/src/Core/GetLabelInfoRequest.ts +2 -4
  121. package/src/Core/GetLabelInfoResponse.ts +4 -4
  122. package/src/Core/GetTranslationsRequest.ts +5 -7
  123. package/src/Core/GetTranslationsResponse.ts +3 -5
  124. package/src/Core/PublicLabelSettings.ts +29 -30
  125. package/src/Core/PublicProperties.ts +7 -7
  126. package/src/Core/ResponseIdentify.ts +12 -12
  127. package/src/Core/TranslationArea.ts +8 -9
  128. package/src/Core/index.ts +1 -1
  129. package/src/CustomSections/AchCustomSection.ts +20 -20
  130. package/src/CustomSections/GetCustomSectionsRequest.ts +2 -4
  131. package/src/CustomSections/GetCustomSectionsResponse.ts +4 -5
  132. package/src/CustomSections/UICustomSection.ts +30 -29
  133. package/src/CustomSections/index.ts +4 -4
  134. package/src/ErrorCodes.ts +11 -12
  135. package/src/GResponse.ts +5 -5
  136. package/src/ILogger.ts +6 -10
  137. package/src/Inbox/GetInboxMessagesRequest.ts +4 -5
  138. package/src/Inbox/GetInboxMessagesResponse.ts +15 -17
  139. package/src/Inbox/InboxMessage.ts +31 -33
  140. package/src/Inbox/InboxMessageType.ts +9 -9
  141. package/src/Inbox/MarkInboxMessageDeletedRequest.ts +3 -3
  142. package/src/Inbox/MarkInboxMessageDeletedResponse.ts +3 -3
  143. package/src/Inbox/MarkInboxMessageReadRequest.ts +4 -5
  144. package/src/Inbox/MarkInboxMessageReadResponse.ts +4 -5
  145. package/src/Inbox/MarkInboxMessageStarredRequest.ts +4 -5
  146. package/src/Inbox/MarkInboxMessageStarredResponse.ts +4 -5
  147. package/src/Inbox/index.ts +10 -10
  148. package/src/IntUtils.ts +72 -85
  149. package/src/Jackpots/GetJackpotsPotsRequest.ts +3 -3
  150. package/src/Jackpots/GetJackpotsPotsResponse.ts +3 -5
  151. package/src/Jackpots/GetJackpotsRequest.ts +4 -6
  152. package/src/Jackpots/GetJackpotsResponse.ts +5 -7
  153. package/src/Jackpots/JackPotWinner.ts +11 -12
  154. package/src/Jackpots/JackpotContributionType.ts +3 -4
  155. package/src/Jackpots/JackpotDetails.ts +31 -31
  156. package/src/Jackpots/JackpotHtmlTemplate.ts +3 -3
  157. package/src/Jackpots/JackpotPot.ts +11 -12
  158. package/src/Jackpots/JackpotPublicMeta.ts +16 -16
  159. package/src/Jackpots/JackpotType.ts +2 -5
  160. package/src/Jackpots/JackpotWinPush.ts +6 -6
  161. package/src/Jackpots/JackpotsOptinRequest.ts +3 -5
  162. package/src/Jackpots/JackpotsOptinResponse.ts +2 -4
  163. package/src/Jackpots/JackpotsOptoutRequest.ts +3 -5
  164. package/src/Jackpots/JackpotsOptoutResponse.ts +2 -4
  165. package/src/Jackpots/index.ts +16 -16
  166. package/src/Leaderboard/GetLeaderBoardsRequest.ts +8 -9
  167. package/src/Leaderboard/GetLeaderBoardsResponse.ts +4 -6
  168. package/src/Leaderboard/LeaderBoardDetails.ts +11 -12
  169. package/src/Leaderboard/LeaderBoardPeriodType.ts +3 -3
  170. package/src/Leaderboard/LeaderBoardPosition.ts +9 -10
  171. package/src/Leaderboard/LeaderBoardPublicMeta.ts +3 -4
  172. package/src/Leaderboard/LeaderBoards.ts +42 -42
  173. package/src/Leaderboard/index.ts +6 -6
  174. package/src/Level/GetLevelMapResponse.ts +18 -21
  175. package/src/Level/Level.ts +10 -11
  176. package/src/Level/LevelPublicMeta.ts +17 -17
  177. package/src/Level/index.ts +3 -3
  178. package/src/MiniGames/SAWAcknowledgeSpinPushRequest.ts +3 -4
  179. package/src/MiniGames/SAWAcknowledgeType.ts +3 -4
  180. package/src/MiniGames/SAWAskForUsername.ts +3 -4
  181. package/src/MiniGames/SAWBuyInType.ts +15 -13
  182. package/src/MiniGames/SAWDoAknowledgeRequest.ts +3 -3
  183. package/src/MiniGames/SAWDoAknowledgeResponse.ts +3 -3
  184. package/src/MiniGames/SAWDoSpinRequest.ts +3 -5
  185. package/src/MiniGames/SAWDoSpinResponse.ts +10 -11
  186. package/src/MiniGames/SAWEventSawPush.ts +3 -4
  187. package/src/MiniGames/SAWGameType.ts +23 -21
  188. package/src/MiniGames/SAWGetTemplatesRequest.ts +3 -3
  189. package/src/MiniGames/SAWGetTemplatesResponse.ts +53 -65
  190. package/src/MiniGames/SAWPrize.ts +11 -12
  191. package/src/MiniGames/SAWPrizeDropAknowledgeRequest.ts +5 -3
  192. package/src/MiniGames/SAWPrizeDropAknowledgeResponse.ts +3 -3
  193. package/src/MiniGames/SAWPrizeDropWinPush.ts +9 -8
  194. package/src/MiniGames/SAWPrizeType.ts +23 -22
  195. package/src/MiniGames/SAWPrizeUI.ts +17 -17
  196. package/src/MiniGames/SAWSpinErrorCode.ts +15 -16
  197. package/src/MiniGames/SAWSpinsCountPush.ts +4 -4
  198. package/src/MiniGames/SAWTemplate.ts +29 -29
  199. package/src/MiniGames/SAWTemplateUI.ts +45 -47
  200. package/src/MiniGames/SAWUtils.ts +23 -26
  201. package/src/MiniGames/SAWWinSoundType.ts +10 -11
  202. package/src/MiniGames/index.ts +24 -22
  203. package/src/Missions/AchCategoryPublicMeta.ts +2 -3
  204. package/src/Missions/AchClaimPrizeRequest.ts +4 -5
  205. package/src/Missions/AchClaimPrizeResponse.ts +3 -4
  206. package/src/Missions/AchievementCategory.ts +14 -15
  207. package/src/Missions/AchievementOptinRequest.ts +3 -5
  208. package/src/Missions/AchievementOptinResponse.ts +2 -4
  209. package/src/Missions/AchievementPublicMeta.ts +19 -20
  210. package/src/Missions/AchievementStatus.ts +7 -8
  211. package/src/Missions/AchievementTaskPublicMeta.ts +2 -3
  212. package/src/Missions/AchievementTaskType.ts +2 -2
  213. package/src/Missions/AchievementType.ts +2 -3
  214. package/src/Missions/GetAchCategoriesRequest.ts +2 -4
  215. package/src/Missions/GetAchCategoriesResponse.ts +4 -5
  216. package/src/Missions/GetAchievementMapRequest.ts +2 -4
  217. package/src/Missions/GetAchievementMapResponse.ts +3 -5
  218. package/src/Missions/GetRelatedAchTourRequest.ts +3 -4
  219. package/src/Missions/GetRelatedAchTourResponse.ts +5 -7
  220. package/src/Missions/ReloadAchievementsEvent.ts +5 -5
  221. package/src/Missions/ScheduledMissionType.ts +4 -5
  222. package/src/Missions/UserAchievement.ts +104 -108
  223. package/src/Missions/UserAchievementTask.ts +13 -15
  224. package/src/Missions/index.ts +19 -19
  225. package/src/NodeCache.ts +44 -49
  226. package/src/OCache.ts +51 -57
  227. package/src/Quiz/MarketsAnswers.ts +34 -34
  228. package/src/Quiz/MarketsInfo.ts +184 -177
  229. package/src/Quiz/MarketsPerSport.ts +30 -37
  230. package/src/Quiz/MarketsType.ts +28 -28
  231. package/src/Quiz/ScoreResultTypes.ts +18 -18
  232. package/src/Quiz/SportTypes.ts +4 -4
  233. package/src/Quiz/index.ts +6 -6
  234. package/src/SmarticoAPI.ts +769 -730
  235. package/src/SmarticoLib/index.ts +1053 -1069
  236. package/src/Store/BuyStoreItemErrorCode.ts +10 -10
  237. package/src/Store/BuyStoreItemRequest.ts +2 -2
  238. package/src/Store/BuyStoreItemResponse.ts +2 -3
  239. package/src/Store/GetCategoriesStoreResponse.ts +3 -8
  240. package/src/Store/GetStoreHistoryRequest.ts +3 -3
  241. package/src/Store/GetStoreHistoryResponse.ts +4 -4
  242. package/src/Store/GetStoreItemsResponse.ts +3 -4
  243. package/src/Store/StoreCategory.ts +14 -15
  244. package/src/Store/StoreCategoryPublicMeta.ts +2 -3
  245. package/src/Store/StoreItem.ts +32 -33
  246. package/src/Store/StoreItemPublicMeta.ts +10 -10
  247. package/src/Store/StoreItemPurchased.ts +40 -40
  248. package/src/Store/StoreItemType.ts +20 -19
  249. package/src/Store/index.ts +13 -13
  250. package/src/Tournaments/GetTournamentInfoRequest.ts +2 -3
  251. package/src/Tournaments/GetTournamentInfoResponse.ts +45 -48
  252. package/src/Tournaments/GetTournamentsRequest.ts +2 -4
  253. package/src/Tournaments/GetTournamentsResponse.ts +7 -14
  254. package/src/Tournaments/Tournament.ts +109 -115
  255. package/src/Tournaments/TournamentInstanceStatus.ts +17 -18
  256. package/src/Tournaments/TournamentPlayer.ts +7 -8
  257. package/src/Tournaments/TournamentPrize.ts +9 -10
  258. package/src/Tournaments/TournamentPublicMeta.ts +26 -26
  259. package/src/Tournaments/TournamentRegisterRequest.ts +2 -3
  260. package/src/Tournaments/TournamentRegisterResponse.ts +3 -7
  261. package/src/Tournaments/TournamentRegistrationError.ts +9 -9
  262. package/src/Tournaments/TournamentRegistrationStatus.ts +25 -27
  263. package/src/Tournaments/TournamentRegistrationType.ts +15 -16
  264. package/src/Tournaments/TournamentType.ts +3 -4
  265. package/src/Tournaments/TournamentUtils.ts +90 -89
  266. package/src/Tournaments/index.ts +16 -16
  267. package/src/WSAPI/WSAPI.ts +781 -763
  268. package/src/WSAPI/WSAPITypes.ts +574 -586
  269. package/src/index.ts +15 -15
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface AchievementOptinRequest extends ProtocolMessage {
3
3
  achievementId: number;
4
4
  }
@@ -1,3 +1,3 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
2
  export interface AchievementOptinResponse extends ProtocolResponse {
3
3
  }
@@ -1,3 +1,3 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetAchCategoriesRequest extends ProtocolMessage {
3
3
  }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { AchCategory } from "./AchievementCategory";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { AchCategory } from './AchievementCategory';
3
3
  export interface GetAchCategoriesResponse extends ProtocolResponse {
4
4
  categories: AchCategory[];
5
5
  }
@@ -1,3 +1,3 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetAchievementMapRequest extends ProtocolMessage {
3
3
  }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { UserAchievement } from "./UserAchievement";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { UserAchievement } from './UserAchievement';
3
3
  export interface GetAchievementMapResponse extends ProtocolResponse {
4
4
  achievements?: UserAchievement[];
5
5
  }
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetRelatedAchTourRequest extends ProtocolMessage {
3
3
  related_game_id?: string;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { Tournament } from "../Tournaments";
3
- import { UserAchievement } from "./UserAchievement";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { Tournament } from '../Tournaments';
3
+ import { UserAchievement } from './UserAchievement';
4
4
  export interface GetAchievementMapResponse extends ProtocolResponse {
5
5
  achievements: UserAchievement[];
6
6
  tournaments?: Tournament[];
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { UserAchievement } from "./UserAchievement";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { UserAchievement } from './UserAchievement';
3
3
  export interface ReloadAchievementsEvent extends ProtocolResponse {
4
4
  achievements: UserAchievement[];
5
5
  }
@@ -1,10 +1,10 @@
1
- import { AchRelatedGame } from "../Base/AchRelatedGame";
2
- import { TMissionOrBadge } from "../WSAPI/WSAPITypes";
3
- import { AchievementPublicMeta } from "./AchievementPublicMeta";
4
- import { AchievementStatus } from "./AchievementStatus";
5
- import { AchievementType } from "./AchievementType";
6
- import { ScheduledMissionType } from "./ScheduledMissionType";
7
- import { UserAchievementTask } from "./UserAchievementTask";
1
+ import { AchRelatedGame } from '../Base/AchRelatedGame';
2
+ import { TMissionOrBadge } from '../WSAPI/WSAPITypes';
3
+ import { AchievementPublicMeta } from './AchievementPublicMeta';
4
+ import { AchievementStatus } from './AchievementStatus';
5
+ import { AchievementType } from './AchievementType';
6
+ import { ScheduledMissionType } from './ScheduledMissionType';
7
+ import { UserAchievementTask } from './UserAchievementTask';
8
8
  export interface UserAchievement {
9
9
  ach_id?: number;
10
10
  ach_type_id?: AchievementType;
@@ -1,5 +1,5 @@
1
- import { AchievementTaskPublicMeta } from "./AchievementTaskPublicMeta";
2
- import { AchievementTaskType } from "./AchievementTaskType";
1
+ import { AchievementTaskPublicMeta } from './AchievementTaskPublicMeta';
2
+ import { AchievementTaskType } from './AchievementTaskType';
3
3
  export interface UserAchievementTask {
4
4
  task_id?: number;
5
5
  task_public_meta?: AchievementTaskPublicMeta;
@@ -1,16 +1,16 @@
1
- export * from "./AchievementOptinRequest";
2
- export * from "./AchievementOptinResponse";
3
- export * from "./AchievementPublicMeta";
4
- export * from "./AchievementStatus";
5
- export * from "./AchievementTaskPublicMeta";
6
- export * from "./AchievementTaskType";
7
- export * from "./AchievementType";
8
- export * from "./GetAchievementMapRequest";
9
- export * from "./GetAchievementMapResponse";
10
- export * from "./ReloadAchievementsEvent";
11
- export * from "./UserAchievement";
12
- export * from "./UserAchievementTask";
13
- export * from "./ScheduledMissionType";
1
+ export * from './AchievementOptinRequest';
2
+ export * from './AchievementOptinResponse';
3
+ export * from './AchievementPublicMeta';
4
+ export * from './AchievementStatus';
5
+ export * from './AchievementTaskPublicMeta';
6
+ export * from './AchievementTaskType';
7
+ export * from './AchievementType';
8
+ export * from './GetAchievementMapRequest';
9
+ export * from './GetAchievementMapResponse';
10
+ export * from './ReloadAchievementsEvent';
11
+ export * from './UserAchievement';
12
+ export * from './UserAchievementTask';
13
+ export * from './ScheduledMissionType';
14
14
  export * from './AchCategoryPublicMeta';
15
15
  export * from './AchievementCategory';
16
16
  export * from './GetAchCategoriesResponse';
@@ -1,5 +1,5 @@
1
- import { QuizAnswersValueType } from "./MarketsAnswers";
2
- import { SAWGPMarketType } from "./MarketsType";
1
+ import { QuizAnswersValueType } from './MarketsAnswers';
2
+ import { SAWGPMarketType } from './MarketsType';
3
3
  export declare const marketsInfo: {
4
4
  type: SAWGPMarketType;
5
5
  name: string;
@@ -1,4 +1,4 @@
1
- import { SAWGPMarketType } from "./MarketsType";
1
+ import { SAWGPMarketType } from './MarketsType';
2
2
  export declare const QuizMarketPerSport: {
3
3
  6: SAWGPMarketType[];
4
4
  1: SAWGPMarketType[];
@@ -1,4 +1,4 @@
1
- import { ClassId } from "./Base/ClassId";
1
+ import { ClassId } from './Base/ClassId';
2
2
  import { SAWGetTemplatesResponse } from './MiniGames/SAWGetTemplatesResponse';
3
3
  import { ILogger } from './ILogger';
4
4
  import { SAWDoAknowledgeResponse, SAWDoSpinResponse } from './MiniGames';
@@ -8,13 +8,13 @@ import { GetInboxMessagesResponse, InboxMessageBody, MarkInboxMessageDeletedResp
8
8
  import { BuyStoreItemResponse, GetCategoriesStoreResponse, GetStoreHistoryResponse, GetStoreItemsResponse } from './Store';
9
9
  import { AchClaimPrizeResponse, AchievementOptinResponse, GetAchCategoriesResponse, GetAchievementMapResponse } from './Missions';
10
10
  import { GetTournamentInfoResponse, GetTournamentsResponse, TournamentRegisterResponse } from './Tournaments';
11
- import { LeaderBoardDetails, LeaderBoardPeriodType } from "./Leaderboard";
12
- import { GetLevelMapResponse } from "./Level";
13
- import { WSAPI } from "./WSAPI/WSAPI";
14
- import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection } from "./WSAPI/WSAPITypes";
15
- import { GetAchievementsUserInfoResponse } from "./Core/GetAchievementsUserInfoResponse";
16
- import { GetJackpotsPotsResponse, GetJackpotsResponse, JackpotsOptinResponse, JackpotsOptoutResponse } from "./Jackpots";
17
- import { GetCustomSectionsResponse } from "./CustomSections";
11
+ import { LeaderBoardDetails, LeaderBoardPeriodType } from './Leaderboard';
12
+ import { GetLevelMapResponse } from './Level';
13
+ import { WSAPI } from './WSAPI/WSAPI';
14
+ import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection } from './WSAPI/WSAPITypes';
15
+ import { GetAchievementsUserInfoResponse } from './Core/GetAchievementsUserInfoResponse';
16
+ import { GetJackpotsPotsResponse, GetJackpotsResponse, JackpotsOptinResponse, JackpotsOptoutResponse } from './Jackpots';
17
+ import { GetCustomSectionsResponse } from './CustomSections';
18
18
  interface Tracker {
19
19
  label_api_key: string;
20
20
  userPublicProps: any;
@@ -471,7 +471,7 @@ declare enum TournamentRegistrationType {
471
471
  MANUAL_APPROVAL = 4,
472
472
  REQUIRES_QUALIFICATION = 5
473
473
  }
474
- export type TournamentRegistrationTypeName = "AUTO" | "OPT_IN" | "BUY_IN_POINTS" | "MANUAL_APPROVAL" | "REQUIRES_QUALIFICATION" | "UNKNOWN";
474
+ export type TournamentRegistrationTypeName = 'AUTO' | 'OPT_IN' | 'BUY_IN_POINTS' | 'MANUAL_APPROVAL' | 'REQUIRES_QUALIFICATION' | 'UNKNOWN';
475
475
  declare enum TournamentInstanceStatus {
476
476
  PUBLISHED = 1,
477
477
  REGISTER = 2,
@@ -694,10 +694,10 @@ export interface LeaderBoardDetails {
694
694
  positions: LeaderBoardPosition[];
695
695
  userPosition: LeaderBoardPosition;
696
696
  }
697
- export type TRibbon = "sale" | "hot" | "new" | "vip" | string;
697
+ export type TRibbon = 'sale' | 'hot' | 'new' | 'vip' | string;
698
698
  /**
699
699
  * TMiniGamePrize describes the information of prize in the array of prizes in the TMiniGameTemplate
700
- */
700
+ */
701
701
  export interface TMiniGamePrize {
702
702
  /** ID of the prize */
703
703
  id: number;
@@ -720,7 +720,7 @@ export interface TMiniGamePrize {
720
720
  }
721
721
  /**
722
722
  * TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
723
- */
723
+ */
724
724
  export interface TMiniGamePlayResult {
725
725
  /** Error code that represents outcome of the game play attempt. Game succeed to be played in case err_code is 0 */
726
726
  err_code: SAWSpinErrorCode;
@@ -731,7 +731,7 @@ export interface TMiniGamePlayResult {
731
731
  }
732
732
  /**
733
733
  * TMiniGameTemplate describes the information of mini-games available for the user
734
- */
734
+ */
735
735
  export interface TMiniGameTemplate {
736
736
  /** ID of the mini-game template */
737
737
  id: number;
@@ -775,7 +775,7 @@ export interface TMiniGameTemplate {
775
775
  * The user object is returned by _smartico.api.getUserProfile() method.
776
776
  * If you want to track the changes of the user profile, you can subscribe to the callback in the following way
777
777
  * _smartico.on('props_change', () => console.log(_smartico.api.getUserProfile()) );
778
- */
778
+ */
779
779
  export interface TUserProfile {
780
780
  /** The language of the user */
781
781
  core_user_language: string;
@@ -788,7 +788,7 @@ export interface TUserProfile {
788
788
  * They can be treated as server-based cookies.
789
789
  * You can set tags using following method _smartico.event('core_public_tags_update', { core_public_tags: ['A', 'B'] } );
790
790
  * And then you can check for the tags
791
- */
791
+ */
792
792
  core_public_tags: string[];
793
793
  /** The ID of the current level of the user */
794
794
  ach_level_current_id?: number;
@@ -825,14 +825,14 @@ export interface TLevel {
825
825
  * Relevant in case of using advanced leveling logic
826
826
  * https://help.smartico.ai/welcome/more/release-notes/september-2022#new-logic-for-leveling-users
827
827
  *
828
- */
828
+ */
829
829
  required_level_counter_1: number;
830
830
  /**
831
831
  * The counter of 2nd metric used to reach the Level.
832
832
  * Relevant in case of using advanced leveling logic
833
833
  * https://help.smartico.ai/welcome/more/release-notes/september-2022#new-logic-for-leveling-users
834
834
  *
835
- */
835
+ */
836
836
  required_level_counter_2: number;
837
837
  /** The custom data of the Level defined by operator in the BackOffice. Can be a JSON object, string or number */
838
838
  custom_data: string;
@@ -858,7 +858,7 @@ export interface TTournament {
858
858
  /**
859
859
  * The ID of the custom section where the tournament is assigned
860
860
  * The list of custom sections can be retrieved using _smartico.api.getCustomSections() method (TODO-API)
861
- */
861
+ */
862
862
  custom_section_id: number;
863
863
  /** The custom data of the tournament defined by operator. Can be a JSON object, string or number */
864
864
  custom_data: any;
@@ -995,7 +995,7 @@ export interface TStoreItem {
995
995
  /** URL of the image of the store item */
996
996
  image: string;
997
997
  /** Type of the store item. Can be 'bonus' or 'manual'. Manual, means it's tangible item, e.g. iPhone */
998
- type: "bonus" | "manual";
998
+ type: 'bonus' | 'manual';
999
999
  /** The price of the store item in the gamification points */
1000
1000
  price: number;
1001
1001
  /** The ribbon of the store item. Can be 'sale', 'hot', 'new', 'vip' or URL to the image in case of custom ribbon */
@@ -1012,7 +1012,7 @@ export interface TStoreItem {
1012
1012
  related_item_ids: number[];
1013
1013
  /** The indicator if the user can buy the item
1014
1014
  * This indicator is taking into account the segment conditions for the store item, the price of item towards users balance,
1015
- */
1015
+ */
1016
1016
  can_buy: boolean;
1017
1017
  /** The list of IDs of the categories where the store item is assigned, information about categories can be retrieved with getStoreCategories method */
1018
1018
  category_ids: number[];
@@ -1040,7 +1040,7 @@ export interface TMissionOrBadge {
1040
1040
  /** ID of the mission or badge */
1041
1041
  id: number;
1042
1042
  /** Type of entity. Can be 'mission' or 'badge' */
1043
- type: "mission" | "badge";
1043
+ type: 'mission' | 'badge';
1044
1044
  /** Name of the mission or badge, translated to the user language */
1045
1045
  name: string;
1046
1046
  /** Description of the mission or badge, translated to the user language */
@@ -1078,7 +1078,7 @@ export interface TMissionOrBadge {
1078
1078
  /**
1079
1079
  * The ID of the custom section where the mission or badge is assigned
1080
1080
  * The list of custom sections can be retrieved using _smartico.api.getCustomSections() method (TODO-API)
1081
- */
1081
+ */
1082
1082
  custom_section_id: number;
1083
1083
  /** The indicator if the mission or badge is visible only in the custom section and should be hidden from the main overview of missions/badges */
1084
1084
  only_in_custom_section: boolean;
@@ -1139,7 +1139,7 @@ export interface TMissionOrBadgeTask {
1139
1139
  }
1140
1140
  /**
1141
1141
  * TMissionOptInResult describes the response of call to _smartico.api.requestMissionOptIn(mission_id) method
1142
- */
1142
+ */
1143
1143
  export interface TMissionOptInResult {
1144
1144
  /** Error code that represents outcome of the opt-in request. Successful opt-in in case err_code is 0 */
1145
1145
  err_code: number;
@@ -1148,7 +1148,7 @@ export interface TMissionOptInResult {
1148
1148
  }
1149
1149
  /**
1150
1150
  * TMissionClaimRewardResult describes the response of call to _smartico.api.requestMissionClaimReward(mission_id, ach_completed_id) method
1151
- */
1151
+ */
1152
1152
  export interface TMissionClaimRewardResult {
1153
1153
  /** Error code that represents outcome of the claim request. Successful claim reward in case err_code is 0 */
1154
1154
  err_code: number;
@@ -1523,7 +1523,7 @@ declare class WSAPI {
1523
1523
  * console.log(result);
1524
1524
  * });
1525
1525
  * ```
1526
- */
1526
+ */
1527
1527
  checkSegmentMatch(segment_id: number): Promise<boolean>;
1528
1528
  /** Check if user belongs to specific list of segments
1529
1529
  * Example usage:
@@ -1532,7 +1532,7 @@ declare class WSAPI {
1532
1532
  * console.log(result);
1533
1533
  * });
1534
1534
  * ```
1535
- */
1535
+ */
1536
1536
  checkSegmentListMatch(segment_ids: number[]): Promise<TSegmentCheckResult[]>;
1537
1537
  /** Returns all the levels available the current user
1538
1538
  * Example usage:
@@ -1541,7 +1541,7 @@ declare class WSAPI {
1541
1541
  * console.log(result);
1542
1542
  * });
1543
1543
  * ```
1544
- */
1544
+ */
1545
1545
  getLevels(): Promise<TLevel[]>;
1546
1546
  /** Returns all the missions available the current user.
1547
1547
  * The returned missions are cached for 30 seconds. But you can pass the onUpdate callback as a parameter.
@@ -1571,7 +1571,7 @@ declare class WSAPI {
1571
1571
  * console.log(result);
1572
1572
  * });
1573
1573
  * ```
1574
- */
1574
+ */
1575
1575
  getUserLevelExtraCounters(): Promise<UserLevelExtraCountersT>;
1576
1576
  /** Returns all the store items available the current user
1577
1577
  * Example usage:
@@ -1579,7 +1579,7 @@ declare class WSAPI {
1579
1579
  * _smartico.api.getStoreItems().then((result) => {
1580
1580
  * console.log(result);
1581
1581
  * });
1582
- */
1582
+ */
1583
1583
  getStoreItems(): Promise<TStoreItem[]>;
1584
1584
  /** Buy the specific shop item by item_id. Returns the err_code in case of success or error.
1585
1585
  * Example usage:
@@ -1587,18 +1587,18 @@ declare class WSAPI {
1587
1587
  * _smartico.api.buyStoreItem(1).then((result) => {
1588
1588
  * console.log(result);
1589
1589
  * });
1590
- */
1590
+ */
1591
1591
  buyStoreItem(item_id: number): Promise<TBuyStoreItemResult>;
1592
1592
  /** Returns store categories */
1593
1593
  getStoreCategories(): Promise<TStoreCategory[]>;
1594
1594
  /** Returns store purchased items based on the provided parameters. "From" and "to" indicate the range of items to be fetched.
1595
- * The maximum number of messages per request is limited to 20.
1596
- * You can leave this params empty and by default it will return list of purchased items ranging from 0 to 20.
1597
- * This functions return list of purchased items.
1598
- * The "onUpdate" callback will be triggered when the user receives a new purchased item. It will provide an updated list of items, ranging from 0 to 20, to the onUpdate callback function. */
1595
+ * The maximum number of messages per request is limited to 20.
1596
+ * You can leave this params empty and by default it will return list of purchased items ranging from 0 to 20.
1597
+ * This functions return list of purchased items.
1598
+ * The "onUpdate" callback will be triggered when the user receives a new purchased item. It will provide an updated list of items, ranging from 0 to 20, to the onUpdate callback function. */
1599
1599
  /**
1600
- * @param params
1601
- */
1600
+ * @param params
1601
+ */
1602
1602
  storeGetPurchasedItems({ from, to, onUpdate }?: {
1603
1603
  from?: number;
1604
1604
  to?: number;
@@ -1640,15 +1640,15 @@ declare class WSAPI {
1640
1640
  */
1641
1641
  getLeaderBoard(periodType: LeaderBoardPeriodType, getPreviousPeriod?: boolean): Promise<LeaderBoardDetailsT>;
1642
1642
  /** Returns inbox messages based on the provided parameters. "From" and "to" indicate the range of messages to be fetched.
1643
- * The maximum number of messages per request is limited to 20. An indicator "onlyFavorite" can be passed to get only messages marked as favorites.
1644
- * You can leave this params empty and by default it will return list of messages ranging from 0 to 20.
1645
- * This functions return list of messages without the body of the message.
1646
- * To get the body of the message you need to call getInboxMessageBody function and pass the message guid contained in each message of this request.
1647
- * All other action like mark as read, favorite, delete, etc. can be done using this message GUID.
1648
- * The "onUpdate" callback will be triggered when the user receives a new message. It will provide an updated list of messages, ranging from 0 to 20, to the onUpdate callback function. */
1643
+ * The maximum number of messages per request is limited to 20. An indicator "onlyFavorite" can be passed to get only messages marked as favorites.
1644
+ * You can leave this params empty and by default it will return list of messages ranging from 0 to 20.
1645
+ * This functions return list of messages without the body of the message.
1646
+ * To get the body of the message you need to call getInboxMessageBody function and pass the message guid contained in each message of this request.
1647
+ * All other action like mark as read, favorite, delete, etc. can be done using this message GUID.
1648
+ * The "onUpdate" callback will be triggered when the user receives a new message. It will provide an updated list of messages, ranging from 0 to 20, to the onUpdate callback function. */
1649
1649
  /**
1650
- * @param params
1651
- */
1650
+ * @param params
1651
+ */
1652
1652
  getInboxMessages({ from, to, onlyFavorite, onUpdate }?: {
1653
1653
  from?: number;
1654
1654
  to?: number;
@@ -1863,7 +1863,7 @@ export interface IVisitorGameParams {
1863
1863
  export interface IWidgetParams {
1864
1864
  iframe: string;
1865
1865
  zoom: number;
1866
- height: "auto" | string;
1866
+ height: 'auto' | string;
1867
1867
  theme: string;
1868
1868
  wuuid: string;
1869
1869
  withBridge?: any;
@@ -1905,7 +1905,7 @@ export interface TrackerInterface {
1905
1905
  setLoginPayload?: (payload: any) => void;
1906
1906
  sendServerError?: (message: string) => void;
1907
1907
  sendServerDebug?: (message: string) => void;
1908
- sendAnalytics?: (activity_id: ClientActivityRequestId, type: "view" | "click" | "other", view_time_sec?: number, more?: any) => void;
1908
+ sendAnalytics?: (activity_id: ClientActivityRequestId, type: 'view' | 'click' | 'other', view_time_sec?: number, more?: any) => void;
1909
1909
  sendRow: (cid: ClassId, toIdentified: boolean, data?: any) => string;
1910
1910
  miniGame?: (saw_template_id: string, params: IWidgetParams) => void;
1911
1911
  showWidget?: (widgetType: EWidgetType, params: IWidgetParams) => void;
@@ -2009,5 +2009,5 @@ declare class Smartico {
2009
2009
  static convertVisitorGame(visitor_win_uuid: string): void;
2010
2010
  private static customScripts;
2011
2011
  }
2012
- export { Smartico as default, };
2012
+ export { Smartico as default };
2013
2013
  export {};
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface BuyStoreItemRequest extends ProtocolMessage {
3
3
  itemId: number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
2
  export interface BuyStoreItemResponse extends ProtocolResponse {
3
3
  success?: boolean;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { StoreCategory } from "./StoreCategory";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { StoreCategory } from './StoreCategory';
3
3
  export interface GetCategoriesStoreResponse extends ProtocolResponse {
4
4
  categories: StoreCategory[];
5
5
  }
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetStoreHistoryRequest extends ProtocolMessage {
3
3
  limit?: number;
4
4
  offset?: number;
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { StoreItemPurchased } from "./StoreItemPurchased";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { StoreItemPurchased } from './StoreItemPurchased';
3
3
  export interface GetStoreHistoryResponse extends ProtocolResponse {
4
4
  items: StoreItemPurchased[];
5
5
  hasMore?: boolean;
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { StoreItem } from "./StoreItem";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { StoreItem } from './StoreItem';
3
3
  export interface GetStoreItemsResponse extends ProtocolResponse {
4
4
  items: StoreItem[];
5
5
  }
@@ -1,5 +1,5 @@
1
- import { TStoreCategory } from "../WSAPI/WSAPITypes";
2
- import { StoreCategoryPublicMeta } from "./StoreCategoryPublicMeta";
1
+ import { TStoreCategory } from '../WSAPI/WSAPITypes';
2
+ import { StoreCategoryPublicMeta } from './StoreCategoryPublicMeta';
3
3
  export interface StoreCategory {
4
4
  id?: number;
5
5
  publicMeta?: StoreCategoryPublicMeta;
@@ -1,6 +1,6 @@
1
- import { TStoreItem } from "../WSAPI/WSAPITypes";
2
- import { StoreItemPublicMeta } from "./StoreItemPublicMeta";
3
- import { StoreItemType } from "./StoreItemType";
1
+ import { TStoreItem } from '../WSAPI/WSAPITypes';
2
+ import { StoreItemPublicMeta } from './StoreItemPublicMeta';
3
+ import { StoreItemType } from './StoreItemType';
4
4
  export interface StoreItem {
5
5
  id: number;
6
6
  itemTypeId: StoreItemType;
@@ -1,5 +1,5 @@
1
- import { TStoreItem } from "../WSAPI/WSAPITypes";
2
- import { StoreItem } from "./StoreItem";
1
+ import { TStoreItem } from '../WSAPI/WSAPITypes';
2
+ import { StoreItem } from './StoreItem';
3
3
  interface StoreItemPurchased extends StoreItem {
4
4
  purchase_ts: number;
5
5
  purchase_points_amount: number;
@@ -1,13 +1,13 @@
1
- export * from "./BuyStoreItemErrorCode";
2
- export * from "./BuyStoreItemRequest";
3
- export * from "./BuyStoreItemResponse";
4
- export * from "./GetCategoriesStoreResponse";
5
- export * from "./GetStoreItemsResponse";
6
- export * from "./StoreCategory";
7
- export * from "./StoreCategoryPublicMeta";
8
- export * from "./StoreItem";
9
- export * from "./StoreItemPublicMeta";
10
- export * from "./StoreItemType";
1
+ export * from './BuyStoreItemErrorCode';
2
+ export * from './BuyStoreItemRequest';
3
+ export * from './BuyStoreItemResponse';
4
+ export * from './GetCategoriesStoreResponse';
5
+ export * from './GetStoreItemsResponse';
6
+ export * from './StoreCategory';
7
+ export * from './StoreCategoryPublicMeta';
8
+ export * from './StoreItem';
9
+ export * from './StoreItemPublicMeta';
10
+ export * from './StoreItemType';
11
11
  export * from './StoreItemPurchased';
12
12
  export * from './GetStoreHistoryRequest';
13
13
  export * from './GetStoreHistoryResponse';
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetTournamentInfoRequest extends ProtocolMessage {
3
3
  tournamentInstanceId: number;
4
4
  }
@@ -1,8 +1,8 @@
1
- import { Tournament } from "./Tournament";
2
- import { TournamentPlayer } from "./TournamentPlayer";
3
- import { ProtocolResponse } from "../Base/ProtocolResponse";
4
- import { TournamentPrize } from "./TournamentPrize";
5
- import { TTournamentDetailed } from "../WSAPI/WSAPITypes";
1
+ import { Tournament } from './Tournament';
2
+ import { TournamentPlayer } from './TournamentPlayer';
3
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
4
+ import { TournamentPrize } from './TournamentPrize';
5
+ import { TTournamentDetailed } from '../WSAPI/WSAPITypes';
6
6
  export interface GetTournamentInfoResponse extends ProtocolResponse {
7
7
  /** tournament info */
8
8
  tournamentInfo: {
@@ -1,3 +1,3 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface GetTournamentsRequest extends ProtocolMessage {
3
3
  }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { Tournament } from "./Tournament";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { Tournament } from './Tournament';
3
3
  export interface GetTournamentsResponse extends ProtocolResponse {
4
4
  /** array of the tournaments */
5
5
  tournaments?: Tournament[];
@@ -1,11 +1,11 @@
1
- import { TournamentRegistrationType } from "./TournamentRegistrationType";
2
- import { TournamentInstanceStatus } from "./TournamentInstanceStatus";
3
- import { TournamentRegistrationStatus } from "./TournamentRegistrationStatus";
4
- import { TournamentType } from "./TournamentType";
5
- import { TournamentPublicMeta } from "./TournamentPublicMeta";
6
- import { TTournament } from "../WSAPI/WSAPITypes";
7
- import { TournamentPlayer, TournamentPrize } from ".";
8
- import { AchRelatedGame } from "../Base/AchRelatedGame";
1
+ import { TournamentRegistrationType } from './TournamentRegistrationType';
2
+ import { TournamentInstanceStatus } from './TournamentInstanceStatus';
3
+ import { TournamentRegistrationStatus } from './TournamentRegistrationStatus';
4
+ import { TournamentType } from './TournamentType';
5
+ import { TournamentPublicMeta } from './TournamentPublicMeta';
6
+ import { TTournament } from '../WSAPI/WSAPITypes';
7
+ import { TournamentPlayer, TournamentPrize } from '.';
8
+ import { AchRelatedGame } from '../Base/AchRelatedGame';
9
9
  export interface Tournament {
10
10
  /** ID of tournament template */
11
11
  tournamentId?: number;
@@ -1,4 +1,4 @@
1
- import { ActivityTypeLimited } from "../Core/ActivityTypeLimited";
1
+ import { ActivityTypeLimited } from '../Core/ActivityTypeLimited';
2
2
  export interface TournamentPrize {
3
3
  name: string;
4
4
  description: string;
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from "../Base/ProtocolMessage";
1
+ import { ProtocolMessage } from '../Base/ProtocolMessage';
2
2
  export interface TournamentRegisterRequest extends ProtocolMessage {
3
3
  tournamentInstanceId: number;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { ProtocolResponse } from "../Base/ProtocolResponse";
2
- import { TournamentRegistrationError } from "./TournamentRegistrationError";
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { TournamentRegistrationError } from './TournamentRegistrationError';
3
3
  export interface TournamentRegisterResponse extends ProtocolResponse {
4
4
  errCode?: TournamentRegistrationError;
5
5
  }