@smartico/public-api 0.0.154 → 0.0.155

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,40 +1,40 @@
1
1
  export enum QuizAnswersValueType {
2
- HomeTeam = '1',
3
- AwayTeam = '2',
4
- Draw = 'x',
5
- HomeTeamHomeTeam = '1/1',
6
- HomeTeamDraw = '1/x',
7
- HomeTeamAwayTeam = '1/2',
8
- DrawHomeTeam = 'x/1',
9
- DrawDraw = 'x/x',
10
- DrawAwayTeam = 'x/2',
11
- AwayTeamHomeTeam = '2/1',
12
- AwayTeamDraw = '2/x',
13
- AwayTeamAwayTeam = '2/2',
14
- Yes = 'yes',
15
- No = 'no',
16
- Odd = 'odd',
17
- Even = 'even',
18
- HomeOdd = '1/odd',
19
- HomeEven = '1/even',
20
- AwayOdd = '2/odd',
21
- AwayEven = '2/even',
2
+ HomeTeam = '1',
3
+ AwayTeam = '2',
4
+ Draw = 'x',
5
+ HomeTeamHomeTeam = '1/1',
6
+ HomeTeamDraw = '1/x',
7
+ HomeTeamAwayTeam = '1/2',
8
+ DrawHomeTeam = 'x/1',
9
+ DrawDraw = 'x/x',
10
+ DrawAwayTeam = 'x/2',
11
+ AwayTeamHomeTeam = '2/1',
12
+ AwayTeamDraw = '2/x',
13
+ AwayTeamAwayTeam = '2/2',
14
+ Yes = 'yes',
15
+ No = 'no',
16
+ Odd = 'odd',
17
+ Even = 'even',
18
+ HomeOdd = '1/odd',
19
+ HomeEven = '1/even',
20
+ AwayOdd = '2/odd',
21
+ AwayEven = '2/even',
22
22
  }
23
23
 
24
- export const quizAnswerHomeTeamReplacementText = '{quiz_home_team}';
25
- export const quizAnswerAwayTeamReplacementText = '{quiz_away_team}';
26
- export const quizDrawReplacementText = '{quiz_draw}';
27
- export const quizYesReplacementText = '{yes}';
28
- export const quizNoReplacementText = '{no}';
29
- export const quizOddReplacementText = '{odd}';
30
- export const quizEvenReplacementText = '{even}';
31
- export const quizOrReplacementText = '{or}';
24
+ export const quizAnswerHomeTeamReplacementText = '{quiz_home_team}'
25
+ export const quizAnswerAwayTeamReplacementText = '{quiz_away_team}'
26
+ export const quizDrawReplacementText = '{quiz_draw}'
27
+ export const quizYesReplacementText = '{yes}'
28
+ export const quizNoReplacementText = '{no}'
29
+ export const quizOddReplacementText = '{odd}'
30
+ export const quizEvenReplacementText = '{even}'
31
+ export const quizOrReplacementText = '{or}'
32
32
 
33
33
  export const quizAnswersTrKeys = {
34
- [quizDrawReplacementText]: 'quizAnswer_draw',
35
- [quizYesReplacementText]: 'quizAnswer_yes',
36
- [quizNoReplacementText]: 'quizAnswer_no',
37
- [quizOddReplacementText]: 'quizAnswer_odd',
38
- [quizEvenReplacementText]: 'quizAnswer_even',
39
- [quizOrReplacementText]: 'quizAnswer_or',
34
+ [quizDrawReplacementText]: 'quizAnswer_draw',
35
+ [quizYesReplacementText]: 'quizAnswer_yes',
36
+ [quizNoReplacementText]: 'quizAnswer_no',
37
+ [quizOddReplacementText]: 'quizAnswer_odd',
38
+ [quizEvenReplacementText]: 'quizAnswer_even',
39
+ [quizOrReplacementText]: 'quizAnswer_or',
40
40
  }
@@ -1,186 +1,193 @@
1
- import { QuizAnswersValueType, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizDrawReplacementText, quizEvenReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizYesReplacementText } from "./MarketsAnswers";
2
- import { SAWGPMarketType } from "./MarketsType";
1
+ import {
2
+ QuizAnswersValueType,
3
+ quizAnswerAwayTeamReplacementText,
4
+ quizAnswerHomeTeamReplacementText,
5
+ quizDrawReplacementText,
6
+ quizEvenReplacementText,
7
+ quizNoReplacementText,
8
+ quizOddReplacementText,
9
+ quizOrReplacementText,
10
+ quizYesReplacementText,
11
+ } from './MarketsAnswers'
12
+ import { SAWGPMarketType } from './MarketsType'
3
13
 
4
14
  const yesNoAnswers = [
5
- { text: quizYesReplacementText, value: QuizAnswersValueType.Yes },
6
- { text: quizNoReplacementText, value: QuizAnswersValueType.No }
15
+ { text: quizYesReplacementText, value: QuizAnswersValueType.Yes },
16
+ { text: quizNoReplacementText, value: QuizAnswersValueType.No },
7
17
  ]
8
18
 
9
19
  const homeAwayAnswers = [
10
- { text: quizAnswerHomeTeamReplacementText, value: QuizAnswersValueType.HomeTeam },
11
- { text: quizAnswerAwayTeamReplacementText, value: QuizAnswersValueType.AwayTeam }
20
+ { text: quizAnswerHomeTeamReplacementText, value: QuizAnswersValueType.HomeTeam },
21
+ { text: quizAnswerAwayTeamReplacementText, value: QuizAnswersValueType.AwayTeam },
12
22
  ]
13
23
 
14
- const homeAwayDrawAnswers = [
15
- ...homeAwayAnswers,
16
- { text: quizDrawReplacementText, value: QuizAnswersValueType.Draw },
17
- ]
24
+ const homeAwayDrawAnswers = [...homeAwayAnswers, { text: quizDrawReplacementText, value: QuizAnswersValueType.Draw }]
18
25
 
19
26
  export const marketsInfo = [
20
- {
21
- type: SAWGPMarketType.OneXTwo,
22
- name: '1x2',
23
- question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1x2'},
24
- answers: homeAwayDrawAnswers
25
- },
26
- {
27
- type: SAWGPMarketType.OneXTwoHalftime,
28
- name: '1x2 Halftime',
29
- question: { text: 'Who will lead the first half of the match ?', trKey: 'quizQuestion_x2half' },
30
- answers: homeAwayDrawAnswers
31
- },
32
- {
33
- type: SAWGPMarketType.HalftimeFulltime,
34
- name: 'Halftime / Fulltime',
35
- question: { text: 'Who will lead the first half and who will win the match ?', trKey: 'quizQuestion__HalftimeFulltime' },
36
- answers: [
37
- { text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamHomeTeam },
38
- { text: `${quizAnswerHomeTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
39
- { text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
40
- { text: `${quizDrawReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.DrawHomeTeam },
41
- { text: `${quizDrawReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.DrawDraw },
42
- { text: `${quizDrawReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.DrawAwayTeam },
43
- { text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamHomeTeam },
44
- { text: `${quizAnswerAwayTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw },
45
- { text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamAwayTeam }
46
- ]
47
- },
48
- {
49
- type: SAWGPMarketType.FirstGoal,
50
- name: 'First Goal',
51
- question: { text: 'Who will score the first goal ?', trKey: 'quizQuestion_firstGoal' },
52
- answers: homeAwayDrawAnswers
53
- },
54
- {
55
- type: SAWGPMarketType.LastGoal,
56
- name: 'Last Goal',
57
- question: { text: 'Who will score the last goal ?', trKey: 'quizQuestion_lastGoal' },
58
- answers: homeAwayAnswers
59
- },
60
- {
61
- type: SAWGPMarketType.DoubleChance,
62
- name: 'Double Chance',
63
- question: { text: 'Who will win the match? Choose a combination:', trKey: 'quizQuestion_doubleChance' },
64
- answers: [
65
- { text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
66
- { text: `${quizAnswerHomeTeamReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
67
- { text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw }
68
- ]
69
- },
70
- {
71
- type: SAWGPMarketType.OverUnder2_5,
72
- name: 'Over/Under 2.5',
73
- question: { text: 'Will there be 3 or more goals in the match?', trKey: 'quizQuestion_overUnder2_5' },
74
- answers: yesNoAnswers
75
- },
76
- {
77
- type: SAWGPMarketType.OverUnder1_5Halftime,
78
- name: 'Over/Under 1.5 Halftime',
79
- question: { text: 'Will there be 2 or more goals in the first half?', trKey: 'quizQuestion_overUnder1_5Halftime' },
80
- answers: yesNoAnswers
81
- },
82
- {
83
- type: SAWGPMarketType.OverUnder1_5__2ndHalf,
84
- name: 'Over/Under 1.5 2nd Half',
85
- question: { text: 'Will there be 2 or more goals in the second half?', trKey: 'quizQuestion_overUnder1_5__2ndHalf' },
86
- answers: yesNoAnswers
87
- },
88
- {
89
- type: SAWGPMarketType.RedCard,
90
- name: 'Red Card',
91
- question: { text: 'Will there be a red card in the match?', trKey: 'quizQuestion_redCard' },
92
- answers: yesNoAnswers
93
- },
94
- {
95
- type: SAWGPMarketType.TotalCorners8_5,
96
- name: 'Total Corners 8.5',
97
- question: { text: 'Will there be 9 or more corners in the match?', trKey: 'quizQuestion_totalCorners8_5' },
98
- answers: yesNoAnswers
99
- },
100
- {
101
- type: SAWGPMarketType.TotalCorners9_5,
102
- name: 'Total Corners 9.5',
103
- question: { text: 'Will there be 10 or more corners in the match?', trKey: 'quizQuestion_totalCorners9_5' },
104
- answers: yesNoAnswers
105
- },
106
- {
107
- type: SAWGPMarketType.Corners1x2,
108
- name: 'Corners 1x2',
109
- question: { text: 'Which team will have more corners in the match?', trKey: 'quizQuestion_corners1x2' },
110
- answers: homeAwayAnswers
111
- },
112
- {
113
- type: SAWGPMarketType.One_Two,
114
- name: '1-2',
115
- question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1-2'},
116
- answers: homeAwayAnswers
117
- },
118
- {
119
- type: SAWGPMarketType.Overtime,
120
- name: 'Overtime',
121
- question: { text: 'Will there be overtime in the match?', trKey: 'quizQuestion_overtime' },
122
- answers: yesNoAnswers
123
- },
124
- {
125
- type: SAWGPMarketType.OddEven,
126
- name: 'Odd/Even',
127
- question: { text: 'Is the sum of all points scored in the game going to be an odd number or even?', trKey: 'quizQuestion_oddEven' },
128
- answers: [
129
- { text: quizOddReplacementText, value: QuizAnswersValueType.Odd },
130
- { text: quizEvenReplacementText, value: QuizAnswersValueType.Even }
131
- ]
132
- },
133
- {
134
- type: SAWGPMarketType.OddEvenHomeAway,
135
- name: 'Odd/Even Home/Away',
136
- question: { text: 'Which team will win and what will be the sum of the points (Odd or Even)?', trKey: 'quizQuestion_oddEvenHomeAway' },
137
- answers: [
138
- { text: `${quizAnswerHomeTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.HomeOdd },
139
- { text: `${quizAnswerHomeTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.HomeEven },
140
- { text: `${quizAnswerAwayTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.AwayOdd },
141
- { text: `${quizAnswerAwayTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.AwayEven }
142
- ]
143
- },
144
- {
145
- type: SAWGPMarketType.FirstSet,
146
- name: 'First Set',
147
- question: { text: 'Who will win the first set ?', trKey: 'quizQuestion_firstSet' },
148
- answers: homeAwayAnswers
149
- },
150
- {
151
- type: SAWGPMarketType.SecondSet,
152
- name: 'Second Set',
153
- question: { text: 'Who will win the second set ?', trKey: 'quizQuestion_secondSet' },
154
- answers: homeAwayAnswers
155
- },
156
- {
157
- type: SAWGPMarketType.ThirdSet,
158
- name: 'Third Set',
159
- question: { text: 'Who will win the third set ?', trKey: 'quizQuestion_thirdSet' },
160
- answers: homeAwayAnswers
161
- },
162
- {
163
- type: SAWGPMarketType.FourthSet,
164
- name: 'Fourth Set',
165
- question: { text: 'Who will win the fourth set ?', trKey: 'quizQuestion_fourthSet' },
166
- answers: homeAwayAnswers
167
- },
168
- {
169
- type: SAWGPMarketType.FifthSet,
170
- name: 'Fifth Set',
171
- question: { text: 'Who will win the fifth set ?', trKey: 'quizQuestion_fifthSet' },
172
- answers: homeAwayAnswers
173
- },
174
- {
175
- type: SAWGPMarketType.PlayerOneWinsOneSet,
176
- name: 'Player One Wins One Set',
177
- question: { text: 'Will Player One win at least one set?', trKey: 'quizQuestion_playerOneWinsOneSet' },
178
- answers: yesNoAnswers
179
- },
180
- {
181
- type: SAWGPMarketType.PlayerTwoWinsOneSet,
182
- name: 'Player Two Wins One Set',
183
- question: { text: 'Will Player Two win at least one set?', trKey: 'quizQuestion_playerTwoWinsOneSet' },
184
- answers: yesNoAnswers
185
- },
186
- ]
27
+ {
28
+ type: SAWGPMarketType.OneXTwo,
29
+ name: '1x2',
30
+ question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1x2' },
31
+ answers: homeAwayDrawAnswers,
32
+ },
33
+ {
34
+ type: SAWGPMarketType.OneXTwoHalftime,
35
+ name: '1x2 Halftime',
36
+ question: { text: 'Who will lead the first half of the match ?', trKey: 'quizQuestion_x2half' },
37
+ answers: homeAwayDrawAnswers,
38
+ },
39
+ {
40
+ type: SAWGPMarketType.HalftimeFulltime,
41
+ name: 'Halftime / Fulltime',
42
+ question: { text: 'Who will lead the first half and who will win the match ?', trKey: 'quizQuestion__HalftimeFulltime' },
43
+ answers: [
44
+ { text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamHomeTeam },
45
+ { text: `${quizAnswerHomeTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
46
+ { text: `${quizAnswerHomeTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
47
+ { text: `${quizDrawReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.DrawHomeTeam },
48
+ { text: `${quizDrawReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.DrawDraw },
49
+ { text: `${quizDrawReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.DrawAwayTeam },
50
+ { text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamHomeTeam },
51
+ { text: `${quizAnswerAwayTeamReplacementText} / ${quizDrawReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw },
52
+ { text: `${quizAnswerAwayTeamReplacementText} / ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamAwayTeam },
53
+ ],
54
+ },
55
+ {
56
+ type: SAWGPMarketType.FirstGoal,
57
+ name: 'First Goal',
58
+ question: { text: 'Who will score the first goal ?', trKey: 'quizQuestion_firstGoal' },
59
+ answers: homeAwayDrawAnswers,
60
+ },
61
+ {
62
+ type: SAWGPMarketType.LastGoal,
63
+ name: 'Last Goal',
64
+ question: { text: 'Who will score the last goal ?', trKey: 'quizQuestion_lastGoal' },
65
+ answers: homeAwayAnswers,
66
+ },
67
+ {
68
+ type: SAWGPMarketType.DoubleChance,
69
+ name: 'Double Chance',
70
+ question: { text: 'Who will win the match? Choose a combination:', trKey: 'quizQuestion_doubleChance' },
71
+ answers: [
72
+ { text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerHomeTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamDraw },
73
+ { text: `${quizAnswerHomeTeamReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.HomeTeamAwayTeam },
74
+ { text: `${quizDrawReplacementText} ${quizOrReplacementText} ${quizAnswerAwayTeamReplacementText}`, value: QuizAnswersValueType.AwayTeamDraw },
75
+ ],
76
+ },
77
+ {
78
+ type: SAWGPMarketType.OverUnder2_5,
79
+ name: 'Over/Under 2.5',
80
+ question: { text: 'Will there be 3 or more goals in the match?', trKey: 'quizQuestion_overUnder2_5' },
81
+ answers: yesNoAnswers,
82
+ },
83
+ {
84
+ type: SAWGPMarketType.OverUnder1_5Halftime,
85
+ name: 'Over/Under 1.5 Halftime',
86
+ question: { text: 'Will there be 2 or more goals in the first half?', trKey: 'quizQuestion_overUnder1_5Halftime' },
87
+ answers: yesNoAnswers,
88
+ },
89
+ {
90
+ type: SAWGPMarketType.OverUnder1_5__2ndHalf,
91
+ name: 'Over/Under 1.5 2nd Half',
92
+ question: { text: 'Will there be 2 or more goals in the second half?', trKey: 'quizQuestion_overUnder1_5__2ndHalf' },
93
+ answers: yesNoAnswers,
94
+ },
95
+ {
96
+ type: SAWGPMarketType.RedCard,
97
+ name: 'Red Card',
98
+ question: { text: 'Will there be a red card in the match?', trKey: 'quizQuestion_redCard' },
99
+ answers: yesNoAnswers,
100
+ },
101
+ {
102
+ type: SAWGPMarketType.TotalCorners8_5,
103
+ name: 'Total Corners 8.5',
104
+ question: { text: 'Will there be 9 or more corners in the match?', trKey: 'quizQuestion_totalCorners8_5' },
105
+ answers: yesNoAnswers,
106
+ },
107
+ {
108
+ type: SAWGPMarketType.TotalCorners9_5,
109
+ name: 'Total Corners 9.5',
110
+ question: { text: 'Will there be 10 or more corners in the match?', trKey: 'quizQuestion_totalCorners9_5' },
111
+ answers: yesNoAnswers,
112
+ },
113
+ {
114
+ type: SAWGPMarketType.Corners1x2,
115
+ name: 'Corners 1x2',
116
+ question: { text: 'Which team will have more corners in the match?', trKey: 'quizQuestion_corners1x2' },
117
+ answers: homeAwayAnswers,
118
+ },
119
+ {
120
+ type: SAWGPMarketType.One_Two,
121
+ name: '1-2',
122
+ question: { text: 'Who will win the match ?', trKey: 'quizQuestion_1-2' },
123
+ answers: homeAwayAnswers,
124
+ },
125
+ {
126
+ type: SAWGPMarketType.Overtime,
127
+ name: 'Overtime',
128
+ question: { text: 'Will there be overtime in the match?', trKey: 'quizQuestion_overtime' },
129
+ answers: yesNoAnswers,
130
+ },
131
+ {
132
+ type: SAWGPMarketType.OddEven,
133
+ name: 'Odd/Even',
134
+ question: { text: 'Is the sum of all points scored in the game going to be an odd number or even?', trKey: 'quizQuestion_oddEven' },
135
+ answers: [
136
+ { text: quizOddReplacementText, value: QuizAnswersValueType.Odd },
137
+ { text: quizEvenReplacementText, value: QuizAnswersValueType.Even },
138
+ ],
139
+ },
140
+ {
141
+ type: SAWGPMarketType.OddEvenHomeAway,
142
+ name: 'Odd/Even Home/Away',
143
+ question: { text: 'Which team will win and what will be the sum of the points (Odd or Even)?', trKey: 'quizQuestion_oddEvenHomeAway' },
144
+ answers: [
145
+ { text: `${quizAnswerHomeTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.HomeOdd },
146
+ { text: `${quizAnswerHomeTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.HomeEven },
147
+ { text: `${quizAnswerAwayTeamReplacementText} - ${quizOddReplacementText}`, value: QuizAnswersValueType.AwayOdd },
148
+ { text: `${quizAnswerAwayTeamReplacementText} - ${quizEvenReplacementText}`, value: QuizAnswersValueType.AwayEven },
149
+ ],
150
+ },
151
+ {
152
+ type: SAWGPMarketType.FirstSet,
153
+ name: 'First Set',
154
+ question: { text: 'Who will win the first set ?', trKey: 'quizQuestion_firstSet' },
155
+ answers: homeAwayAnswers,
156
+ },
157
+ {
158
+ type: SAWGPMarketType.SecondSet,
159
+ name: 'Second Set',
160
+ question: { text: 'Who will win the second set ?', trKey: 'quizQuestion_secondSet' },
161
+ answers: homeAwayAnswers,
162
+ },
163
+ {
164
+ type: SAWGPMarketType.ThirdSet,
165
+ name: 'Third Set',
166
+ question: { text: 'Who will win the third set ?', trKey: 'quizQuestion_thirdSet' },
167
+ answers: homeAwayAnswers,
168
+ },
169
+ {
170
+ type: SAWGPMarketType.FourthSet,
171
+ name: 'Fourth Set',
172
+ question: { text: 'Who will win the fourth set ?', trKey: 'quizQuestion_fourthSet' },
173
+ answers: homeAwayAnswers,
174
+ },
175
+ {
176
+ type: SAWGPMarketType.FifthSet,
177
+ name: 'Fifth Set',
178
+ question: { text: 'Who will win the fifth set ?', trKey: 'quizQuestion_fifthSet' },
179
+ answers: homeAwayAnswers,
180
+ },
181
+ {
182
+ type: SAWGPMarketType.PlayerOneWinsOneSet,
183
+ name: 'Player One Wins One Set',
184
+ question: { text: 'Will Player One win at least one set?', trKey: 'quizQuestion_playerOneWinsOneSet' },
185
+ answers: yesNoAnswers,
186
+ },
187
+ {
188
+ type: SAWGPMarketType.PlayerTwoWinsOneSet,
189
+ name: 'Player Two Wins One Set',
190
+ question: { text: 'Will Player Two win at least one set?', trKey: 'quizQuestion_playerTwoWinsOneSet' },
191
+ answers: yesNoAnswers,
192
+ },
193
+ ]
@@ -1,39 +1,32 @@
1
- import { SAWGPMarketType } from "./MarketsType";
2
- import { QuizSportType } from "./SportTypes";
1
+ import { SAWGPMarketType } from './MarketsType'
2
+ import { QuizSportType } from './SportTypes'
3
3
 
4
4
  export const QuizMarketPerSport = {
5
- [QuizSportType.Basketball]: [
6
- SAWGPMarketType.One_Two,
7
- SAWGPMarketType.Overtime,
8
- SAWGPMarketType.OneXTwo,
9
- SAWGPMarketType.OddEven,
10
- SAWGPMarketType.OddEvenHomeAway,
11
- SAWGPMarketType.DoubleChance,
12
- ],
13
- [QuizSportType.Soccer]: [
14
- SAWGPMarketType.OneXTwo,
15
- SAWGPMarketType.OneXTwoHalftime,
16
- SAWGPMarketType.HalftimeFulltime,
17
- SAWGPMarketType.FirstGoal,
18
- SAWGPMarketType.LastGoal,
19
- SAWGPMarketType.DoubleChance,
20
- SAWGPMarketType.OverUnder2_5,
21
- SAWGPMarketType.OverUnder1_5Halftime,
22
- SAWGPMarketType.OverUnder1_5__2ndHalf,
23
- SAWGPMarketType.RedCard,
24
- SAWGPMarketType.TotalCorners8_5,
25
- SAWGPMarketType.TotalCorners9_5,
26
- SAWGPMarketType.Corners1x2,
27
- ],
28
- [QuizSportType.Tennis]: [
29
- SAWGPMarketType.One_Two,
30
- SAWGPMarketType.FirstSet,
31
- SAWGPMarketType.SecondSet,
32
- SAWGPMarketType.ThirdSet,
33
- SAWGPMarketType.FourthSet,
34
- SAWGPMarketType.FifthSet,
35
- SAWGPMarketType.PlayerOneWinsOneSet,
36
- SAWGPMarketType.PlayerTwoWinsOneSet,
37
- SAWGPMarketType.OddEven
38
- ]
39
- }
5
+ [QuizSportType.Basketball]: [SAWGPMarketType.One_Two, SAWGPMarketType.Overtime, SAWGPMarketType.OneXTwo, SAWGPMarketType.OddEven, SAWGPMarketType.OddEvenHomeAway, SAWGPMarketType.DoubleChance],
6
+ [QuizSportType.Soccer]: [
7
+ SAWGPMarketType.OneXTwo,
8
+ SAWGPMarketType.OneXTwoHalftime,
9
+ SAWGPMarketType.HalftimeFulltime,
10
+ SAWGPMarketType.FirstGoal,
11
+ SAWGPMarketType.LastGoal,
12
+ SAWGPMarketType.DoubleChance,
13
+ SAWGPMarketType.OverUnder2_5,
14
+ SAWGPMarketType.OverUnder1_5Halftime,
15
+ SAWGPMarketType.OverUnder1_5__2ndHalf,
16
+ SAWGPMarketType.RedCard,
17
+ SAWGPMarketType.TotalCorners8_5,
18
+ SAWGPMarketType.TotalCorners9_5,
19
+ SAWGPMarketType.Corners1x2,
20
+ ],
21
+ [QuizSportType.Tennis]: [
22
+ SAWGPMarketType.One_Two,
23
+ SAWGPMarketType.FirstSet,
24
+ SAWGPMarketType.SecondSet,
25
+ SAWGPMarketType.ThirdSet,
26
+ SAWGPMarketType.FourthSet,
27
+ SAWGPMarketType.FifthSet,
28
+ SAWGPMarketType.PlayerOneWinsOneSet,
29
+ SAWGPMarketType.PlayerTwoWinsOneSet,
30
+ SAWGPMarketType.OddEven,
31
+ ],
32
+ }
@@ -1,30 +1,30 @@
1
1
  export enum SAWGPMarketType {
2
- TwoTeamsWithScore = 1,
3
- RedCard = 2,
4
- OneXTwo = 3,
5
- OneXTwoHalftime = 4,
6
- HalftimeFulltime = 5,
7
- FirstGoal = 6,
8
- DoubleChance = 7,
9
- OverUnder2_5 = 8,
10
- OverUnder1_5Halftime = 9,
11
- OverUnder1_5__2ndHalf = 10,
12
- TotalCorners8_5 = 11,
13
- TotalCorners9_5 = 12,
14
- Corners1x2 = 13,
15
- One_Two = 14,
16
- Overtime = 15,
17
- OddEven = 16,
18
- OddEvenHomeAway = 17,
19
- FirstSet = 18,
20
- SecondSet = 19,
21
- ThirdSet = 20,
22
- FourthSet = 21,
23
- FifthSet = 22,
24
- PlayerOneWinsOneSet = 23,
25
- PlayerTwoWinsOneSet = 24,
26
- LastGoal = 25,
2
+ TwoTeamsWithScore = 1,
3
+ RedCard = 2,
4
+ OneXTwo = 3,
5
+ OneXTwoHalftime = 4,
6
+ HalftimeFulltime = 5,
7
+ FirstGoal = 6,
8
+ DoubleChance = 7,
9
+ OverUnder2_5 = 8,
10
+ OverUnder1_5Halftime = 9,
11
+ OverUnder1_5__2ndHalf = 10,
12
+ TotalCorners8_5 = 11,
13
+ TotalCorners9_5 = 12,
14
+ Corners1x2 = 13,
15
+ One_Two = 14,
16
+ Overtime = 15,
17
+ OddEven = 16,
18
+ OddEvenHomeAway = 17,
19
+ FirstSet = 18,
20
+ SecondSet = 19,
21
+ ThirdSet = 20,
22
+ FourthSet = 21,
23
+ FifthSet = 22,
24
+ PlayerOneWinsOneSet = 23,
25
+ PlayerTwoWinsOneSet = 24,
26
+ LastGoal = 25,
27
27
 
28
- CustomSport = 26,
29
- CustomNonSport = 27,
30
- }
28
+ CustomSport = 26,
29
+ CustomNonSport = 27,
30
+ }
@@ -1,32 +1,32 @@
1
- type TeamType = 'Home' | 'Away';
2
- type CardType = 'Yellow' | 'Red';
3
- type TimeType = 'FT' | '1st Half' | '2nd Half';
1
+ type TeamType = 'Home' | 'Away'
2
+ type CardType = 'Yellow' | 'Red'
3
+ type TimeType = 'FT' | '1st Half' | '2nd Half'
4
4
 
5
5
  export type OverHalfFullTimeScoreType = {
6
- home: number,
7
- away: number,
6
+ home: number
7
+ away: number
8
8
  }
9
9
 
10
10
  export type CardScoreType = {
11
- time: 'string',
12
- type: CardType,
13
- player: string,
11
+ time: 'string'
12
+ type: CardType
13
+ player: string
14
14
  }
15
15
 
16
16
  export type CornerScoreType = {
17
- team: TeamType,
18
- timeType: TimeType,
19
- totalCount: number,
17
+ team: TeamType
18
+ timeType: TimeType
19
+ totalCount: number
20
20
  }
21
21
 
22
22
  export type GoalScoreType = {
23
- team: TeamType,
24
- time: string,
25
- player: string,
26
- matchScore: OverHalfFullTimeScoreType,
23
+ team: TeamType
24
+ time: string
25
+ player: string
26
+ matchScore: OverHalfFullTimeScoreType
27
27
  }
28
28
 
29
29
  export type SetsScoreType = {
30
- set: number,
31
- setScore: OverHalfFullTimeScoreType,
32
- }
30
+ set: number
31
+ setScore: OverHalfFullTimeScoreType
32
+ }
@@ -1,7 +1,7 @@
1
1
  export enum QuizSportType {
2
- Soccer = 1,
3
- Tennis = 5,
4
- Basketball = 6,
2
+ Soccer = 1,
3
+ Tennis = 5,
4
+ Basketball = 6,
5
5
  }
6
6
 
7
- export const quizSupportedSports = [QuizSportType.Basketball, QuizSportType.Soccer, QuizSportType.Tennis];
7
+ export const quizSupportedSports = [QuizSportType.Basketball, QuizSportType.Soccer, QuizSportType.Tennis]