@smartico/public-api 0.0.180 → 0.0.182
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/CustomSections/AchCustomSection.d.ts +5 -1
- package/dist/MiniGames/SAWGameType.d.ts +5 -1
- package/dist/MiniGames/SAWPrize.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +14 -2
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/CustomSections/AchCustomSection.ts +4 -0
- package/src/MiniGames/SAWGameType.ts +6 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +2 -0
- package/src/MiniGames/SAWPrize.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +6 -2
package/dist/index.modern.mjs
CHANGED
|
@@ -304,6 +304,8 @@ var SAWGameType;
|
|
|
304
304
|
SAWGameType[SAWGameType["GiftBox"] = 4] = "GiftBox";
|
|
305
305
|
SAWGameType[SAWGameType["PrizeDrop"] = 5] = "PrizeDrop";
|
|
306
306
|
SAWGameType[SAWGameType["Quiz"] = 6] = "Quiz";
|
|
307
|
+
SAWGameType[SAWGameType["LootboxWeekdays"] = 7] = "LootboxWeekdays";
|
|
308
|
+
SAWGameType[SAWGameType["LootboxCalendarDays"] = 8] = "LootboxCalendarDays";
|
|
307
309
|
})(SAWGameType || (SAWGameType = {}));
|
|
308
310
|
var SAWGameTypeName;
|
|
309
311
|
(function (SAWGameTypeName) {
|
|
@@ -313,6 +315,8 @@ var SAWGameTypeName;
|
|
|
313
315
|
SAWGameTypeName["GiftBox"] = "giftbox";
|
|
314
316
|
SAWGameTypeName["PrizeDrop"] = "prizedrop";
|
|
315
317
|
SAWGameTypeName["Quiz"] = "quiz";
|
|
318
|
+
SAWGameTypeName["LootboxWeekdays"] = "lootbox_weekdays";
|
|
319
|
+
SAWGameTypeName["LootboxCalendarDays"] = "lootbox_calendar_days";
|
|
316
320
|
SAWGameTypeName["Unknown"] = "unknown";
|
|
317
321
|
})(SAWGameTypeName || (SAWGameTypeName = {}));
|
|
318
322
|
/** @hidden */
|
|
@@ -323,7 +327,9 @@ const SAWGameTypeNamed = type => {
|
|
|
323
327
|
[SAWGameType.MatchX]: SAWGameTypeName.MatchX,
|
|
324
328
|
[SAWGameType.GiftBox]: SAWGameTypeName.GiftBox,
|
|
325
329
|
[SAWGameType.PrizeDrop]: SAWGameTypeName.PrizeDrop,
|
|
326
|
-
[SAWGameType.Quiz]: SAWGameTypeName.Quiz
|
|
330
|
+
[SAWGameType.Quiz]: SAWGameTypeName.Quiz,
|
|
331
|
+
[SAWGameType.LootboxWeekdays]: SAWGameTypeName.LootboxWeekdays,
|
|
332
|
+
[SAWGameType.LootboxCalendarDays]: SAWGameTypeName.LootboxCalendarDays
|
|
327
333
|
}[type] || SAWGameTypeName.Unknown;
|
|
328
334
|
};
|
|
329
335
|
|
|
@@ -402,7 +408,9 @@ const SAWTemplatesTransform = items => {
|
|
|
402
408
|
wins_count: p.wins_count,
|
|
403
409
|
weekdays: p.weekdays,
|
|
404
410
|
active_from_ts: p.active_from_ts,
|
|
405
|
-
active_till_ts: p.active_till_ts
|
|
411
|
+
active_till_ts: p.active_till_ts,
|
|
412
|
+
active_from: p.active_from,
|
|
413
|
+
active_till: p.active_till
|
|
406
414
|
};
|
|
407
415
|
return y;
|
|
408
416
|
})
|
|
@@ -2052,6 +2060,10 @@ var AchCustomSectionType;
|
|
|
2052
2060
|
AchCustomSectionType[AchCustomSectionType["MINI_GAMES"] = 5] = "MINI_GAMES";
|
|
2053
2061
|
AchCustomSectionType[AchCustomSectionType["MISSION_CUSTOM_LAYOUT"] = 6] = "MISSION_CUSTOM_LAYOUT";
|
|
2054
2062
|
AchCustomSectionType[AchCustomSectionType["MATCH_X"] = 7] = "MATCH_X";
|
|
2063
|
+
AchCustomSectionType[AchCustomSectionType["QUIZ"] = 8] = "QUIZ";
|
|
2064
|
+
AchCustomSectionType[AchCustomSectionType["REDIRECT_LINK"] = 9] = "REDIRECT_LINK";
|
|
2065
|
+
AchCustomSectionType[AchCustomSectionType["LOOTBOX_WEEKLY"] = 10] = "LOOTBOX_WEEKLY";
|
|
2066
|
+
AchCustomSectionType[AchCustomSectionType["LOOTBOX_CALENDAR_DAYS"] = 11] = "LOOTBOX_CALENDAR_DAYS";
|
|
2055
2067
|
})(AchCustomSectionType || (AchCustomSectionType = {}));
|
|
2056
2068
|
var AchCustomLayoutTheme;
|
|
2057
2069
|
(function (AchCustomLayoutTheme) {
|