@smartico/public-api 0.0.192 → 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.
@@ -8,6 +8,7 @@ interface AchRelatedGame {
8
8
  enabled: boolean;
9
9
  game_categories?: string[];
10
10
  game_provider?: string;
11
+ mobile_spec_link?: string;
11
12
  };
12
13
  }
13
14
  export { AchRelatedGame };
@@ -5,5 +5,6 @@ export declare enum AchievementStatus {
5
5
  Archived = 4,
6
6
  FeaturedManually = 5,
7
7
  FeaturedAI = 6,
8
- Recurring = 7
8
+ Recurring = 7,
9
+ RecurringUponCompletion = 8
9
10
  }
@@ -23,6 +23,7 @@ export interface UserAchievement {
23
23
  milliseconds_till_available?: number;
24
24
  completed_tasks?: number;
25
25
  achievementTasks?: UserAchievementTask[];
26
+ next_recurrence_date_ts?: number;
26
27
  ach_status_id?: AchievementStatus;
27
28
  scheduledMissionType?: ScheduledMissionType;
28
29
  related_games?: AchRelatedGame[];
@@ -493,6 +493,8 @@ export interface AchRelatedGame {
493
493
  game_categories: string[];
494
494
  /** The name of the game provider */
495
495
  game_provider: string;
496
+ /** The URL to the mobile game */
497
+ mobile_spec_link: string;
496
498
  };
497
499
  }
498
500
  /**
package/dist/index.js CHANGED
@@ -850,7 +850,8 @@ var StoreItemPurchasedTransform = function StoreItemPurchasedTransform(items) {
850
850
  purchase_points_amount: r.purchase_points_amount,
851
851
  purchased_today: purchasedToday,
852
852
  purchased_this_week: purchasedThisWeek,
853
- purchased_this_month: purchasedThisMonth
853
+ purchased_this_month: purchasedThisMonth,
854
+ custom_data: r.itemPublicMeta.custom_data
854
855
  };
855
856
  return x;
856
857
  });
@@ -865,6 +866,7 @@ exports.AchievementStatus = void 0;
865
866
  AchievementStatus[AchievementStatus["FeaturedManually"] = 5] = "FeaturedManually";
866
867
  AchievementStatus[AchievementStatus["FeaturedAI"] = 6] = "FeaturedAI";
867
868
  AchievementStatus[AchievementStatus["Recurring"] = 7] = "Recurring";
869
+ AchievementStatus[AchievementStatus["RecurringUponCompletion"] = 8] = "RecurringUponCompletion";
868
870
  })(exports.AchievementStatus || (exports.AchievementStatus = {}));
869
871
 
870
872
  exports.AchievementTaskType = void 0;
@@ -936,7 +938,8 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
936
938
  image: g.game_public_meta.image,
937
939
  enabled: g.game_public_meta.enabled,
938
940
  game_categories: g.game_public_meta.game_categories,
939
- game_provider: g.game_public_meta.game_provider
941
+ game_provider: g.game_public_meta.game_provider,
942
+ mobile_spec_link: g.game_public_meta.mobile_spec_link
940
943
  }
941
944
  };
942
945
  }),
@@ -1162,7 +1165,8 @@ var tournamentInfoItemTransform = function tournamentInfoItemTransform(t) {
1162
1165
  image: g.game_public_meta.image,
1163
1166
  enabled: g.game_public_meta.enabled,
1164
1167
  game_categories: g.game_public_meta.game_categories,
1165
- game_provider: g.game_public_meta.game_provider
1168
+ game_provider: g.game_public_meta.game_provider,
1169
+ mobile_spec_link: g.game_public_meta.mobile_spec_link
1166
1170
  }
1167
1171
  };
1168
1172
  }),