@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.181",
3
+ "version": "0.0.183",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -60,6 +60,8 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
60
60
  weekdays: p.weekdays,
61
61
  active_from_ts: p.active_from_ts,
62
62
  active_till_ts: p.active_till_ts,
63
+ active_from: p.active_from,
64
+ active_till: p.active_till,
63
65
  };
64
66
  return y;
65
67
  }),
@@ -15,4 +15,6 @@ export interface SAWPrize {
15
15
  weekdays?: number[];
16
16
  active_from_ts?: number;
17
17
  active_till_ts?: number;
18
+ active_from?: string;
19
+ active_till?: string;
18
20
  }
@@ -5,13 +5,13 @@ export interface SAWPrizeUI {
5
5
  position?: number; // for scratch card defines position of prize in the list
6
6
  name: string;
7
7
  name_original: string; // keeps original name, how it came from the servers. This is needed for the Jackpot value replacemenet
8
- aknowledge_message: string;
9
- sectors: number[];
10
- acknowledge_type: SAWAcknowledgeType;
8
+ aknowledge_message?: string;
9
+ sectors?: number[];
10
+ acknowledge_type?: SAWAcknowledgeType;
11
11
  acknowledge_dp?: string;
12
12
  font_size?: number;
13
13
  font_size_mobile?: number;
14
- sound_type: SAWWinSoundType;
14
+ sound_type?: SAWWinSoundType;
15
15
  acknowledge_dp_additional?: string;
16
16
  acknowledge_action_title_additional?: string;
17
17
  icon?: string;
@@ -49,10 +49,14 @@ export interface TMiniGamePrize {
49
49
  wins_count?: number;
50
50
  /* Number of days of week, when the prize can be available */
51
51
  weekdays?: number[];
52
- /* Holds time from which prize will become available, for the prizes that are targeted to be available from specific date/time */
52
+ /* Holds time from which prize will become available, for the prizes that are targeted to be available from specific time (UNIX timestamp)*/
53
53
  active_from_ts?: number;
54
- /* Holds time till which prize will become available, for the prizes that are targeted to be available from specific date/time */
54
+ /* Holds time till which prize will become available, for the prizes that are targeted to be available from specific time (UNIX timestamp) */
55
55
  active_till_ts?: number;
56
+ /* Holds time from which prize will become available, for the prizes that are targeted to be available from specific date */
57
+ active_from?: string;
58
+ /* Holds time till which prize will become available, for the prizes that are targeted to be available from specific date */
59
+ active_till?: string;
56
60
  }
57
61
 
58
62
  /**