@smartico/public-api 0.0.334 → 0.0.335
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/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGameTemplate.md +8 -0
- package/docs/interfaces/TStoreItem.md +1 -1
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/WSAPI/WSAPITypes.ts +3 -0
|
@@ -36,6 +36,14 @@ URL of the icon of the mini-game template
|
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
39
|
+
### visibile\_when\_can\_spin
|
|
40
|
+
|
|
41
|
+
• `Optional` **visibile\_when\_can\_spin**: `boolean`
|
|
42
|
+
|
|
43
|
+
Indicates if the mini-game is visible when the user have attempts/points/gems/diamonds to play
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
39
47
|
### saw\_game\_type
|
|
40
48
|
|
|
41
49
|
• **saw\_game\_type**: [`SAWGameTypeName`](../enums/SAWGameTypeName.md)
|
|
@@ -38,7 +38,7 @@ ___
|
|
|
38
38
|
|
|
39
39
|
### type
|
|
40
40
|
|
|
41
|
-
• **type**: ``"
|
|
41
|
+
• **type**: ``"unknown"`` \| ``"bonus"`` \| ``"tangible"`` \| ``"minigamespin"`` \| ``"changelevel"`` \| ``"prizedrop"`` \| ``"raffleticket"``
|
|
42
42
|
|
|
43
43
|
Type of the store item. Can be 'bonus' or 'tangible' or different others.
|
|
44
44
|
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
|
|
|
22
22
|
: r.saw_skin_ui_definition?.skin_folder
|
|
23
23
|
? `${r.saw_skin_ui_definition.skin_folder}/ico.png`
|
|
24
24
|
: `https://d312ucx3huj7iy.cloudfront.net/gf/images/saw/${r.saw_skin_key}/ico.png`,
|
|
25
|
+
visibile_when_can_spin: r.visibile_when_can_spin,
|
|
25
26
|
over_limit_message: r.saw_template_ui_definition.over_limit_message,
|
|
26
27
|
no_attempts_message: r.saw_template_ui_definition.no_attempts_message,
|
|
27
28
|
jackpot_symbol: r.saw_template_ui_definition.jackpot_symbol,
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -124,6 +124,9 @@ export interface TMiniGameTemplate {
|
|
|
124
124
|
/** URL of the icon of the mini-game template */
|
|
125
125
|
thumbnail: string;
|
|
126
126
|
|
|
127
|
+
/** Indicates if the mini-game is visible when the user have attempts/points/gems/diamonds to play */
|
|
128
|
+
visibile_when_can_spin?: boolean;
|
|
129
|
+
|
|
127
130
|
/** The type of the game, e.g. Spin the Wheel, Gift Box, Scratch card, MatchX etc */
|
|
128
131
|
saw_game_type: SAWGameTypeName;
|
|
129
132
|
/** How the user is charged for each game attempt e.g. Free, Points or Spin attempts */
|