@smartico/public-api 0.0.420 → 0.0.422
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/README.md +14 -0
- package/dist/ActivityLog/ActivityLogActivities.d.ts +1 -1
- package/dist/ActivityLog/ActivityLogEntry.d.ts +35 -17
- package/dist/ActivityLog/ActivityLogMeta.d.ts +31 -0
- package/dist/ActivityLog/GetActivityLogRequest.d.ts +2 -0
- package/dist/ActivityLog/GetActivityLogResponse.d.ts +1 -2
- package/dist/Jackpots/JackPotWinPushWinner.d.ts +34 -0
- package/dist/Jackpots/JackPotWinner.d.ts +3 -1
- package/dist/Jackpots/JackpotContributionRule.d.ts +23 -0
- package/dist/Jackpots/JackpotDetails.d.ts +8 -0
- package/dist/Jackpots/JackpotPot.d.ts +4 -2
- package/dist/Jackpots/JackpotPublicMeta.d.ts +6 -2
- package/dist/Jackpots/JackpotWinPush.d.ts +14 -2
- package/dist/Jackpots/index.d.ts +2 -0
- package/dist/SmarticoAPI.d.ts +1 -3
- package/dist/WSAPI/WSAPIBase.d.ts +0 -1
- package/dist/WSAPI/WSAPIJackpots.d.ts +2 -0
- package/dist/WSAPI/WSAPITypes.d.ts +19 -17
- package/dist/WSAPI/WSAPIUser.d.ts +11 -36
- package/dist/index.js +36 -128
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +34 -100
- package/dist/index.modern.mjs.map +1 -1
- package/docs/Callbacks.md +1 -1
- package/docs/api/README.md +4 -4
- package/docs/api/classes/WSAPIJackpots.md +2 -0
- package/docs/api/classes/WSAPIUser.md +30 -59
- package/docs/api/documents/Callbacks.md +1 -1
- package/docs/api/enumerations/ActivityLogActivities.md +1 -1
- package/docs/api/enumerations/PointChangeSourceType.md +6 -0
- package/docs/api/interfaces/ActivityLogEntry.md +124 -0
- package/docs/api/interfaces/ActivityLogMeta.md +100 -0
- package/docs/api/interfaces/JackPotWinPushWinner.md +103 -0
- package/docs/api/interfaces/JackPotWinner.md +9 -1
- package/docs/api/interfaces/JackpotContributionRule.md +49 -0
- package/docs/api/interfaces/JackpotDetails.md +24 -0
- package/docs/api/interfaces/JackpotPot.md +9 -1
- package/docs/api/interfaces/JackpotPublicMeta.md +12 -2
- package/docs/api/interfaces/JackpotWinPush.md +14 -1
- package/docs/api/interfaces/TActivityLog.md +70 -2
- package/docs/api/type-aliases/TActivityLogEntry.md +7 -0
- package/docs/capabilities/_responses/gamePickGetActiveRound.json +37 -37
- package/docs/capabilities/_responses/gamePickGetActiveRounds.json +37 -131
- package/docs/capabilities/_responses/gamePickGetBoard.json +25 -14
- package/docs/capabilities/_responses/gamePickGetGameInfo.json +93 -79
- package/docs/capabilities/_responses/gamePickGetHistory.json +37 -131
- package/docs/capabilities/_responses/gamePickGetUserInfo.json +5 -5
- package/docs/capabilities/_responses/getActivityLog.json +106 -1
- package/docs/capabilities/_responses/getAvatarsCustomized.json +4 -4
- package/docs/capabilities/_responses/getAvatarsList.json +2 -2
- package/docs/capabilities/_responses/getBadges.json +27 -29
- package/docs/capabilities/_responses/getBonuses.json +1 -18
- package/docs/capabilities/_responses/getClanInfo.json +13 -13
- package/docs/capabilities/_responses/getClans.json +6 -6
- package/docs/capabilities/_responses/getCurrentLevel.json +12 -12
- package/docs/capabilities/_responses/getInboxMessageBody.json +2 -2
- package/docs/capabilities/_responses/getInboxMessages.json +6 -6
- package/docs/capabilities/_responses/getInboxUnreadCount.json +1 -1
- package/docs/capabilities/_responses/getJackpotWinners.json +14 -14
- package/docs/capabilities/_responses/getLeaderBoard.json +8 -8
- package/docs/capabilities/_responses/getMiniGames.json +92 -90
- package/docs/capabilities/_responses/getMiniGamesHistory.json +874 -1
- package/docs/capabilities/_responses/getMissions.json +2 -2
- package/docs/capabilities/_responses/getRaffleDrawRun.json +7 -7
- package/docs/capabilities/_responses/getRaffleDrawRunsHistory.json +6 -6
- package/docs/capabilities/_responses/getRaffles.json +14 -14
- package/docs/capabilities/_responses/getStorePurchasedItems.json +5 -5
- package/docs/capabilities/_responses/getTournamentInstanceInfo.json +100 -53
- package/docs/capabilities/_responses/getTournamentsList.json +12 -12
- package/docs/capabilities/_responses/getTranslations.json +1 -1
- package/docs/capabilities/_responses/getUserProfile.json +10 -10
- package/docs/capabilities/_responses/jackpotGet.json +33 -34
- package/docs/capabilities/gamePickGetActiveRound.md +22 -23
- package/docs/capabilities/gamePickGetActiveRounds.md +22 -23
- package/docs/capabilities/gamePickGetBoard.md +14 -14
- package/docs/capabilities/gamePickGetGameInfo.md +24 -44
- package/docs/capabilities/gamePickGetHistory.md +22 -23
- package/docs/capabilities/gamePickGetUserInfo.md +5 -5
- package/docs/capabilities/getActivityLog.md +69 -9
- package/docs/capabilities/getAvatarsCustomized.md +3 -3
- package/docs/capabilities/getBadges.md +13 -14
- package/docs/capabilities/getBonuses.md +2 -17
- package/docs/capabilities/getClanInfo.md +8 -8
- package/docs/capabilities/getClans.md +4 -4
- package/docs/capabilities/getCurrentLevel.md +12 -12
- package/docs/capabilities/getInboxMessageBody.md +2 -2
- package/docs/capabilities/getInboxMessages.md +3 -3
- package/docs/capabilities/getInboxUnreadCount.md +6 -0
- package/docs/capabilities/getJackpotWinners.md +9 -8
- package/docs/capabilities/getLeaderBoard.md +5 -5
- package/docs/capabilities/getMiniGames.md +35 -37
- package/docs/capabilities/getMiniGamesHistory.md +83 -2
- package/docs/capabilities/getMissions.md +1 -1
- package/docs/capabilities/getRaffleDrawRun.md +7 -7
- package/docs/capabilities/getRaffleDrawRunsHistory.md +3 -3
- package/docs/capabilities/getRaffles.md +8 -8
- package/docs/capabilities/getStorePurchasedItems.md +2 -2
- package/docs/capabilities/getTournamentInstanceInfo.md +45 -37
- package/docs/capabilities/getTournamentsList.md +6 -6
- package/docs/capabilities/getTranslations.md +1 -1
- package/docs/capabilities/getUserProfile.md +10 -10
- package/docs/capabilities/jackpotGet.md +56 -28
- package/docs/capabilities/jackpotOptIn.md +2 -0
- package/docs/capabilities/smarticoCallbacks.md +1 -1
- package/docs/native/PROTOCOL.md +141 -18
- package/docs/ui/jackpots/UIGuide_jackpotGet.md +1 -1
- package/docs/ui/user/UIGuide_getActivityLog.md +4 -2
- package/package.json +4 -3
- package/scripts/capture-responses-browser.mjs +8 -1
- package/src/ActivityLog/ActivityLogActivities.ts +1 -1
- package/src/ActivityLog/ActivityLogEntry.ts +33 -21
- package/src/ActivityLog/ActivityLogMeta.ts +31 -0
- package/src/ActivityLog/GetActivityLogRequest.ts +2 -0
- package/src/ActivityLog/GetActivityLogResponse.ts +23 -49
- package/src/Jackpots/JackPotWinPushWinner.ts +35 -0
- package/src/Jackpots/JackPotWinner.ts +3 -1
- package/src/Jackpots/JackpotContributionRule.ts +25 -0
- package/src/Jackpots/JackpotDetails.ts +8 -0
- package/src/Jackpots/JackpotPot.ts +4 -2
- package/src/Jackpots/JackpotPublicMeta.ts +6 -2
- package/src/Jackpots/JackpotWinPush.ts +14 -2
- package/src/Jackpots/index.ts +2 -0
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/SmarticoAPI.ts +1 -44
- package/src/WSAPI/WSAPIBase.ts +0 -1
- package/src/WSAPI/WSAPIJackpots.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +20 -18
- package/src/WSAPI/WSAPIUser.ts +10 -53
- package/docs/api/interfaces/GemsDiamondsLog.md +0 -45
- package/docs/api/interfaces/PointsLog.md +0 -45
- package/docs/api/interfaces/TActivityLogEntry.md +0 -100
- package/docs/api/type-aliases/ActivityLogEntry.md +0 -3
- package/docs/capabilities/getActivityLogV2.md +0 -62
package/dist/index.modern.mjs
CHANGED
|
@@ -513,6 +513,7 @@ const SAWTemplatesTransform = items => {
|
|
|
513
513
|
earliest_expiration_dt: r.earliest_expiration_dt,
|
|
514
514
|
latest_expiration_dt: r.latest_expiration_dt,
|
|
515
515
|
steps_to_finish_game: r.saw_template_ui_definition.steps_to_finish_game,
|
|
516
|
+
min_steps_to_finish_game: r.saw_template_ui_definition.min_steps_to_finish_game,
|
|
516
517
|
custom_section_id: r.saw_template_ui_definition.custom_section_id,
|
|
517
518
|
saw_template_ui_definition: r.saw_template_ui_definition
|
|
518
519
|
}, r.saw_game_type_id === SAWGameType.LootboxCalendarDays || r.saw_game_type_id === SAWGameType.LootboxWeekdays ? {
|
|
@@ -2204,7 +2205,6 @@ var onUpdateContextKey;
|
|
|
2204
2205
|
onUpdateContextKey["CurrentLevel"] = "currentLevel";
|
|
2205
2206
|
onUpdateContextKey["InboxUnreadCount"] = "inboxUnreadCount";
|
|
2206
2207
|
onUpdateContextKey["ActivityLog"] = "activityLog";
|
|
2207
|
-
onUpdateContextKey["ActivityLogV2"] = "activityLogV2";
|
|
2208
2208
|
onUpdateContextKey["AvatarsList"] = "avatarsList";
|
|
2209
2209
|
onUpdateContextKey["AvatarsCustomized"] = "avatarsCustomized";
|
|
2210
2210
|
onUpdateContextKey["AvatarPrompts"] = "avatarPrompts";
|
|
@@ -2948,15 +2948,16 @@ class WSAPIUser extends WSAPIBase {
|
|
|
2948
2948
|
return OCache.use(onUpdateContextKey.LevelExtraCounters, ECacheContext.WSAPI, () => this.api.getUserGamificationInfoT(this.userExtId), CACHE_DATA_SEC);
|
|
2949
2949
|
}
|
|
2950
2950
|
/**
|
|
2951
|
-
* Returns the user's
|
|
2952
|
-
*
|
|
2953
|
-
*
|
|
2954
|
-
*
|
|
2951
|
+
* Returns the user's activity history within the requested time window,
|
|
2952
|
+
* ordered newest-first. Today that is primarily wallet changes (points /
|
|
2953
|
+
* gems / diamonds); when the server starts returning richer activity rows
|
|
2954
|
+
* (missions, badges, levels, …), the same method surfaces them via optional
|
|
2955
|
+
* fields on {@link TActivityLog} — no separate call, same wire CID.
|
|
2955
2956
|
*
|
|
2956
|
-
*
|
|
2957
|
-
*
|
|
2958
|
-
*
|
|
2959
|
-
*
|
|
2957
|
+
* Existing wallet fields (`type`, `amount`, `balance`, `source_type_id`, …)
|
|
2958
|
+
* stay stable. Clients that only read those keep working; clients that want
|
|
2959
|
+
* the fuller feed can also read `activity_type_id`, `meta`,
|
|
2960
|
+
* `source_entity_*`, and `is_wallet_entry` when present.
|
|
2960
2961
|
*
|
|
2961
2962
|
* @remarks
|
|
2962
2963
|
* **Preconditions**
|
|
@@ -2969,7 +2970,7 @@ class WSAPIUser extends WSAPIBase {
|
|
|
2969
2970
|
* `from` by 50 between calls. Both `startTimeSeconds` and `endTimeSeconds`
|
|
2970
2971
|
* are epoch seconds bounding the window the server scans.
|
|
2971
2972
|
*
|
|
2972
|
-
* **Filtering** — optional server-side filters
|
|
2973
|
+
* **Filtering** — optional server-side filters:
|
|
2973
2974
|
* - `types` — {@link ActivityLogActivities} / `type_id` values (e.g. Points=3, Gems=1)
|
|
2974
2975
|
* - `src_types` — {@link PointChangeSourceType} / `source_type_id` values
|
|
2975
2976
|
* Omit both for an unfiltered window.
|
|
@@ -3059,36 +3060,6 @@ class WSAPIUser extends WSAPIBase {
|
|
|
3059
3060
|
onUpdate(payload);
|
|
3060
3061
|
}
|
|
3061
3062
|
}
|
|
3062
|
-
/**
|
|
3063
|
-
* Returns the full activity log (v2) — wallet changes **and** non-wallet
|
|
3064
|
-
* activities (missions, badges, levels, tournaments, avatars, …).
|
|
3065
|
-
*
|
|
3066
|
-
* **Backwards compatibility**: existing integrations should keep using
|
|
3067
|
-
* {@link getActivityLog}, which returns wallet-only {@link TActivityLog}
|
|
3068
|
-
* rows with the original field contract unchanged.
|
|
3069
|
-
*
|
|
3070
|
-
* **Pagination** — same `from` / `to` offset model as {@link getActivityLog}
|
|
3071
|
-
* (server caps a single response at 50 entries).
|
|
3072
|
-
*
|
|
3073
|
-
* **Filtering** — optional server-side filters:
|
|
3074
|
-
* - `types` — {@link ActivityLogActivities} values (`type_id`)
|
|
3075
|
-
* - `src_types` — {@link PointChangeSourceType} values (`source_type_id`)
|
|
3076
|
-
* Omit both for all activity types / sources.
|
|
3077
|
-
*
|
|
3078
|
-
* @returns Array of {@link TActivityLogEntry} ordered newest-first.
|
|
3079
|
-
*/
|
|
3080
|
-
async getActivityLogV2({
|
|
3081
|
-
startTimeSeconds,
|
|
3082
|
-
endTimeSeconds,
|
|
3083
|
-
from,
|
|
3084
|
-
to,
|
|
3085
|
-
types,
|
|
3086
|
-
src_types
|
|
3087
|
-
}) {
|
|
3088
|
-
var _types$join2, _src_types$join2;
|
|
3089
|
-
const cacheKey = `${onUpdateContextKey.ActivityLogV2}:${startTimeSeconds}:${endTimeSeconds}:${from}:${to}:${(_types$join2 = types == null ? void 0 : types.join(',')) != null ? _types$join2 : ''}:${(_src_types$join2 = src_types == null ? void 0 : src_types.join(',')) != null ? _src_types$join2 : ''}`;
|
|
3090
|
-
return await OCache.use(cacheKey, ECacheContext.WSAPI, () => this.api.getActivityLogV2T(this.userExtId, startTimeSeconds, endTimeSeconds, from, to, types, src_types), CACHE_DATA_SEC);
|
|
3091
|
-
}
|
|
3092
3063
|
}
|
|
3093
3064
|
|
|
3094
3065
|
/** @group General */
|
|
@@ -5865,6 +5836,8 @@ class WSAPIJackpots extends WSAPIClans {
|
|
|
5865
5836
|
* - The jackpot must currently be active and the user must be in its
|
|
5866
5837
|
* eligibility segment. Ineligible jackpots are filtered out of
|
|
5867
5838
|
* {@link jackpotGet} entirely, so a card the user sees is opt-in-able.
|
|
5839
|
+
* - Skip the opt-in CTA when the template reports `is_auto_opt_in: true` —
|
|
5840
|
+
* eligible users are enrolled automatically and there is nothing to join.
|
|
5868
5841
|
*
|
|
5869
5842
|
* **Error handling**
|
|
5870
5843
|
* The server returns a non-zero `errCode` with a human-readable `errMsg`
|
|
@@ -9612,7 +9585,7 @@ var BonusStatus;
|
|
|
9612
9585
|
BonusStatus[BonusStatus["EXPIRED"] = 6] = "EXPIRED";
|
|
9613
9586
|
})(BonusStatus || (BonusStatus = {}));
|
|
9614
9587
|
|
|
9615
|
-
/** Activity-log entry type as returned on the
|
|
9588
|
+
/** Activity-log entry type as returned on the wire (`type_id`). */
|
|
9616
9589
|
var ActivityLogActivities;
|
|
9617
9590
|
(function (ActivityLogActivities) {
|
|
9618
9591
|
ActivityLogActivities[ActivityLogActivities["Gems"] = 1] = "Gems";
|
|
@@ -9645,59 +9618,38 @@ var UserBalanceType;
|
|
|
9645
9618
|
})(UserBalanceType || (UserBalanceType = {}));
|
|
9646
9619
|
|
|
9647
9620
|
const ActivityLogTransform = items => {
|
|
9648
|
-
if (!items) {
|
|
9649
|
-
return [];
|
|
9650
|
-
}
|
|
9651
|
-
return items.map(item => {
|
|
9652
|
-
var _item$create_date$sec, _item$create_date, _item$type;
|
|
9653
|
-
const itemTransformed = {
|
|
9654
|
-
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,
|
|
9655
|
-
user_ext_id: item.user_ext_id,
|
|
9656
|
-
crm_brand_id: item.crm_brand_id,
|
|
9657
|
-
source_type_id: item.source_type_id
|
|
9658
|
-
};
|
|
9659
|
-
item.type = (_item$type = item.type) != null ? _item$type : UserBalanceType.Points;
|
|
9660
|
-
if (item.type === UserBalanceType.Diamonds || item.type === UserBalanceType.Gems) {
|
|
9661
|
-
itemTransformed.type = item.type;
|
|
9662
|
-
itemTransformed.amount = item.amount;
|
|
9663
|
-
itemTransformed.balance = item.balance;
|
|
9664
|
-
}
|
|
9665
|
-
if (item.type === UserBalanceType.Points) {
|
|
9666
|
-
itemTransformed.type = UserBalanceType.Points;
|
|
9667
|
-
itemTransformed.amount = item.points_collected;
|
|
9668
|
-
itemTransformed.balance = item.user_points_balance;
|
|
9669
|
-
itemTransformed.total_ever = item.user_points_ever;
|
|
9670
|
-
}
|
|
9671
|
-
return itemTransformed;
|
|
9672
|
-
});
|
|
9673
|
-
};
|
|
9674
|
-
const ActivityLogV2Transform = items => {
|
|
9675
9621
|
if (!items) {
|
|
9676
9622
|
return [];
|
|
9677
9623
|
}
|
|
9678
9624
|
return items.map(r => {
|
|
9679
|
-
var _r$create_date$second, _r$create_date, _r$
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
const
|
|
9625
|
+
var _r$type_id, _r$ctx_meta, _r$create_date$second, _r$create_date, _r$amount, _r$user_points_balanc, _r$ctx_, _r$source_entity_name, _r$source_ref_id;
|
|
9626
|
+
// The wire sends the activity kind as `type` (an ActivityLogActivities value).
|
|
9627
|
+
// `type_id` is accepted as an alias so an older/newer server spelling still maps.
|
|
9628
|
+
const activityTypeId = (_r$type_id = r.type_id) != null ? _r$type_id : r.type;
|
|
9629
|
+
const isGems = activityTypeId === ActivityLogActivities.Gems;
|
|
9630
|
+
const isDiamonds = activityTypeId === ActivityLogActivities.Diamonds;
|
|
9631
|
+
const meta = (_r$ctx_meta = r.ctx_meta) != null ? _r$ctx_meta : r.context_value_meta;
|
|
9632
|
+
return {
|
|
9683
9633
|
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,
|
|
9684
9634
|
user_ext_id: r.user_ext_id,
|
|
9685
|
-
|
|
9635
|
+
// Sent as a string on the wire.
|
|
9636
|
+
crm_brand_id: Number(r.crm_brand_id),
|
|
9686
9637
|
type: isGems ? UserBalanceType.Gems : isDiamonds ? UserBalanceType.Diamonds : UserBalanceType.Points,
|
|
9687
|
-
amount
|
|
9638
|
+
// `amount` carries the real delta; `points_collected` is a `-1` placeholder on points rows.
|
|
9639
|
+
amount: (_r$amount = r.amount) != null ? _r$amount : r.points_collected,
|
|
9688
9640
|
balance: (_r$user_points_balanc = r.user_points_balance) != null ? _r$user_points_balanc : r.balance,
|
|
9689
9641
|
total_ever: r.user_points_ever,
|
|
9690
9642
|
source_type_id: r.source_type_id,
|
|
9691
|
-
activity_type_id:
|
|
9692
|
-
context_value_1: r.context_value_1,
|
|
9693
|
-
meta
|
|
9694
|
-
|
|
9643
|
+
activity_type_id: activityTypeId,
|
|
9644
|
+
context_value_1: (_r$ctx_ = r.ctx_1) != null ? _r$ctx_ : r.context_value_1,
|
|
9645
|
+
meta,
|
|
9646
|
+
// Entity name travels inside the context meta, not as a top-level field.
|
|
9647
|
+
source_entity_name: (_r$source_entity_name = r.source_entity_name) != null ? _r$source_entity_name : meta == null ? void 0 : meta.name,
|
|
9695
9648
|
source_entity_id: r.source_entity_id,
|
|
9696
|
-
source_reference_id: r.source_reference_id,
|
|
9649
|
+
source_reference_id: (_r$source_ref_id = r.source_ref_id) != null ? _r$source_ref_id : r.source_reference_id,
|
|
9697
9650
|
source_root_id: r.source_root_id,
|
|
9698
|
-
is_wallet_entry:
|
|
9651
|
+
is_wallet_entry: activityTypeId == null || activityTypeId === ActivityLogActivities.Gems || activityTypeId === ActivityLogActivities.Diamonds || activityTypeId === ActivityLogActivities.Points
|
|
9699
9652
|
};
|
|
9700
|
-
return x;
|
|
9701
9653
|
});
|
|
9702
9654
|
};
|
|
9703
9655
|
|
|
@@ -10911,29 +10863,11 @@ class SmarticoAPI {
|
|
|
10911
10863
|
} : {}));
|
|
10912
10864
|
return await this.send(message, ClassId.GET_POINT_HISTORY_RESPONSE);
|
|
10913
10865
|
}
|
|
10914
|
-
async getActivityLogV2(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset, types, src_types) {
|
|
10915
|
-
const message = this.buildMessage(user_ext_id, ClassId.GET_POINT_HISTORY_REQUEST, _extends({
|
|
10916
|
-
startTimeSeconds: Math.floor(startTimeSeconds),
|
|
10917
|
-
endTimeSeconds: Math.floor(endTimeSeconds),
|
|
10918
|
-
limit,
|
|
10919
|
-
offset
|
|
10920
|
-
}, types ? {
|
|
10921
|
-
types
|
|
10922
|
-
} : {}, src_types ? {
|
|
10923
|
-
src_types
|
|
10924
|
-
} : {}));
|
|
10925
|
-
return await this.send(message, ClassId.GET_POINT_HISTORY_RESPONSE);
|
|
10926
|
-
}
|
|
10927
10866
|
async getActivityLogT(user_ext_id, startTimeSeconds, endTimeSeconds, from = 0, to = 50, types, src_types) {
|
|
10928
10867
|
const limit = to - from > 50 ? 50 : to - from;
|
|
10929
10868
|
const offset = from;
|
|
10930
10869
|
return ActivityLogTransform((await this.getActivityLog(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset, types, src_types)).logHistory);
|
|
10931
10870
|
}
|
|
10932
|
-
async getActivityLogV2T(user_ext_id, startTimeSeconds, endTimeSeconds, from = 0, to = 50, types, src_types) {
|
|
10933
|
-
const limit = to - from > 50 ? 50 : to - from;
|
|
10934
|
-
const offset = from;
|
|
10935
|
-
return ActivityLogV2Transform((await this.getActivityLogV2(user_ext_id, startTimeSeconds, endTimeSeconds, limit, offset, types, src_types)).logHistory);
|
|
10936
|
-
}
|
|
10937
10871
|
}
|
|
10938
10872
|
|
|
10939
10873
|
class CookieStore {
|
|
@@ -11583,5 +11517,5 @@ var JoinClanErrorCode;
|
|
|
11583
11517
|
JoinClanErrorCode[JoinClanErrorCode["JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START"] = 1011] = "JOIN_CLAN_JOINED_AFTER_TOURNAMENT_START";
|
|
11584
11518
|
})(JoinClanErrorCode || (JoinClanErrorCode = {}));
|
|
11585
11519
|
|
|
11586
|
-
export { AchCategoryTransform, AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter, AchievementAvailabilityStatus, AchievementClaimPeriodTypeId, AchievementStatus, AchievementTaskType, AchievementType, ActivityLogActivities, ActivityLogTransform,
|
|
11520
|
+
export { AchCategoryTransform, AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, AchOverviewMissionsFilter, AchievementAvailabilityStatus, AchievementClaimPeriodTypeId, AchievementStatus, AchievementTaskType, AchievementType, ActivityLogActivities, ActivityLogTransform, ActivityTypeLimited, AllRoundsGameBoardID, AnalyticsInboxSubScreenNameId, AnalyticsInterfaceType, AnalyticsScreenNameId, AnalyticsTournamentsLobbySubScreenNameId, AttemptPeriodType, AvatarCustomizeErrorCode, BadgesTimeLimitStates, BonusItemsTransform, BonusStatus, BuyStoreItemErrorCode, ClassId, CookieStore, CoreUtils, ECacheContext, GPRoundStatus, GamePickMarketType, GamePickResolutionType, GamePickScoreType, GamePickSportType, GameRoundOrderType, GetJackpotEligibleGamesResponseTransform, GetJackpotWinnersResponseTransform, GetLevelMapResponseTransform, InboxCategories, InboxMessageBodyTransform, InboxMessageType, InboxMessagesTransform, InboxReadStatus, JackPotTemparature, JackpotContributionType, JackpotType, JoinClanErrorCode, LeaderBoardPeriodType, LiquidEntityData, MiniGamePrizeTypeName, MiniGamePrizeTypeNamed, MissionCategory, MissionUtils, OCache, OpenLinksType, PointChangeSourceType, PrizeModifiers, PrizeModifiersKeysNames, PublicLabelSettings, QuizAnswersValueType, QuizMarketPerSport, QuizSportType, RaffleDrawInstanceState, RaffleDrawTypeExecution, RaffleTicketCapVisualization, SAWAcknowledgeType, SAWAcknowledgeTypeName, SAWAcknowledgeTypeNamed, SAWAskForUsername, SAWBuyInType, SAWBuyInTypeName, SAWBuyInTypeNamed, SAWExposeUserSpinId, SAWExposeUserSpinIdName, SAWExposeUserSpinIdNamed, SAWGPMarketType, SAWGameDifficultyType, SAWGameDifficultyTypeName, SAWGameLayout, SAWGameLayoutName, SAWGameLayoutNamed, SAWGameType, SAWGameTypeName, SAWGameTypeNamed, SAWHistoryTransform, SAWPrizeType, SAWSpinErrorCode, SAWTemplatesTransform, SAWUtils, SAWWheelLayout, SAWWinSoundFiles, SAWWinSoundType, SawGameDifficultyTypeNamed, ScheduledMissionType, SmarticoAPI, StoreCategoryTransform, StoreItemPurchaseType, StoreItemPurchasedTransform, StoreItemTransform, StoreItemType, StoreItemTypeName, StoreItemTypeNamed, TournamentInstanceStatus, TournamentInstanceStatusName, TournamentItemsTransform, TournamentRegistrationError, TournamentRegistrationStatus, TournamentRegistrationStatusName, TournamentRegistrationStatusNamed, TournamentRegistrationType, TournamentRegistrationTypeGetName, TournamentType, TournamentUtils, TranslationArea, UICustomSectionTransform, UserAchievementTransform, UserBalanceType, WSAPI, avatarCustomizedTransform, avatarDefinitionTransform, avatarPromptTransform, clanTournamentPlayersTransform, drawRunHistoryTransform, drawRunTransform, drawTransform, enrichUserAchievementsWithBadgeState, getLeaderBoardTransform, marketsInfo, prizeTransform, quizAnswerAwayTeamReplacementText, quizAnswerHomeTeamReplacementText, quizAnswersTrKeys, quizDrawReplacementText, quizEvenReplacementText, quizNoGoalsReplacementText, quizNoReplacementText, quizOddReplacementText, quizOrReplacementText, quizSupportedSports, quizYesReplacementText, raffleClaimPrizeResponseTransform, raffleTransform, ticketsTransform, tournamentInfoItemTransform, winnersTransform };
|
|
11587
11521
|
//# sourceMappingURL=index.modern.mjs.map
|