@smartico/public-api 0.0.382 → 0.0.384

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 (65) hide show
  1. package/dist/GamePick/GamePickTypes.d.ts +461 -0
  2. package/dist/GamePick/MarketsAnswers.d.ts +40 -0
  3. package/dist/GamePick/MarketsInfo.d.ts +14 -0
  4. package/dist/GamePick/MarketsPerSport.d.ts +6 -0
  5. package/dist/GamePick/MarketsType.d.ts +28 -0
  6. package/dist/GamePick/ScoreResultTypes.d.ts +28 -0
  7. package/dist/GamePick/SportTypes.d.ts +6 -0
  8. package/dist/GamePick/index.d.ts +7 -0
  9. package/dist/SmarticoAPI.d.ts +1 -1
  10. package/dist/WSAPI/WSAPIGamePick.d.ts +1 -1
  11. package/dist/WSAPI/WSAPITypes.d.ts +2 -460
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.js +151 -15
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.modern.mjs +151 -16
  16. package/dist/index.modern.mjs.map +1 -1
  17. package/docs/api/README.md +2 -22
  18. package/docs/api/classes/WSAPIGamePick.md +42 -42
  19. package/docs/api/enumerations/SAWGameType.md +6 -0
  20. package/docs/api/enumerations/SAWGameTypeName.md +6 -0
  21. package/docs/api/interfaces/SAWTemplateUI.md +11 -0
  22. package/package.json +1 -1
  23. package/src/GamePick/GamePickTypes.ts +471 -0
  24. package/src/{Quiz → GamePick}/index.ts +1 -0
  25. package/src/SmarticoAPI.ts +1 -7
  26. package/src/WSAPI/WSAPIBase.ts +1 -1
  27. package/src/WSAPI/WSAPIBonuses.ts +1 -1
  28. package/src/WSAPI/WSAPIClans.ts +1 -1
  29. package/src/WSAPI/WSAPIGamePick.ts +1 -9
  30. package/src/WSAPI/WSAPIInbox.ts +2 -2
  31. package/src/WSAPI/WSAPIJackpots.ts +1 -1
  32. package/src/WSAPI/WSAPIMiniGames.ts +3 -3
  33. package/src/WSAPI/WSAPIMissions.ts +1 -1
  34. package/src/WSAPI/WSAPIRaffles.ts +1 -1
  35. package/src/WSAPI/WSAPIStore.ts +2 -2
  36. package/src/WSAPI/WSAPITournaments.ts +1 -1
  37. package/src/WSAPI/WSAPITypes.ts +2 -471
  38. package/src/WSAPI/WSAPIUser.ts +1 -1
  39. package/src/index.ts +1 -1
  40. package/docs/api/enumerations/GPRoundStatus.md +0 -43
  41. package/docs/api/enumerations/GamePickMarketType.md +0 -19
  42. package/docs/api/enumerations/GamePickResolutionType.md +0 -35
  43. package/docs/api/enumerations/GamePickScoreType.md +0 -19
  44. package/docs/api/enumerations/GamePickSportType.md +0 -375
  45. package/docs/api/enumerations/GameRoundOrderType.md +0 -35
  46. package/docs/api/interfaces/GamePickBoardUser.md +0 -75
  47. package/docs/api/interfaces/GamePickEvent.md +0 -123
  48. package/docs/api/interfaces/GamePickEventMeta.md +0 -201
  49. package/docs/api/interfaces/GamePickGameInfo.md +0 -27
  50. package/docs/api/interfaces/GamePickRequestParams.md +0 -39
  51. package/docs/api/interfaces/GamePickRound.md +0 -383
  52. package/docs/api/interfaces/GamePickRoundBase.md +0 -232
  53. package/docs/api/interfaces/GamePickRoundBoard.md +0 -359
  54. package/docs/api/interfaces/GamePickRoundPublicMeta.md +0 -103
  55. package/docs/api/interfaces/GamePickRoundRequestParams.md +0 -63
  56. package/docs/api/interfaces/GamePickUserInfo.md +0 -107
  57. package/docs/api/interfaces/GamesApiResponse.md +0 -33
  58. package/docs/api/interfaces/QuizEventMeta.md +0 -61
  59. package/docs/api/variables/AllRoundsGameBoardID.md +0 -5
  60. /package/src/{Quiz → GamePick}/MarketsAnswers.ts +0 -0
  61. /package/src/{Quiz → GamePick}/MarketsInfo.ts +0 -0
  62. /package/src/{Quiz → GamePick}/MarketsPerSport.ts +0 -0
  63. /package/src/{Quiz → GamePick}/MarketsType.ts +0 -0
  64. /package/src/{Quiz → GamePick}/ScoreResultTypes.ts +0 -0
  65. /package/src/{Quiz → GamePick}/SportTypes.ts +0 -0
@@ -2182,7 +2182,7 @@ class WSAPIBase {
2182
2182
  async updateEntity(contextKey, payload) {
2183
2183
  OCache.set(contextKey, payload, ECacheContext.WSAPI);
2184
2184
  const onUpdate = this.onUpdateCallback.get(contextKey);
2185
- if (onUpdate) {
2185
+ if (typeof onUpdate === 'function') {
2186
2186
  onUpdate(payload);
2187
2187
  }
2188
2188
  }
@@ -2935,7 +2935,7 @@ class WSAPIUser extends WSAPIBase {
2935
2935
  to,
2936
2936
  onUpdate
2937
2937
  }) {
2938
- if (onUpdate) {
2938
+ if (typeof onUpdate === 'function') {
2939
2939
  this.onUpdateCallback.set(onUpdateContextKey.ActivityLog, onUpdate);
2940
2940
  }
2941
2941
  return await OCache.use(onUpdateContextKey.ActivityLog, ECacheContext.WSAPI, () => this.api.getActivityLogT(this.userExtId, startTimeSeconds, endTimeSeconds, from, to), CACHE_DATA_SEC);
@@ -3257,7 +3257,7 @@ class WSAPIMissions extends WSAPIGeneral {
3257
3257
  async getMissions({
3258
3258
  onUpdate
3259
3259
  } = {}) {
3260
- if (onUpdate) {
3260
+ if (typeof onUpdate === 'function') {
3261
3261
  this.onUpdateCallback.set(onUpdateContextKey.Missions, onUpdate);
3262
3262
  }
3263
3263
  return OCache.use(onUpdateContextKey.Missions, ECacheContext.WSAPI, () => this.api.missionsGetItemsT(this.userExtId), CACHE_DATA_SEC);
@@ -3796,7 +3796,7 @@ class WSAPIBonuses extends WSAPIMissions {
3796
3796
  async getBonuses({
3797
3797
  onUpdate
3798
3798
  } = {}) {
3799
- if (onUpdate) {
3799
+ if (typeof onUpdate === 'function') {
3800
3800
  this.onUpdateCallback.set(onUpdateContextKey.Bonuses, onUpdate);
3801
3801
  }
3802
3802
  return OCache.use(onUpdateContextKey.Bonuses, ECacheContext.WSAPI, () => this.api.bonusesGetItemsT(this.userExtId), CACHE_DATA_SEC);
@@ -4115,7 +4115,7 @@ class WSAPIStore extends WSAPIBonuses {
4115
4115
  async getStoreItems({
4116
4116
  onUpdate
4117
4117
  } = {}) {
4118
- if (onUpdate) {
4118
+ if (typeof onUpdate === 'function') {
4119
4119
  this.onUpdateCallback.set(onUpdateContextKey.StoreItems, onUpdate);
4120
4120
  }
4121
4121
  return OCache.use(onUpdateContextKey.StoreItems, ECacheContext.WSAPI, () => this.api.storeGetItemsT(this.userExtId), CACHE_DATA_SEC);
@@ -4601,7 +4601,7 @@ class WSAPIStore extends WSAPIBonuses {
4601
4601
  const requestLimit = limit === undefined ? 20 : limit;
4602
4602
  const requestOffset = offset === undefined ? 0 : offset;
4603
4603
  const cacheKey = this.storeHistoryCacheKey(requestLimit, requestOffset);
4604
- if (onUpdate) {
4604
+ if (typeof onUpdate === 'function') {
4605
4605
  this.onUpdateCallback.set(onUpdateContextKey.StoreHistory, onUpdate);
4606
4606
  this.storeHistoryOnUpdateParams = {
4607
4607
  limit: requestLimit,
@@ -4754,7 +4754,7 @@ class WSAPITournaments extends WSAPIStore {
4754
4754
  async getTournamentsList({
4755
4755
  onUpdate
4756
4756
  } = {}) {
4757
- if (onUpdate) {
4757
+ if (typeof onUpdate === 'function') {
4758
4758
  this.onUpdateCallback.set(onUpdateContextKey.TournamentList, onUpdate);
4759
4759
  }
4760
4760
  return OCache.use(onUpdateContextKey.TournamentList, ECacheContext.WSAPI, () => this.api.tournamentsGetLobbyT(this.userExtId), CACHE_DATA_SEC);
@@ -5270,7 +5270,7 @@ class WSAPIClans extends WSAPITournaments {
5270
5270
  async getClans({
5271
5271
  onUpdate
5272
5272
  } = {}) {
5273
- if (onUpdate) {
5273
+ if (typeof onUpdate === 'function') {
5274
5274
  this.onUpdateCallback.set(onUpdateContextKey.Clans, onUpdate);
5275
5275
  }
5276
5276
  return OCache.use(onUpdateContextKey.Clans, ECacheContext.WSAPI, () => this.api.clansGetListT(this.userExtId), CACHE_DATA_SEC);
@@ -5924,7 +5924,7 @@ class WSAPIJackpots extends WSAPIClans {
5924
5924
  jp_template_id,
5925
5925
  onUpdate
5926
5926
  }) {
5927
- if (onUpdate) {
5927
+ if (typeof onUpdate === 'function') {
5928
5928
  this.onUpdateCallback.set(onUpdateContextKey.JackpotEligibleGames, onUpdate);
5929
5929
  }
5930
5930
  return OCache.use(onUpdateContextKey.JackpotEligibleGames + jp_template_id, ECacheContext.WSAPI, () => this.api.getJackpotEligibleGamesT(this.userExtId, {
@@ -6050,7 +6050,7 @@ class WSAPIRaffles extends WSAPIJackpots {
6050
6050
  async getRaffles({
6051
6051
  onUpdate
6052
6052
  } = {}) {
6053
- if (onUpdate) {
6053
+ if (typeof onUpdate === 'function') {
6054
6054
  this.onUpdateCallback.set(onUpdateContextKey.Raffles, onUpdate);
6055
6055
  }
6056
6056
  return OCache.use(onUpdateContextKey.Raffles, ECacheContext.WSAPI, () => this.api.getRafflesT(this.userExtId), CACHE_DATA_SEC);
@@ -6707,7 +6707,7 @@ class WSAPIMiniGames extends WSAPIRaffles {
6707
6707
  async getMiniGames({
6708
6708
  onUpdate
6709
6709
  } = {}) {
6710
- if (onUpdate) {
6710
+ if (typeof onUpdate === 'function') {
6711
6711
  this.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
6712
6712
  }
6713
6713
  return OCache.use(onUpdateContextKey.Saw, ECacheContext.WSAPI, () => this.api.sawGetTemplatesT(this.userExtId), CACHE_DATA_SEC);
@@ -6951,7 +6951,7 @@ class WSAPIMiniGames extends WSAPIRaffles {
6951
6951
  async playMiniGame(template_id, {
6952
6952
  onUpdate
6953
6953
  } = {}) {
6954
- if (onUpdate) {
6954
+ if (typeof onUpdate === 'function') {
6955
6955
  this.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
6956
6956
  }
6957
6957
  const r = await this.api.sawSpinRequest(this.userExtId, template_id);
@@ -7133,7 +7133,7 @@ class WSAPIMiniGames extends WSAPIRaffles {
7133
7133
  async playMiniGameBatch(template_id, spin_count, {
7134
7134
  onUpdate
7135
7135
  } = {}) {
7136
- if (onUpdate) {
7136
+ if (typeof onUpdate === 'function') {
7137
7137
  this.onUpdateCallback.set(onUpdateContextKey.Saw, onUpdate);
7138
7138
  }
7139
7139
  const response = await this.api.sawSpinBatchRequest(this.userExtId, template_id, spin_count);
@@ -8494,7 +8494,7 @@ class WSAPIInbox extends WSAPILeaderBoard {
8494
8494
  read_status,
8495
8495
  onUpdate
8496
8496
  } = {}) {
8497
- if (onUpdate) {
8497
+ if (typeof onUpdate === 'function') {
8498
8498
  this.onUpdateCallback.set(onUpdateContextKey.InboxMessages, onUpdate);
8499
8499
  }
8500
8500
  return await this.api.getInboxMessagesT(this.userExtId, from, to, onlyFavorite, categoryId, read_status);
@@ -8551,7 +8551,7 @@ class WSAPIInbox extends WSAPILeaderBoard {
8551
8551
  async getInboxUnreadCount({
8552
8552
  onUpdate
8553
8553
  } = {}) {
8554
- if (onUpdate) {
8554
+ if (typeof onUpdate === 'function') {
8555
8555
  this.onUpdateCallback.set(onUpdateContextKey.InboxUnreadCount, onUpdate);
8556
8556
  }
8557
8557
  return OCache.use(onUpdateContextKey.InboxUnreadCount, ECacheContext.WSAPI, () => this.api.getInboxUnreadCountT(this.userExtId), CACHE_DATA_SEC);
@@ -10710,6 +10710,141 @@ const QuizMarketPerSport = {
10710
10710
  [QuizSportType.Tennis]: [SAWGPMarketType.One_Two, SAWGPMarketType.FirstSet, SAWGPMarketType.SecondSet, SAWGPMarketType.ThirdSet, SAWGPMarketType.FourthSet, SAWGPMarketType.FifthSet, SAWGPMarketType.PlayerOneWinsOneSet, SAWGPMarketType.PlayerTwoWinsOneSet, SAWGPMarketType.OddEven]
10711
10711
  };
10712
10712
 
10713
+ /**
10714
+ * GamePickMarketType defines legacy market categories for MatchX events
10715
+ */
10716
+ var GamePickMarketType;
10717
+ (function (GamePickMarketType) {
10718
+ /** Predict the number of goals */
10719
+ GamePickMarketType[GamePickMarketType["Goals"] = 1] = "Goals";
10720
+ /** Predict the winner */
10721
+ GamePickMarketType[GamePickMarketType["Winner"] = 2] = "Winner";
10722
+ })(GamePickMarketType || (GamePickMarketType = {}));
10723
+ /**
10724
+ * GamePickResolutionType defines how a user's prediction was scored after event resolution
10725
+ */
10726
+ var GamePickResolutionType;
10727
+ (function (GamePickResolutionType) {
10728
+ /** Event not yet resolved */
10729
+ GamePickResolutionType[GamePickResolutionType["None"] = 0] = "None";
10730
+ /** Prediction was wrong */
10731
+ GamePickResolutionType[GamePickResolutionType["Lost"] = 2] = "Lost";
10732
+ /** Prediction was partially correct (e.g. correct winner but wrong score) */
10733
+ GamePickResolutionType[GamePickResolutionType["PartialWin"] = 3] = "PartialWin";
10734
+ /** Prediction was fully correct */
10735
+ GamePickResolutionType[GamePickResolutionType["FullWin"] = 4] = "FullWin";
10736
+ })(GamePickResolutionType || (GamePickResolutionType = {}));
10737
+ /**
10738
+ * GPRoundStatus defines the lifecycle stage of a game round
10739
+ */
10740
+ var GPRoundStatus;
10741
+ (function (GPRoundStatus) {
10742
+ /** Round is in an active/other state */
10743
+ GPRoundStatus[GPRoundStatus["Other"] = -1] = "Other";
10744
+ /** Round exists but has no events defined yet */
10745
+ GPRoundStatus[GPRoundStatus["NoEventsDefined"] = 1] = "NoEventsDefined";
10746
+ /** Betting deadline has passed, no more bets allowed */
10747
+ GPRoundStatus[GPRoundStatus["NoMoreBetsAllowed"] = 2] = "NoMoreBetsAllowed";
10748
+ /** All events in the round are resolved, but the round itself is not finalized */
10749
+ GPRoundStatus[GPRoundStatus["AllEventsResolved_ButNotRound"] = 3] = "AllEventsResolved_ButNotRound";
10750
+ /** Round is fully resolved and scored */
10751
+ GPRoundStatus[GPRoundStatus["RoundResolved"] = 4] = "RoundResolved";
10752
+ })(GPRoundStatus || (GPRoundStatus = {}));
10753
+ /**
10754
+ * GamePickScoreType defines how scores are calculated for predictions
10755
+ */
10756
+ var GamePickScoreType;
10757
+ (function (GamePickScoreType) {
10758
+ /** Score based on exact match of predicted result */
10759
+ GamePickScoreType[GamePickScoreType["ExactScore"] = 1] = "ExactScore";
10760
+ /** Score based on closeness (difference) of predicted result */
10761
+ GamePickScoreType[GamePickScoreType["PointsDifference"] = 2] = "PointsDifference";
10762
+ })(GamePickScoreType || (GamePickScoreType = {}));
10763
+ /**
10764
+ * GamePickSportType defines supported sport types for events, using Betradar sport IDs
10765
+ */
10766
+ var GamePickSportType;
10767
+ (function (GamePickSportType) {
10768
+ GamePickSportType[GamePickSportType["Soccer"] = 1] = "Soccer";
10769
+ GamePickSportType[GamePickSportType["Basketball"] = 2] = "Basketball";
10770
+ GamePickSportType[GamePickSportType["Baseball"] = 3] = "Baseball";
10771
+ GamePickSportType[GamePickSportType["IceHockey"] = 4] = "IceHockey";
10772
+ GamePickSportType[GamePickSportType["Tennis"] = 5] = "Tennis";
10773
+ GamePickSportType[GamePickSportType["Handball"] = 6] = "Handball";
10774
+ GamePickSportType[GamePickSportType["Floorball"] = 7] = "Floorball";
10775
+ GamePickSportType[GamePickSportType["Golf"] = 9] = "Golf";
10776
+ GamePickSportType[GamePickSportType["Boxing"] = 10] = "Boxing";
10777
+ GamePickSportType[GamePickSportType["Motorsport"] = 11] = "Motorsport";
10778
+ GamePickSportType[GamePickSportType["Rugby"] = 12] = "Rugby";
10779
+ GamePickSportType[GamePickSportType["AussieRules"] = 13] = "AussieRules";
10780
+ GamePickSportType[GamePickSportType["Bandy"] = 15] = "Bandy";
10781
+ GamePickSportType[GamePickSportType["AmericanFootball"] = 16] = "AmericanFootball";
10782
+ GamePickSportType[GamePickSportType["Cycling"] = 17] = "Cycling";
10783
+ GamePickSportType[GamePickSportType["Specials"] = 18] = "Specials";
10784
+ GamePickSportType[GamePickSportType["Snooker"] = 19] = "Snooker";
10785
+ GamePickSportType[GamePickSportType["TableTennis"] = 20] = "TableTennis";
10786
+ GamePickSportType[GamePickSportType["Cricket"] = 21] = "Cricket";
10787
+ GamePickSportType[GamePickSportType["Darts"] = 22] = "Darts";
10788
+ GamePickSportType[GamePickSportType["Volleyball"] = 23] = "Volleyball";
10789
+ GamePickSportType[GamePickSportType["FieldHockey"] = 24] = "FieldHockey";
10790
+ GamePickSportType[GamePickSportType["Waterpolo"] = 26] = "Waterpolo";
10791
+ GamePickSportType[GamePickSportType["Curling"] = 28] = "Curling";
10792
+ GamePickSportType[GamePickSportType["Futsal"] = 29] = "Futsal";
10793
+ GamePickSportType[GamePickSportType["Badminton"] = 31] = "Badminton";
10794
+ GamePickSportType[GamePickSportType["Bowls"] = 32] = "Bowls";
10795
+ GamePickSportType[GamePickSportType["Chess"] = 33] = "Chess";
10796
+ GamePickSportType[GamePickSportType["BeachVolley"] = 34] = "BeachVolley";
10797
+ GamePickSportType[GamePickSportType["Netball"] = 35] = "Netball";
10798
+ GamePickSportType[GamePickSportType["Athletics"] = 36] = "Athletics";
10799
+ GamePickSportType[GamePickSportType["Squash"] = 37] = "Squash";
10800
+ GamePickSportType[GamePickSportType["Lacrosse"] = 39] = "Lacrosse";
10801
+ GamePickSportType[GamePickSportType["Formula1"] = 40] = "Formula1";
10802
+ GamePickSportType[GamePickSportType["AlpineSkiing"] = 43] = "AlpineSkiing";
10803
+ GamePickSportType[GamePickSportType["Biathlon"] = 44] = "Biathlon";
10804
+ GamePickSportType[GamePickSportType["CrossCountry"] = 46] = "CrossCountry";
10805
+ GamePickSportType[GamePickSportType["NordicCombined"] = 47] = "NordicCombined";
10806
+ GamePickSportType[GamePickSportType["SkiJumping"] = 48] = "SkiJumping";
10807
+ GamePickSportType[GamePickSportType["Schwingen"] = 56] = "Schwingen";
10808
+ GamePickSportType[GamePickSportType["BeachSoccer"] = 60] = "BeachSoccer";
10809
+ GamePickSportType[GamePickSportType["Pesapallo"] = 61] = "Pesapallo";
10810
+ GamePickSportType[GamePickSportType["ESportCounterStrike"] = 109] = "ESportCounterStrike";
10811
+ GamePickSportType[GamePickSportType["ESportLeagueofLegends"] = 110] = "ESportLeagueofLegends";
10812
+ GamePickSportType[GamePickSportType["ESportDota"] = 111] = "ESportDota";
10813
+ GamePickSportType[GamePickSportType["StarCraft"] = 112] = "StarCraft";
10814
+ GamePickSportType[GamePickSportType["MMA"] = 117] = "MMA";
10815
+ GamePickSportType[GamePickSportType["CallOfDuty"] = 118] = "CallOfDuty";
10816
+ GamePickSportType[GamePickSportType["ESportOverwatch"] = 121] = "ESportOverwatch";
10817
+ GamePickSportType[GamePickSportType["ESportRocketLeague"] = 128] = "ESportRocketLeague";
10818
+ GamePickSportType[GamePickSportType["IndyRacing"] = 129] = "IndyRacing";
10819
+ GamePickSportType[GamePickSportType["Speedway"] = 131] = "Speedway";
10820
+ GamePickSportType[GamePickSportType["GaelicFootball"] = 135] = "GaelicFootball";
10821
+ GamePickSportType[GamePickSportType["GaelicHurling"] = 136] = "GaelicHurling";
10822
+ GamePickSportType[GamePickSportType["ESporteSoccer"] = 137] = "ESporteSoccer";
10823
+ GamePickSportType[GamePickSportType["Kabaddi"] = 138] = "Kabaddi";
10824
+ GamePickSportType[GamePickSportType["ESporteBasketball"] = 153] = "ESporteBasketball";
10825
+ GamePickSportType[GamePickSportType["Basketball3x3"] = 155] = "Basketball3x3";
10826
+ GamePickSportType[GamePickSportType["ESportArenaofValor"] = 158] = "ESportArenaofValor";
10827
+ GamePickSportType[GamePickSportType["TouringCarRacing"] = 188] = "TouringCarRacing";
10828
+ GamePickSportType[GamePickSportType["MotorcycleRacing"] = 190] = "MotorcycleRacing";
10829
+ GamePickSportType[GamePickSportType["StockCarRacing"] = 191] = "StockCarRacing";
10830
+ })(GamePickSportType || (GamePickSportType = {}));
10831
+ /**
10832
+ * GameRoundOrderType defines how events within a round are ordered for display
10833
+ */
10834
+ var GameRoundOrderType;
10835
+ (function (GameRoundOrderType) {
10836
+ /** Display in the order events were added */
10837
+ GameRoundOrderType[GameRoundOrderType["HowAdded"] = 1] = "HowAdded";
10838
+ /** Display in reverse of the order events were added */
10839
+ GameRoundOrderType[GameRoundOrderType["HowAddedReversed"] = 2] = "HowAddedReversed";
10840
+ /** Display ordered by event/match date ascending (earliest first) */
10841
+ GameRoundOrderType[GameRoundOrderType["EventDateAscending"] = 3] = "EventDateAscending";
10842
+ /** Display ordered by event/match date descending (latest first) */
10843
+ GameRoundOrderType[GameRoundOrderType["EventDateDescending"] = 4] = "EventDateDescending";
10844
+ })(GameRoundOrderType || (GameRoundOrderType = {}));
10845
+ /** Round ID constant used to request the overall/seasonal leaderboard across all rounds */
10846
+ const AllRoundsGameBoardID = -1;
10847
+
10713
10848
  var JackpotContributionType;
10714
10849
  (function (JackpotContributionType) {
10715
10850
  JackpotContributionType[JackpotContributionType["Fixed"] = 1] = "Fixed";
@@ -10772,5 +10907,5 @@ var JoinClanErrorCode;
10772
10907
  JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START"] = 1011] = "JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START";
10773
10908
  })(JoinClanErrorCode || (JoinClanErrorCode = {}));
10774
10909
 
10775
- export { AchCategoryTransform, AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter, AchievementAvailabilityStatus, AchievementClaimPeriodTypeId, AchievementStatus, AchievementTaskType, AchievementType, ActivityLogTransform, ActivityTypeLimited, AnalyticsInboxSubScreenNameId, AnalyticsInterfaceType, AnalyticsScreenNameId, AnalyticsTournamentsLobbySubScreenNameId, AttemptPeriodType, AvatarCustomizeErrorCode, AvatarCustomizeErrorMessage, BadgesTimeLimitStates, BonusItemsTransform, BonusStatus, BuyStoreItemErrorCode, ClassId, CookieStore, CoreUtils, ECacheContext, GetJackpotEligibleGamesResponseTransform, GetJackpotWinnersResponseTransform, GetLevelMapResponseTransform, InboxCategories, InboxMessageBodyTransform, InboxMessageType, InboxMessagesTransform, InboxReadStatus, JackPotTemparature, JackpotContributionType, JackpotType, JoinClanErrorCode, LeaderBoardPeriodType, LiquidEntityData, MiniGamePrizeTypeName, MiniGamePrizeTypeNamed, MissionCategory, MissionUtils, OCache, OpenLinksType, PointChangeSourceType, PrizeModifiers, PrizeModifiersKeysNames, PublicLabelSettings, QuizAnswersValueType, QuizMarketPerSport, QuizSportType, RaffleDrawInstanceState, RaffleDrawTypeExecution, RaffleTicketCapVisualization, SAWAcknowledgeType, SAWAcknowledgeTypeName, SAWAcknowledgeTypeNamed, SAWAskForUsername, SAWBuyInType, SAWBuyInTypeName, SAWBuyInTypeNamed, SAWExposeUserSpinId, SAWExposeUserSpinIdName, SAWExposeUserSpinIdNamed, SAWGPMarketType, SAWGameDifficultyType, SAWGameDifficultyTypeName, SAWGameLayout, SAWGameLayoutName, SAWGameLayoutNamed, SAWGameType, SAWGameTypeName, SAWGameTypeNamed, SAWHistoryTransform, SAWPrizeType, SAWSpinErrorCode, SAWTemplatesTransform, SAWUtils, SAWWheelLayout, SAWWinSoundFiles, SAWWinSoundType, SawGameDifficultyTypeNamed, ScheduledMissionType, SmarticoAPI, StoreCategoryTransform, StoreItemPurchaseType, StoreItemPurchasedTransform, StoreItemTransform, StoreItemType, StoreItemTypeName, StoreItemTypeNamed, TournamentInstanceStatus, TournamentInstanceStatusName, TournamentItemsTransform, TournamentRegistrationError, TournamentRegistrationStatus, TournamentRegistrationStatusName, TournamentRegistrationStatusNamed, TournamentRegistrationType, TournamentRegistrationTypeGetName, TournamentType, TournamentUtils, TranslationArea, UICustomSectionTransform, UserAchievementTransform, UserBalanceType, WSAPI, avatarCustomizedTransform, avatarDefinitionTransform, avatarPromptTransform, clanTournamentPlayersTransform, drawRunHistoryTransform, drawRunTransform, drawTransform, enrichUserAchievementsWithBadgeState, getLeaderBoardTransform, marketsInfo, prizeTransform, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizAnswersTrKeys, quizDrawReplacementText, quizEvenReplacementText, quizNoGoalsReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizSupportedSports, quizYesReplacementText, raffleClaimPrizeResponseTransform, raffleTransform, ticketsTransform, tournamentInfoItemTransform, winnersTransform };
10910
+ export { AchCategoryTransform, AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter, AchievementAvailabilityStatus, AchievementClaimPeriodTypeId, AchievementStatus, AchievementTaskType, AchievementType, ActivityLogTransform, ActivityTypeLimited, AllRoundsGameBoardID, AnalyticsInboxSubScreenNameId, AnalyticsInterfaceType, AnalyticsScreenNameId, AnalyticsTournamentsLobbySubScreenNameId, AttemptPeriodType, AvatarCustomizeErrorCode, AvatarCustomizeErrorMessage, BadgesTimeLimitStates, BonusItemsTransform, BonusStatus, BuyStoreItemErrorCode, ClassId, CookieStore, CoreUtils, ECacheContext, GPRoundStatus, GamePickMarketType, GamePickResolutionType, GamePickScoreType, GamePickSportType, GameRoundOrderType, GetJackpotEligibleGamesResponseTransform, GetJackpotWinnersResponseTransform, GetLevelMapResponseTransform, InboxCategories, InboxMessageBodyTransform, InboxMessageType, InboxMessagesTransform, InboxReadStatus, JackPotTemparature, JackpotContributionType, JackpotType, JoinClanErrorCode, LeaderBoardPeriodType, LiquidEntityData, MiniGamePrizeTypeName, MiniGamePrizeTypeNamed, MissionCategory, MissionUtils, OCache, OpenLinksType, PointChangeSourceType, PrizeModifiers, PrizeModifiersKeysNames, PublicLabelSettings, QuizAnswersValueType, QuizMarketPerSport, QuizSportType, RaffleDrawInstanceState, RaffleDrawTypeExecution, RaffleTicketCapVisualization, SAWAcknowledgeType, SAWAcknowledgeTypeName, SAWAcknowledgeTypeNamed, SAWAskForUsername, SAWBuyInType, SAWBuyInTypeName, SAWBuyInTypeNamed, SAWExposeUserSpinId, SAWExposeUserSpinIdName, SAWExposeUserSpinIdNamed, SAWGPMarketType, SAWGameDifficultyType, SAWGameDifficultyTypeName, SAWGameLayout, SAWGameLayoutName, SAWGameLayoutNamed, SAWGameType, SAWGameTypeName, SAWGameTypeNamed, SAWHistoryTransform, SAWPrizeType, SAWSpinErrorCode, SAWTemplatesTransform, SAWUtils, SAWWheelLayout, SAWWinSoundFiles, SAWWinSoundType, SawGameDifficultyTypeNamed, ScheduledMissionType, SmarticoAPI, StoreCategoryTransform, StoreItemPurchaseType, StoreItemPurchasedTransform, StoreItemTransform, StoreItemType, StoreItemTypeName, StoreItemTypeNamed, TournamentInstanceStatus, TournamentInstanceStatusName, TournamentItemsTransform, TournamentRegistrationError, TournamentRegistrationStatus, TournamentRegistrationStatusName, TournamentRegistrationStatusNamed, TournamentRegistrationType, TournamentRegistrationTypeGetName, TournamentType, TournamentUtils, TranslationArea, UICustomSectionTransform, UserAchievementTransform, UserBalanceType, WSAPI, avatarCustomizedTransform, avatarDefinitionTransform, avatarPromptTransform, clanTournamentPlayersTransform, drawRunHistoryTransform, drawRunTransform, drawTransform, enrichUserAchievementsWithBadgeState, getLeaderBoardTransform, marketsInfo, prizeTransform, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizAnswersTrKeys, quizDrawReplacementText, quizEvenReplacementText, quizNoGoalsReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizSupportedSports, quizYesReplacementText, raffleClaimPrizeResponseTransform, raffleTransform, ticketsTransform, tournamentInfoItemTransform, winnersTransform };
10776
10911
  //# sourceMappingURL=index.modern.mjs.map