@smartico/public-api 0.0.110 → 0.0.111
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/Level/LevelPublicMeta.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +14 -10
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TLevel.md +8 -0
- package/docs/interfaces/TMissionOrBadge.md +0 -3
- package/docs/interfaces/TStoreItem.md +1 -1
- package/package.json +1 -1
- package/src/Level/GetLevelMapResponse.ts +2 -0
- package/src/Level/LevelPublicMeta.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +3 -0
|
@@ -72,3 +72,11 @@ ___
|
|
|
72
72
|
The counter of 2nd metric used to reach the Level.
|
|
73
73
|
Relevant in case of using advanced leveling logic
|
|
74
74
|
https://help.smartico.ai/welcome/more/release-notes/september-2022#new-logic-for-leveling-users
|
|
75
|
+
|
|
76
|
+
___
|
|
77
|
+
|
|
78
|
+
### custom\_data
|
|
79
|
+
|
|
80
|
+
• **custom\_data**: `string`
|
|
81
|
+
|
|
82
|
+
The custom data of the mini-game defined by operator. Can be a JSON object, string or number
|
|
@@ -176,11 +176,8 @@ List of casino games (or other types of entities) related to the mission or badg
|
|
|
176
176
|
|
|
177
177
|
___
|
|
178
178
|
|
|
179
|
-
|
|
180
179
|
### category\_ids
|
|
181
180
|
|
|
182
181
|
• **category\_ids**: `number`[]
|
|
183
182
|
|
|
184
183
|
The list of IDs of the categories where the badge item is assigned, information about categories can be retrieved with getAchCategories method
|
|
185
|
-
|
|
186
|
-
___
|
|
@@ -99,7 +99,7 @@ ___
|
|
|
99
99
|
|
|
100
100
|
• **category\_ids**: `number`[]
|
|
101
101
|
|
|
102
|
-
The list of IDs of the categories where the store item is assigned, information about categories can be
|
|
102
|
+
The list of IDs of the categories where the store item is assigned, information about categories can be retrieved with getStoreCategories method
|
|
103
103
|
|
|
104
104
|
___
|
|
105
105
|
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IntUtils } from "src/IntUtils";
|
|
1
2
|
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
2
3
|
import { TLevel } from "../WSAPI/WSAPITypes";
|
|
3
4
|
import { Level } from "./Level";
|
|
@@ -19,5 +20,6 @@ export const GetLevelMapResponseTransform = (levels: GetLevelMapResponse): TLeve
|
|
|
19
20
|
visibility_points: parseInt(l.level_public_meta.visibility_points as any),
|
|
20
21
|
required_level_counter_1: l.required_level_counter_1,
|
|
21
22
|
required_level_counter_2: l.required_level_counter_2,
|
|
23
|
+
custom_data: IntUtils.JsonOrText(l.level_public_meta?.custom_data),
|
|
22
24
|
})));
|
|
23
25
|
}
|
package/src/WSAPI/WSAPITypes.ts
CHANGED