@mtgame/core 0.2.26 → 2.0.0

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 (522) hide show
  1. package/api/basketball-game-api.d.ts +3 -0
  2. package/api/feedback-api.d.ts +5 -2
  3. package/api/file-api.d.ts +3 -0
  4. package/api/football-game-api.d.ts +3 -0
  5. package/api/game-base-api.d.ts +3 -0
  6. package/api/handball-game-api.d.ts +3 -0
  7. package/api/hockey-game-api.d.ts +3 -0
  8. package/api/league-api.d.ts +3 -0
  9. package/api/league-news-api.d.ts +3 -0
  10. package/api/league-player-api.d.ts +3 -0
  11. package/api/media-api.d.ts +5 -2
  12. package/api/notification-api.d.ts +3 -0
  13. package/api/notification-base-api.d.ts +3 -0
  14. package/api/org-notification-api.d.ts +3 -0
  15. package/api/public-team-api.d.ts +3 -2
  16. package/api/public-user-api.d.ts +3 -0
  17. package/api/reference-api.d.ts +3 -0
  18. package/api/rugby-game-api.d.ts +3 -0
  19. package/api/team-api.d.ts +4 -1
  20. package/api/team-event-api.d.ts +3 -0
  21. package/api/tournament-api.d.ts +3 -2
  22. package/api/tournament-join-api.d.ts +3 -0
  23. package/api/tournament-round-api.d.ts +3 -0
  24. package/api/tournament-season-api.d.ts +3 -0
  25. package/api/tournament-stage-api.d.ts +3 -0
  26. package/api/user-api.d.ts +5 -2
  27. package/api/volleyball-game-api.d.ts +3 -1
  28. package/api/waterpolo-game-api.d.ts +3 -0
  29. package/esm2020/api/basketball-game-api.mjs +44 -0
  30. package/esm2020/api/feedback-api.mjs +29 -0
  31. package/esm2020/api/file-api.mjs +41 -0
  32. package/esm2020/api/football-game-api.mjs +49 -0
  33. package/esm2020/api/game-base-api.mjs +40 -0
  34. package/esm2020/api/handball-game-api.mjs +49 -0
  35. package/esm2020/api/hockey-game-api.mjs +49 -0
  36. package/esm2020/api/league-api.mjs +119 -0
  37. package/esm2020/api/league-news-api.mjs +57 -0
  38. package/esm2020/api/league-player-api.mjs +31 -0
  39. package/esm2020/api/media-api.mjs +124 -0
  40. package/esm2020/api/notification-api.mjs +16 -0
  41. package/esm2020/api/notification-base-api.mjs +62 -0
  42. package/esm2020/api/org-notification-api.mjs +16 -0
  43. package/{esm2015/api/paginated-response.interface.js → esm2020/api/paginated-response.interface.mjs} +0 -0
  44. package/{esm2015/api/public-api.js → esm2020/api/public-api.mjs} +0 -0
  45. package/esm2020/api/public-team-api.mjs +28 -0
  46. package/esm2020/api/public-user-api.mjs +38 -0
  47. package/esm2020/api/reference-api.mjs +30 -0
  48. package/esm2020/api/rugby-game-api.mjs +47 -0
  49. package/esm2020/api/team-api.mjs +302 -0
  50. package/esm2020/api/team-event-api.mjs +61 -0
  51. package/esm2020/api/tournament-api.mjs +391 -0
  52. package/esm2020/api/tournament-join-api.mjs +55 -0
  53. package/esm2020/api/tournament-round-api.mjs +57 -0
  54. package/esm2020/api/tournament-season-api.mjs +92 -0
  55. package/esm2020/api/tournament-stage-api.mjs +48 -0
  56. package/esm2020/api/user-api.mjs +219 -0
  57. package/esm2020/api/volleyball-game-api.mjs +49 -0
  58. package/esm2020/api/waterpolo-game-api.mjs +49 -0
  59. package/esm2020/http-cookie.interceptor.mjs +38 -0
  60. package/{esm2015/localization/basketball-game-log-types.js → esm2020/localization/basketball-game-log-types.mjs} +0 -0
  61. package/{esm2015/localization/basketball-game-sub-log-types.js → esm2020/localization/basketball-game-sub-log-types.mjs} +2 -5
  62. package/{esm2015/localization/football-game-log-types.js → esm2020/localization/football-game-log-types.mjs} +0 -0
  63. package/{esm2015/localization/handball-game-log-types.js → esm2020/localization/handball-game-log-types.mjs} +0 -0
  64. package/{esm2015/localization/hockey-game-log-types.js → esm2020/localization/hockey-game-log-types.mjs} +2 -5
  65. package/esm2020/localization/hockey-penalty-types.mjs +50 -0
  66. package/{esm2015/localization/organization-statuses.js → esm2020/localization/organization-statuses.mjs} +0 -0
  67. package/{esm2015/localization/overtime-types.js → esm2020/localization/overtime-types.mjs} +0 -0
  68. package/{esm2015/localization/public-api.js → esm2020/localization/public-api.mjs} +0 -0
  69. package/{esm2015/localization/rugby-foul-game-stage.js → esm2020/localization/rugby-foul-game-stage.mjs} +0 -0
  70. package/{esm2015/localization/rugby-foul-sanction.js → esm2020/localization/rugby-foul-sanction.mjs} +0 -0
  71. package/{esm2015/localization/rugby-game-log-types.js → esm2020/localization/rugby-game-log-types.mjs} +0 -0
  72. package/{esm2015/localization/team-event-type.js → esm2020/localization/team-event-type.mjs} +0 -0
  73. package/{esm2015/localization/team-user-role.js → esm2020/localization/team-user-role.mjs} +0 -0
  74. package/{esm2015/localization/user-profile.js → esm2020/localization/user-profile.mjs} +0 -0
  75. package/{esm2015/localization/volleyball-game-log-types.js → esm2020/localization/volleyball-game-log-types.mjs} +0 -0
  76. package/{esm2015/localization/waterpolo-game-log-types.js → esm2020/localization/waterpolo-game-log-types.mjs} +3 -3
  77. package/esm2020/models/achievement.mjs +18 -0
  78. package/esm2020/models/base-statistic.mjs +4 -0
  79. package/esm2020/models/basketball-game-config.mjs +18 -0
  80. package/esm2020/models/basketball-game-log.mjs +158 -0
  81. package/esm2020/models/basketball-game-statistic.mjs +47 -0
  82. package/esm2020/models/basketball-game-team-statistic.mjs +15 -0
  83. package/esm2020/models/basketball-profile.mjs +27 -0
  84. package/esm2020/models/basketball-statistic.mjs +62 -0
  85. package/esm2020/models/city.mjs +9 -0
  86. package/esm2020/models/feedback.mjs +14 -0
  87. package/esm2020/models/file.mjs +31 -0
  88. package/esm2020/models/football-game-config.mjs +22 -0
  89. package/esm2020/models/football-game-log.mjs +83 -0
  90. package/esm2020/models/football-game-statistic.mjs +93 -0
  91. package/esm2020/models/football-game-team-statistic.mjs +15 -0
  92. package/esm2020/models/football-profile.mjs +27 -0
  93. package/esm2020/models/football-statistic.mjs +76 -0
  94. package/esm2020/models/game-bill.mjs +30 -0
  95. package/esm2020/models/game-config-base.mjs +4 -0
  96. package/esm2020/models/game-invite.mjs +22 -0
  97. package/esm2020/models/game-log-base.mjs +4 -0
  98. package/esm2020/models/game-statistic-base.mjs +7 -0
  99. package/{esm2015/models/game-team-statistic-base.js → esm2020/models/game-team-statistic-base.mjs} +0 -0
  100. package/esm2020/models/game-timeline-stages.mjs +19 -0
  101. package/esm2020/models/game-user-disqualification.mjs +14 -0
  102. package/esm2020/models/game-user-limitation.mjs +19 -0
  103. package/esm2020/models/game-user.mjs +20 -0
  104. package/esm2020/models/game.mjs +188 -0
  105. package/esm2020/models/handball-game-config.mjs +16 -0
  106. package/esm2020/models/handball-game-log.mjs +71 -0
  107. package/esm2020/models/handball-game-statistic.mjs +67 -0
  108. package/esm2020/models/handball-game-team-statistic.mjs +15 -0
  109. package/esm2020/models/handball-profile.mjs +23 -0
  110. package/esm2020/models/handball-statistic.mjs +37 -0
  111. package/esm2020/models/hockey-game-config.mjs +25 -0
  112. package/esm2020/models/hockey-game-log.mjs +102 -0
  113. package/esm2020/models/hockey-game-statistic.mjs +101 -0
  114. package/esm2020/models/hockey-game-team-statistic.mjs +15 -0
  115. package/esm2020/models/hockey-penalty-types.mjs +6 -0
  116. package/esm2020/models/hockey-profile.mjs +25 -0
  117. package/esm2020/models/hockey-statistic.mjs +49 -0
  118. package/esm2020/models/league-banner.mjs +21 -0
  119. package/esm2020/models/league-court.mjs +9 -0
  120. package/esm2020/models/league-document.mjs +14 -0
  121. package/esm2020/models/league-news.mjs +25 -0
  122. package/esm2020/models/league-partner.mjs +14 -0
  123. package/esm2020/models/league-player.mjs +81 -0
  124. package/esm2020/models/league-playlist.mjs +14 -0
  125. package/esm2020/models/league-user.mjs +38 -0
  126. package/esm2020/models/league.mjs +38 -0
  127. package/esm2020/models/media-item.mjs +20 -0
  128. package/esm2020/models/notification-settings.mjs +20 -0
  129. package/esm2020/models/notification.mjs +105 -0
  130. package/esm2020/models/organization-bill.mjs +31 -0
  131. package/esm2020/models/organization-statistic.mjs +9 -0
  132. package/esm2020/models/organization-tariff.mjs +16 -0
  133. package/esm2020/models/organization.mjs +21 -0
  134. package/esm2020/models/playoff.mjs +56 -0
  135. package/esm2020/models/poll.mjs +83 -0
  136. package/esm2020/models/public-api.mjs +110 -0
  137. package/esm2020/models/rugby-foul-type.mjs +39 -0
  138. package/esm2020/models/rugby-game-config.mjs +23 -0
  139. package/esm2020/models/rugby-game-log.mjs +120 -0
  140. package/esm2020/models/rugby-game-statistic.mjs +29 -0
  141. package/esm2020/models/rugby-game-team-statistic.mjs +15 -0
  142. package/esm2020/models/rugby-profile.mjs +22 -0
  143. package/esm2020/models/rugby-statistic.mjs +37 -0
  144. package/esm2020/models/season-tournament.mjs +9 -0
  145. package/esm2020/models/sport.mjs +96 -0
  146. package/esm2020/models/team-access.mjs +14 -0
  147. package/esm2020/models/team-achievement.mjs +18 -0
  148. package/esm2020/models/team-event-invite.mjs +18 -0
  149. package/{esm2015/models/team-event-type.js → esm2020/models/team-event-type.mjs} +0 -0
  150. package/esm2020/models/team-event.mjs +27 -0
  151. package/esm2020/models/team-invite-external.mjs +9 -0
  152. package/esm2020/models/team-invite.mjs +18 -0
  153. package/esm2020/models/team-permission.mjs +23 -0
  154. package/esm2020/models/team-user.mjs +30 -0
  155. package/esm2020/models/team.mjs +46 -0
  156. package/esm2020/models/teams-and-users.mjs +20 -0
  157. package/esm2020/models/tournament-disqualification.mjs +14 -0
  158. package/esm2020/models/tournament-division.mjs +14 -0
  159. package/esm2020/models/tournament-event.mjs +28 -0
  160. package/esm2020/models/tournament-group.mjs +9 -0
  161. package/esm2020/models/tournament-invite.mjs +21 -0
  162. package/esm2020/models/tournament-join-team.mjs +27 -0
  163. package/esm2020/models/tournament-join1x1-data.mjs +15 -0
  164. package/esm2020/models/tournament-news.mjs +17 -0
  165. package/esm2020/models/tournament-round-team.mjs +40 -0
  166. package/esm2020/models/tournament-round.mjs +22 -0
  167. package/esm2020/models/tournament-season.mjs +25 -0
  168. package/esm2020/models/tournament-stage-team.mjs +22 -0
  169. package/esm2020/models/tournament-stage.mjs +20 -0
  170. package/esm2020/models/tournament-team-user-invite.mjs +14 -0
  171. package/esm2020/models/tournament-team-user.mjs +20 -0
  172. package/esm2020/models/tournament-team.mjs +28 -0
  173. package/esm2020/models/tournament.mjs +153 -0
  174. package/esm2020/models/user-access.mjs +9 -0
  175. package/esm2020/models/user-permission.mjs +23 -0
  176. package/esm2020/models/user-profile.mjs +9 -0
  177. package/esm2020/models/user.mjs +55 -0
  178. package/esm2020/models/util.mjs +143 -0
  179. package/esm2020/models/volleyball-game-config.mjs +27 -0
  180. package/esm2020/models/volleyball-game-log.mjs +124 -0
  181. package/esm2020/models/volleyball-game-statistic.mjs +34 -0
  182. package/esm2020/models/volleyball-game-team-statistic.mjs +15 -0
  183. package/esm2020/models/volleyball-profile.mjs +27 -0
  184. package/esm2020/models/volleyball-statistic.mjs +44 -0
  185. package/esm2020/models/waterpolo-game-config.mjs +25 -0
  186. package/esm2020/models/waterpolo-game-log.mjs +142 -0
  187. package/esm2020/models/waterpolo-game-statistic.mjs +472 -0
  188. package/esm2020/models/waterpolo-game-team-statistic.mjs +15 -0
  189. package/esm2020/models/waterpolo-profile.mjs +26 -0
  190. package/esm2020/models/waterpolo-statistic.mjs +57 -0
  191. package/{esm2015/mtgame-core.js → esm2020/mtgame-core.mjs} +0 -0
  192. package/{esm2015/public-api.js → esm2020/public-api.mjs} +2 -1
  193. package/esm2020/services/base.controller.mjs +19 -0
  194. package/esm2020/services/base.service.mjs +18 -0
  195. package/esm2020/services/centrifugo.service.mjs +105 -0
  196. package/esm2020/services/config.service.mjs +44 -0
  197. package/{esm2015/services/public-api.js → esm2020/services/public-api.mjs} +2 -1
  198. package/esm2020/storage/local-storage-engine.mjs +18 -0
  199. package/esm2020/storage/new.mjs +46 -0
  200. package/esm2020/storage/old-local-storage-engine.mjs +18 -0
  201. package/esm2020/storage/old-storage-engine.mjs +49 -0
  202. package/esm2020/storage/public-api.mjs +7 -0
  203. package/esm2020/storage/storage-engine.mjs +47 -0
  204. package/{esm2015/storage/store.js → esm2020/storage/store.mjs} +1 -1
  205. package/{esm2015/utils/array.js → esm2020/utils/array.mjs} +0 -0
  206. package/esm2020/utils/component-destroyed.mjs +27 -0
  207. package/{esm2015/utils/cookie.js → esm2020/utils/cookie.mjs} +0 -0
  208. package/esm2020/utils/data.mjs +164 -0
  209. package/{esm2015/utils/date.js → esm2020/utils/date.mjs} +0 -0
  210. package/{esm2015/utils/device.js → esm2020/utils/device.mjs} +0 -0
  211. package/{esm2015/utils/enum.js → esm2020/utils/enum.mjs} +0 -0
  212. package/{esm2015/utils/errors.js → esm2020/utils/errors.mjs} +2 -4
  213. package/{esm2015/utils/favicon.js → esm2020/utils/favicon.mjs} +0 -0
  214. package/{esm2015/utils/form.js → esm2020/utils/form.mjs} +0 -0
  215. package/{esm2015/utils/public-api.js → esm2020/utils/public-api.mjs} +0 -0
  216. package/{esm2015/utils/validators.js → esm2020/utils/validators.mjs} +0 -0
  217. package/esm2020/websocket/game.websocket.mjs +61 -0
  218. package/esm2020/websocket/public-api.mjs +2 -0
  219. package/fesm2015/{mtgame-core.js → mtgame-core.mjs} +1665 -4848
  220. package/fesm2015/mtgame-core.mjs.map +1 -0
  221. package/fesm2020/mtgame-core.mjs +7270 -0
  222. package/fesm2020/mtgame-core.mjs.map +1 -0
  223. package/http-cookie.interceptor.d.ts +3 -0
  224. package/localization/basketball-game-sub-log-types.d.ts +0 -3
  225. package/localization/football-game-log-types.d.ts +29 -29
  226. package/localization/hockey-game-log-types.d.ts +0 -3
  227. package/localization/hockey-penalty-types.d.ts +2 -5
  228. package/models/achievement.d.ts +0 -2
  229. package/models/base-statistic.d.ts +2 -1
  230. package/models/basketball-game-config.d.ts +2 -4
  231. package/models/basketball-game-log.d.ts +2 -9
  232. package/models/basketball-game-statistic.d.ts +1 -4
  233. package/models/basketball-game-team-statistic.d.ts +0 -2
  234. package/models/basketball-profile.d.ts +0 -2
  235. package/models/basketball-statistic.d.ts +1 -4
  236. package/models/city.d.ts +0 -2
  237. package/models/feedback.d.ts +2 -3
  238. package/models/file.d.ts +2 -3
  239. package/models/football-game-config.d.ts +2 -4
  240. package/models/football-game-log.d.ts +30 -33
  241. package/models/football-game-statistic.d.ts +1 -4
  242. package/models/football-game-team-statistic.d.ts +0 -2
  243. package/models/football-profile.d.ts +0 -2
  244. package/models/football-statistic.d.ts +1 -4
  245. package/models/game-bill.d.ts +0 -2
  246. package/models/game-config-base.d.ts +3 -0
  247. package/models/game-invite.d.ts +0 -2
  248. package/models/game-log-base.d.ts +3 -2
  249. package/models/game-statistic-base.d.ts +3 -1
  250. package/models/game-timeline-stages.d.ts +1 -5
  251. package/models/game-user-disqualification.d.ts +0 -2
  252. package/models/game-user-limitation.d.ts +0 -4
  253. package/models/game-user.d.ts +0 -2
  254. package/models/game.d.ts +10 -21
  255. package/models/handball-game-config.d.ts +2 -4
  256. package/models/handball-game-log.d.ts +1 -4
  257. package/models/handball-game-statistic.d.ts +1 -4
  258. package/models/handball-game-team-statistic.d.ts +0 -2
  259. package/models/handball-profile.d.ts +0 -2
  260. package/models/handball-statistic.d.ts +1 -4
  261. package/models/hockey-game-config.d.ts +2 -4
  262. package/models/hockey-game-log.d.ts +4 -15
  263. package/models/hockey-game-statistic.d.ts +1 -18
  264. package/models/hockey-game-team-statistic.d.ts +0 -2
  265. package/models/hockey-penalty-types.d.ts +7 -0
  266. package/models/hockey-profile.d.ts +0 -2
  267. package/models/hockey-statistic.d.ts +1 -18
  268. package/models/league-banner.d.ts +0 -2
  269. package/models/league-court.d.ts +0 -2
  270. package/models/league-document.d.ts +0 -2
  271. package/models/league-news.d.ts +0 -2
  272. package/models/league-partner.d.ts +0 -2
  273. package/models/league-player.d.ts +2 -13
  274. package/models/league-playlist.d.ts +0 -2
  275. package/models/league-user.d.ts +0 -2
  276. package/models/league.d.ts +1 -6
  277. package/models/media-item.d.ts +0 -2
  278. package/models/notification-settings.d.ts +0 -2
  279. package/models/notification.d.ts +0 -2
  280. package/models/organization-bill.d.ts +0 -2
  281. package/models/organization-statistic.d.ts +0 -2
  282. package/models/organization-tariff.d.ts +0 -2
  283. package/models/organization.d.ts +0 -2
  284. package/models/playoff.d.ts +0 -4
  285. package/models/poll.d.ts +0 -6
  286. package/models/public-api.d.ts +0 -6
  287. package/models/rugby-foul-type.d.ts +0 -2
  288. package/models/rugby-game-config.d.ts +2 -4
  289. package/models/rugby-game-log.d.ts +1 -4
  290. package/models/rugby-game-statistic.d.ts +7 -10
  291. package/models/rugby-game-team-statistic.d.ts +0 -2
  292. package/models/rugby-profile.d.ts +0 -2
  293. package/models/rugby-statistic.d.ts +1 -4
  294. package/models/season-tournament.d.ts +0 -2
  295. package/models/sport.d.ts +0 -2
  296. package/models/team-access.d.ts +0 -2
  297. package/models/team-achievement.d.ts +0 -2
  298. package/models/team-event-invite.d.ts +2 -3
  299. package/models/team-event.d.ts +0 -2
  300. package/models/team-invite-external.d.ts +0 -2
  301. package/models/team-invite.d.ts +0 -2
  302. package/models/team-permission.d.ts +0 -2
  303. package/models/team-user.d.ts +0 -2
  304. package/models/team.d.ts +0 -2
  305. package/models/teams-and-users.d.ts +0 -2
  306. package/models/tournament-disqualification.d.ts +0 -2
  307. package/models/tournament-division.d.ts +0 -2
  308. package/models/tournament-event.d.ts +0 -2
  309. package/models/tournament-group.d.ts +0 -2
  310. package/models/tournament-invite.d.ts +0 -2
  311. package/models/tournament-join-team.d.ts +0 -4
  312. package/models/tournament-join1x1-data.d.ts +0 -2
  313. package/models/tournament-news.d.ts +0 -2
  314. package/models/tournament-round-team.d.ts +4 -14
  315. package/models/tournament-round.d.ts +0 -2
  316. package/models/tournament-season.d.ts +0 -2
  317. package/models/tournament-stage-team.d.ts +0 -2
  318. package/models/tournament-stage.d.ts +0 -2
  319. package/models/tournament-team-user-invite.d.ts +0 -2
  320. package/models/tournament-team-user.d.ts +0 -5
  321. package/models/tournament-team.d.ts +0 -16
  322. package/models/tournament.d.ts +5 -21
  323. package/models/user-access.d.ts +0 -2
  324. package/models/user-permission.d.ts +0 -2
  325. package/models/user-profile.d.ts +2 -3
  326. package/models/user.d.ts +2 -6
  327. package/models/util.d.ts +22 -46
  328. package/models/volleyball-game-config.d.ts +2 -4
  329. package/models/volleyball-game-log.d.ts +1 -4
  330. package/models/volleyball-game-statistic.d.ts +1 -4
  331. package/models/volleyball-game-team-statistic.d.ts +0 -2
  332. package/models/volleyball-profile.d.ts +0 -2
  333. package/models/volleyball-statistic.d.ts +1 -4
  334. package/models/waterpolo-game-config.d.ts +2 -4
  335. package/models/waterpolo-game-log.d.ts +1 -4
  336. package/models/waterpolo-game-statistic.d.ts +1 -4
  337. package/models/waterpolo-game-team-statistic.d.ts +0 -2
  338. package/models/waterpolo-profile.d.ts +0 -2
  339. package/models/waterpolo-statistic.d.ts +1 -4
  340. package/mtgame-core.d.ts +1 -0
  341. package/package.json +23 -10
  342. package/public-api.d.ts +1 -0
  343. package/services/base.controller.d.ts +12 -0
  344. package/services/base.service.d.ts +3 -0
  345. package/services/centrifugo.service.d.ts +6 -4
  346. package/services/config.service.d.ts +3 -0
  347. package/services/public-api.d.ts +1 -0
  348. package/storage/local-storage-engine.d.ts +2 -2
  349. package/storage/new.d.ts +17 -0
  350. package/storage/old-local-storage-engine.d.ts +6 -0
  351. package/storage/old-storage-engine.d.ts +24 -0
  352. package/storage/public-api.d.ts +5 -2
  353. package/storage/storage-engine.d.ts +25 -18
  354. package/storage/store.d.ts +3 -3
  355. package/utils/component-destroyed.d.ts +1 -1
  356. package/utils/data.d.ts +36 -6
  357. package/websocket/game.websocket.d.ts +24 -0
  358. package/websocket/public-api.d.ts +1 -0
  359. package/bundles/mtgame-core.umd.js +0 -14010
  360. package/bundles/mtgame-core.umd.js.map +0 -1
  361. package/esm2015/api/basketball-game-api.js +0 -61
  362. package/esm2015/api/feedback-api.js +0 -38
  363. package/esm2015/api/file-api.js +0 -49
  364. package/esm2015/api/football-game-api.js +0 -65
  365. package/esm2015/api/game-base-api.js +0 -54
  366. package/esm2015/api/handball-game-api.js +0 -65
  367. package/esm2015/api/hockey-game-api.js +0 -65
  368. package/esm2015/api/league-api.js +0 -151
  369. package/esm2015/api/league-news-api.js +0 -71
  370. package/esm2015/api/league-player-api.js +0 -34
  371. package/esm2015/api/media-api.js +0 -131
  372. package/esm2015/api/notification-api.js +0 -16
  373. package/esm2015/api/notification-base-api.js +0 -82
  374. package/esm2015/api/org-notification-api.js +0 -16
  375. package/esm2015/api/public-team-api.js +0 -41
  376. package/esm2015/api/public-user-api.js +0 -41
  377. package/esm2015/api/reference-api.js +0 -39
  378. package/esm2015/api/rugby-game-api.js +0 -63
  379. package/esm2015/api/team-api.js +0 -393
  380. package/esm2015/api/team-event-api.js +0 -80
  381. package/esm2015/api/tournament-api.js +0 -471
  382. package/esm2015/api/tournament-join-api.js +0 -72
  383. package/esm2015/api/tournament-round-api.js +0 -71
  384. package/esm2015/api/tournament-season-api.js +0 -112
  385. package/esm2015/api/tournament-stage-api.js +0 -63
  386. package/esm2015/api/user-api.js +0 -283
  387. package/esm2015/api/volleyball-game-api.js +0 -73
  388. package/esm2015/api/waterpolo-game-api.js +0 -65
  389. package/esm2015/http-cookie.interceptor.js +0 -37
  390. package/esm2015/localization/hockey-penalty-types.js +0 -50
  391. package/esm2015/models/achievement.js +0 -33
  392. package/esm2015/models/base-statistic.js +0 -2
  393. package/esm2015/models/basketball-game-config.js +0 -41
  394. package/esm2015/models/basketball-game-log.js +0 -192
  395. package/esm2015/models/basketball-game-statistic.js +0 -81
  396. package/esm2015/models/basketball-game-team-statistic.js +0 -27
  397. package/esm2015/models/basketball-profile.js +0 -43
  398. package/esm2015/models/basketball-statistic.js +0 -114
  399. package/esm2015/models/city.js +0 -22
  400. package/esm2015/models/feedback.js +0 -34
  401. package/esm2015/models/file.js +0 -54
  402. package/esm2015/models/football-game-config.js +0 -44
  403. package/esm2015/models/football-game-log.js +0 -104
  404. package/esm2015/models/football-game-statistic.js +0 -137
  405. package/esm2015/models/football-game-team-statistic.js +0 -27
  406. package/esm2015/models/football-profile.js +0 -43
  407. package/esm2015/models/football-statistic.js +0 -150
  408. package/esm2015/models/game-bill.js +0 -47
  409. package/esm2015/models/game-invite.js +0 -37
  410. package/esm2015/models/game-log-base.js +0 -2
  411. package/esm2015/models/game-statistic-base.js +0 -2
  412. package/esm2015/models/game-timeline-stages.js +0 -53
  413. package/esm2015/models/game-user-disqualification.js +0 -28
  414. package/esm2015/models/game-user-limitation.js +0 -51
  415. package/esm2015/models/game-user.js +0 -37
  416. package/esm2015/models/game.js +0 -281
  417. package/esm2015/models/handball-game-config.js +0 -34
  418. package/esm2015/models/handball-game-log.js +0 -92
  419. package/esm2015/models/handball-game-statistic.js +0 -101
  420. package/esm2015/models/handball-game-team-statistic.js +0 -27
  421. package/esm2015/models/handball-profile.js +0 -39
  422. package/esm2015/models/handball-statistic.js +0 -95
  423. package/esm2015/models/hockey-game-config.js +0 -48
  424. package/esm2015/models/hockey-game-log.js +0 -128
  425. package/esm2015/models/hockey-game-statistic.js +0 -159
  426. package/esm2015/models/hockey-game-team-statistic.js +0 -27
  427. package/esm2015/models/hockey-profile.js +0 -41
  428. package/esm2015/models/hockey-statistic.js +0 -143
  429. package/esm2015/models/league-banner.js +0 -39
  430. package/esm2015/models/league-court.js +0 -25
  431. package/esm2015/models/league-document.js +0 -26
  432. package/esm2015/models/league-field-base-value.js +0 -4
  433. package/esm2015/models/league-field-base.js +0 -25
  434. package/esm2015/models/league-news.js +0 -50
  435. package/esm2015/models/league-partner.js +0 -29
  436. package/esm2015/models/league-player-field-value.js +0 -32
  437. package/esm2015/models/league-player-field.js +0 -30
  438. package/esm2015/models/league-player.js +0 -116
  439. package/esm2015/models/league-playlist.js +0 -28
  440. package/esm2015/models/league-team-field.js +0 -30
  441. package/esm2015/models/league-user.js +0 -52
  442. package/esm2015/models/league.js +0 -71
  443. package/esm2015/models/media-item.js +0 -41
  444. package/esm2015/models/notification-settings.js +0 -35
  445. package/esm2015/models/notification.js +0 -134
  446. package/esm2015/models/organization-bill.js +0 -50
  447. package/esm2015/models/organization-statistic.js +0 -26
  448. package/esm2015/models/organization-tariff.js +0 -30
  449. package/esm2015/models/organization.js +0 -40
  450. package/esm2015/models/playoff.js +0 -91
  451. package/esm2015/models/poll.js +0 -132
  452. package/esm2015/models/public-api.js +0 -116
  453. package/esm2015/models/rugby-foul-type.js +0 -53
  454. package/esm2015/models/rugby-game-config.js +0 -42
  455. package/esm2015/models/rugby-game-log.js +0 -144
  456. package/esm2015/models/rugby-game-statistic.js +0 -89
  457. package/esm2015/models/rugby-game-team-statistic.js +0 -27
  458. package/esm2015/models/rugby-profile.js +0 -37
  459. package/esm2015/models/rugby-statistic.js +0 -123
  460. package/esm2015/models/season-tournament.js +0 -22
  461. package/esm2015/models/sport.js +0 -115
  462. package/esm2015/models/team-access.js +0 -45
  463. package/esm2015/models/team-achievement.js +0 -34
  464. package/esm2015/models/team-event-invite.js +0 -32
  465. package/esm2015/models/team-event.js +0 -45
  466. package/esm2015/models/team-invite-external.js +0 -25
  467. package/esm2015/models/team-invite.js +0 -41
  468. package/esm2015/models/team-permission.js +0 -38
  469. package/esm2015/models/team-user.js +0 -48
  470. package/esm2015/models/team.js +0 -71
  471. package/esm2015/models/teams-and-users.js +0 -32
  472. package/esm2015/models/tournament-disqualification.js +0 -30
  473. package/esm2015/models/tournament-division.js +0 -27
  474. package/esm2015/models/tournament-event.js +0 -45
  475. package/esm2015/models/tournament-group.js +0 -26
  476. package/esm2015/models/tournament-invite.js +0 -39
  477. package/esm2015/models/tournament-join-team.js +0 -55
  478. package/esm2015/models/tournament-join1x1-data.js +0 -32
  479. package/esm2015/models/tournament-news.js +0 -33
  480. package/esm2015/models/tournament-round-team.js +0 -95
  481. package/esm2015/models/tournament-round.js +0 -36
  482. package/esm2015/models/tournament-season.js +0 -45
  483. package/esm2015/models/tournament-stage-team.js +0 -47
  484. package/esm2015/models/tournament-stage.js +0 -35
  485. package/esm2015/models/tournament-team-field-value.js +0 -32
  486. package/esm2015/models/tournament-team-user-invite.js +0 -29
  487. package/esm2015/models/tournament-team-user.js +0 -39
  488. package/esm2015/models/tournament-team.js +0 -103
  489. package/esm2015/models/tournament.js +0 -266
  490. package/esm2015/models/user-access.js +0 -25
  491. package/esm2015/models/user-permission.js +0 -38
  492. package/esm2015/models/user-profile.js +0 -24
  493. package/esm2015/models/user.js +0 -91
  494. package/esm2015/models/util.js +0 -237
  495. package/esm2015/models/volleyball-game-config.js +0 -44
  496. package/esm2015/models/volleyball-game-log.js +0 -145
  497. package/esm2015/models/volleyball-game-statistic.js +0 -64
  498. package/esm2015/models/volleyball-game-team-statistic.js +0 -27
  499. package/esm2015/models/volleyball-profile.js +0 -43
  500. package/esm2015/models/volleyball-statistic.js +0 -92
  501. package/esm2015/models/waterpolo-game-config.js +0 -45
  502. package/esm2015/models/waterpolo-game-log.js +0 -167
  503. package/esm2015/models/waterpolo-game-statistic.js +0 -641
  504. package/esm2015/models/waterpolo-game-team-statistic.js +0 -27
  505. package/esm2015/models/waterpolo-profile.js +0 -42
  506. package/esm2015/models/waterpolo-statistic.js +0 -336
  507. package/esm2015/services/base.service.js +0 -16
  508. package/esm2015/services/centrifugo.service.js +0 -123
  509. package/esm2015/services/config.service.js +0 -37
  510. package/esm2015/storage/local-storage-engine.js +0 -18
  511. package/esm2015/storage/public-api.js +0 -4
  512. package/esm2015/storage/storage-engine.js +0 -61
  513. package/esm2015/utils/component-destroyed.js +0 -26
  514. package/esm2015/utils/data.js +0 -75
  515. package/fesm2015/mtgame-core.js.map +0 -1
  516. package/models/league-field-base-value.d.ts +0 -7
  517. package/models/league-field-base.d.ts +0 -24
  518. package/models/league-player-field-value.d.ts +0 -8
  519. package/models/league-player-field.d.ts +0 -5
  520. package/models/league-team-field.d.ts +0 -5
  521. package/models/tournament-team-field-value.d.ts +0 -8
  522. package/mtgame-core.metadata.json +0 -1
@@ -12,6 +12,4 @@ export declare class HandballProfile extends BaseModel {
12
12
  userId: number;
13
13
  position: GameHandballPosition;
14
14
  workHand: WorkHand;
15
- static toFront(value: any): any;
16
- static toBack(value: any): any;
17
15
  }
@@ -1,4 +1,3 @@
1
- import { BaseModel } from './util';
2
1
  import { TournamentTeamUser } from './tournament-team-user';
3
2
  import { Team } from './team';
4
3
  import { TeamUser } from './team-user';
@@ -6,7 +5,7 @@ import { User } from './user';
6
5
  import { TournamentTeam } from './tournament-team';
7
6
  import { BaseStatistic, WinLoseType } from './base-statistic';
8
7
  import { LeaguePlayer } from './league-player';
9
- export declare class HandballStatistic extends BaseModel implements BaseStatistic {
8
+ export declare class HandballStatistic extends BaseStatistic {
10
9
  leaguePlayer: LeaguePlayer;
11
10
  tournamentTeamUser: TournamentTeamUser;
12
11
  team: Team;
@@ -58,6 +57,4 @@ export declare class HandballStatistic extends BaseModel implements BaseStatisti
58
57
  rank: number;
59
58
  get userMinutes(): string;
60
59
  get tournamentTeamPoints(): number;
61
- static toFront(data: any): any;
62
- static toBack(data: any): any;
63
60
  }
@@ -1,6 +1,6 @@
1
- import { BaseModel } from './util';
2
1
  import { GameTimeTypes, OvertimeTypes } from './tournament';
3
- export declare class HockeyGameConfig extends BaseModel {
2
+ import { GameConfigBase } from './game-config-base';
3
+ export declare class HockeyGameConfig extends GameConfigBase {
4
4
  periodsCount: number;
5
5
  periodTime: number;
6
6
  overtimeType: OvertimeTypes;
@@ -15,8 +15,6 @@ export declare class HockeyGameConfig extends BaseModel {
15
15
  majorPenaltyTime: number;
16
16
  misconductPenaltyTime: number;
17
17
  gameMisconductPenaltyTime: number;
18
- static toFront(data: any): any;
19
- static toBack(data: any): any;
20
18
  get overtimePeriod(): number;
21
19
  get bullitsPeriod(): number;
22
20
  get playoffBullitsPeriod(): number;
@@ -1,6 +1,6 @@
1
- import { BaseModel } from './util';
2
1
  import { GameUser } from './game-user';
3
2
  import { GameLogBase } from './game-log-base';
3
+ import { HockeyPenaltyType } from './hockey-penalty-types';
4
4
  export declare enum HockeyGameLogTypes {
5
5
  enter_game = 1,
6
6
  exit_game = 2,
@@ -27,22 +27,14 @@ export declare enum HockeyGameLogTypes {
27
27
  after_game_shootout_attempt = 23,
28
28
  after_game_shootout_goal = 24,
29
29
  after_game_shootout_save = 25,
30
- shootout_save = 26,
31
- steal = 27,
32
- loss = 28,
33
- sharp_pass = 29
30
+ shootout_save = 26
34
31
  }
35
32
  export declare enum HockeyAdvantageTypes {
36
33
  power_play = 1,
37
34
  shorthanded = 2,
38
35
  even_strength = 3
39
36
  }
40
- export interface PenaltyType {
41
- id: number;
42
- code: string;
43
- title: string;
44
- }
45
- export declare class HockeyGameLog extends BaseModel implements GameLogBase {
37
+ export declare class HockeyGameLog extends GameLogBase {
46
38
  id: number;
47
39
  uniqueId: string;
48
40
  gameId: number;
@@ -60,10 +52,9 @@ export declare class HockeyGameLog extends BaseModel implements GameLogBase {
60
52
  advantage: HockeyAdvantageTypes;
61
53
  advantageNum: number;
62
54
  isGoalie: boolean;
63
- penaltyType: PenaltyType;
55
+ penaltyType: HockeyPenaltyType;
64
56
  _penalizedGameUserId: number;
65
57
  mutualPenalty: boolean;
66
- foulOnGameUserId: number;
67
58
  get penalizedGameUserId(): number;
68
59
  set penalizedGameUserId(value: number);
69
60
  compare(model: HockeyGameLog): number;
@@ -71,6 +62,4 @@ export declare class HockeyGameLog extends BaseModel implements GameLogBase {
71
62
  isScoreType(): boolean;
72
63
  isPenaltyType(): boolean;
73
64
  isAfter(log: HockeyGameLog): boolean;
74
- static toFront(value: any): any;
75
- static toBack(value: any): any;
76
65
  }
@@ -1,6 +1,5 @@
1
- import { BaseModel } from './util';
2
1
  import { GameStatisticBase } from './game-statistic-base';
3
- export declare class HockeyGameStatistic extends BaseModel implements GameStatisticBase {
2
+ export declare class HockeyGameStatistic extends GameStatisticBase {
4
3
  gameUserId: number;
5
4
  points: number;
6
5
  ppShotMisses: number;
@@ -35,20 +34,6 @@ export declare class HockeyGameStatistic extends BaseModel implements GameStatis
35
34
  penaltyMinutes: number;
36
35
  gameTime: number;
37
36
  plusMinus: number;
38
- steals: number;
39
- ppSteals: number;
40
- evSteals: number;
41
- shSteals: number;
42
- losses: number;
43
- ppLosses: number;
44
- evLosses: number;
45
- shLosses: number;
46
- sharpPasses: number;
47
- ppSharpPasses: number;
48
- evSharpPasses: number;
49
- shSharpPasses: number;
50
- drawnFouls: number;
51
- efficiency: number;
52
37
  updatedAt: Date;
53
38
  get id(): number;
54
39
  get shotsOnGoal(): number;
@@ -75,6 +60,4 @@ export declare class HockeyGameStatistic extends BaseModel implements GameStatis
75
60
  get goalsPercent(): number;
76
61
  get faceOffPercent(): number;
77
62
  get goalpass(): number;
78
- static toFront(data: any): any;
79
- static toBack(data: any): any;
80
63
  }
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
4
4
  export declare class HockeyGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
5
5
  team: HockeyStatistic;
6
6
  competitorTeam: HockeyStatistic;
7
- static toFront(data: any): any;
8
- static toBack(data: any): any;
9
7
  }
@@ -0,0 +1,7 @@
1
+ import { ModelRelation } from './util';
2
+ export interface HockeyPenaltyType {
3
+ id: number;
4
+ code: string;
5
+ title: string;
6
+ }
7
+ export declare const penaltyTypeField: ModelRelation<HockeyPenaltyType>;
@@ -13,6 +13,4 @@ export declare class HockeyProfile extends BaseModel {
13
13
  userId: number;
14
14
  position: GameHockeyPosition;
15
15
  workHand: HockeyWorkHand;
16
- static toFront(value: any): any;
17
- static toBack(value: any): any;
18
16
  }
@@ -1,4 +1,3 @@
1
- import { BaseModel } from './util';
2
1
  import { TournamentTeamUser } from './tournament-team-user';
3
2
  import { Team } from './team';
4
3
  import { TeamUser } from './team-user';
@@ -6,7 +5,7 @@ import { User } from './user';
6
5
  import { TournamentTeam } from './tournament-team';
7
6
  import { BaseStatistic, WinLoseType } from './base-statistic';
8
7
  import { LeaguePlayer } from './league-player';
9
- export declare class HockeyStatistic extends BaseModel implements BaseStatistic {
8
+ export declare class HockeyStatistic extends BaseStatistic {
10
9
  leaguePlayer: LeaguePlayer;
11
10
  tournamentTeamUser: TournamentTeamUser;
12
11
  team: Team;
@@ -76,20 +75,6 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
76
75
  penaltyMinutes: number;
77
76
  gameTime: number;
78
77
  plusMinus: number;
79
- steals: number;
80
- ppSteals: number;
81
- evSteals: number;
82
- shSteals: number;
83
- losses: number;
84
- ppLosses: number;
85
- evLosses: number;
86
- shLosses: number;
87
- sharpPasses: number;
88
- ppSharpPasses: number;
89
- evSharpPasses: number;
90
- shSharpPasses: number;
91
- drawnFouls: number;
92
- efficiency: number;
93
78
  newbie: boolean;
94
79
  rank: number;
95
80
  get assists(): number;
@@ -97,6 +82,4 @@ export declare class HockeyStatistic extends BaseModel implements BaseStatistic
97
82
  get userMinutes(): string;
98
83
  get gamesWonPercent(): number;
99
84
  get tournamentTeamPoints(): number;
100
- static toFront(data: any): any;
101
- static toBack(data: any): any;
102
85
  }
@@ -12,6 +12,4 @@ export declare class LeagueBanner extends BaseModel {
12
12
  link: string;
13
13
  sort: number;
14
14
  location: BannerLocation;
15
- static toFront(data: any): any;
16
- static toBack(data: any): any;
17
15
  }
@@ -5,6 +5,4 @@ export declare class LeagueCourt extends BaseModel {
5
5
  address: string;
6
6
  leagueId: number;
7
7
  activeGamesCount: number;
8
- static toFront(data: any): any;
9
- static toBack(data: any): any;
10
8
  }
@@ -3,6 +3,4 @@ import { File } from './file';
3
3
  export declare class LeagueDocument extends BaseModel {
4
4
  id: number;
5
5
  file: File;
6
- static toFront(data: any): any;
7
- static toBack(data: any): any;
8
6
  }
@@ -19,6 +19,4 @@ export declare class LeagueNews extends BaseModel {
19
19
  type: LeagueNewsType;
20
20
  videoLink: string;
21
21
  tag: string;
22
- static toFront(data: any): any;
23
- static toBack(data: any): any;
24
22
  }
@@ -6,6 +6,4 @@ export declare class LeaguePartner extends BaseModel {
6
6
  picture: File;
7
7
  link: string;
8
8
  sort: number;
9
- static toFront(data: any): any;
10
- static toBack(data: any): any;
11
9
  }
@@ -1,7 +1,6 @@
1
1
  import { BaseModel } from './util';
2
2
  import { File } from './file';
3
- import { User, UserGender } from './user';
4
- import { LeaguePlayerFieldValue } from './league-player-field-value';
3
+ import { User } from './user';
5
4
  export declare enum Qualification {
6
5
  practician = 1,
7
6
  amateur = 2,
@@ -23,10 +22,7 @@ export declare enum Qualification {
23
22
  goalkeeper_vhl = 18,
24
23
  goalkeeper_khl = 19,
25
24
  beginner = 20,
26
- junior = 21,
27
- debutant = 22,
28
- schoolchild = 23,
29
- preschool_child = 24
25
+ junior = 21
30
26
  }
31
27
  export declare const QualificationLocalization: {
32
28
  1: string;
@@ -50,9 +46,6 @@ export declare const QualificationLocalization: {
50
46
  19: string;
51
47
  20: string;
52
48
  21: string;
53
- 22: string;
54
- 23: string;
55
- 24: string;
56
49
  };
57
50
  export declare class LeaguePlayer extends BaseModel {
58
51
  id: number;
@@ -64,15 +57,11 @@ export declare class LeaguePlayer extends BaseModel {
64
57
  birthDate: Date;
65
58
  photo: File;
66
59
  user: User;
67
- gender: UserGender;
68
60
  hasChanges: boolean;
69
61
  rating: number;
70
62
  qualification: Qualification;
71
- fieldValues: LeaguePlayerFieldValue[];
72
63
  get fullName(): string;
73
64
  get shortName(): string;
74
65
  get initials(): string;
75
66
  get age(): number;
76
- static toFront(data: any): any;
77
- static toBack(data: any): any;
78
67
  }
@@ -5,6 +5,4 @@ export declare class LeaguePlaylist extends BaseModel {
5
5
  name: string;
6
6
  files: File[];
7
7
  keyCode: string;
8
- static toFront(data: any): any;
9
- static toBack(data: any): any;
10
8
  }
@@ -22,6 +22,4 @@ export declare class LeagueUser extends BaseModel {
22
22
  permissions: LeagueUserPermissions[];
23
23
  set role(value: LeagueUserRoles | string);
24
24
  get role(): LeagueUserRoles | string;
25
- static toFront(data: any): any;
26
- static toBack(data: any): any;
27
25
  }
@@ -7,9 +7,8 @@ export declare class League extends BaseModel {
7
7
  logo: File;
8
8
  contactEmail: string;
9
9
  contactPhone: string;
10
- name: string;
10
+ readonly name: string;
11
11
  alias: string;
12
- domain: string;
13
12
  sport: Sport;
14
13
  description: string;
15
14
  socialLinks: string[];
@@ -19,15 +18,11 @@ export declare class League extends BaseModel {
19
18
  documentsCount: number;
20
19
  closestGameDatetime: string;
21
20
  cover: File;
22
- coverMobile: File;
23
21
  about: string;
24
- static toFront(data: any): any;
25
- static toBack(data: any): any;
26
22
  get vkLink(): string;
27
23
  get fbLink(): string;
28
24
  get instaLink(): string;
29
25
  get youtubeLink(): string;
30
26
  get telegramLink(): string;
31
27
  get tiktokLink(): string;
32
- checkRuDomain(): boolean;
33
28
  }
@@ -11,6 +11,4 @@ export declare class MediaItem extends BaseModel {
11
11
  videoPreview: File;
12
12
  isLive: boolean;
13
13
  get isVideo(): boolean;
14
- static toFront(data: any): any;
15
- static toBack(data: any): any;
16
14
  }
@@ -10,6 +10,4 @@ export declare class NotificationSettings extends BaseModel {
10
10
  sound: NotificationAllowTypes;
11
11
  browser: NotificationAllowTypes;
12
12
  email: boolean;
13
- static toFront(data: any): any;
14
- static toBack(data: any): any;
15
13
  }
@@ -93,6 +93,4 @@ export declare class Notification extends BaseModel {
93
93
  service: NotificationServiceEnum;
94
94
  createdAt: Date;
95
95
  get important(): boolean;
96
- static toFront(value: any): any;
97
- static toBack(value: any): any;
98
96
  }
@@ -20,6 +20,4 @@ export declare class OrganizationBill extends BaseModel {
20
20
  dateFrom: Date;
21
21
  dateTo: Date;
22
22
  createdAt: Date;
23
- static toFront(data: any): any;
24
- static toBack(data: any): any;
25
23
  }
@@ -6,6 +6,4 @@ export declare class OrganizationStatistic extends BaseModel {
6
6
  gamesCount: number;
7
7
  paidSum: number;
8
8
  debtSum: number;
9
- static toFront(data: any): any;
10
- static toBack(data: any): any;
11
9
  }
@@ -6,6 +6,4 @@ export declare class OrganizationTariff extends BaseModel {
6
6
  organization: Organization;
7
7
  sport: Sport;
8
8
  price: number;
9
- static toFront(data: any): any;
10
- static toBack(data: any): any;
11
9
  }
@@ -15,6 +15,4 @@ export declare class Organization extends BaseModel {
15
15
  email: string;
16
16
  unpaidBillsSum: number;
17
17
  unpaidGameBillsSum: number;
18
- static toFront(data: any): any;
19
- static toBack(data: any): any;
20
18
  }
@@ -11,8 +11,6 @@ export declare class PlayoffSettings extends BaseModel {
11
11
  type: PlayoffTypes;
12
12
  minPlayerGamesCount: number;
13
13
  minPlayerTime: number;
14
- static toFront(data: any): any;
15
- static toBack(data: any): any;
16
14
  }
17
15
  export declare class Playoff extends BaseModel {
18
16
  id: number;
@@ -24,8 +22,6 @@ export declare class Playoff extends BaseModel {
24
22
  tournamentRoundId: number;
25
23
  divisionId: number;
26
24
  private stages;
27
- static toFront(data: any): any;
28
- static toBack(data: any): any;
29
25
  get stagesCount(): number;
30
26
  getPlayoffStages(): {
31
27
  title: string;
package/models/poll.d.ts CHANGED
@@ -8,16 +8,12 @@ export declare enum PollStatuses {
8
8
  export declare class PollVariant extends BaseModel {
9
9
  uuid: string;
10
10
  name: string;
11
- static toFront(data: any): any;
12
- static toBack(data: any): any;
13
11
  }
14
12
  export declare class PollAnswer extends BaseModel {
15
13
  id: number;
16
14
  answerUuid: string;
17
15
  user: User;
18
16
  pollId: number;
19
- static toFront(data: any): any;
20
- static toBack(data: any): any;
21
17
  }
22
18
  export declare class Poll extends BaseModel {
23
19
  id: number;
@@ -41,6 +37,4 @@ export declare class Poll extends BaseModel {
41
37
  set answers(value: PollAnswer[]);
42
38
  get answers(): PollAnswer[];
43
39
  calculateAnswersPercentage(): void;
44
- static toFront(data: any): any;
45
- static toBack(data: any): any;
46
40
  }
@@ -42,12 +42,6 @@ export * from './league-banner';
42
42
  export * from './league-playlist';
43
43
  export * from './league-player';
44
44
  export * from './league-document';
45
- export * from './league-field-base';
46
- export * from './league-field-base-value';
47
- export * from './league-player-field';
48
- export * from './league-player-field-value';
49
- export * from './league-team-field';
50
- export * from './tournament-team-field-value';
51
45
  export * from './media-item';
52
46
  export * from './notification';
53
47
  export * from './notification-settings';
@@ -27,6 +27,4 @@ export declare class RugbyFoulType extends BaseModel {
27
27
  name: string;
28
28
  sanction: RugbyFoulSanctions[];
29
29
  gameStage: RugbyFoulGameStage;
30
- static toFront(data: any): any;
31
- static toBack(data: any): any;
32
30
  }
@@ -1,6 +1,6 @@
1
- import { BaseModel } from './util';
2
1
  import { GameTimeTypes, OvertimeTypes, RugbyStatisticTypes } from './tournament';
3
- export declare class RugbyGameConfig extends BaseModel {
2
+ import { GameConfigBase } from './game-config-base';
3
+ export declare class RugbyGameConfig extends GameConfigBase {
4
4
  periodsCount: number;
5
5
  periodTime: number;
6
6
  overtimeType: OvertimeTypes;
@@ -12,6 +12,4 @@ export declare class RugbyGameConfig extends BaseModel {
12
12
  freeSubstituteEnabled: boolean;
13
13
  statisticType: RugbyStatisticTypes;
14
14
  get penaltyPeriod(): number;
15
- static toFront(data: any): any;
16
- static toBack(data: any): any;
17
15
  }
@@ -1,4 +1,3 @@
1
- import { BaseModel } from './util';
2
1
  import { GameLogBase } from './game-log-base';
3
2
  import { GameUser } from './game-user';
4
3
  import { RugbyFoulGameStage, RugbyFoulSanctions, RugbyFoulType } from './rugby-foul-type';
@@ -54,7 +53,7 @@ export declare const RUGBY_GAME_LOG_TYPE_POINTS: {
54
53
  22: number;
55
54
  };
56
55
  export declare const RUGBY_TEAM_LOG_TYPES: RugbyGameLogTypes[];
57
- export declare class RugbyGameLog extends BaseModel implements GameLogBase {
56
+ export declare class RugbyGameLog extends GameLogBase {
58
57
  id: number;
59
58
  uniqueId: string;
60
59
  group: string;
@@ -80,6 +79,4 @@ export declare class RugbyGameLog extends BaseModel implements GameLogBase {
80
79
  isAfter(log: RugbyGameLog): boolean;
81
80
  isFoulType(): boolean;
82
81
  isTeamType(): boolean;
83
- static toFront(value: any): any;
84
- static toBack(value: any): any;
85
82
  }
@@ -1,16 +1,21 @@
1
- import { BaseModel } from './util';
2
1
  import { GameStatisticBase } from './game-statistic-base';
3
- export declare class RugbyGameStatistic extends BaseModel implements GameStatisticBase {
2
+ export declare class RugbyGameStatistic extends GameStatisticBase {
4
3
  gameUserId: number;
5
4
  points: number;
6
5
  tries: number;
7
6
  penaltyTries: number;
7
+ conversionKicks: number;
8
8
  conversionGoals: number;
9
9
  conversionMisses: number;
10
+ conversionGoalsPercent: number;
10
11
  penaltyMisses: number;
11
12
  penaltyGoals: number;
13
+ penaltyKicksOnGoal: number;
14
+ penaltyGoalsPercent: number;
12
15
  dropGoals: number;
13
16
  dropGoalMisses: number;
17
+ dropGoalKicks: number;
18
+ dropGoalsPercent: number;
14
19
  freeKicks: number;
15
20
  yellowCards: number;
16
21
  redCards: number;
@@ -27,15 +32,7 @@ export declare class RugbyGameStatistic extends BaseModel implements GameStatist
27
32
  updatedAt: Date;
28
33
  get id(): number;
29
34
  get gameMinutes(): number;
30
- get conversionKicks(): number;
31
- get conversionGoalsPercent(): number;
32
- get penaltyKicksOnGoal(): number;
33
- get penaltyGoalsPercent(): number;
34
- get dropGoalKicks(): number;
35
- get dropGoalsPercent(): number;
36
35
  get totalGoals(): number;
37
36
  get footShots(): number;
38
37
  get totalFouls(): number;
39
- static toFront(data: any): any;
40
- static toBack(data: any): any;
41
38
  }
@@ -4,6 +4,4 @@ import { GameTeamStatisticBase } from './game-team-statistic-base';
4
4
  export declare class RugbyGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
5
5
  team: RugbyStatistic;
6
6
  competitorTeam: RugbyStatistic;
7
- static toFront(data: any): any;
8
- static toBack(data: any): any;
9
7
  }
@@ -11,6 +11,4 @@ export declare class RugbyProfile extends BaseModel {
11
11
  id: number;
12
12
  userId: number;
13
13
  position: GameRugbyPosition;
14
- static toFront(value: any): any;
15
- static toBack(value: any): any;
16
14
  }
@@ -1,4 +1,3 @@
1
- import { BaseModel } from './util';
2
1
  import { TournamentTeamUser } from './tournament-team-user';
3
2
  import { Team } from './team';
4
3
  import { TeamUser } from './team-user';
@@ -6,7 +5,7 @@ import { User } from './user';
6
5
  import { TournamentTeam } from './tournament-team';
7
6
  import { BaseStatistic, WinLoseType } from './base-statistic';
8
7
  import { LeaguePlayer } from './league-player';
9
- export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
8
+ export declare class RugbyStatistic extends BaseStatistic {
10
9
  leaguePlayer: LeaguePlayer;
11
10
  tournamentTeamUser: TournamentTeamUser;
12
11
  team: Team;
@@ -85,6 +84,4 @@ export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
85
84
  teamFouls: number;
86
85
  get userMinutes(): string;
87
86
  get totalFouls(): number;
88
- static toFront(data: any): any;
89
- static toBack(data: any): any;
90
87
  }
@@ -2,6 +2,4 @@ import { BaseModel } from './util';
2
2
  export declare class SeasonTournament extends BaseModel {
3
3
  id: number;
4
4
  name: string;
5
- static toFront(data: any): any;
6
- static toBack(data: any): any;
7
5
  }
package/models/sport.d.ts CHANGED
@@ -48,6 +48,4 @@ export declare class Sport extends BaseModel {
48
48
  isWaterpolo(): boolean;
49
49
  isClassicWaterpolo(): boolean;
50
50
  isMiniWaterpolo(): boolean;
51
- static toFront(data: any): any;
52
- static toBack(sport: Sport): any;
53
51
  }
@@ -22,6 +22,4 @@ export declare class TeamAccess extends BaseModel {
22
22
  canViewTournaments: boolean;
23
23
  canManageTournaments: boolean;
24
24
  role: TeamUserRole;
25
- static toFront(data: any): any;
26
- static toBack(data: any): any;
27
25
  }
@@ -9,6 +9,4 @@ export declare class TeamAchievement extends BaseModel {
9
9
  game: Game;
10
10
  tournamentStage: TournamentStage;
11
11
  mtPoints: number;
12
- static toFront(data: any): any;
13
- static toBack(data: any): any;
14
12
  }
@@ -1,12 +1,11 @@
1
+ import { BaseModel } from './util';
1
2
  export declare enum TeamEventInviteStatuses {
2
3
  accepted = 1,
3
4
  declined = 2
4
5
  }
5
- export declare class TeamEventInvite {
6
+ export declare class TeamEventInvite extends BaseModel {
6
7
  id: number;
7
8
  teamEventId: number;
8
9
  teamUserId: number;
9
10
  status: TeamEventInviteStatuses;
10
- static toFront(data: any): any;
11
- static toBack(data: any): any;
12
11
  }
@@ -12,6 +12,4 @@ export declare class TeamEvent extends BaseModel {
12
12
  location: string;
13
13
  get name(): string;
14
14
  get isClosed(): boolean;
15
- static toFront(data: any): any;
16
- static toBack(data: any): any;
17
15
  }
@@ -5,6 +5,4 @@ export declare class TeamInviteExternal extends BaseModel {
5
5
  email: string;
6
6
  firstName: string;
7
7
  lastName: string;
8
- static toFront(data: any): any;
9
- static toBack(data: any): any;
10
8
  }
@@ -15,6 +15,4 @@ export declare class TeamInvite extends BaseModel {
15
15
  scoreSum: number;
16
16
  createdAt: Date;
17
17
  updatedAt: Date;
18
- static toFront(data: any): any;
19
- static toBack(data: any): any;
20
18
  }
@@ -10,6 +10,4 @@ export declare class TeamPermission extends BaseModel {
10
10
  statistic: TeamPermissionTypes;
11
11
  polls: TeamPermissionTypes;
12
12
  events: TeamPermissionTypes;
13
- static toFront(data: any): any;
14
- static toBack(data: any): any;
15
13
  }
@@ -20,6 +20,4 @@ export declare class TeamUser extends BaseModel {
20
20
  team: Team;
21
21
  number: number;
22
22
  role: TeamUserRole;
23
- static toFront(data: any): any;
24
- static toBack(teamPlayer: TeamUser): any;
25
23
  }