@smartico/public-api 0.0.186 → 0.0.188
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/SAWPrize.d.ts +1 -0
- package/dist/MiniGames/SAWPrizeUI.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 +4 -0
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +5 -2
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +16 -0
- package/package.json +1 -1
- package/src/Inbox/InboxMessage.ts +18 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +2 -0
- package/src/MiniGames/SAWPrize.ts +1 -0
- package/src/MiniGames/SAWPrizeUI.ts +1 -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 +7 -0
package/dist/index.modern.mjs
CHANGED
|
@@ -403,13 +403,15 @@ const SAWTemplatesTransform = items => {
|
|
|
403
403
|
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
|
|
404
404
|
acknowledge_dp_additional: p.saw_prize_ui_definition.acknowledge_dp_additional,
|
|
405
405
|
acknowledge_action_title_additional: p.saw_prize_ui_definition.acknowledge_action_title_additional,
|
|
406
|
+
out_of_stock_message: p.saw_prize_ui_definition.out_of_stock_message,
|
|
406
407
|
pool: p.pool,
|
|
407
408
|
pool_initial: p.pool_initial,
|
|
408
409
|
wins_count: p.wins_count,
|
|
409
410
|
weekdays: p.weekdays,
|
|
410
411
|
active_from_ts: p.active_from_ts,
|
|
411
412
|
active_till_ts: p.active_till_ts,
|
|
412
|
-
relative_period_timezone: p.relative_period_timezone
|
|
413
|
+
relative_period_timezone: p.relative_period_timezone,
|
|
414
|
+
is_surcharge: p.is_surcharge
|
|
413
415
|
};
|
|
414
416
|
return y;
|
|
415
417
|
})
|
|
@@ -778,7 +780,8 @@ const StoreItemTransform = items => {
|
|
|
778
780
|
type: StoreItemTypeNamed(r.itemTypeId),
|
|
779
781
|
can_buy: r.canBuy,
|
|
780
782
|
category_ids: (_r$categoryIds = r.categoryIds) != null ? _r$categoryIds : [],
|
|
781
|
-
pool: r.shopPool
|
|
783
|
+
pool: r.shopPool,
|
|
784
|
+
custom_data: IntUtils.JsonOrText(r.itemPublicMeta.custom_data)
|
|
782
785
|
};
|
|
783
786
|
return x;
|
|
784
787
|
});
|