@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/Base/ClassId.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ export declare enum ClassId {
|
|
|
139
139
|
BNR_GET_BANNER_CONTENT_RESPONSE = 953,
|
|
140
140
|
REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
|
|
141
141
|
REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
|
|
142
|
+
FORM_SHOW_PUSH = 1050,
|
|
142
143
|
CLIENT_DEBUG_REQUEST = 77777,
|
|
143
144
|
UNSUPPORTED_COMMAND = 99999
|
|
144
145
|
}
|
|
@@ -496,10 +496,10 @@ export declare class WSAPIMiniGames extends WSAPIRaffles {
|
|
|
496
496
|
* (played with `acknowledge: false`), or the
|
|
497
497
|
* `client_request_id` of a
|
|
498
498
|
* {@link getMiniGamesHistory} row.
|
|
499
|
-
* @param
|
|
500
|
-
*
|
|
501
|
-
*
|
|
502
|
-
*
|
|
499
|
+
* @param lose Optional. When `true`, finalises the spin as
|
|
500
|
+
* lost — the prize is not credited and returns
|
|
501
|
+
* to the prize pool (see "Finalising as lost").
|
|
502
|
+
* Omit (or pass `false`) to deliver the win.
|
|
503
503
|
*
|
|
504
504
|
* @example
|
|
505
505
|
* ```ts
|
package/dist/index.js
CHANGED
|
@@ -172,6 +172,7 @@ exports.ClassId = void 0;
|
|
|
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,
|
|
@@ -7783,10 +7784,10 @@ var WSAPIMiniGames = /*#__PURE__*/function (_WSAPIRaffles) {
|
|
|
7783
7784
|
* (played with `acknowledge: false`), or the
|
|
7784
7785
|
* `client_request_id` of a
|
|
7785
7786
|
* {@link getMiniGamesHistory} row.
|
|
7786
|
-
* @param
|
|
7787
|
-
*
|
|
7788
|
-
*
|
|
7789
|
-
*
|
|
7787
|
+
* @param lose Optional. When `true`, finalises the spin as
|
|
7788
|
+
* lost — the prize is not credited and returns
|
|
7789
|
+
* to the prize pool (see "Finalising as lost").
|
|
7790
|
+
* Omit (or pass `false`) to deliver the win.
|
|
7790
7791
|
*
|
|
7791
7792
|
* @example
|
|
7792
7793
|
* ```ts
|
|
@@ -10361,6 +10362,7 @@ exports.ActivityLogActivities = void 0;
|
|
|
10361
10362
|
ActivityLogActivities[ActivityLogActivities["Leaderboard"] = 17] = "Leaderboard";
|
|
10362
10363
|
ActivityLogActivities[ActivityLogActivities["Tournament"] = 18] = "Tournament";
|
|
10363
10364
|
ActivityLogActivities[ActivityLogActivities["ClanTournament"] = 19] = "ClanTournament";
|
|
10365
|
+
ActivityLogActivities[ActivityLogActivities["Clan"] = 20] = "Clan";
|
|
10364
10366
|
})(exports.ActivityLogActivities || (exports.ActivityLogActivities = {}));
|
|
10365
10367
|
|
|
10366
10368
|
exports.UserBalanceType = void 0;
|
|
@@ -10447,6 +10449,7 @@ exports.PointChangeSourceType = void 0;
|
|
|
10447
10449
|
PointChangeSourceType[PointChangeSourceType["DynamicFormula"] = 19] = "DynamicFormula";
|
|
10448
10450
|
PointChangeSourceType[PointChangeSourceType["Raffle"] = 21] = "Raffle";
|
|
10449
10451
|
PointChangeSourceType[PointChangeSourceType["Avatars"] = 22] = "Avatars";
|
|
10452
|
+
PointChangeSourceType[PointChangeSourceType["Clan"] = 23] = "Clan";
|
|
10450
10453
|
})(exports.PointChangeSourceType || (exports.PointChangeSourceType = {}));
|
|
10451
10454
|
|
|
10452
10455
|
var avatarDefinitionTransform = function avatarDefinitionTransform(items, avatarDomain) {
|