@smartico/public-api 0.0.251 → 0.0.252

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.
@@ -5,6 +5,8 @@ export interface RaffleDrawPublicMeta {
5
5
  description: string;
6
6
  /** URL of the image that represents the draw */
7
7
  image_url: string;
8
+ /** URL of the moible image that represents the draw */
9
+ image_url_mobile: string;
8
10
  /** URL of the icon that represents the draw */
9
11
  icon_url: string;
10
12
  /** URL of the background image that will be used in the draw list item */
@@ -55,3 +55,11 @@ ___
55
55
  • **SAW\_VISITOR\_STOP\_SPIN\_REQUEST** = ``-40001``
56
56
 
57
57
  Special code for the 'visitor' mode
58
+
59
+ ___
60
+
61
+ ### SAW\_NOT\_IN\_SEGMENT
62
+
63
+ • **SAW\_NOT\_IN\_SEGMENT** = ``40009``
64
+
65
+ User is not in the segment
@@ -35,3 +35,9 @@ ___
35
35
  ### raf\_won\_id
36
36
 
37
37
  • **raf\_won\_id**: `number`
38
+
39
+ ___
40
+
41
+ ### claimed\_date
42
+
43
+ • **claimed\_date**: `number`
@@ -234,3 +234,11 @@ ___
234
234
  • `Optional` **hide\_prize\_from\_history**: `boolean`
235
235
 
236
236
  When enabled, you can hide prize from prize history
237
+
238
+ ___
239
+
240
+ ### requirements\_to\_get\_prize
241
+
242
+ • `Optional` **requirements\_to\_get\_prize**: `string`
243
+
244
+ Requirements to claim the prize (lootbox specific)
@@ -172,3 +172,11 @@ ___
172
172
  • **purchase\_type**: ``"points"`` \| ``"gems"`` \| ``"diamonds"``
173
173
 
174
174
  The type of the purchase
175
+
176
+ ___
177
+
178
+ ### active\_till\_date
179
+
180
+ • `Optional` **active\_till\_date**: `number`
181
+
182
+ The date when the store item will be available till
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.251",
3
+ "version": "0.0.252",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,16 +1,18 @@
1
1
  export interface RaffleDrawPublicMeta {
2
- /** Name of the draw, e.g. 'Daily draw' */
3
- name: string;
4
- /** Description of the draw */
5
- description: string;
6
- /** URL of the image that represents the draw */
7
- image_url: string;
8
- /** URL of the icon that represents the draw */
9
- icon_url: string;
10
- /** URL of the background image that will be used in the draw list item */
11
- background_image_url: string;
12
- /** URL of the moible background image that will be used in the draw list item */
13
- background_image_url_mobile: string;
14
- /** Show if the draw is grand and is marked as special */
15
- is_grand: boolean;
2
+ /** Name of the draw, e.g. 'Daily draw' */
3
+ name: string;
4
+ /** Description of the draw */
5
+ description: string;
6
+ /** URL of the image that represents the draw */
7
+ image_url: string;
8
+ /** URL of the moible image that represents the draw */
9
+ image_url_mobile: string;
10
+ /** URL of the icon that represents the draw */
11
+ icon_url: string;
12
+ /** URL of the background image that will be used in the draw list item */
13
+ background_image_url: string;
14
+ /** URL of the moible background image that will be used in the draw list item */
15
+ background_image_url_mobile: string;
16
+ /** Show if the draw is grand and is marked as special */
17
+ is_grand: boolean;
16
18
  }