@smartico/public-api 0.0.185 → 0.0.187
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/Inbox/InboxMessage.d.ts +2 -0
- package/dist/MiniGames/SAWWinningHistoryResponse.d.ts +2 -0
- package/dist/Missions/UserAchievement.d.ts +1 -0
- package/dist/Store/StoreItemPublicMeta.d.ts +1 -0
- package/dist/WSAPI/WSAPI.d.ts +1 -1
- package/dist/WSAPI/WSAPITypes.d.ts +8 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +6 -2
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMissionOrBadge.md +8 -0
- package/docs/interfaces/TSawHistory.md +16 -0
- package/package.json +1 -1
- package/src/Inbox/InboxMessage.ts +18 -0
- package/src/MiniGames/SAWWinningHistoryResponse.ts +5 -1
- package/src/Missions/UserAchievement.ts +2 -0
- package/src/Store/StoreItem.ts +2 -0
- package/src/Store/StoreItemPublicMeta.ts +1 -0
- package/src/WSAPI/WSAPI.ts +1 -1
- package/src/WSAPI/WSAPITypes.ts +10 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -460,7 +460,9 @@ const SAWHistoryTransform = items => {
|
|
|
460
460
|
saw_prize_id: r.saw_prize_id,
|
|
461
461
|
prize_amount: r.prize_amount,
|
|
462
462
|
client_request_id: r.client_request_id,
|
|
463
|
-
is_claimed: r.is_claimed
|
|
463
|
+
is_claimed: r.is_claimed,
|
|
464
|
+
create_date_ts: r.create_date_ts,
|
|
465
|
+
acknowledge_date_ts: r.acknowledge_date_ts
|
|
464
466
|
};
|
|
465
467
|
return x;
|
|
466
468
|
});
|
|
@@ -776,7 +778,8 @@ const StoreItemTransform = items => {
|
|
|
776
778
|
type: StoreItemTypeNamed(r.itemTypeId),
|
|
777
779
|
can_buy: r.canBuy,
|
|
778
780
|
category_ids: (_r$categoryIds = r.categoryIds) != null ? _r$categoryIds : [],
|
|
779
|
-
pool: r.shopPool
|
|
781
|
+
pool: r.shopPool,
|
|
782
|
+
custom_data: IntUtils.JsonOrText(r.itemPublicMeta.custom_data)
|
|
780
783
|
};
|
|
781
784
|
return x;
|
|
782
785
|
});
|
|
@@ -855,6 +858,7 @@ const UserAchievementTransform = items => {
|
|
|
855
858
|
is_opted_in: r.isOptedIn,
|
|
856
859
|
time_limit_ms: r.time_limit_ms,
|
|
857
860
|
active_from_ts: r.active_from_ts,
|
|
861
|
+
active_till_ts: r.active_from_ts,
|
|
858
862
|
dt_start: r.start_date_ts,
|
|
859
863
|
reward: r.ach_public_meta.reward,
|
|
860
864
|
progress: r.progress,
|