@smartico/public-api 0.0.187 → 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/MiniGames/SAWPrize.d.ts +1 -0
- package/dist/MiniGames/SAWPrizeUI.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +3 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +16 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +2 -0
- package/src/MiniGames/SAWPrize.ts +1 -0
- package/src/MiniGames/SAWPrizeUI.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +4 -0
|
@@ -30,6 +30,7 @@ export interface TMiniGamePrize {
|
|
|
30
30
|
acknowledge_action_title: string;
|
|
31
31
|
acknowledge_dp_additional?: string;
|
|
32
32
|
acknowledge_action_title_additional?: string;
|
|
33
|
+
out_of_stock_message?: string;
|
|
33
34
|
pool?: number;
|
|
34
35
|
pool_initial?: number;
|
|
35
36
|
wins_count?: number;
|
|
@@ -37,6 +38,7 @@ export interface TMiniGamePrize {
|
|
|
37
38
|
active_from_ts?: number;
|
|
38
39
|
active_till_ts?: number;
|
|
39
40
|
relative_period_timezone?: number;
|
|
41
|
+
is_surcharge?: boolean;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
* TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
|
package/dist/index.js
CHANGED
|
@@ -415,13 +415,15 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
415
415
|
acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
|
|
416
416
|
acknowledge_dp_additional: p.saw_prize_ui_definition.acknowledge_dp_additional,
|
|
417
417
|
acknowledge_action_title_additional: p.saw_prize_ui_definition.acknowledge_action_title_additional,
|
|
418
|
+
out_of_stock_message: p.saw_prize_ui_definition.out_of_stock_message,
|
|
418
419
|
pool: p.pool,
|
|
419
420
|
pool_initial: p.pool_initial,
|
|
420
421
|
wins_count: p.wins_count,
|
|
421
422
|
weekdays: p.weekdays,
|
|
422
423
|
active_from_ts: p.active_from_ts,
|
|
423
424
|
active_till_ts: p.active_till_ts,
|
|
424
|
-
relative_period_timezone: p.relative_period_timezone
|
|
425
|
+
relative_period_timezone: p.relative_period_timezone,
|
|
426
|
+
is_surcharge: p.is_surcharge
|
|
425
427
|
};
|
|
426
428
|
return y;
|
|
427
429
|
})
|