@smartico/public-api 0.0.182 → 0.0.184

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,6 +14,4 @@ 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;
19
17
  }
@@ -3,14 +3,14 @@ import { SAWWinSoundType } from './SAWWinSoundType';
3
3
  export interface SAWPrizeUI {
4
4
  position?: number;
5
5
  name: string;
6
- name_original: string;
7
- aknowledge_message: string;
8
- sectors: number[];
9
- acknowledge_type: SAWAcknowledgeType;
6
+ name_original?: string;
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;
@@ -14,7 +14,7 @@ export declare class WSAPI {
14
14
  *
15
15
  * **Example**:
16
16
  * ```
17
- * _smartico.api.getUserProfile().then((result) => {
17
+ * _smartico.api.getUserProfile(result => {
18
18
  * console.log(result);
19
19
  * });
20
20
  * ```
@@ -36,8 +36,6 @@ 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;
41
39
  }
42
40
  /**
43
41
  * TMiniGamePlayResult describes the response of call to _smartico.api.playMiniGame(template_id) method
package/dist/index.js CHANGED
@@ -420,9 +420,7 @@ 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,
424
- active_from: p.active_from,
425
- active_till: p.active_till
423
+ active_till_ts: p.active_till_ts
426
424
  };
427
425
  return y;
428
426
  })
@@ -1308,7 +1306,7 @@ var WSAPI = /*#__PURE__*/function () {
1308
1306
  *
1309
1307
  * **Example**:
1310
1308
  * ```
1311
- * _smartico.api.getUserProfile().then((result) => {
1309
+ * _smartico.api.getUserProfile(result => {
1312
1310
  * console.log(result);
1313
1311
  * });
1314
1312
  * ```