@smartico/public-api 0.0.160 → 0.0.161

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.
@@ -90,6 +90,12 @@ ___
90
90
 
91
91
  ___
92
92
 
93
+ ### pool\_initial
94
+
95
+ • `Optional` **pool\_initial**: `number`
96
+
97
+ ___
98
+
93
99
  ### wins\_count
94
100
 
95
101
  • `Optional` **wins\_count**: `number`
@@ -101,6 +101,14 @@ The amount of time in milliseconds that user has to complete the mission
101
101
 
102
102
  ___
103
103
 
104
+ ### active\_from\_ts
105
+
106
+ • **active\_from\_ts**: `number`
107
+
108
+ Holds time from which mission will become available, for the missions that are targeted to be available from specific date/time
109
+
110
+ ___
111
+
104
112
  ### dt\_start
105
113
 
106
114
  • **dt\_start**: `number`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.160",
3
+ "version": "0.0.161",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,4 @@
1
- import { ProtocolMessage } from 'src/Base/ProtocolMessage';
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
 
3
3
  export interface SAWEventSawPush extends ProtocolMessage {
4
4
  pending_message_id: number;
@@ -50,6 +50,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
50
50
  acknowledge_dp: p.saw_prize_ui_definition.acknowledge_dp,
51
51
  acknowledge_action_title: p.saw_prize_ui_definition.acknowledge_action_title,
52
52
  pool: p.pool,
53
+ pool_initial: p.pool_initial,
53
54
  wins_count: p.wins_count,
54
55
  };
55
56
  return y;
@@ -10,5 +10,6 @@ export interface SAWPrize {
10
10
  place_to?: number;
11
11
  sawUniqueWinId?: string;
12
12
  pool?: number;
13
+ pool_initial?: number;
13
14
  wins_count?: number;
14
15
  }
@@ -37,6 +37,8 @@ export interface TMiniGamePrize {
37
37
  acknowledge_action_title: string;
38
38
  /* Number of items in stock */
39
39
  pool?: number;
40
+ /* Initial number of items in stock */
41
+ pool_initial?: number;
40
42
  /* Number of wins in game */
41
43
  wins_count?: number;
42
44
  }