@smartico/public-api 0.0.213 → 0.0.214

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.
@@ -29,4 +29,5 @@ export interface SAWTemplate {
29
29
  expose_game_stat_on_api?: boolean;
30
30
  requires_prize_claim?: boolean;
31
31
  relative_period_timezone?: number;
32
+ show_prize_history?: boolean;
32
33
  }
@@ -3,6 +3,7 @@ import { TSawHistory } from "../WSAPI/WSAPITypes";
3
3
  import { SAWTemplate } from "./SAWTemplate";
4
4
  export interface SAWWinningHistoryResponse extends ProtocolResponse {
5
5
  prizes: SAWPrizesHistory[];
6
+ hasMore: boolean;
6
7
  }
7
8
  export interface SAWPrizesHistory {
8
9
  template: SAWTemplate;
@@ -151,6 +151,7 @@ export interface TMiniGameTemplate {
151
151
  custom_section_id?: number;
152
152
  /** The UI definition of the mini-game */
153
153
  saw_template_ui_definition: SAWTemplateUI;
154
+ show_prize_history?: boolean;
154
155
  }
155
156
  /**
156
157
  * TUser describes the information of the user
package/dist/index.js CHANGED
@@ -411,6 +411,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
411
411
  steps_to_finish_game: r.saw_template_ui_definition.steps_to_finish_game,
412
412
  custom_section_id: r.saw_template_ui_definition.custom_section_id,
413
413
  saw_template_ui_definition: r.saw_template_ui_definition,
414
+ show_prize_history: r.show_prize_history,
414
415
  prizes: r.prizes.map(function (p) {
415
416
  var y = {
416
417
  id: p.saw_prize_id,