@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.
- package/dist/MiniGames/SAWEventSawPush.d.ts +1 -1
- package/dist/MiniGames/SAWPrize.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +6 -0
- package/docs/interfaces/TMissionOrBadge.md +8 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWEventSawPush.ts +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/MiniGames/SAWPrize.ts +1 -0
- package/src/Missions/UserAchievement.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +6 -0
|
@@ -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,
|