@smartico/public-api 0.0.126 → 0.0.128

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.
@@ -1,10 +1,12 @@
1
1
  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, TUserProfile, UserLevelExtraCountersT } from "./WSAPITypes";
3
3
  import { LeaderBoardPeriodType } from "../Leaderboard";
4
+ import { JackpotDetails, JackpotsOptinResponse, JackpotsOptoutResponse } from "src/Jackpots";
4
5
  /** @group General API */
5
6
  export declare class WSAPI {
6
7
  private api;
7
8
  private onUpdateCallback;
9
+ private jackpotGetSignature;
8
10
  /** @private */
9
11
  constructor(api: SmarticoAPI);
10
12
  /** Returns information about current user
@@ -176,4 +178,15 @@ export declare class WSAPI {
176
178
  private updateTournamentsOnRegistration;
177
179
  private updateInboxMessages;
178
180
  private updateEntity;
181
+ private jackpotClearCache;
182
+ jackpotGet(filter?: {
183
+ related_game_id?: string;
184
+ jp_template_id?: number;
185
+ }): Promise<JackpotDetails[]>;
186
+ jackpotOptIn(filter: {
187
+ jp_template_id: number;
188
+ }): Promise<JackpotsOptinResponse>;
189
+ jackpotOptOut(filter: {
190
+ jp_template_id: number;
191
+ }): Promise<JackpotsOptoutResponse>;
179
192
  }