@smartico/public-api 0.0.202 → 0.0.203

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.
@@ -50,6 +50,12 @@ ___
50
50
 
51
51
  ___
52
52
 
53
+ ### TreasureHunt
54
+
55
+ • **TreasureHunt** = ``"treasure_hunt"``
56
+
57
+ ___
58
+
53
59
  ### Unknown
54
60
 
55
61
  • **Unknown** = ``"unknown"``
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.202",
3
+ "version": "0.0.203",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,6 +10,7 @@ export enum AchCustomSectionType {
10
10
  REDIRECT_LINK = 9,
11
11
  LOOTBOX_WEEKLY = 10,
12
12
  LOOTBOX_CALENDAR_DAYS = 11,
13
+ TREASURE_HUNT = 12,
13
14
  }
14
15
 
15
16
  export enum AchCustomLayoutTheme {
@@ -9,6 +9,7 @@ export enum SAWGameType {
9
9
  Quiz = 6,
10
10
  LootboxWeekdays = 7,
11
11
  LootboxCalendarDays = 8,
12
+ TreasureHunt = 9
12
13
  }
13
14
 
14
15
  export enum SAWGameTypeName {
@@ -20,6 +21,7 @@ export enum SAWGameTypeName {
20
21
  Quiz = 'quiz',
21
22
  LootboxWeekdays = 'lootbox_weekdays',
22
23
  LootboxCalendarDays = 'lootbox_calendar_days',
24
+ TreasureHunt = 'treasure_hunt',
23
25
  Unknown = 'unknown',
24
26
  }
25
27
 
@@ -35,6 +37,7 @@ export const SAWGameTypeNamed = (type: SAWGameType): SAWGameTypeName => {
35
37
  [SAWGameType.Quiz]: SAWGameTypeName.Quiz,
36
38
  [SAWGameType.LootboxWeekdays]: SAWGameTypeName.LootboxWeekdays,
37
39
  [SAWGameType.LootboxCalendarDays]: SAWGameTypeName.LootboxCalendarDays,
40
+ [SAWGameType.TreasureHunt]: SAWGameTypeName.TreasureHunt,
38
41
  }[type] || SAWGameTypeName.Unknown
39
42
  );
40
43
  };