@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.
- package/dist/Raffle/RaffleDrawPublicMeta.d.ts +2 -0
- package/docs/enums/SAWSpinErrorCode.md +8 -0
- package/docs/interfaces/RafflePrizeWinner.md +6 -0
- package/docs/interfaces/TMiniGamePrize.md +8 -0
- package/docs/interfaces/TStoreItem.md +8 -0
- package/package.json +1 -1
- package/src/Raffle/RaffleDrawPublicMeta.ts +16 -14
|
@@ -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 */
|
|
@@ -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,16 +1,18 @@
|
|
|
1
1
|
export interface RaffleDrawPublicMeta {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
}
|