@smartico/public-api 0.0.287 → 0.0.288
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/SmarticoLib/index.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +4 -0
- package/docs/README.md +2 -0
- package/docs/enums/SAWGameDifficultyType.md +19 -0
- package/docs/enums/SAWGameDifficultyTypeName.md +19 -0
- package/docs/interfaces/SAWTemplateUI.md +8 -0
- package/docs/interfaces/TUserProfile.md +16 -0
- package/package.json +1 -1
- package/src/SmarticoLib/index.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +4 -0
|
@@ -101,6 +101,8 @@ declare enum ClientActivityRequestId {
|
|
|
101
101
|
export interface PublicProperties {
|
|
102
102
|
core_user_language?: string;
|
|
103
103
|
ach_points_balance?: number;
|
|
104
|
+
ach_gems_balance?: number;
|
|
105
|
+
ach_diamonds_balance?: number;
|
|
104
106
|
ach_points_ever?: number;
|
|
105
107
|
core_public_tags?: string[];
|
|
106
108
|
ach_level_current_id?: number;
|
|
@@ -185,6 +185,10 @@ export interface TUserProfile {
|
|
|
185
185
|
ach_points_balance: number;
|
|
186
186
|
/** The amount of points that user collected in total */
|
|
187
187
|
ach_points_ever: number;
|
|
188
|
+
/** The current gems balance */
|
|
189
|
+
ach_gems_balance: number;
|
|
190
|
+
/** The current diamonds balance */
|
|
191
|
+
ach_diamonds_balance: number;
|
|
188
192
|
/**
|
|
189
193
|
* The array of the public tags set on the user object.
|
|
190
194
|
* They can be treated as server-based cookies.
|
package/docs/README.md
CHANGED
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
- [SAWAskForUsername](enums/SAWAskForUsername.md)
|
|
19
19
|
- [SAWBuyInType](enums/SAWBuyInType.md)
|
|
20
20
|
- [SAWBuyInTypeName](enums/SAWBuyInTypeName.md)
|
|
21
|
+
- [SAWGameDifficultyType](enums/SAWGameDifficultyType.md)
|
|
22
|
+
- [SAWGameDifficultyTypeName](enums/SAWGameDifficultyTypeName.md)
|
|
21
23
|
- [SAWGameLayout](enums/SAWGameLayout.md)
|
|
22
24
|
- [SAWGameType](enums/SAWGameType.md)
|
|
23
25
|
- [SAWGameTypeName](enums/SAWGameTypeName.md)
|
|
@@ -288,3 +288,11 @@ ___
|
|
|
288
288
|
### background\_music\_volume
|
|
289
289
|
|
|
290
290
|
• `Optional` **background\_music\_volume**: `number`
|
|
291
|
+
|
|
292
|
+
___
|
|
293
|
+
|
|
294
|
+
### game\_difficulty
|
|
295
|
+
|
|
296
|
+
• `Optional` **game\_difficulty**: [`SAWGameDifficultyType`](../enums/SAWGameDifficultyType.md)
|
|
297
|
+
|
|
298
|
+
Voyager specific
|
|
@@ -31,6 +31,22 @@ The amount of points that user collected in total
|
|
|
31
31
|
|
|
32
32
|
___
|
|
33
33
|
|
|
34
|
+
### ach\_gems\_balance
|
|
35
|
+
|
|
36
|
+
• **ach\_gems\_balance**: `number`
|
|
37
|
+
|
|
38
|
+
The current gems balance
|
|
39
|
+
|
|
40
|
+
___
|
|
41
|
+
|
|
42
|
+
### ach\_diamonds\_balance
|
|
43
|
+
|
|
44
|
+
• **ach\_diamonds\_balance**: `number`
|
|
45
|
+
|
|
46
|
+
The current diamonds balance
|
|
47
|
+
|
|
48
|
+
___
|
|
49
|
+
|
|
34
50
|
### core\_public\_tags
|
|
35
51
|
|
|
36
52
|
• **core\_public\_tags**: `string`[]
|
package/package.json
CHANGED
package/src/SmarticoLib/index.ts
CHANGED
|
@@ -103,6 +103,8 @@ declare enum ClientActivityRequestId {
|
|
|
103
103
|
export interface PublicProperties {
|
|
104
104
|
core_user_language?: string;
|
|
105
105
|
ach_points_balance?: number;
|
|
106
|
+
ach_gems_balance?: number;
|
|
107
|
+
ach_diamonds_balance?: number;
|
|
106
108
|
ach_points_ever?: number;
|
|
107
109
|
core_public_tags?: string[];
|
|
108
110
|
ach_level_current_id?: number;
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -203,6 +203,10 @@ export interface TUserProfile {
|
|
|
203
203
|
ach_points_balance: number;
|
|
204
204
|
/** The amount of points that user collected in total */
|
|
205
205
|
ach_points_ever: number;
|
|
206
|
+
/** The current gems balance */
|
|
207
|
+
ach_gems_balance: number;
|
|
208
|
+
/** The current diamonds balance */
|
|
209
|
+
ach_diamonds_balance: number;
|
|
206
210
|
/**
|
|
207
211
|
* The array of the public tags set on the user object.
|
|
208
212
|
* They can be treated as server-based cookies.
|