@smartico/public-api 0.0.234 → 0.0.236

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.
@@ -50,4 +50,5 @@ export interface SAWTemplateUI {
50
50
  game_layout?: SAWGameLayout;
51
51
  steps_to_finish_game?: number;
52
52
  wheel_layout?: SAWWheelLayout;
53
+ background_music_volume?: number;
53
54
  }
@@ -71,7 +71,7 @@ interface RaffleDraw {
71
71
  * Next draw is at 10:00, ticket_start_date is 9:00, so all tickets that are collected after 9:00 will participate in the draw at 10:00
72
72
  * (internally this value is calculated as next_execute_ts - ticket_start_date)
73
73
  */
74
- ticket_start_date: number;
74
+ ticket_start_ts: number;
75
75
  /** Field is indicating if same ticket can win multiple prizes in the same draw
76
76
  * For example there are 3 types of prizes in the draw - iPhone, iPad, MacBook
77
77
  * If this field is true, then one ticket can win all 3 prizes (depending on the chances of course),
@@ -106,13 +106,15 @@ interface RaffleDrawRun {
106
106
  public_meta: RaffleDrawPublicMeta;
107
107
  /** Date/time of the draw execution */
108
108
  execution_ts: number;
109
+ /** Actual Date/time of the draw execution */
110
+ actual_execution_ts: number;
109
111
  /**
110
112
  * Date/time starting from which the tickets will participate in the upcoming draw
111
113
  * This value need to be taken into account with next_execute_ts field value, for example
112
114
  * Next draw is at 10:00, ticket_start_date is 9:00, so all tickets that are collected after 9:00 will participate in the draw at 10:00
113
115
  * (internally this value is calculated as next_execute_ts - ticket_start_date)
114
116
  */
115
- ticket_start_date: number;
117
+ ticket_start_ts: number;
116
118
  /**
117
119
  * Shows if user has won a prize in a current run
118
120
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.234",
3
+ "version": "0.0.236",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -61,4 +61,5 @@ export interface SAWTemplateUI {
61
61
  steps_to_finish_game?: number;
62
62
 
63
63
  wheel_layout?: SAWWheelLayout;
64
+ background_music_volume?: number;
64
65
  }
@@ -85,7 +85,7 @@ interface RaffleDraw {
85
85
  * Next draw is at 10:00, ticket_start_date is 9:00, so all tickets that are collected after 9:00 will participate in the draw at 10:00
86
86
  * (internally this value is calculated as next_execute_ts - ticket_start_date)
87
87
  */
88
- ticket_start_date: number;
88
+ ticket_start_ts: number;
89
89
 
90
90
  /** Field is indicating if same ticket can win multiple prizes in the same draw
91
91
  * For example there are 3 types of prizes in the draw - iPhone, iPad, MacBook
@@ -135,13 +135,16 @@ interface RaffleDrawRun {
135
135
  /** Date/time of the draw execution */
136
136
  execution_ts: number;
137
137
 
138
+ /** Actual Date/time of the draw execution */
139
+ actual_execution_ts: number;
140
+
138
141
  /**
139
142
  * Date/time starting from which the tickets will participate in the upcoming draw
140
143
  * This value need to be taken into account with next_execute_ts field value, for example
141
144
  * Next draw is at 10:00, ticket_start_date is 9:00, so all tickets that are collected after 9:00 will participate in the draw at 10:00
142
145
  * (internally this value is calculated as next_execute_ts - ticket_start_date)
143
146
  */
144
- ticket_start_date: number;
147
+ ticket_start_ts: number;
145
148
 
146
149
  /**
147
150
  * Shows if user has won a prize in a current run