@smartico/public-api 0.0.181 → 0.0.183

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.
@@ -14,4 +14,6 @@ export interface SAWPrize {
14
14
  weekdays?: number[];
15
15
  active_from_ts?: number;
16
16
  active_till_ts?: number;
17
+ active_from?: string;
18
+ active_till?: string;
17
19
  }
@@ -4,13 +4,13 @@ export interface SAWPrizeUI {
4
4
  position?: number;
5
5
  name: string;
6
6
  name_original: string;
7
- aknowledge_message: string;
8
- sectors: number[];
9
- acknowledge_type: SAWAcknowledgeType;
7
+ aknowledge_message?: string;
8
+ sectors?: number[];
9
+ acknowledge_type?: SAWAcknowledgeType;
10
10
  acknowledge_dp?: string;
11
11
  font_size?: number;
12
12
  font_size_mobile?: number;
13
- sound_type: SAWWinSoundType;
13
+ sound_type?: SAWWinSoundType;
14
14
  acknowledge_dp_additional?: string;
15
15
  acknowledge_action_title_additional?: string;
16
16
  icon?: string;
@@ -36,6 +36,8 @@ export interface TMiniGamePrize {
36
36
  weekdays?: number[];
37
37
  active_from_ts?: number;
38
38
  active_till_ts?: number;
39
+ active_from?: string;
40
+ active_till?: string;
39
41
  }
40
42
  /**
41
43
  * TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
package/dist/index.js CHANGED
@@ -420,7 +420,9 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
420
420
  wins_count: p.wins_count,
421
421
  weekdays: p.weekdays,
422
422
  active_from_ts: p.active_from_ts,
423
- active_till_ts: p.active_till_ts
423
+ active_till_ts: p.active_till_ts,
424
+ active_from: p.active_from,
425
+ active_till: p.active_till
424
426
  };
425
427
  return y;
426
428
  })