@smartico/public-api 0.0.207 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.207",
3
+ "version": "0.0.209",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,6 +40,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
40
40
  activeTillDate: r.activeTillDate,
41
41
  next_available_spin_ts: r.next_available_spin_ts,
42
42
  steps_to_finish_game: r.saw_template_ui_definition.steps_to_finish_game,
43
+ custom_section_id: r.saw_template_ui_definition.custom_section_id,
43
44
 
44
45
  prizes: r.prizes.map((p) => {
45
46
  const y: TMiniGamePrize = {
@@ -21,6 +21,6 @@ export interface SAWPrizeUI {
21
21
  custom_win_sound?: string;
22
22
  out_of_stock_message?: string;
23
23
  custom_data?: any;
24
- prize_modifiers?: PrizeModifiers; // treasure hunt specific
24
+ prize_modifiers?: PrizeModifiers[]; // treasure hunt specific
25
25
  allow_split_decimal?: boolean; // treasure hunt specific
26
26
  }
@@ -65,7 +65,7 @@ export interface TMiniGamePrize {
65
65
  /** The custom data of the mini-game defined by operator in the BackOffice. Can be a JSON object, string or number */
66
66
  custom_data?: any;
67
67
  /** 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. */
68
- prize_modifiers?: PrizeModifiers;
68
+ prize_modifiers?: PrizeModifiers[];
69
69
  /** When enabled, you can split prize value by decimal values */
70
70
  allow_split_decimal?: boolean;
71
71
  }
@@ -158,6 +158,8 @@ export interface TMiniGameTemplate {
158
158
  activeTillDate?: number;
159
159
  /* The amount of steps to complete the game and gather the prize */
160
160
  steps_to_finish_game?: number;
161
+ /* Hold the id of the custom section */
162
+ custom_section_id?: number;
161
163
  }
162
164
 
163
165
  /**