@smartico/public-api 0.0.309 → 0.0.310
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/Analytics/AnalyticStoreData.d.ts +48 -0
- package/dist/Analytics/AnalyticSubNames.d.ts +4 -0
- package/dist/Analytics/IAnalyticRequestData.d.ts +9 -0
- package/dist/Analytics/IAnalyticStoreData.d.ts +9 -0
- package/dist/Analytics/index.d.ts +4 -0
- package/dist/Missions/MissionCategory.d.ts +8 -0
- package/dist/Missions/index.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +64 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +65 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Analytics/AnalyticStoreData.ts +53 -0
- package/src/Analytics/AnalyticSubNames.ts +10 -0
- package/src/Analytics/IAnalyticRequestData.ts +10 -0
- package/src/Analytics/IAnalyticStoreData.ts +10 -0
- package/src/Analytics/index.ts +4 -0
- package/src/Missions/MissionCategory.ts +9 -0
- package/src/Missions/index.ts +1 -0
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
export enum AnalyticsInterfaceType {
|
|
3
|
+
Mobile = 0,
|
|
4
|
+
Desktop = 1,
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export enum AnalyticsScreenNameId {
|
|
8
|
+
Overview = 1,
|
|
9
|
+
Missions = 2,
|
|
10
|
+
Leaderboards = 3,
|
|
11
|
+
Tournaments = 4,
|
|
12
|
+
TournamentLobby = 5,
|
|
13
|
+
Levels = 6,
|
|
14
|
+
LevelsMap = 7,
|
|
15
|
+
Badges = 8,
|
|
16
|
+
Bonuses = 9,
|
|
17
|
+
SpinAWheel = 10,
|
|
18
|
+
Store = 11,
|
|
19
|
+
StoreHistory = 12,
|
|
20
|
+
Inbox = 13,
|
|
21
|
+
MatchX = 14,
|
|
22
|
+
Quiz = 15,
|
|
23
|
+
Jackpots = 16,
|
|
24
|
+
Lootbox = 17,
|
|
25
|
+
CustomSection = 18,
|
|
26
|
+
ShortInbox = 19,
|
|
27
|
+
LootboxWeekdays = 20,
|
|
28
|
+
LootboxCalendarDays = 21,
|
|
29
|
+
TreasureHunt = 22,
|
|
30
|
+
LiquidSection = 23,
|
|
31
|
+
|
|
32
|
+
ModalMission = 31,
|
|
33
|
+
ModalLevel = 33,
|
|
34
|
+
ModalBadge = 33,
|
|
35
|
+
ModalStore = 34,
|
|
36
|
+
ModalBonus = 33,
|
|
37
|
+
ModalJackpot = 36,
|
|
38
|
+
ModalUsername = 37,
|
|
39
|
+
ModalAvatar = 38,
|
|
40
|
+
ModalQR = 39,
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export enum AnalyticsTournamentsLobbySubScreenNameId {
|
|
44
|
+
General = 1,
|
|
45
|
+
Prizes = 2,
|
|
46
|
+
Players = 3,
|
|
47
|
+
RelatedGames = 4,
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export enum AnalyticsInboxSubScreenNameId {
|
|
51
|
+
All = 1,
|
|
52
|
+
Favorite = 2,
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { MissionCategory } from "../Missions";
|
|
2
|
+
import type { AnalyticsTournamentsLobbySubScreenNameId } from "./AnalyticStoreData";
|
|
3
|
+
import type { AnalyticsInboxSubScreenNameId } from "./AnalyticStoreData";
|
|
4
|
+
|
|
5
|
+
export type AnalyticSubNames =
|
|
6
|
+
| MissionCategory
|
|
7
|
+
| AnalyticsTournamentsLobbySubScreenNameId
|
|
8
|
+
| AnalyticsInboxSubScreenNameId
|
|
9
|
+
| number
|
|
10
|
+
| null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnalyticsInterfaceType } from "./AnalyticStoreData";
|
|
2
|
+
import type { IAnalyticStoreData } from "./IAnalyticStoreData";
|
|
3
|
+
|
|
4
|
+
export interface IAnalyticRequestData extends IAnalyticStoreData {
|
|
5
|
+
user_id: number,
|
|
6
|
+
label_id: number,
|
|
7
|
+
brand_key: string,
|
|
8
|
+
user_ext_id: string,
|
|
9
|
+
interface_type: AnalyticsInterfaceType,
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnalyticsScreenNameId } from "./AnalyticStoreData";
|
|
2
|
+
import type { AnalyticSubNames } from "./AnalyticSubNames";
|
|
3
|
+
|
|
4
|
+
export interface IAnalyticStoreData {
|
|
5
|
+
screen_name_id: AnalyticsScreenNameId;
|
|
6
|
+
screen_subname_id?: AnalyticSubNames;
|
|
7
|
+
custom_section_id?: number;
|
|
8
|
+
entity_id?: number;
|
|
9
|
+
create_date?: string;
|
|
10
|
+
}
|
package/src/Missions/index.ts
CHANGED