@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
package/package.json
CHANGED
|
@@ -4,6 +4,8 @@ export interface GetAchievementsUserInfoResponse extends ProtocolResponse {
|
|
|
4
4
|
level_counter_1?: number;
|
|
5
5
|
level_counter_2?: number;
|
|
6
6
|
points_balance: number;
|
|
7
|
+
gems_balance: number;
|
|
8
|
+
diamonds_balance: number;
|
|
7
9
|
points_ever: number;
|
|
8
10
|
current_level: number;
|
|
9
11
|
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
|
import { prizeTransform, ticketsTransform } from './GetRafflesResponse';
|
|
@@ -1,10 +1,9 @@
|
|
|
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';
|
|
5
5
|
import { RafflePrize } from './RafflePrize';
|
|
6
6
|
import { RafflePrizeWinner } from './RafflePrizeWinner';
|
|
7
|
-
import { CoreUtils } from 'src/Core';
|
|
8
7
|
import { RaffleTicket } from './RaffleTicket';
|
|
9
8
|
|
|
10
9
|
export interface GetRafflesResponse extends ProtocolResponse {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TransformedRaffleClaimPrizeResponse } from "
|
|
1
|
+
import { TransformedRaffleClaimPrizeResponse } from "../WSAPI/WSAPITypes";
|
|
2
2
|
import { ProtocolResponse } from "../Base/ProtocolResponse";
|
|
3
3
|
|
|
4
4
|
export interface RaffleClaimPrizeResponse extends ProtocolResponse {
|
package/src/WSAPI/WSAPI.ts
CHANGED
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
raffleClaimPrizeResponseTransform,
|
|
71
71
|
} from '../Raffle';
|
|
72
72
|
import { IntUtils } from '../IntUtils';
|
|
73
|
-
import { JackpotEligibleGame, TGetJackpotEligibleGamesResponse } from '
|
|
73
|
+
import { JackpotEligibleGame, TGetJackpotEligibleGamesResponse } from '../Jackpots/GetJackpotEligibleGamesResponse';
|
|
74
74
|
|
|
75
75
|
/** @hidden */
|
|
76
76
|
const CACHE_DATA_SEC = 30;
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -7,7 +7,8 @@ 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
|
+
import { JackPotWinner } from '../Jackpots/JackPotWinner';
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
type TRibbon = 'sale' | 'hot' | 'new' | 'vip' | string;
|