@smartico/public-api 0.0.205 → 0.0.207
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/MiniGames/SAWPrize.d.ts +1 -0
- package/dist/WSAPI/WSAPI.d.ts +2 -2
- package/dist/WSAPI/WSAPITypes.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +1 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/interfaces/TMiniGamePrize.md +9 -0
- package/package.json +1 -1
- package/src/MiniGames/SAWGetTemplatesResponse.ts +1 -0
- package/src/MiniGames/SAWPrize.ts +1 -0
- package/src/WSAPI/WSAPI.ts +2 -1
- package/src/WSAPI/WSAPITypes.ts +2 -0
package/dist/WSAPI/WSAPI.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SmarticoAPI } from '../SmarticoAPI';
|
|
|
2
2
|
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 } from './WSAPITypes';
|
|
3
3
|
import { LeaderBoardPeriodType } from '../Leaderboard';
|
|
4
4
|
import { JackpotDetails, JackpotsOptinResponse, JackpotsOptoutResponse } from '../Jackpots';
|
|
5
|
-
import {
|
|
5
|
+
import { GetRelatedAchTourResponse } from 'src/Missions/GetRelatedAchTourResponse';
|
|
6
6
|
/** @group General API */
|
|
7
7
|
export declare class WSAPI {
|
|
8
8
|
private api;
|
|
@@ -530,5 +530,5 @@ export declare class WSAPI {
|
|
|
530
530
|
* });
|
|
531
531
|
* ```
|
|
532
532
|
*/
|
|
533
|
-
getRelatedItemsForGame(related_game_id: string): Promise<
|
|
533
|
+
getRelatedItemsForGame(related_game_id: string): Promise<GetRelatedAchTourResponse>;
|
|
534
534
|
}
|
|
@@ -40,6 +40,7 @@ export interface TMiniGamePrize {
|
|
|
40
40
|
active_till_ts?: number;
|
|
41
41
|
relative_period_timezone?: number;
|
|
42
42
|
is_surcharge?: boolean;
|
|
43
|
+
is_deleted?: boolean;
|
|
43
44
|
/** The custom data of the mini-game defined by operator in the BackOffice. Can be a JSON object, string or number */
|
|
44
45
|
custom_data?: any;
|
|
45
46
|
/** Prize modifiers that will multiply by 2x, 5x or 10x the current total. This will not affect the final Prize Amount that will be awarded. */
|
package/dist/index.js
CHANGED
|
@@ -434,6 +434,7 @@ var SAWTemplatesTransform = function SAWTemplatesTransform(items) {
|
|
|
434
434
|
active_till_ts: p.active_till_ts,
|
|
435
435
|
relative_period_timezone: p.relative_period_timezone,
|
|
436
436
|
is_surcharge: p.is_surcharge,
|
|
437
|
+
is_deleted: p.is_deleted,
|
|
437
438
|
custom_data: IntUtils.JsonOrText(r.saw_template_ui_definition.custom_data),
|
|
438
439
|
prize_modifiers: p.saw_prize_ui_definition.prize_modifiers,
|
|
439
440
|
allow_split_decimal: p.saw_prize_ui_definition.allow_split_decimal
|