@smartico/public-api 0.0.189 → 0.0.190
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/SAWPrizeUI.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +2 -1
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +9 -1
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/MiniGames/SAWPrizeUI.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
|
@@ -39,6 +39,8 @@ export interface TMiniGamePrize {
|
|
|
39
39
|
active_till_ts?: number;
|
|
40
40
|
relative_period_timezone?: number;
|
|
41
41
|
is_surcharge?: boolean;
|
|
42
|
+
/** The custom data of the mini-game defined by operator in the BackOffice. Can be a JSON object, string or number */
|
|
43
|
+
custom_data: any;
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
|
package/dist/index.js
CHANGED
|
@@ -423,7 +423,8 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
423
423
|
active_from_ts: p.active_from_ts,
|
|
424
424
|
active_till_ts: p.active_till_ts,
|
|
425
425
|
relative_period_timezone: p.relative_period_timezone,
|
|
426
|
-
is_surcharge: p.is_surcharge
|
|
426
|
+
is_surcharge: p.is_surcharge,
|
|
427
|
+
custom_data: IntUtils.JsonOrText(r.saw_template_ui_definition.custom_data)
|
|
427
428
|
};
|
|
428
429
|
return y;
|
|
429
430
|
})
|