@smartico/public-api 0.0.193 → 0.0.194

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.193",
3
+ "version": "0.0.194",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,4 +6,5 @@ export enum AchievementStatus {
6
6
  FeaturedManually = 5,
7
7
  FeaturedAI = 6,
8
8
  Recurring = 7,
9
+ RecurringUponCompletion = 8
9
10
  }
@@ -26,6 +26,7 @@ export interface UserAchievement {
26
26
  milliseconds_till_available?: number;
27
27
  completed_tasks?: number;
28
28
  achievementTasks?: UserAchievementTask[];
29
+ next_recurrence_date_ts?: number;
29
30
  ach_status_id?: AchievementStatus;
30
31
  scheduledMissionType?: ScheduledMissionType;
31
32
  related_games?: AchRelatedGame[];
@@ -98,6 +99,7 @@ export const UserAchievementTransform = (items: UserAchievement[]): TMissionOrBa
98
99
  enabled: g.game_public_meta.enabled,
99
100
  game_categories: g.game_public_meta.game_categories,
100
101
  game_provider: g.game_public_meta.game_provider,
102
+ mobile_spec_link: g.game_public_meta.mobile_spec_link
101
103
  },
102
104
  })),
103
105
  category_ids: r.ach_categories ?? [],
@@ -39,6 +39,7 @@ export const StoreItemPurchasedTransform = (items: StoreItemPurchased[]): TStore
39
39
  purchased_today: purchasedToday,
40
40
  purchased_this_week: purchasedThisWeek,
41
41
  purchased_this_month: purchasedThisMonth,
42
+ custom_data: r.itemPublicMeta.custom_data
42
43
  };
43
44
 
44
45
  return x;
@@ -34,6 +34,7 @@ export const tournamentInfoItemTransform = (t: GetTournamentInfoResponse): TTour
34
34
  enabled: g.game_public_meta.enabled,
35
35
  game_categories: g.game_public_meta.game_categories,
36
36
  game_provider: g.game_public_meta.game_provider,
37
+ mobile_spec_link: g.game_public_meta.mobile_spec_link,
37
38
  },
38
39
  })),
39
40
  players: t.tournamentInfo.players.map((p) => TournamentUtils.getPlayerTransformed(p)),