@smartico/public-api 0.0.323 → 0.0.324

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.
@@ -616,6 +616,8 @@ export interface TMissionOrBadge {
616
616
  claim_button_action?: string;
617
617
  /** Badge time limit state for badges with time restrictions */
618
618
  badgeTimeLimitState?: BadgesTimeLimitStates;
619
+ /** Flag from achievement if the mission should be hidden when it is locked, until it's unlocked */
620
+ hide_locked_mission?: boolean;
619
621
  }
620
622
  export interface AchRelatedGame {
621
623
  /** The ID of the related game */
package/dist/index.js CHANGED
@@ -1529,7 +1529,8 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
1529
1529
  availability_status: MissionUtils.getAvailabilityStatus(r),
1530
1530
  claim_button_title: r.ach_public_meta.claim_button_title,
1531
1531
  claim_button_action: r.ach_public_meta.claim_button_action,
1532
- badgeTimeLimitState: r.badgeTimeLimitState
1532
+ badgeTimeLimitState: r.badgeTimeLimitState,
1533
+ hide_locked_mission: r.ach_public_meta.hide_locked_mission
1533
1534
  };
1534
1535
  if (r.ach_status_id === exports.AchievementStatus.Recurring) {
1535
1536
  x.next_recurrence_date_ts = Date.now() + (r == null ? void 0 : r.milliseconds_till_available);