@smartico/public-api 0.0.336 → 0.0.339

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.
Files changed (62) hide show
  1. package/dist/{PointsHistory/PointsHistoryLog.d.ts → ActivityLog/ActivityLogEntry.d.ts} +1 -1
  2. package/dist/{PointsHistory/GetPointsHistoryRequest.d.ts → ActivityLog/GetActivityLogRequest.d.ts} +1 -1
  3. package/dist/ActivityLog/GetActivityLogResponse.d.ts +7 -0
  4. package/dist/ActivityLog/index.d.ts +5 -0
  5. package/dist/Analytics/AnalyticStoreData.d.ts +1 -1
  6. package/dist/CustomSections/AchCustomSection.d.ts +1 -1
  7. package/dist/CustomSections/UICustomSection.d.ts +1 -0
  8. package/dist/SmarticoAPI.d.ts +4 -4
  9. package/dist/Store/StoreItemPublicMeta.d.ts +3 -0
  10. package/dist/WSAPI/WSAPI.d.ts +9 -9
  11. package/dist/WSAPI/WSAPITypes.d.ts +12 -4
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.js +27 -22
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.modern.mjs +25 -20
  16. package/dist/index.modern.mjs.map +1 -1
  17. package/docs/enums/AchCustomSectionType.md +2 -2
  18. package/docs/interfaces/AchCategory.md +19 -0
  19. package/docs/interfaces/AchCategoryPublicMeta.md +19 -0
  20. package/docs/interfaces/AchCustomSectionType.md +21 -0
  21. package/docs/interfaces/AchievementPublicMeta.md +155 -0
  22. package/docs/interfaces/Bonus.md +107 -0
  23. package/docs/interfaces/GetTournamentInfoResponse.md +37 -0
  24. package/docs/interfaces/InboxMessage.md +51 -0
  25. package/docs/interfaces/InboxMessageBody.md +64 -0
  26. package/docs/interfaces/Level.md +67 -0
  27. package/docs/interfaces/LevelPublicMeta.md +51 -0
  28. package/docs/interfaces/SAWPrizesHistory.md +18 -0
  29. package/docs/interfaces/StoreCategory.md +19 -0
  30. package/docs/interfaces/StoreCategoryPublicMeta.md +19 -0
  31. package/docs/interfaces/StoreItem.md +59 -0
  32. package/docs/interfaces/TStoreItem.md +25 -1
  33. package/docs/interfaces/TUICustomSection.md +8 -0
  34. package/docs/interfaces/Tournament.md +187 -0
  35. package/docs/interfaces/TournamentPlayer.md +75 -0
  36. package/docs/interfaces/TournamentPrize.md +75 -0
  37. package/docs/interfaces/UICustomSection.md +123 -0
  38. package/docs/interfaces/UserAchievement.md +275 -0
  39. package/docs/interfaces/UserAchievementTask.md +67 -0
  40. package/docs/native/ADDING_METHODS.md +38 -0
  41. package/docs/native/PROTOCOL.md +2264 -0
  42. package/package.json +1 -1
  43. package/src/{PointsHistory/PointsHistoryLog.ts → ActivityLog/ActivityLogEntry.ts} +2 -1
  44. package/src/{PointsHistory/GetPointsHistoryRequest.ts → ActivityLog/GetActivityLogRequest.ts} +2 -1
  45. package/src/{PointsHistory/GetPointsHistoryResponse.ts → ActivityLog/GetActivityLogResponse.ts} +9 -8
  46. package/src/{PointsHistory → ActivityLog}/PointChangeSourceType.ts +1 -0
  47. package/src/{PointsHistory → ActivityLog}/UserBalanceType.ts +1 -0
  48. package/src/ActivityLog/index.ts +7 -0
  49. package/src/Analytics/AnalyticStoreData.ts +1 -1
  50. package/src/CustomSections/AchCustomSection.ts +1 -1
  51. package/src/CustomSections/UICustomSection.ts +7 -0
  52. package/src/SmarticoAPI.ts +10 -10
  53. package/src/Store/StoreItem.ts +3 -0
  54. package/src/Store/StoreItemPublicMeta.ts +3 -0
  55. package/src/WSAPI/WSAPI.ts +16 -16
  56. package/src/WSAPI/WSAPITypes.ts +13 -4
  57. package/src/index.ts +1 -1
  58. package/dist/PointsHistory/GetPointsHistoryResponse.d.ts +0 -7
  59. package/dist/PointsHistory/index.d.ts +0 -5
  60. package/src/PointsHistory/index.ts +0 -6
  61. /package/dist/{PointsHistory → ActivityLog}/PointChangeSourceType.d.ts +0 -0
  62. /package/dist/{PointsHistory → ActivityLog}/UserBalanceType.d.ts +0 -0
@@ -18,4 +18,4 @@ export interface GemsDiamondsLog {
18
18
  balance: number;
19
19
  source_type_id: PointChangeSourceType;
20
20
  }
21
- export type PointsHistoryLog = PointsLog | GemsDiamondsLog;
21
+ export type ActivityLogEntry = PointsLog | GemsDiamondsLog;
@@ -1,5 +1,5 @@
1
1
  import { ProtocolMessage } from '../Base/ProtocolMessage';
2
- export interface GetPointsHistoryRequest extends ProtocolMessage {
2
+ export interface GetActivityLogRequest extends ProtocolMessage {
3
3
  userId: number;
4
4
  startTimeSeconds: number;
5
5
  endTimeSeconds: number;
@@ -0,0 +1,7 @@
1
+ import { ProtocolResponse } from '../Base/ProtocolResponse';
2
+ import { ActivityLogEntry } from './ActivityLogEntry';
3
+ import { TActivityLog } from '../WSAPI/WSAPITypes';
4
+ export interface GetActivityLogResponse extends ProtocolResponse {
5
+ logHistory: ActivityLogEntry[];
6
+ }
7
+ export declare const ActivityLogTransform: (items: ActivityLogEntry[]) => TActivityLog[];
@@ -0,0 +1,5 @@
1
+ export * from './GetActivityLogRequest';
2
+ export * from './GetActivityLogResponse';
3
+ export * from './ActivityLogEntry';
4
+ export * from './PointChangeSourceType';
5
+ export * from './UserBalanceType';
@@ -26,7 +26,7 @@ export declare enum AnalyticsScreenNameId {
26
26
  LootboxCalendarDays = 21,
27
27
  TreasureHunt = 22,
28
28
  LiquidSection = 23,
29
- PointsHistory = 24,
29
+ ActivityLog = 24,
30
30
  ModalMission = 31,
31
31
  ModalLevel = 32,
32
32
  ModalBadge = 33,
@@ -9,7 +9,7 @@ export declare enum AchCustomSectionType {
9
9
  REDIRECT_LINK = 9,
10
10
  LOOTBOX_WEEKLY = 10,
11
11
  LOOTBOX_CALENDAR_DAYS = 11,
12
- TREASURE_HUNT = 12,
12
+ STORE = 12,
13
13
  RAFFLE = 13,
14
14
  BADGES = 14
15
15
  }
@@ -17,5 +17,6 @@ export interface UICustomSection {
17
17
  show_raw_data?: boolean;
18
18
  liquid_template?: number;
19
19
  ach_category_ids?: number[];
20
+ shop_category_ids?: number[];
20
21
  }
21
22
  export declare const UICustomSectionTransform: (response: GetCustomSectionsResponse) => TUICustomSection[];
@@ -11,7 +11,7 @@ import { GetTournamentInfoResponse, GetTournamentsResponse, TournamentRegisterRe
11
11
  import { LeaderBoardDetails, LeaderBoardPeriodType } from './Leaderboard';
12
12
  import { GetLevelMapResponse } from './Level';
13
13
  import { WSAPI } from './WSAPI/WSAPI';
14
- import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection, TBonus, TRaffle, TLevelCurrent, TPointsHistoryLog } from './WSAPI/WSAPITypes';
14
+ import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection, TBonus, TRaffle, TLevelCurrent, TActivityLog } from './WSAPI/WSAPITypes';
15
15
  import { GetAchievementsUserInfoResponse } from './Core/GetAchievementsUserInfoResponse';
16
16
  import { GetJackpotsPotsResponse, GetJackpotsResponse, JackpotsOptinResponse, JackpotsOptoutResponse } from './Jackpots';
17
17
  import { GetCustomSectionsResponse } from './CustomSections';
@@ -20,7 +20,7 @@ import { SAWDoSpinBatchResponse } from './MiniGames/SAWDoSpinBatchResponse';
20
20
  import { SAWDoAcknowledgeBatchResponse } from './MiniGames/SAWDoAcknowledgeBatchResponse';
21
21
  import { GetRelatedAchTourResponse } from './Missions/GetRelatedAchTourResponse';
22
22
  import { GetRafflesResponse } from './Raffle/GetRafflesResponse';
23
- import { GetPointsHistoryResponse } from './PointsHistory';
23
+ import { GetActivityLogResponse } from './ActivityLog';
24
24
  import { InboxCategories } from './Inbox/InboxCategories';
25
25
  import { GetDrawRunResponse, GetRaffleDrawRunsHistoryResponse, RaffleClaimPrizeResponse, RaffleOptinResponse } from './Raffle';
26
26
  import { GetJackpotWinnersResponse, JackpotWinnerHistory } from './Jackpots/GetJackpotWinnersResponse';
@@ -173,7 +173,7 @@ declare class SmarticoAPI {
173
173
  draw_id: number;
174
174
  raffle_run_id: number;
175
175
  }): Promise<RaffleOptinResponse>;
176
- getPointsHistory(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number): Promise<GetPointsHistoryResponse>;
177
- getPointsHistoryT(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number): Promise<TPointsHistoryLog[]>;
176
+ getActivityLog(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number): Promise<GetActivityLogResponse>;
177
+ getActivityLogT(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number): Promise<TActivityLog[]>;
178
178
  }
179
179
  export { SmarticoAPI, MessageSender };
@@ -18,4 +18,7 @@ export interface StoreItemPublicMeta {
18
18
  discount_prize_ribbon?: string;
19
19
  custom_ribbon_image?: string;
20
20
  purchase_limit_message?: string;
21
+ custom_section_id?: number;
22
+ only_in_custom_section?: boolean;
23
+ custom_section_type_id?: number;
21
24
  }
@@ -1,6 +1,6 @@
1
1
  import { ActivityTypeLimited } from '../Core';
2
2
  import { SmarticoAPI } from '../SmarticoAPI';
3
- import { InboxMarkMessageAction, LeaderBoardDetailsT, TAchCategory, TBuyStoreItemResult, TGetTranslations, TInboxMessage, TInboxMessageBody, TLevel, TMiniGamePlayResult, TMiniGameTemplate, TMissionClaimRewardResult, TMissionOptInResult, TMissionOrBadge, TSegmentCheckResult, TStoreCategory, TStoreItem, TTournament, TTournamentDetailed, TTournamentRegistrationResult, TUICustomSection, TUserProfile, UserLevelExtraCountersT, TBonus, TClaimBonusResult, TMiniGamePlayBatchResult, TSawHistory, TRaffle, TRaffleDraw, TRaffleDrawRun, TransformedRaffleClaimPrizeResponse, TLevelCurrent, TPointsHistoryLog, TRaffleOptinResponse } from './WSAPITypes';
3
+ import { InboxMarkMessageAction, LeaderBoardDetailsT, TAchCategory, TBuyStoreItemResult, TGetTranslations, TInboxMessage, TInboxMessageBody, TLevel, TMiniGamePlayResult, TMiniGameTemplate, TMissionClaimRewardResult, TMissionOptInResult, TMissionOrBadge, TSegmentCheckResult, TStoreCategory, TStoreItem, TTournament, TTournamentDetailed, TTournamentRegistrationResult, TUICustomSection, TUserProfile, UserLevelExtraCountersT, TBonus, TClaimBonusResult, TMiniGamePlayBatchResult, TSawHistory, TRaffle, TRaffleDraw, TRaffleDrawRun, TransformedRaffleClaimPrizeResponse, TLevelCurrent, TActivityLog, TRaffleOptinResponse } from './WSAPITypes';
4
4
  import { LeaderBoardPeriodType } from '../Leaderboard';
5
5
  import { JackpotDetails, JackpotWinnerHistory, JackpotsOptinResponse, JackpotsOptoutResponse } from '../Jackpots';
6
6
  import { GetRelatedAchTourResponse } from '../Missions/GetRelatedAchTourResponse';
@@ -546,18 +546,18 @@ export declare class WSAPI {
546
546
  action?: string;
547
547
  }): void;
548
548
  /**
549
- * Returns the points history for a user within a specified time range.
549
+ * Returns the activity log for a user within a specified time range.
550
550
  * The response includes both points changes and gems/diamonds changes.
551
551
  * Each log entry contains information about the change amount, balance, and source.
552
552
  * The returned list is cached for 30 seconds.
553
- * You can pass the onUpdate callback as a parameter, it will be called every time the points history is updated and will provide the updated list of points history logs for the last 10 minutes.
553
+ * You can pass the onUpdate callback as a parameter, it will be called every time the activity log is updated and will provide the updated list of activity logs for the last 10 minutes.
554
554
  *
555
555
  * **Example**:
556
556
  * ```
557
557
  * const startTime = Math.floor(Date.now() / 1000) - 86400 * 30; // 30 days ago
558
558
  * const endTime = Math.floor(Date.now() / 1000); // now
559
559
  *
560
- * _smartico.api.getPointsHistory({
560
+ * _smartico.api.getActivityLog({
561
561
  * startTimeSeconds: startTime,
562
562
  * endTimeSeconds: endTime,
563
563
  * onUpdate: (data) => console.log('Updated:', data)
@@ -570,13 +570,13 @@ export declare class WSAPI {
570
570
  *
571
571
  * @param params.startTimeSeconds - Start time in seconds (epoch timestamp)
572
572
  * @param params.endTimeSeconds - End time in seconds (epoch timestamp)
573
- * @param params.onUpdate - Optional callback function that will be called when the points history is updated
573
+ * @param params.onUpdate - Optional callback function that will be called when the activity log is updated
574
574
  */
575
- getPointsHistory({ startTimeSeconds, endTimeSeconds, onUpdate, }: {
575
+ getActivityLog({ startTimeSeconds, endTimeSeconds, onUpdate, }: {
576
576
  startTimeSeconds: number;
577
577
  endTimeSeconds: number;
578
- onUpdate?: (data: TPointsHistoryLog[]) => void;
579
- }): Promise<TPointsHistoryLog[]>;
578
+ onUpdate?: (data: TActivityLog[]) => void;
579
+ }): Promise<TActivityLog[]>;
580
580
  private updateOnSpin;
581
581
  private reloadMiniGameTemplate;
582
582
  private updateMissions;
@@ -587,7 +587,7 @@ export declare class WSAPI {
587
587
  private updateInboxUnreadCount;
588
588
  private updateInboxMessages;
589
589
  private updateRaffles;
590
- private notifyPointsHistoryUpdate;
590
+ private notifyActivityLogUpdate;
591
591
  private updateEntity;
592
592
  private jackpotClearCache;
593
593
  /** Returns list of Jackpots that are active in the systen and matching to the filter definition.
@@ -7,8 +7,8 @@ import { AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, Ach
7
7
  import { PrizeModifiers } from '../MiniGames/PrizeModifiers';
8
8
  import { InboxCategories } from '../Inbox/InboxCategories';
9
9
  import { RaffleDrawInstanceState, RaffleDrawTypeExecution } from '../Raffle';
10
- import { PointChangeSourceType } from '../PointsHistory/PointChangeSourceType';
11
- import { UserBalanceType } from '../PointsHistory/UserBalanceType';
10
+ import { PointChangeSourceType } from '../ActivityLog/PointChangeSourceType';
11
+ import { UserBalanceType } from '../ActivityLog/UserBalanceType';
12
12
  type TRibbon = 'sale' | 'hot' | 'new' | 'vip' | string;
13
13
  /**
14
14
  * TMiniGamePrize describes the information of prize in the array of prizes in the TMiniGameTemplate
@@ -511,6 +511,12 @@ export interface TStoreItem {
511
511
  discount_price_ribbon?: string;
512
512
  /** The custom ribbon image of the discounted price. */
513
513
  custom_ribbon_image?: string;
514
+ /** The ID of the custom section where the store item is assigned */
515
+ custom_section_id?: number;
516
+ /** The indicator if the store item is visible only in the custom section and should be hidden from the main overview of store items */
517
+ only_in_custom_section?: boolean;
518
+ /** ID of specific Custom Section type */
519
+ custom_section_type_id?: number;
514
520
  }
515
521
  /**
516
522
  * TAchCategory describes the badge category item. Each badge item can be assigned to 1 or more categories
@@ -838,6 +844,8 @@ export interface TUICustomSection {
838
844
  liquid_template?: number;
839
845
  /** List of IDs of the categories where the badge item is assigned, information about categories can be retrieved with getAchCategories method */
840
846
  ach_category_ids?: number[];
847
+ /** List of IDs of the categories where the store item is assigned, information about categories can be retrieved with getShopCategories method */
848
+ shop_category_ids?: number[];
841
849
  }
842
850
  export interface TBonus {
843
851
  /** ID of the bonus */
@@ -1216,10 +1224,10 @@ export interface TransformedRaffleClaimPrizeResponse {
1216
1224
  errorMessage?: string;
1217
1225
  }
1218
1226
  /**
1219
- * TPointsHistoryLog describes a unified history log entry for points, gems, or diamonds changes.
1227
+ * TActivityLog describes a unified history log entry for points, gems, or diamonds changes.
1220
1228
  * The structure is the same regardless of balance type, making it easy to iterate and display.
1221
1229
  */
1222
- export interface TPointsHistoryLog {
1230
+ export interface TActivityLog {
1223
1231
  /** Date when the change was created (epoch timestamp in seconds) */
1224
1232
  create_date: number;
1225
1233
  /** External user ID */
package/dist/index.d.ts CHANGED
@@ -18,4 +18,4 @@ export * from './Raffle';
18
18
  export * from './OCache';
19
19
  export * from './Bonuses';
20
20
  export * from './CustomSections';
21
- export * from './PointsHistory';
21
+ export * from './ActivityLog';
package/dist/index.js CHANGED
@@ -1021,7 +1021,10 @@ var StoreItemTransform = function StoreItemTransform(items) {
1021
1021
  active_till_date: r.activeTillDate,
1022
1022
  discounted_price: r.itemPublicMeta.discount_prize,
1023
1023
  discount_price_ribbon: r.itemPublicMeta.discount_prize_ribbon,
1024
- custom_ribbon_image: r.itemPublicMeta.custom_ribbon_image
1024
+ custom_ribbon_image: r.itemPublicMeta.custom_ribbon_image,
1025
+ custom_section_id: r.itemPublicMeta.custom_section_id,
1026
+ only_in_custom_section: r.itemPublicMeta.only_in_custom_section,
1027
+ custom_section_type_id: r.itemPublicMeta.custom_section_type_id
1025
1028
  };
1026
1029
  return x;
1027
1030
  });
@@ -2127,7 +2130,7 @@ var onUpdateContextKey;
2127
2130
  onUpdateContextKey["JackpotEligibleGames"] = "jackpotEligibleGames";
2128
2131
  onUpdateContextKey["CurrentLevel"] = "currentLevel";
2129
2132
  onUpdateContextKey["InboxUnreadCount"] = "inboxUnreadCount";
2130
- onUpdateContextKey["PointsHistory"] = "pointsHistory";
2133
+ onUpdateContextKey["ActivityLog"] = "activityLog";
2131
2134
  })(onUpdateContextKey || (onUpdateContextKey = {}));
2132
2135
  /** @group General API */
2133
2136
  var WSAPI = /*#__PURE__*/function () {
@@ -2210,7 +2213,7 @@ var WSAPI = /*#__PURE__*/function () {
2210
2213
  _this.updateInboxUnreadCount(data.props.core_inbox_unread_count);
2211
2214
  }
2212
2215
  if ((data == null || (_data$props3 = data.props) == null ? void 0 : _data$props3.ach_points_balance) !== undefined || (data == null || (_data$props4 = data.props) == null ? void 0 : _data$props4.ach_gems_balance) !== undefined || (data == null || (_data$props5 = data.props) == null ? void 0 : _data$props5.ach_diamonds_balance) !== undefined) {
2213
- _this.notifyPointsHistoryUpdate();
2216
+ _this.notifyActivityLogUpdate();
2214
2217
  }
2215
2218
  });
2216
2219
  on(exports.ClassId.RAF_OPTIN_RESPONSE, function () {
@@ -3197,18 +3200,18 @@ var WSAPI = /*#__PURE__*/function () {
3197
3200
  this.api.reportEngagementAction(null, engagement_uid, activityType, action);
3198
3201
  }
3199
3202
  /**
3200
- * Returns the points history for a user within a specified time range.
3203
+ * Returns the activity log for a user within a specified time range.
3201
3204
  * The response includes both points changes and gems/diamonds changes.
3202
3205
  * Each log entry contains information about the change amount, balance, and source.
3203
3206
  * The returned list is cached for 30 seconds.
3204
- * You can pass the onUpdate callback as a parameter, it will be called every time the points history is updated and will provide the updated list of points history logs for the last 10 minutes.
3207
+ * You can pass the onUpdate callback as a parameter, it will be called every time the activity log is updated and will provide the updated list of activity logs for the last 10 minutes.
3205
3208
  *
3206
3209
  * **Example**:
3207
3210
  * ```
3208
3211
  * const startTime = Math.floor(Date.now() / 1000) - 86400 * 30; // 30 days ago
3209
3212
  * const endTime = Math.floor(Date.now() / 1000); // now
3210
3213
  *
3211
- * _smartico.api.getPointsHistory({
3214
+ * _smartico.api.getActivityLog({
3212
3215
  * startTimeSeconds: startTime,
3213
3216
  * endTimeSeconds: endTime,
3214
3217
  * onUpdate: (data) => console.log('Updated:', data)
@@ -3221,19 +3224,19 @@ var WSAPI = /*#__PURE__*/function () {
3221
3224
  *
3222
3225
  * @param params.startTimeSeconds - Start time in seconds (epoch timestamp)
3223
3226
  * @param params.endTimeSeconds - End time in seconds (epoch timestamp)
3224
- * @param params.onUpdate - Optional callback function that will be called when the points history is updated
3227
+ * @param params.onUpdate - Optional callback function that will be called when the activity log is updated
3225
3228
  */;
3226
- _proto.getPointsHistory = function getPointsHistory(_ref14) {
3229
+ _proto.getActivityLog = function getActivityLog(_ref14) {
3227
3230
  var startTimeSeconds = _ref14.startTimeSeconds,
3228
3231
  endTimeSeconds = _ref14.endTimeSeconds,
3229
3232
  onUpdate = _ref14.onUpdate;
3230
3233
  try {
3231
3234
  var _this37 = this;
3232
3235
  if (onUpdate) {
3233
- _this37.onUpdateCallback.set(onUpdateContextKey.PointsHistory, onUpdate);
3236
+ _this37.onUpdateCallback.set(onUpdateContextKey.ActivityLog, onUpdate);
3234
3237
  }
3235
- return Promise.resolve(OCache.use(onUpdateContextKey.PointsHistory, exports.ECacheContext.WSAPI, function () {
3236
- return _this37.api.getPointsHistoryT(null, startTimeSeconds, endTimeSeconds);
3238
+ return Promise.resolve(OCache.use(onUpdateContextKey.ActivityLog, exports.ECacheContext.WSAPI, function () {
3239
+ return _this37.api.getActivityLogT(null, startTimeSeconds, endTimeSeconds);
3237
3240
  }, CACHE_DATA_SEC));
3238
3241
  } catch (e) {
3239
3242
  return Promise.reject(e);
@@ -3344,13 +3347,13 @@ var WSAPI = /*#__PURE__*/function () {
3344
3347
  return Promise.reject(e);
3345
3348
  }
3346
3349
  };
3347
- _proto.notifyPointsHistoryUpdate = function notifyPointsHistoryUpdate() {
3350
+ _proto.notifyActivityLogUpdate = function notifyActivityLogUpdate() {
3348
3351
  try {
3349
3352
  var _this48 = this;
3350
3353
  var startSeconds = Date.now() / 1000 - 600;
3351
3354
  var endSeconds = Date.now() / 1000;
3352
- return Promise.resolve(_this48.api.getPointsHistoryT(null, startSeconds, endSeconds)).then(function (payload) {
3353
- _this48.updateEntity(onUpdateContextKey.PointsHistory, payload);
3355
+ return Promise.resolve(_this48.api.getActivityLogT(null, startSeconds, endSeconds)).then(function (payload) {
3356
+ _this48.updateEntity(onUpdateContextKey.ActivityLog, payload);
3354
3357
  });
3355
3358
  } catch (e) {
3356
3359
  return Promise.reject(e);
@@ -3788,7 +3791,7 @@ exports.AchCustomSectionType = void 0;
3788
3791
  AchCustomSectionType[AchCustomSectionType["REDIRECT_LINK"] = 9] = "REDIRECT_LINK";
3789
3792
  AchCustomSectionType[AchCustomSectionType["LOOTBOX_WEEKLY"] = 10] = "LOOTBOX_WEEKLY";
3790
3793
  AchCustomSectionType[AchCustomSectionType["LOOTBOX_CALENDAR_DAYS"] = 11] = "LOOTBOX_CALENDAR_DAYS";
3791
- AchCustomSectionType[AchCustomSectionType["TREASURE_HUNT"] = 12] = "TREASURE_HUNT";
3794
+ AchCustomSectionType[AchCustomSectionType["STORE"] = 12] = "STORE";
3792
3795
  AchCustomSectionType[AchCustomSectionType["RAFFLE"] = 13] = "RAFFLE";
3793
3796
  AchCustomSectionType[AchCustomSectionType["BADGES"] = 14] = "BADGES";
3794
3797
  })(exports.AchCustomSectionType || (exports.AchCustomSectionType = {}));
@@ -3852,6 +3855,8 @@ var UICustomSectionTransform = function UICustomSectionTransform(response) {
3852
3855
  liquid_template: r.liquid_template
3853
3856
  } : {}, r.section_type_id === exports.AchCustomSectionType.BADGES ? {
3854
3857
  ach_category_ids: r.ach_category_ids
3858
+ } : {}, r.section_type_id === exports.AchCustomSectionType.STORE ? {
3859
+ shop_category_ids: r.shop_category_ids
3855
3860
  } : {});
3856
3861
  items.push(x);
3857
3862
  }
@@ -3894,7 +3899,7 @@ exports.UserBalanceType = void 0;
3894
3899
  UserBalanceType[UserBalanceType["Diamonds"] = 2] = "Diamonds";
3895
3900
  })(exports.UserBalanceType || (exports.UserBalanceType = {}));
3896
3901
 
3897
- var PointsHistoryTransform = function PointsHistoryTransform(items) {
3902
+ var ActivityLogTransform = function ActivityLogTransform(items) {
3898
3903
  if (!items) {
3899
3904
  return [];
3900
3905
  }
@@ -5246,7 +5251,7 @@ var SmarticoAPI = /*#__PURE__*/function () {
5246
5251
  return Promise.reject(e);
5247
5252
  }
5248
5253
  };
5249
- _proto.getPointsHistory = function getPointsHistory(user_ext_id, startTimeSeconds, endTimeSeconds) {
5254
+ _proto.getActivityLog = function getActivityLog(user_ext_id, startTimeSeconds, endTimeSeconds) {
5250
5255
  try {
5251
5256
  var _this75 = this;
5252
5257
  var message = _this75.buildMessage(user_ext_id, exports.ClassId.GET_POINT_HISTORY_REQUEST, {
@@ -5258,11 +5263,11 @@ var SmarticoAPI = /*#__PURE__*/function () {
5258
5263
  return Promise.reject(e);
5259
5264
  }
5260
5265
  };
5261
- _proto.getPointsHistoryT = function getPointsHistoryT(user_ext_id, startTimeSeconds, endTimeSeconds) {
5266
+ _proto.getActivityLogT = function getActivityLogT(user_ext_id, startTimeSeconds, endTimeSeconds) {
5262
5267
  try {
5263
5268
  var _this76 = this;
5264
- return Promise.resolve(_this76.getPointsHistory(user_ext_id, startTimeSeconds, endTimeSeconds)).then(function (_this76$getPointsHist) {
5265
- return PointsHistoryTransform(_this76$getPointsHist.logHistory);
5269
+ return Promise.resolve(_this76.getActivityLog(user_ext_id, startTimeSeconds, endTimeSeconds)).then(function (_this76$getActivityLo) {
5270
+ return ActivityLogTransform(_this76$getActivityLo.logHistory);
5266
5271
  });
5267
5272
  } catch (e) {
5268
5273
  return Promise.reject(e);
@@ -5316,7 +5321,7 @@ exports.AnalyticsScreenNameId = void 0;
5316
5321
  AnalyticsScreenNameId[AnalyticsScreenNameId["LootboxCalendarDays"] = 21] = "LootboxCalendarDays";
5317
5322
  AnalyticsScreenNameId[AnalyticsScreenNameId["TreasureHunt"] = 22] = "TreasureHunt";
5318
5323
  AnalyticsScreenNameId[AnalyticsScreenNameId["LiquidSection"] = 23] = "LiquidSection";
5319
- AnalyticsScreenNameId[AnalyticsScreenNameId["PointsHistory"] = 24] = "PointsHistory";
5324
+ AnalyticsScreenNameId[AnalyticsScreenNameId["ActivityLog"] = 24] = "ActivityLog";
5320
5325
  AnalyticsScreenNameId[AnalyticsScreenNameId["ModalMission"] = 31] = "ModalMission";
5321
5326
  AnalyticsScreenNameId[AnalyticsScreenNameId["ModalLevel"] = 32] = "ModalLevel";
5322
5327
  AnalyticsScreenNameId[AnalyticsScreenNameId["ModalBadge"] = 33] = "ModalBadge";
@@ -5730,6 +5735,7 @@ exports.JackpotType = void 0;
5730
5735
  })(exports.JackpotType || (exports.JackpotType = {}));
5731
5736
 
5732
5737
  exports.AchCategoryTransform = AchCategoryTransform;
5738
+ exports.ActivityLogTransform = ActivityLogTransform;
5733
5739
  exports.BonusItemsTransform = BonusItemsTransform;
5734
5740
  exports.CookieStore = CookieStore;
5735
5741
  exports.CoreUtils = CoreUtils;
@@ -5741,7 +5747,6 @@ exports.InboxMessagesTransform = InboxMessagesTransform;
5741
5747
  exports.MiniGamePrizeTypeNamed = MiniGamePrizeTypeNamed;
5742
5748
  exports.MissionUtils = MissionUtils;
5743
5749
  exports.OCache = OCache;
5744
- exports.PointsHistoryTransform = PointsHistoryTransform;
5745
5750
  exports.PrizeModifiersKeysNames = PrizeModifiersKeysNames;
5746
5751
  exports.QuizMarketPerSport = QuizMarketPerSport;
5747
5752
  exports.SAWAcknowledgeTypeNamed = SAWAcknowledgeTypeNamed;