@smartico/public-api 0.0.332 → 0.0.333

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.
@@ -11,6 +11,7 @@ interface AchRelatedGame {
11
11
  game_categories?: string[];
12
12
  game_provider?: string;
13
13
  mobile_spec_link?: string;
14
+ priority?: number;
14
15
  };
15
16
  }
16
17
  export { AchRelatedGame };
@@ -25,6 +25,8 @@ export interface JackpotEligibleGame {
25
25
  game_provider: string;
26
26
  /** The link to the mobile game */
27
27
  mobile_spec_link: string;
28
+ /** The priority of the game */
29
+ priority: number;
28
30
  }
29
31
  /**
30
32
  * @ignore
@@ -113,6 +113,8 @@ export interface PublicProperties {
113
113
  core_inbox_unread_count?: number;
114
114
  is_visitor?: boolean;
115
115
  core_registration_date?: number;
116
+ core_recommended_deposit_amount?: number;
117
+ core_recommended_casino_bet_amount?: number;
116
118
  }
117
119
  declare enum ClassId {
118
120
  PING = 1,
@@ -819,6 +821,10 @@ export interface TUserProfile {
819
821
  public_username?: string;
820
822
  /** THe number of unread inbox messages */
821
823
  core_inbox_unread_count?: number;
824
+ /** The recommended deposit amount for the user */
825
+ core_recommended_deposit_amount?: number;
826
+ /** The recommended casino bet amount for the user */
827
+ core_recommended_casino_bet_amount?: number;
822
828
  }
823
829
  /**
824
830
  * TLevel describes the information of each level defined in the system
@@ -210,6 +210,10 @@ export interface TUserProfile {
210
210
  public_username?: string;
211
211
  /** THe number of unread inbox messages */
212
212
  core_inbox_unread_count?: number;
213
+ /** The recommended deposit amount for the user */
214
+ core_recommended_deposit_amount?: number;
215
+ /** The recommended casino bet amount for the user */
216
+ core_recommended_casino_bet_amount?: number;
213
217
  }
214
218
  /**
215
219
  * TLevel describes the information of each level defined in the system
@@ -642,6 +646,8 @@ export interface AchRelatedGame {
642
646
  game_provider: string;
643
647
  /** The URL to the mobile game */
644
648
  mobile_spec_link: string;
649
+ /** The priority of the game */
650
+ priority?: number;
645
651
  };
646
652
  }
647
653
  /**
package/dist/index.js CHANGED
@@ -1517,7 +1517,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
1517
1517
  stage_image: t.task_public_meta.stage_image
1518
1518
  };
1519
1519
  }),
1520
- related_games: (r.related_games || []).map(function (g) {
1520
+ related_games: (r.related_games || []).map(function (g, i) {
1521
1521
  return {
1522
1522
  ext_game_id: g.ext_game_id,
1523
1523
  game_public_meta: {
@@ -1527,7 +1527,8 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
1527
1527
  enabled: g.game_public_meta.enabled,
1528
1528
  game_categories: g.game_public_meta.game_categories,
1529
1529
  game_provider: g.game_public_meta.game_provider,
1530
- mobile_spec_link: g.game_public_meta.mobile_spec_link
1530
+ mobile_spec_link: g.game_public_meta.mobile_spec_link,
1531
+ priority: i + 1
1531
1532
  }
1532
1533
  };
1533
1534
  }),
@@ -1778,7 +1779,7 @@ var TournamentItemsTransform = function TournamentItemsTransform(items) {
1778
1779
 
1779
1780
  var tournamentInfoItemTransform = function tournamentInfoItemTransform(t) {
1780
1781
  var response = _extends({}, TournamentItemsTransform([t.tournamentInfo.tournamentLobbyInfo])[0], {
1781
- related_games: (t.tournamentInfo.tournamentLobbyInfo.related_games || []).map(function (g) {
1782
+ related_games: (t.tournamentInfo.tournamentLobbyInfo.related_games || []).map(function (g, i) {
1782
1783
  return {
1783
1784
  ext_game_id: g.ext_game_id,
1784
1785
  game_public_meta: {
@@ -1788,7 +1789,8 @@ var tournamentInfoItemTransform = function tournamentInfoItemTransform(t) {
1788
1789
  enabled: g.game_public_meta.enabled,
1789
1790
  game_categories: g.game_public_meta.game_categories,
1790
1791
  game_provider: g.game_public_meta.game_provider,
1791
- mobile_spec_link: g.game_public_meta.mobile_spec_link
1792
+ mobile_spec_link: g.game_public_meta.mobile_spec_link,
1793
+ priority: i + 1
1792
1794
  }
1793
1795
  };
1794
1796
  }),
@@ -3943,7 +3945,7 @@ var GetJackpotWinnersResponseTransform = function GetJackpotWinnersResponseTrans
3943
3945
  */
3944
3946
  var GetJackpotEligibleGamesResponseTransform = function GetJackpotEligibleGamesResponseTransform(_ref) {
3945
3947
  var eligible_games = _ref.eligible_games;
3946
- var games = eligible_games.map(function (game) {
3948
+ var games = eligible_games.map(function (game, i) {
3947
3949
  return {
3948
3950
  game_id: game.ach_game_id,
3949
3951
  ext_game_id: game.ext_game_id,
@@ -3953,7 +3955,8 @@ var GetJackpotEligibleGamesResponseTransform = function GetJackpotEligibleGamesR
3953
3955
  enabled: game.game_public_meta.enabled,
3954
3956
  game_categories: game.game_public_meta.game_categories,
3955
3957
  game_provider: game.game_public_meta.game_provider,
3956
- mobile_spec_link: game.game_public_meta.mobile_spec_link
3958
+ mobile_spec_link: game.game_public_meta.mobile_spec_link,
3959
+ priority: i + 1
3957
3960
  };
3958
3961
  });
3959
3962
  return {