@smartico/public-api 0.0.418 → 0.0.419
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/ActivityLog/ActivityLogActivities.d.ts +2 -1
- package/dist/ActivityLog/PointChangeSourceType.d.ts +2 -1
- package/dist/Base/ClassId.d.ts +1 -0
- package/dist/WSAPI/WSAPIMiniGames.d.ts +4 -4
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +7 -4
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/README.md +5 -0
- package/docs/api/classes/WSAPIJackpots.md +3 -1
- package/docs/api/classes/WSAPIMiniGames.md +7 -2
- package/docs/api/classes/WSAPIUser.md +49 -0
- package/docs/api/enumerations/ActivityLogActivities.md +123 -0
- package/docs/api/enumerations/PointChangeSourceType.md +6 -0
- package/docs/api/interfaces/ActivityLogMeta.md +37 -0
- package/docs/api/interfaces/SAWPrizeDropAknowledgeCancelRequest.md +47 -0
- package/docs/api/interfaces/SAWPrizeDropAknowledgeCancelResponse.md +41 -0
- package/docs/api/interfaces/SAWTemplateUI.md +1 -1
- package/docs/api/interfaces/TActivityLogEntry.md +100 -0
- package/docs/capabilities/getActivityLogV2.md +62 -0
- package/docs/capabilities/getJackpotWinners.md +3 -1
- package/docs/capabilities/miniGameWinAcknowledgeRequest.md +1 -1
- package/docs/native/PROTOCOL.md +33 -1
- package/package.json +1 -1
- package/src/ActivityLog/ActivityLogActivities.ts +1 -0
- package/src/ActivityLog/PointChangeSourceType.ts +1 -0
- package/src/Base/ClassId.ts +2 -0
- package/src/WSAPI/WSAPIMiniGames.ts +4 -4
- package/tsconfig.json +4 -1
package/dist/index.modern.mjs
CHANGED
|
@@ -172,6 +172,7 @@ var ClassId;
|
|
|
172
172
|
*/
|
|
173
173
|
ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ"] = 1003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ";
|
|
174
174
|
ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP"] = 2003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP";
|
|
175
|
+
ClassId[ClassId["FORM_SHOW_PUSH"] = 1050] = "FORM_SHOW_PUSH";
|
|
175
176
|
ClassId[ClassId["CLIENT_DEBUG_REQUEST"] = 77777] = "CLIENT_DEBUG_REQUEST";
|
|
176
177
|
/*
|
|
177
178
|
!Important, if adding new messages that are 'acting' on behalf of the client,
|
|
@@ -7306,10 +7307,10 @@ class WSAPIMiniGames extends WSAPIRaffles {
|
|
|
7306
7307
|
* (played with `acknowledge: false`), or the
|
|
7307
7308
|
* `client_request_id` of a
|
|
7308
7309
|
* {@link getMiniGamesHistory} row.
|
|
7309
|
-
* @param
|
|
7310
|
-
*
|
|
7311
|
-
*
|
|
7312
|
-
*
|
|
7310
|
+
* @param lose Optional. When `true`, finalises the spin as
|
|
7311
|
+
* lost — the prize is not credited and returns
|
|
7312
|
+
* to the prize pool (see "Finalising as lost").
|
|
7313
|
+
* Omit (or pass `false`) to deliver the win.
|
|
7313
7314
|
*
|
|
7314
7315
|
* @example
|
|
7315
7316
|
* ```ts
|
|
@@ -9617,6 +9618,7 @@ var ActivityLogActivities;
|
|
|
9617
9618
|
ActivityLogActivities[ActivityLogActivities["Leaderboard"] = 17] = "Leaderboard";
|
|
9618
9619
|
ActivityLogActivities[ActivityLogActivities["Tournament"] = 18] = "Tournament";
|
|
9619
9620
|
ActivityLogActivities[ActivityLogActivities["ClanTournament"] = 19] = "ClanTournament";
|
|
9621
|
+
ActivityLogActivities[ActivityLogActivities["Clan"] = 20] = "Clan";
|
|
9620
9622
|
})(ActivityLogActivities || (ActivityLogActivities = {}));
|
|
9621
9623
|
|
|
9622
9624
|
var UserBalanceType;
|
|
@@ -9703,6 +9705,7 @@ var PointChangeSourceType;
|
|
|
9703
9705
|
PointChangeSourceType[PointChangeSourceType["DynamicFormula"] = 19] = "DynamicFormula";
|
|
9704
9706
|
PointChangeSourceType[PointChangeSourceType["Raffle"] = 21] = "Raffle";
|
|
9705
9707
|
PointChangeSourceType[PointChangeSourceType["Avatars"] = 22] = "Avatars";
|
|
9708
|
+
PointChangeSourceType[PointChangeSourceType["Clan"] = 23] = "Clan";
|
|
9706
9709
|
})(PointChangeSourceType || (PointChangeSourceType = {}));
|
|
9707
9710
|
|
|
9708
9711
|
const avatarDefinitionTransform = (items, avatarDomain) => {
|