@smartico/public-api 0.0.263 → 0.0.264
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/Core/GetAchievementsUserInfoResponse.d.ts +2 -0
- package/dist/Jackpots/GetJackpotWinnersRequest.d.ts +1 -1
- package/dist/Raffle/GetDrawRunResponse.d.ts +1 -1
- package/dist/Raffle/GetRaffleDrawRunsHistoryResponse.d.ts +1 -1
- package/dist/Raffle/GetRafflesResponse.d.ts +1 -1
- package/dist/Raffle/RaffleClaimPrizeResponse.d.ts +1 -1
- package/dist/WSAPI/WSAPI.d.ts +1 -1
- package/dist/WSAPI/WSAPITypes.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Core/GetAchievementsUserInfoResponse.ts +2 -0
- package/src/Jackpots/GetJackpotWinnersRequest.ts +1 -1
- package/src/Raffle/GetDrawRunResponse.ts +1 -1
- package/src/Raffle/GetRaffleDrawRunsHistoryResponse.ts +1 -1
- package/src/Raffle/GetRafflesResponse.ts +1 -2
- package/src/Raffle/RaffleClaimPrizeResponse.ts +1 -1
- package/src/WSAPI/WSAPI.ts +1 -1
- package/src/WSAPI/WSAPITypes.ts +2 -1
|
@@ -3,6 +3,8 @@ export interface GetAchievementsUserInfoResponse extends ProtocolResponse {
|
|
|
3
3
|
level_counter_1?: number;
|
|
4
4
|
level_counter_2?: number;
|
|
5
5
|
points_balance: number;
|
|
6
|
+
gems_balance: number;
|
|
7
|
+
diamonds_balance: number;
|
|
6
8
|
points_ever: number;
|
|
7
9
|
current_level: number;
|
|
8
10
|
points_board_period_type_1: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TRaffleDraw } from '
|
|
1
|
+
import { TRaffleDraw } from '../WSAPI/WSAPITypes';
|
|
2
2
|
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
3
3
|
import { RaffleDraw } from './RaffleDraw';
|
|
4
4
|
export interface GetDrawRunResponse extends ProtocolResponse {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TRaffleDrawRun } from '
|
|
1
|
+
import { TRaffleDrawRun } from '../WSAPI/WSAPITypes';
|
|
2
2
|
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
3
3
|
import { RaffleDrawRun } from './RaffleDrawRun';
|
|
4
4
|
export interface GetRaffleDrawRunsHistoryResponse extends ProtocolResponse {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TRaffle, TRaffleDraw, TRafflePrize, TRafflePrizeWinner, TRaffleTicket } from '
|
|
1
|
+
import { TRaffle, TRaffleDraw, TRafflePrize, TRafflePrizeWinner, TRaffleTicket } from '../WSAPI/WSAPITypes';
|
|
2
2
|
import { ProtocolResponse } from '../Base/ProtocolResponse';
|
|
3
3
|
import { Raffle } from './Raffle';
|
|
4
4
|
import { RaffleDraw } from './RaffleDraw';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransformedRaffleClaimPrizeResponse } from "
|
|
1
|
+
import { TransformedRaffleClaimPrizeResponse } from "../WSAPI/WSAPITypes";
|
|
2
2
|
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
3
3
|
export interface RaffleClaimPrizeResponse extends ProtocolResponse {
|
|
4
4
|
errCode: number;
|
package/dist/WSAPI/WSAPI.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { LeaderBoardPeriodType } from '../Leaderboard';
|
|
|
4
4
|
import { JackpotDetails, JackpotWinnerHistory, JackpotsOptinResponse, JackpotsOptoutResponse } from '../Jackpots';
|
|
5
5
|
import { GetRelatedAchTourResponse } from '../Missions/GetRelatedAchTourResponse';
|
|
6
6
|
import { InboxCategories } from '../Inbox/InboxCategories';
|
|
7
|
-
import { TGetJackpotEligibleGamesResponse } from '
|
|
7
|
+
import { TGetJackpotEligibleGamesResponse } from '../Jackpots/GetJackpotEligibleGamesResponse';
|
|
8
8
|
/** @group General API */
|
|
9
9
|
export declare class WSAPI {
|
|
10
10
|
private api;
|
|
@@ -7,7 +7,7 @@ import { AchCustomLayoutTheme, AchCustomSectionType, AchMissionsTabsOptions, Ach
|
|
|
7
7
|
import { BonusStatus, BonusTemplateMetaMap, BonusMetaMap } from '../Bonuses';
|
|
8
8
|
import { PrizeModifiers } from '../MiniGames/PrizeModifiers';
|
|
9
9
|
import { InboxCategories } from '../Inbox/InboxCategories';
|
|
10
|
-
import { RaffleDrawInstanceState, RaffleDrawTypeExecution } from '
|
|
10
|
+
import { RaffleDrawInstanceState, RaffleDrawTypeExecution } from '../Raffle';
|
|
11
11
|
type TRibbon = 'sale' | 'hot' | 'new' | 'vip' | string;
|
|
12
12
|
/**
|
|
13
13
|
* TMiniGamePrize describes the information of prize in the array of prizes in the TMiniGameTemplate
|