@smartico/public-api 0.0.208 → 0.0.209
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.
|
@@ -44,7 +44,7 @@ export interface TMiniGamePrize {
|
|
|
44
44
|
/** The custom data of the mini-game defined by operator in the BackOffice. Can be a JSON object, string or number */
|
|
45
45
|
custom_data?: any;
|
|
46
46
|
/** Prize modifiers that will multiply by 2x, 5x or 10x the current total. This will not affect the final Prize Amount that will be awarded. */
|
|
47
|
-
prize_modifiers?: PrizeModifiers;
|
|
47
|
+
prize_modifiers?: PrizeModifiers[];
|
|
48
48
|
/** When enabled, you can split prize value by decimal values */
|
|
49
49
|
allow_split_decimal?: boolean;
|
|
50
50
|
}
|
|
@@ -120,6 +120,7 @@ export interface TMiniGameTemplate {
|
|
|
120
120
|
activeFromDate?: number;
|
|
121
121
|
activeTillDate?: number;
|
|
122
122
|
steps_to_finish_game?: number;
|
|
123
|
+
custom_section_id?: number;
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* TUser describes the information of the user
|
package/dist/index.js
CHANGED
|
@@ -409,6 +409,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
409
409
|
activeTillDate: r.activeTillDate,
|
|
410
410
|
next_available_spin_ts: r.next_available_spin_ts,
|
|
411
411
|
steps_to_finish_game: r.saw_template_ui_definition.steps_to_finish_game,
|
|
412
|
+
custom_section_id: r.saw_template_ui_definition.custom_section_id,
|
|
412
413
|
prizes: r.prizes.map(function (p) {
|
|
413
414
|
var y = {
|
|
414
415
|
id: p.saw_prize_id,
|