@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.
@@ -18,4 +18,5 @@ export interface SAWPrizeUI {
18
18
  acknowledge_action_title?: string;
19
19
  custom_win_sound?: string;
20
20
  out_of_stock_message?: string;
21
+ custom_data?: any;
21
22
  }
@@ -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
  })