@smartico/public-api 0.0.159 → 0.0.161

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.
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from 'src/Base/ProtocolMessage';
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
  export interface SAWEventSawPush extends ProtocolMessage {
3
3
  pending_message_id: number;
4
4
  saw_template_id: number;
@@ -9,5 +9,6 @@ export interface SAWPrize {
9
9
  place_to?: number;
10
10
  sawUniqueWinId?: string;
11
11
  pool?: number;
12
+ pool_initial?: number;
12
13
  wins_count?: number;
13
14
  }
@@ -28,6 +28,7 @@ export interface TMiniGamePrize {
28
28
  acknowledge_dp: string;
29
29
  acknowledge_action_title: string;
30
30
  pool?: number;
31
+ pool_initial?: number;
31
32
  wins_count?: number;
32
33
  }
33
34
  /**
@@ -390,6 +391,8 @@ export interface TMissionOrBadge {
390
391
  is_opted_in: boolean;
391
392
  /** The amount of time in milliseconds that user has to complete the mission */
392
393
  time_limit_ms: number;
394
+ /** Holds time from which mission will become available, for the missions that are targeted to be available from specific date/time */
395
+ active_from_ts: number;
393
396
  /** The date when the mission was started, relevant for the time limited missions */
394
397
  dt_start: number;
395
398
  /** The progress of the mission in percents calculated as the aggregated relative percentage of all tasks */
package/dist/index.js CHANGED
@@ -390,6 +390,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
390
390
  acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
391
391
  acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
392
392
  pool: p.pool,
393
+ pool_initial: p.pool_initial,
393
394
  wins_count: p.wins_count
394
395
  };
395
396
  return y;
@@ -842,6 +843,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
842
843
  is_requires_optin: r.requiresOptin,
843
844
  is_opted_in: r.isOptedIn,
844
845
  time_limit_ms: r.time_limit_ms,
846
+ active_from_ts: r.active_from_ts,
845
847
  dt_start: r.start_date_ts,
846
848
  reward: r.ach_public_meta.reward,
847
849
  progress: r.progress,