@smartico/public-api 0.0.148 → 0.0.150
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/README.md
CHANGED
|
@@ -44,7 +44,9 @@ See the [API documentation](docs/classes/WSAPI.md) for all available methods and
|
|
|
44
44
|
|
|
45
45
|
You can also get gamification data for the visitors (not authorized users).
|
|
46
46
|
|
|
47
|
-
Calls to the methods look similar, with the only exception that you need to use **_smartico.vapi('EN')** method
|
|
47
|
+
Calls to the methods look similar, with the only exception that you need to use **_smartico.vapi('EN')** method to get access to the Visitor API object with a specific language.
|
|
48
|
+
|
|
49
|
+
**Note: please contact your Success Manager on the Smartico side to enable Visitor mode**
|
|
48
50
|
|
|
49
51
|
```javascript
|
|
50
52
|
|
|
@@ -31,5 +31,7 @@ interface JackpotDetails {
|
|
|
31
31
|
is_opted_in: boolean;
|
|
32
32
|
/** indicates whether all games are eligible for the jackpot */
|
|
33
33
|
ach_related_game_allow_all: boolean;
|
|
34
|
+
/** The number of users who have opted in to participate in the jackpot */
|
|
35
|
+
registration_count: number;
|
|
34
36
|
}
|
|
35
37
|
export { JackpotDetails };
|
|
@@ -91,3 +91,11 @@ ___
|
|
|
91
91
|
• **ach\_related\_game\_allow\_all**: `boolean`
|
|
92
92
|
|
|
93
93
|
indicates whether all games are eligible for the jackpot
|
|
94
|
+
|
|
95
|
+
___
|
|
96
|
+
|
|
97
|
+
### registration\_count
|
|
98
|
+
|
|
99
|
+
• **registration\_count**: `number`
|
|
100
|
+
|
|
101
|
+
The number of users who have opted in to participate in the jackpot
|
|
@@ -41,3 +41,19 @@ ___
|
|
|
41
41
|
• **points\_reward**: `number`
|
|
42
42
|
|
|
43
43
|
Reward for completing the task in points
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### execution\_count\_expected
|
|
48
|
+
|
|
49
|
+
• `Optional` **execution\_count\_expected**: `number`
|
|
50
|
+
|
|
51
|
+
This is the total number of times the user needs to execute to complete task. e.g. he needs to bet 100 times. Here will be 100
|
|
52
|
+
|
|
53
|
+
___
|
|
54
|
+
|
|
55
|
+
### execution\_count\_actual
|
|
56
|
+
|
|
57
|
+
• `Optional` **execution\_count\_actual**: `number`
|
|
58
|
+
|
|
59
|
+
This is the number of times the user has executed 'activity' of the task. e.g. he bet 5 times out of 100. Here will be 5
|
package/package.json
CHANGED
|
@@ -32,6 +32,8 @@ interface JackpotDetails {
|
|
|
32
32
|
is_opted_in: boolean;
|
|
33
33
|
/** indicates whether all games are eligible for the jackpot */
|
|
34
34
|
ach_related_game_allow_all: boolean;
|
|
35
|
+
/** The number of users who have opted in to participate in the jackpot */
|
|
36
|
+
registration_count: number;
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
export { JackpotDetails }
|