@smartico/public-api 0.0.416 → 0.0.418

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.
@@ -0,0 +1,22 @@
1
+ /** Activity-log entry type as returned on the v2 wire (`type_id`). */
2
+ export declare enum ActivityLogActivities {
3
+ Gems = 1,
4
+ Diamonds = 2,
5
+ Points = 3,
6
+ LevelChanged = 4,
7
+ Bonus = 5,
8
+ PrizeDrop = 6,
9
+ Minigame = 7,
10
+ RaffleTicket = 8,
11
+ Avatar = 9,
12
+ Task = 10,
13
+ Mission = 11,
14
+ Badge = 12,
15
+ TangiblePrize = 13,
16
+ Jackpot = 14,
17
+ Spin = 15,
18
+ NoPrize = 16,
19
+ Leaderboard = 17,
20
+ Tournament = 18,
21
+ ClanTournament = 19
22
+ }
@@ -0,0 +1,4 @@
1
+ import { UserBalanceType } from './UserBalanceType';
2
+ import { TActivityLogEntry } from '../WSAPI/WSAPITypes';
3
+ export declare const mapActivityLogHistory: (logHistory: unknown[]) => TActivityLogEntry[];
4
+ export declare const resolveWalletDisplayType: (entry: TActivityLogEntry) => UserBalanceType;
@@ -0,0 +1,8 @@
1
+ export interface ActivityLogMeta {
2
+ name?: string;
3
+ image_url?: string;
4
+ position?: number;
5
+ user_points_balance_before?: number;
6
+ points_requested?: number;
7
+ user_points_ever?: number;
8
+ }
@@ -5,4 +5,6 @@ export interface GetActivityLogRequest extends ProtocolMessage {
5
5
  endTimeSeconds: number;
6
6
  limit: number;
7
7
  offset: number;
8
+ /** Optional v2 filter — {@link ActivityLogActivities} values to include. */
9
+ types?: number[];
8
10
  }
@@ -1,7 +1,8 @@
1
1
  import { ProtocolResponse } from '../Base/ProtocolResponse';
2
2
  import { ActivityLogEntry } from './ActivityLogEntry';
3
- import { TActivityLog } from '../WSAPI/WSAPITypes';
3
+ import { TActivityLog, TActivityLogEntry } from '../WSAPI/WSAPITypes';
4
4
  export interface GetActivityLogResponse extends ProtocolResponse {
5
5
  logHistory: ActivityLogEntry[];
6
6
  }
7
7
  export declare const ActivityLogTransform: (items: ActivityLogEntry[]) => TActivityLog[];
8
+ export declare const ActivityLogV2Transform: (items: any[]) => TActivityLogEntry[];
@@ -1,5 +1,7 @@
1
1
  export * from './GetActivityLogRequest';
2
2
  export * from './GetActivityLogResponse';
3
3
  export * from './ActivityLogEntry';
4
+ export * from './ActivityLogActivities';
5
+ export * from './ActivityLogMeta';
4
6
  export * from './PointChangeSourceType';
5
7
  export * from './UserBalanceType';
@@ -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, TActivityLog, TRaffleDraw, TAvatarDefinition, TAvatarCustomized, TAvatarPrompt, TClans, TClanInfo, TClanJoinResult, TClanTournamentPlayers } from './WSAPI/WSAPITypes';
14
+ import { TInboxMessage, TInboxMessageBody, TLevel, TMiniGameTemplate, TMissionOrBadge, TStoreCategory, TAchCategory, TStoreItem, TTournament, TTournamentDetailed, LeaderBoardDetailsT, UserLevelExtraCountersT, TSegmentCheckResult, TUICustomSection, TBonus, TRaffle, TLevelCurrent, TActivityLog, TActivityLogEntry, TRaffleDraw, TAvatarDefinition, TAvatarCustomized, TAvatarPrompt, TClans, TClanInfo, TClanJoinResult, TClanTournamentPlayers } 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';
@@ -232,6 +232,8 @@ declare class SmarticoAPI {
232
232
  limit: number;
233
233
  }): Promise<GetRaffleWonPrizesResponse>;
234
234
  getActivityLog(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number, limit: number, offset: number): Promise<GetActivityLogResponse>;
235
+ getActivityLogV2(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number, limit: number, offset: number, types?: number[]): Promise<GetActivityLogResponse>;
235
236
  getActivityLogT(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number, from?: number, to?: number): Promise<TActivityLog[]>;
237
+ getActivityLogV2T(user_ext_id: string, startTimeSeconds: number, endTimeSeconds: number, from?: number, to?: number, types?: number[]): Promise<TActivityLogEntry[]>;
236
238
  }
237
239
  export { SmarticoAPI, MessageSender };
@@ -36,6 +36,7 @@ export declare enum onUpdateContextKey {
36
36
  CurrentLevel = "currentLevel",
37
37
  InboxUnreadCount = "inboxUnreadCount",
38
38
  ActivityLog = "activityLog",
39
+ ActivityLogV2 = "activityLogV2",
39
40
  AvatarsList = "avatarsList",
40
41
  AvatarsCustomized = "avatarsCustomized",
41
42
  AvatarPrompts = "avatarPrompts"
@@ -7,6 +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, RaffleTicketCapVisualization } from '../Raffle';
10
+ import { ActivityLogActivities } from '../ActivityLog/ActivityLogActivities';
11
+ import { ActivityLogMeta } from '../ActivityLog/ActivityLogMeta';
10
12
  import { PointChangeSourceType } from '../ActivityLog/PointChangeSourceType';
11
13
  import { UserBalanceType } from '../ActivityLog/UserBalanceType';
12
14
  import { SAWGPMarketType } from '../GamePick/MarketsType';
@@ -1698,6 +1700,28 @@ export interface TActivityLog {
1698
1700
  /** Source type ID indicating what triggered this change */
1699
1701
  source_type_id: PointChangeSourceType;
1700
1702
  }
1703
+ /**
1704
+ * Full activity-log row returned by {@link WSAPIUser.getActivityLogV2}.
1705
+ * Includes wallet changes and non-wallet activities (missions, badges, levels, …).
1706
+ */
1707
+ export interface TActivityLogEntry {
1708
+ create_date: number;
1709
+ user_ext_id: string;
1710
+ crm_brand_id: number;
1711
+ type: UserBalanceType;
1712
+ amount: number;
1713
+ balance: number;
1714
+ total_ever?: number;
1715
+ source_type_id: PointChangeSourceType;
1716
+ activity_type_id?: ActivityLogActivities;
1717
+ context_value_1?: number;
1718
+ meta?: ActivityLogMeta;
1719
+ source_entity_name?: string;
1720
+ source_entity_id?: number;
1721
+ source_reference_id?: number;
1722
+ source_root_id?: number;
1723
+ is_wallet_entry: boolean;
1724
+ }
1701
1725
  /**
1702
1726
  * Result of `_smartico.api.requestRaffleOptin({raffle_id, draw_id, raffle_run_id})`.
1703
1727
  */
@@ -1,4 +1,4 @@
1
- import { TActivityLog, TLevel, TLevelCurrent, TSegmentCheckResult, TUserProfile, UserLevelExtraCountersT } from './WSAPITypes';
1
+ import { TActivityLog, TActivityLogEntry, TLevel, TLevelCurrent, TSegmentCheckResult, TUserProfile, UserLevelExtraCountersT } from './WSAPITypes';
2
2
  import { WSAPIBase } from './WSAPIBase';
3
3
  /** @group User */
4
4
  export declare class WSAPIUser extends WSAPIBase {
@@ -544,4 +544,27 @@ export declare class WSAPIUser extends WSAPIBase {
544
544
  * refresh re-fetches the same window and updates its matching composite cache key. */
545
545
  private activityLogOnUpdateParams;
546
546
  protected notifyActivityLogUpdate(): Promise<void>;
547
+ /**
548
+ * Returns the full activity log (v2) — wallet changes **and** non-wallet
549
+ * activities (missions, badges, levels, tournaments, avatars, …).
550
+ *
551
+ * **Backwards compatibility**: existing integrations should keep using
552
+ * {@link getActivityLog}, which returns wallet-only {@link TActivityLog}
553
+ * rows with the original field contract unchanged.
554
+ *
555
+ * **Pagination** — same `from` / `to` offset model as {@link getActivityLog}
556
+ * (server caps a single response at 50 entries).
557
+ *
558
+ * **Filtering** — pass `types` with {@link ActivityLogActivities} values to
559
+ * request a server-side subset (e.g. missions only). Omit for all activity types.
560
+ *
561
+ * @returns Array of {@link TActivityLogEntry} ordered newest-first.
562
+ */
563
+ getActivityLogV2({ startTimeSeconds, endTimeSeconds, from, to, types, }: {
564
+ startTimeSeconds: number;
565
+ endTimeSeconds: number;
566
+ from: number;
567
+ to: number;
568
+ types?: number[];
569
+ }): Promise<TActivityLogEntry[]>;
547
570
  }
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export * from './SmarticoAPI';
4
4
  export * from './WSAPI/WSAPI';
5
5
  export * from './SmarticoGlobal';
6
6
  export * from './CookieStore';
7
- export type { TAchCategory, TActivityLog, TAvatarCustomized, TAvatarDefinition, TAvatarPrompt, TBonus, TBuyStoreItemResult, TClaimBonusResult, TClan, TClanInfo, TClanJoinResult, TClanTournamentPlayers, TClans, TGetTranslations, TInboxMessage, TInboxMessageBody, TLevel, TLevelCurrent, TMiniGamePlayBatchResult, TMiniGamePlayResult, TMiniGamePrize, TMiniGameTemplate, TMissionClaimRewardResult, TMissionOptInResult, TMissionOrBadge, TMissionOrBadgeTask, TRaffle, TRaffleDraw, TRaffleDrawRun, TRaffleOptinResponse, TRafflePrize, TRafflePrizeWinner, TRaffleTicket, TSawHistory, TSegmentCheckResult, TSetAvatarResult, TStoreCategory, TStoreItem, TTournament, TTournamentDetailed, TTournamentRegistrationResult, TUICustomSection, TUserProfile, TransformedRaffleClaimPrizeResponse, InboxMarkMessageAction, LeaderBoardDetailsT, LeaderBoardUserT, LeaderBoardsRewardsT, UserLevelExtraCountersT, } from './WSAPI/WSAPITypes';
7
+ export type { TAchCategory, TActivityLog, TActivityLogEntry, TAvatarCustomized, TAvatarDefinition, TAvatarPrompt, TBonus, TBuyStoreItemResult, TClaimBonusResult, TClan, TClanInfo, TClanJoinResult, TClanTournamentPlayers, TClans, TGetTranslations, TInboxMessage, TInboxMessageBody, TLevel, TLevelCurrent, TMiniGamePlayBatchResult, TMiniGamePlayResult, TMiniGamePrize, TMiniGameTemplate, TMissionClaimRewardResult, TMissionOptInResult, TMissionOrBadge, TMissionOrBadgeTask, TRaffle, TRaffleDraw, TRaffleDrawRun, TRaffleOptinResponse, TRafflePrize, TRafflePrizeWinner, TRaffleTicket, TSawHistory, TSegmentCheckResult, TSetAvatarResult, TStoreCategory, TStoreItem, TTournament, TTournamentDetailed, TTournamentRegistrationResult, TUICustomSection, TUserProfile, TransformedRaffleClaimPrizeResponse, InboxMarkMessageAction, LeaderBoardDetailsT, LeaderBoardUserT, LeaderBoardsRewardsT, UserLevelExtraCountersT, } from './WSAPI/WSAPITypes';
8
8
  export * from './Analytics';
9
9
  export * from './Core';
10
10
  export * from './UserProfile';
package/dist/index.js CHANGED
@@ -2233,6 +2233,7 @@ var onUpdateContextKey;
2233
2233
  onUpdateContextKey["CurrentLevel"] = "currentLevel";
2234
2234
  onUpdateContextKey["InboxUnreadCount"] = "inboxUnreadCount";
2235
2235
  onUpdateContextKey["ActivityLog"] = "activityLog";
2236
+ onUpdateContextKey["ActivityLogV2"] = "activityLogV2";
2236
2237
  onUpdateContextKey["AvatarsList"] = "avatarsList";
2237
2238
  onUpdateContextKey["AvatarsCustomized"] = "avatarsCustomized";
2238
2239
  onUpdateContextKey["AvatarPrompts"] = "avatarPrompts";
@@ -3142,6 +3143,40 @@ var WSAPIUser = /*#__PURE__*/function (_WSAPIBase) {
3142
3143
  } catch (e) {
3143
3144
  return Promise.reject(e);
3144
3145
  }
3146
+ }
3147
+ /**
3148
+ * Returns the full activity log (v2) — wallet changes **and** non-wallet
3149
+ * activities (missions, badges, levels, tournaments, avatars, …).
3150
+ *
3151
+ * **Backwards compatibility**: existing integrations should keep using
3152
+ * {@link getActivityLog}, which returns wallet-only {@link TActivityLog}
3153
+ * rows with the original field contract unchanged.
3154
+ *
3155
+ * **Pagination** — same `from` / `to` offset model as {@link getActivityLog}
3156
+ * (server caps a single response at 50 entries).
3157
+ *
3158
+ * **Filtering** — pass `types` with {@link ActivityLogActivities} values to
3159
+ * request a server-side subset (e.g. missions only). Omit for all activity types.
3160
+ *
3161
+ * @returns Array of {@link TActivityLogEntry} ordered newest-first.
3162
+ */
3163
+ ;
3164
+ _proto.getActivityLogV2 = function getActivityLogV2(_ref2) {
3165
+ var startTimeSeconds = _ref2.startTimeSeconds,
3166
+ endTimeSeconds = _ref2.endTimeSeconds,
3167
+ from = _ref2.from,
3168
+ to = _ref2.to,
3169
+ types = _ref2.types;
3170
+ try {
3171
+ var _types$join;
3172
+ var _this9 = this;
3173
+ var cacheKey = onUpdateContextKey.ActivityLogV2 + ":" + startTimeSeconds + ":" + endTimeSeconds + ":" + from + ":" + to + ":" + ((_types$join = types == null ? void 0 : types.join(',')) != null ? _types$join : '');
3174
+ return Promise.resolve(OCache.use(cacheKey, exports.ECacheContext.WSAPI, function () {
3175
+ return _this9.api.getActivityLogV2T(_this9.userExtId, startTimeSeconds, endTimeSeconds, from, to, types);
3176
+ }, CACHE_DATA_SEC));
3177
+ } catch (e) {
3178
+ return Promise.reject(e);
3179
+ }
3145
3180
  };
3146
3181
  return WSAPIUser;
3147
3182
  }(WSAPIBase);
@@ -10304,6 +10339,30 @@ exports.BonusStatus = void 0;
10304
10339
  BonusStatus[BonusStatus["EXPIRED"] = 6] = "EXPIRED";
10305
10340
  })(exports.BonusStatus || (exports.BonusStatus = {}));
10306
10341
 
10342
+ /** Activity-log entry type as returned on the v2 wire (`type_id`). */
10343
+ exports.ActivityLogActivities = void 0;
10344
+ (function (ActivityLogActivities) {
10345
+ ActivityLogActivities[ActivityLogActivities["Gems"] = 1] = "Gems";
10346
+ ActivityLogActivities[ActivityLogActivities["Diamonds"] = 2] = "Diamonds";
10347
+ ActivityLogActivities[ActivityLogActivities["Points"] = 3] = "Points";
10348
+ ActivityLogActivities[ActivityLogActivities["LevelChanged"] = 4] = "LevelChanged";
10349
+ ActivityLogActivities[ActivityLogActivities["Bonus"] = 5] = "Bonus";
10350
+ ActivityLogActivities[ActivityLogActivities["PrizeDrop"] = 6] = "PrizeDrop";
10351
+ ActivityLogActivities[ActivityLogActivities["Minigame"] = 7] = "Minigame";
10352
+ ActivityLogActivities[ActivityLogActivities["RaffleTicket"] = 8] = "RaffleTicket";
10353
+ ActivityLogActivities[ActivityLogActivities["Avatar"] = 9] = "Avatar";
10354
+ ActivityLogActivities[ActivityLogActivities["Task"] = 10] = "Task";
10355
+ ActivityLogActivities[ActivityLogActivities["Mission"] = 11] = "Mission";
10356
+ ActivityLogActivities[ActivityLogActivities["Badge"] = 12] = "Badge";
10357
+ ActivityLogActivities[ActivityLogActivities["TangiblePrize"] = 13] = "TangiblePrize";
10358
+ ActivityLogActivities[ActivityLogActivities["Jackpot"] = 14] = "Jackpot";
10359
+ ActivityLogActivities[ActivityLogActivities["Spin"] = 15] = "Spin";
10360
+ ActivityLogActivities[ActivityLogActivities["NoPrize"] = 16] = "NoPrize";
10361
+ ActivityLogActivities[ActivityLogActivities["Leaderboard"] = 17] = "Leaderboard";
10362
+ ActivityLogActivities[ActivityLogActivities["Tournament"] = 18] = "Tournament";
10363
+ ActivityLogActivities[ActivityLogActivities["ClanTournament"] = 19] = "ClanTournament";
10364
+ })(exports.ActivityLogActivities || (exports.ActivityLogActivities = {}));
10365
+
10307
10366
  exports.UserBalanceType = void 0;
10308
10367
  (function (UserBalanceType) {
10309
10368
  UserBalanceType[UserBalanceType["Points"] = 0] = "Points";
@@ -10316,9 +10375,9 @@ var ActivityLogTransform = function ActivityLogTransform(items) {
10316
10375
  return [];
10317
10376
  }
10318
10377
  return items.map(function (item) {
10319
- var _item$type;
10378
+ var _item$create_date$sec, _item$create_date, _item$type;
10320
10379
  var itemTransformed = {
10321
- create_date: item.create_date,
10380
+ create_date: (_item$create_date$sec = (_item$create_date = item.create_date) == null ? void 0 : _item$create_date.seconds) != null ? _item$create_date$sec : item.create_date,
10322
10381
  user_ext_id: item.user_ext_id,
10323
10382
  crm_brand_id: item.crm_brand_id,
10324
10383
  source_type_id: item.source_type_id
@@ -10338,6 +10397,35 @@ var ActivityLogTransform = function ActivityLogTransform(items) {
10338
10397
  return itemTransformed;
10339
10398
  });
10340
10399
  };
10400
+ var ActivityLogV2Transform = function ActivityLogV2Transform(items) {
10401
+ if (!items) {
10402
+ return [];
10403
+ }
10404
+ return items.map(function (r) {
10405
+ var _r$create_date$second, _r$create_date, _r$points_collected, _r$user_points_balanc;
10406
+ var isGems = r.type_id === exports.ActivityLogActivities.Gems || r.type === exports.UserBalanceType.Gems;
10407
+ var isDiamonds = r.type_id === exports.ActivityLogActivities.Diamonds || r.type === exports.UserBalanceType.Diamonds;
10408
+ var x = {
10409
+ create_date: (_r$create_date$second = (_r$create_date = r.create_date) == null ? void 0 : _r$create_date.seconds) != null ? _r$create_date$second : r.create_date,
10410
+ user_ext_id: r.user_ext_id,
10411
+ crm_brand_id: r.crm_brand_id,
10412
+ type: isGems ? exports.UserBalanceType.Gems : isDiamonds ? exports.UserBalanceType.Diamonds : exports.UserBalanceType.Points,
10413
+ amount: (_r$points_collected = r.points_collected) != null ? _r$points_collected : r.amount,
10414
+ balance: (_r$user_points_balanc = r.user_points_balance) != null ? _r$user_points_balanc : r.balance,
10415
+ total_ever: r.user_points_ever,
10416
+ source_type_id: r.source_type_id,
10417
+ activity_type_id: r.type_id,
10418
+ context_value_1: r.context_value_1,
10419
+ meta: r.context_value_meta,
10420
+ source_entity_name: r.source_entity_name,
10421
+ source_entity_id: r.source_entity_id,
10422
+ source_reference_id: r.source_reference_id,
10423
+ source_root_id: r.source_root_id,
10424
+ is_wallet_entry: r.type_id == null || r.type_id === exports.ActivityLogActivities.Gems || r.type_id === exports.ActivityLogActivities.Diamonds || r.type_id === exports.ActivityLogActivities.Points
10425
+ };
10426
+ return x;
10427
+ });
10428
+ };
10341
10429
 
10342
10430
  exports.PointChangeSourceType = void 0;
10343
10431
  (function (PointChangeSourceType) {
@@ -12253,6 +12341,22 @@ var SmarticoAPI = /*#__PURE__*/function () {
12253
12341
  return Promise.reject(e);
12254
12342
  }
12255
12343
  };
12344
+ _proto.getActivityLogV2 = function getActivityLogV2(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset, types) {
12345
+ try {
12346
+ var _this103 = this;
12347
+ var message = _this103.buildMessage(user_ext_id, exports.ClassId.GET_POINT_HISTORY_REQUEST, _extends({
12348
+ startTimeSeconds: Math.floor(startTimeSeconds),
12349
+ endTimeSeconds: Math.floor(endTimeSeconds),
12350
+ limit: limit,
12351
+ offset: offset
12352
+ }, types ? {
12353
+ types: types
12354
+ } : {}));
12355
+ return Promise.resolve(_this103.send(message, exports.ClassId.GET_POINT_HISTORY_RESPONSE));
12356
+ } catch (e) {
12357
+ return Promise.reject(e);
12358
+ }
12359
+ };
12256
12360
  _proto.getActivityLogT = function getActivityLogT(user_ext_id, startTimeSeconds, endTimeSeconds, from, to) {
12257
12361
  if (from === void 0) {
12258
12362
  from = 0;
@@ -12261,11 +12365,29 @@ var SmarticoAPI = /*#__PURE__*/function () {
12261
12365
  to = 50;
12262
12366
  }
12263
12367
  try {
12264
- var _this103 = this;
12368
+ var _this104 = this;
12369
+ var limit = to - from > 50 ? 50 : to - from;
12370
+ var offset = from;
12371
+ return Promise.resolve(_this104.getActivityLog(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset)).then(function (_this104$getActivityL) {
12372
+ return ActivityLogTransform(_this104$getActivityL.logHistory);
12373
+ });
12374
+ } catch (e) {
12375
+ return Promise.reject(e);
12376
+ }
12377
+ };
12378
+ _proto.getActivityLogV2T = function getActivityLogV2T(user_ext_id, startTimeSeconds, endTimeSeconds, from, to, types) {
12379
+ if (from === void 0) {
12380
+ from = 0;
12381
+ }
12382
+ if (to === void 0) {
12383
+ to = 50;
12384
+ }
12385
+ try {
12386
+ var _this105 = this;
12265
12387
  var limit = to - from > 50 ? 50 : to - from;
12266
12388
  var offset = from;
12267
- return Promise.resolve(_this103.getActivityLog(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset)).then(function (_this103$getActivityL) {
12268
- return ActivityLogTransform(_this103$getActivityL.logHistory);
12389
+ return Promise.resolve(_this105.getActivityLogV2(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset, types)).then(function (_this105$getActivityL) {
12390
+ return ActivityLogV2Transform(_this105$getActivityL.logHistory);
12269
12391
  });
12270
12392
  } catch (e) {
12271
12393
  return Promise.reject(e);
@@ -12917,6 +13039,7 @@ exports.JoinClanErrorCode = void 0;
12917
13039
 
12918
13040
  exports.AchCategoryTransform = AchCategoryTransform;
12919
13041
  exports.ActivityLogTransform = ActivityLogTransform;
13042
+ exports.ActivityLogV2Transform = ActivityLogV2Transform;
12920
13043
  exports.AllRoundsGameBoardID = AllRoundsGameBoardID;
12921
13044
  exports.BonusItemsTransform = BonusItemsTransform;
12922
13045
  exports.CookieStore = CookieStore;