@smartico/public-api 0.0.381 → 0.0.383
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/GamePick/GamePickTypes.d.ts +461 -0
- package/dist/GamePick/MarketsAnswers.d.ts +40 -0
- package/dist/GamePick/MarketsInfo.d.ts +14 -0
- package/dist/GamePick/MarketsPerSport.d.ts +6 -0
- package/dist/GamePick/MarketsType.d.ts +28 -0
- package/dist/GamePick/ScoreResultTypes.d.ts +28 -0
- package/dist/GamePick/SportTypes.d.ts +6 -0
- package/dist/GamePick/index.d.ts +7 -0
- package/dist/MiniGames/SAWGameType.d.ts +3 -1
- package/dist/MiniGames/SAWTemplateUI.d.ts +7 -0
- package/dist/SmarticoAPI.d.ts +1 -1
- package/dist/WSAPI/WSAPIGamePick.d.ts +1 -1
- package/dist/WSAPI/WSAPITypes.d.ts +2 -460
- package/dist/index.d.ts +1 -1
- package/dist/index.js +139 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +140 -2
- package/dist/index.modern.mjs.map +1 -1
- package/docs/api/README.md +2 -22
- package/docs/api/classes/WSAPIGamePick.md +42 -42
- package/docs/api/enumerations/SAWGameType.md +6 -0
- package/docs/api/enumerations/SAWGameTypeName.md +6 -0
- package/docs/api/interfaces/SAWTemplateUI.md +11 -0
- package/package.json +1 -1
- package/src/GamePick/GamePickTypes.ts +471 -0
- package/src/{Quiz → GamePick}/index.ts +1 -0
- package/src/MiniGames/SAWGameType.ts +3 -0
- package/src/MiniGames/SAWTemplateUI.ts +10 -0
- package/src/SmarticoAPI.ts +1 -7
- package/src/WSAPI/WSAPIGamePick.ts +1 -9
- package/src/WSAPI/WSAPITypes.ts +2 -471
- package/src/index.ts +1 -1
- package/docs/api/enumerations/GPRoundStatus.md +0 -43
- package/docs/api/enumerations/GamePickMarketType.md +0 -19
- package/docs/api/enumerations/GamePickResolutionType.md +0 -35
- package/docs/api/enumerations/GamePickScoreType.md +0 -19
- package/docs/api/enumerations/GamePickSportType.md +0 -375
- package/docs/api/enumerations/GameRoundOrderType.md +0 -35
- package/docs/api/interfaces/GamePickBoardUser.md +0 -75
- package/docs/api/interfaces/GamePickEvent.md +0 -123
- package/docs/api/interfaces/GamePickEventMeta.md +0 -201
- package/docs/api/interfaces/GamePickGameInfo.md +0 -27
- package/docs/api/interfaces/GamePickRequestParams.md +0 -39
- package/docs/api/interfaces/GamePickRound.md +0 -383
- package/docs/api/interfaces/GamePickRoundBase.md +0 -232
- package/docs/api/interfaces/GamePickRoundBoard.md +0 -359
- package/docs/api/interfaces/GamePickRoundPublicMeta.md +0 -103
- package/docs/api/interfaces/GamePickRoundRequestParams.md +0 -63
- package/docs/api/interfaces/GamePickUserInfo.md +0 -107
- package/docs/api/interfaces/GamesApiResponse.md +0 -33
- package/docs/api/interfaces/QuizEventMeta.md +0 -61
- package/docs/api/variables/AllRoundsGameBoardID.md +0 -5
- /package/src/{Quiz → GamePick}/MarketsAnswers.ts +0 -0
- /package/src/{Quiz → GamePick}/MarketsInfo.ts +0 -0
- /package/src/{Quiz → GamePick}/MarketsPerSport.ts +0 -0
- /package/src/{Quiz → GamePick}/MarketsType.ts +0 -0
- /package/src/{Quiz → GamePick}/ScoreResultTypes.ts +0 -0
- /package/src/{Quiz → GamePick}/SportTypes.ts +0 -0
|
@@ -9,8 +9,8 @@ import { InboxCategories } from '../Inbox/InboxCategories';
|
|
|
9
9
|
import { RaffleDrawInstanceState, RaffleDrawTypeExecution, RaffleTicketCapVisualization } from '../Raffle';
|
|
10
10
|
import { PointChangeSourceType } from '../ActivityLog/PointChangeSourceType';
|
|
11
11
|
import { UserBalanceType } from '../ActivityLog/UserBalanceType';
|
|
12
|
-
import { SAWGPMarketType } from '../
|
|
13
|
-
import { QuizAnswersValueType } from '../
|
|
12
|
+
import { SAWGPMarketType } from '../GamePick/MarketsType';
|
|
13
|
+
import { QuizAnswersValueType } from '../GamePick/MarketsAnswers';
|
|
14
14
|
import { AchievementClaimPeriodTypeId } from '../Missions/AchievementClaimTypeId';
|
|
15
15
|
/** Preset ribbon keys or a custom image URL. For custom images **250×300 px** */
|
|
16
16
|
type TRibbon = 'sale' | 'hot' | 'new' | 'vip' | string;
|
|
@@ -1623,464 +1623,6 @@ export interface TRaffleOptinResponse {
|
|
|
1623
1623
|
/** Optional error message; populated on non-zero `err_code`. */
|
|
1624
1624
|
err_message?: string;
|
|
1625
1625
|
}
|
|
1626
|
-
/**
|
|
1627
|
-
* GamePickMarketType defines legacy market categories for MatchX events
|
|
1628
|
-
*/
|
|
1629
|
-
export declare enum GamePickMarketType {
|
|
1630
|
-
/** Predict the number of goals */
|
|
1631
|
-
Goals = 1,
|
|
1632
|
-
/** Predict the winner */
|
|
1633
|
-
Winner = 2
|
|
1634
|
-
}
|
|
1635
|
-
/**
|
|
1636
|
-
* GamePickResolutionType defines how a user's prediction was scored after event resolution
|
|
1637
|
-
*/
|
|
1638
|
-
export declare enum GamePickResolutionType {
|
|
1639
|
-
/** Event not yet resolved */
|
|
1640
|
-
None = 0,
|
|
1641
|
-
/** Prediction was wrong */
|
|
1642
|
-
Lost = 2,
|
|
1643
|
-
/** Prediction was partially correct (e.g. correct winner but wrong score) */
|
|
1644
|
-
PartialWin = 3,
|
|
1645
|
-
/** Prediction was fully correct */
|
|
1646
|
-
FullWin = 4
|
|
1647
|
-
}
|
|
1648
|
-
/**
|
|
1649
|
-
* GPRoundStatus defines the lifecycle stage of a game round
|
|
1650
|
-
*/
|
|
1651
|
-
export declare enum GPRoundStatus {
|
|
1652
|
-
/** Round is in an active/other state */
|
|
1653
|
-
Other = -1,
|
|
1654
|
-
/** Round exists but has no events defined yet */
|
|
1655
|
-
NoEventsDefined = 1,
|
|
1656
|
-
/** Betting deadline has passed, no more bets allowed */
|
|
1657
|
-
NoMoreBetsAllowed = 2,
|
|
1658
|
-
/** All events in the round are resolved, but the round itself is not finalized */
|
|
1659
|
-
AllEventsResolved_ButNotRound = 3,
|
|
1660
|
-
/** Round is fully resolved and scored */
|
|
1661
|
-
RoundResolved = 4
|
|
1662
|
-
}
|
|
1663
|
-
/**
|
|
1664
|
-
* GamePickScoreType defines how scores are calculated for predictions
|
|
1665
|
-
*/
|
|
1666
|
-
export declare enum GamePickScoreType {
|
|
1667
|
-
/** Score based on exact match of predicted result */
|
|
1668
|
-
ExactScore = 1,
|
|
1669
|
-
/** Score based on closeness (difference) of predicted result */
|
|
1670
|
-
PointsDifference = 2
|
|
1671
|
-
}
|
|
1672
|
-
/**
|
|
1673
|
-
* GamePickSportType defines supported sport types for events, using Betradar sport IDs
|
|
1674
|
-
*/
|
|
1675
|
-
export declare enum GamePickSportType {
|
|
1676
|
-
Soccer = 1,
|
|
1677
|
-
Basketball = 2,
|
|
1678
|
-
Baseball = 3,
|
|
1679
|
-
IceHockey = 4,
|
|
1680
|
-
Tennis = 5,
|
|
1681
|
-
Handball = 6,
|
|
1682
|
-
Floorball = 7,
|
|
1683
|
-
Golf = 9,
|
|
1684
|
-
Boxing = 10,
|
|
1685
|
-
Motorsport = 11,
|
|
1686
|
-
Rugby = 12,
|
|
1687
|
-
AussieRules = 13,
|
|
1688
|
-
Bandy = 15,
|
|
1689
|
-
AmericanFootball = 16,
|
|
1690
|
-
Cycling = 17,
|
|
1691
|
-
Specials = 18,
|
|
1692
|
-
Snooker = 19,
|
|
1693
|
-
TableTennis = 20,
|
|
1694
|
-
Cricket = 21,
|
|
1695
|
-
Darts = 22,
|
|
1696
|
-
Volleyball = 23,
|
|
1697
|
-
FieldHockey = 24,
|
|
1698
|
-
Waterpolo = 26,
|
|
1699
|
-
Curling = 28,
|
|
1700
|
-
Futsal = 29,
|
|
1701
|
-
Badminton = 31,
|
|
1702
|
-
Bowls = 32,
|
|
1703
|
-
Chess = 33,
|
|
1704
|
-
BeachVolley = 34,
|
|
1705
|
-
Netball = 35,
|
|
1706
|
-
Athletics = 36,
|
|
1707
|
-
Squash = 37,
|
|
1708
|
-
Lacrosse = 39,
|
|
1709
|
-
Formula1 = 40,
|
|
1710
|
-
AlpineSkiing = 43,
|
|
1711
|
-
Biathlon = 44,
|
|
1712
|
-
CrossCountry = 46,
|
|
1713
|
-
NordicCombined = 47,
|
|
1714
|
-
SkiJumping = 48,
|
|
1715
|
-
Schwingen = 56,
|
|
1716
|
-
BeachSoccer = 60,
|
|
1717
|
-
Pesapallo = 61,
|
|
1718
|
-
ESportCounterStrike = 109,
|
|
1719
|
-
ESportLeagueofLegends = 110,
|
|
1720
|
-
ESportDota = 111,
|
|
1721
|
-
StarCraft = 112,
|
|
1722
|
-
MMA = 117,
|
|
1723
|
-
CallOfDuty = 118,
|
|
1724
|
-
ESportOverwatch = 121,
|
|
1725
|
-
ESportRocketLeague = 128,
|
|
1726
|
-
IndyRacing = 129,
|
|
1727
|
-
Speedway = 131,
|
|
1728
|
-
GaelicFootball = 135,
|
|
1729
|
-
GaelicHurling = 136,
|
|
1730
|
-
ESporteSoccer = 137,
|
|
1731
|
-
Kabaddi = 138,
|
|
1732
|
-
ESporteBasketball = 153,
|
|
1733
|
-
Basketball3x3 = 155,
|
|
1734
|
-
ESportArenaofValor = 158,
|
|
1735
|
-
TouringCarRacing = 188,
|
|
1736
|
-
MotorcycleRacing = 190,
|
|
1737
|
-
StockCarRacing = 191
|
|
1738
|
-
}
|
|
1739
|
-
/**
|
|
1740
|
-
* GameRoundOrderType defines how events within a round are ordered for display
|
|
1741
|
-
*/
|
|
1742
|
-
export declare enum GameRoundOrderType {
|
|
1743
|
-
/** Display in the order events were added */
|
|
1744
|
-
HowAdded = 1,
|
|
1745
|
-
/** Display in reverse of the order events were added */
|
|
1746
|
-
HowAddedReversed = 2,
|
|
1747
|
-
/** Display ordered by event/match date ascending (earliest first) */
|
|
1748
|
-
EventDateAscending = 3,
|
|
1749
|
-
/** Display ordered by event/match date descending (latest first) */
|
|
1750
|
-
EventDateDescending = 4
|
|
1751
|
-
}
|
|
1752
|
-
/** Round ID constant used to request the overall/seasonal leaderboard across all rounds */
|
|
1753
|
-
export declare const AllRoundsGameBoardID = -1;
|
|
1754
|
-
/**
|
|
1755
|
-
* QuizEventMeta describes metadata for a quiz-type event (custom question with answer options)
|
|
1756
|
-
*/
|
|
1757
|
-
export interface QuizEventMeta {
|
|
1758
|
-
/** List of possible answer options for the quiz question */
|
|
1759
|
-
answers?: {
|
|
1760
|
-
/** Answer identifier value sent on submission */
|
|
1761
|
-
value: string;
|
|
1762
|
-
/** Localized display text of the answer */
|
|
1763
|
-
text: string;
|
|
1764
|
-
/** Per-language overrides for the answer text */
|
|
1765
|
-
_translations: {
|
|
1766
|
-
[key: string]: {
|
|
1767
|
-
text: string;
|
|
1768
|
-
};
|
|
1769
|
-
};
|
|
1770
|
-
}[];
|
|
1771
|
-
/** URL of an image associated with the question */
|
|
1772
|
-
question_image?: string;
|
|
1773
|
-
/** Correct answer value after resolution */
|
|
1774
|
-
result?: QuizAnswersValueType;
|
|
1775
|
-
/** Custom question text displayed to the user */
|
|
1776
|
-
custom_question: string;
|
|
1777
|
-
}
|
|
1778
|
-
/**
|
|
1779
|
-
* GamePickEventMeta describes metadata for a MatchX or Quiz event, including team info and sport context
|
|
1780
|
-
*/
|
|
1781
|
-
export interface GamePickEventMeta extends QuizEventMeta {
|
|
1782
|
-
/** Display name of the event/match */
|
|
1783
|
-
event_name?: string;
|
|
1784
|
-
/** Name of the first team (home) */
|
|
1785
|
-
team1_name: string;
|
|
1786
|
-
/** URL of the first team's logo image */
|
|
1787
|
-
team1_image: string;
|
|
1788
|
-
/** Name of the second team (away) */
|
|
1789
|
-
team2_name: string;
|
|
1790
|
-
/** URL of the second team's logo image */
|
|
1791
|
-
team2_image: string;
|
|
1792
|
-
/** Actual result score for team 1 after resolution */
|
|
1793
|
-
team1_result?: number;
|
|
1794
|
-
/** Actual result score for team 2 after resolution */
|
|
1795
|
-
team2_result?: number;
|
|
1796
|
-
/** Betradar sport type ID for the event */
|
|
1797
|
-
sport_type_id?: number;
|
|
1798
|
-
/** Whether the event has been canceled */
|
|
1799
|
-
is_canceled?: boolean;
|
|
1800
|
-
/** Whether auto-resolution from live data feed is enabled */
|
|
1801
|
-
auto_resolve_enabled?: boolean;
|
|
1802
|
-
/** ISO date string for when auto-resolution is expected */
|
|
1803
|
-
auto_resolve_date?: string;
|
|
1804
|
-
/** Auto-resolved score for team 1 from live data feed */
|
|
1805
|
-
team1_auto_result?: number;
|
|
1806
|
-
/** Auto-resolved score for team 2 from live data feed */
|
|
1807
|
-
team2_auto_result?: number;
|
|
1808
|
-
/** Auto-resolved answer value from live data feed (for quiz events) */
|
|
1809
|
-
auto_result?: string;
|
|
1810
|
-
/** Per-language overrides for team names, event name, and custom question */
|
|
1811
|
-
_translations: {
|
|
1812
|
-
[key: string]: {
|
|
1813
|
-
team1_name: string;
|
|
1814
|
-
team2_name: string;
|
|
1815
|
-
event_name: string;
|
|
1816
|
-
custom_question: string;
|
|
1817
|
-
};
|
|
1818
|
-
};
|
|
1819
|
-
}
|
|
1820
|
-
/**
|
|
1821
|
-
* GamePickEvent describes a single event (match or question) within a round, including the user's prediction and resolution
|
|
1822
|
-
*/
|
|
1823
|
-
export interface GamePickEvent {
|
|
1824
|
-
/** Unique identifier of the event */
|
|
1825
|
-
gp_event_id: number;
|
|
1826
|
-
/** Timestamp (ms) when the event was resolved, null if not yet resolved */
|
|
1827
|
-
event_resolution_date: number;
|
|
1828
|
-
/** Timestamp (ms) of the match/event start time */
|
|
1829
|
-
match_date: number;
|
|
1830
|
-
/** Market type defining the prediction format (e.g. two-team score, quiz question, custom) */
|
|
1831
|
-
market_type_id: SAWGPMarketType;
|
|
1832
|
-
/** Event metadata containing team names, images, sport type, and question details */
|
|
1833
|
-
event_meta: GamePickEventMeta;
|
|
1834
|
-
/** Whether the current user has submitted a prediction for this event */
|
|
1835
|
-
user_placed_bet: boolean;
|
|
1836
|
-
/** User's predicted score for team 1 (MatchX only). Can be a number or a range object */
|
|
1837
|
-
team1_user_selection?: number | {
|
|
1838
|
-
from: number;
|
|
1839
|
-
to: number;
|
|
1840
|
-
};
|
|
1841
|
-
/** User's predicted score for team 2 (MatchX only). Can be a number or a range object */
|
|
1842
|
-
team2_user_selection?: number | {
|
|
1843
|
-
from: number;
|
|
1844
|
-
to: number;
|
|
1845
|
-
};
|
|
1846
|
-
/** User's selected answer (Quiz only). Value depends on market type (e.g. '1', '2', 'x', 'yes', 'no') */
|
|
1847
|
-
user_selection?: QuizAnswersValueType;
|
|
1848
|
-
/** How the user's prediction was scored after resolution */
|
|
1849
|
-
resolution_type_id: GamePickResolutionType;
|
|
1850
|
-
/** Points awarded for this event based on prediction accuracy */
|
|
1851
|
-
resolution_score?: number;
|
|
1852
|
-
/** Whether this event is still accepting predictions */
|
|
1853
|
-
is_open_for_bets?: boolean;
|
|
1854
|
-
/** Betting odds details for the event outcomes */
|
|
1855
|
-
odds_details?: {
|
|
1856
|
-
odd_value: {
|
|
1857
|
-
[key: string]: number;
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
/** URL of a question-specific image (quiz events) */
|
|
1861
|
-
question_image?: string;
|
|
1862
|
-
}
|
|
1863
|
-
/**
|
|
1864
|
-
* GamePickRoundPublicMeta describes the public-facing metadata and translations for a round, configured in the BackOffice
|
|
1865
|
-
*/
|
|
1866
|
-
export interface GamePickRoundPublicMeta {
|
|
1867
|
-
/** Localized round name */
|
|
1868
|
-
round_name: string;
|
|
1869
|
-
/** Localized round description */
|
|
1870
|
-
round_description: string;
|
|
1871
|
-
/** URL of the promotional image for the round */
|
|
1872
|
-
promo_image: string;
|
|
1873
|
-
/** Promotional text displayed with the round */
|
|
1874
|
-
promo_text: string;
|
|
1875
|
-
/** Whether to hide the round from the UI after it has been resolved */
|
|
1876
|
-
hide_resolved_round: boolean;
|
|
1877
|
-
/** URL of the final screen image for desktop */
|
|
1878
|
-
final_screen_image_desktop: string;
|
|
1879
|
-
/** URL of the final screen image for mobile */
|
|
1880
|
-
final_screen_image_mobile: string;
|
|
1881
|
-
/** Message displayed on the final/results screen */
|
|
1882
|
-
final_screen_message: string;
|
|
1883
|
-
/** Label for the CTA button on the final screen */
|
|
1884
|
-
final_screen_cta_button_title: string;
|
|
1885
|
-
/** Deep link triggered by the CTA button on the final screen */
|
|
1886
|
-
final_screen_cta_dp: string;
|
|
1887
|
-
/** Whether users can edit their answers after initial submission (within betting window) */
|
|
1888
|
-
allow_edit_answers?: boolean;
|
|
1889
|
-
/** Per-language overrides for round display content */
|
|
1890
|
-
_translations: {
|
|
1891
|
-
[key: string]: {
|
|
1892
|
-
round_name: string;
|
|
1893
|
-
round_description: string;
|
|
1894
|
-
promo_image: string;
|
|
1895
|
-
promo_text: string;
|
|
1896
|
-
final_screen_image_desktop: string;
|
|
1897
|
-
final_screen_image_mobile: string;
|
|
1898
|
-
final_screen_message: string;
|
|
1899
|
-
final_screen_cta_button_title: string;
|
|
1900
|
-
};
|
|
1901
|
-
};
|
|
1902
|
-
}
|
|
1903
|
-
/**
|
|
1904
|
-
* GamePickRoundBase describes a game round's metadata (without events or user-specific data)
|
|
1905
|
-
*/
|
|
1906
|
-
export interface GamePickRoundBase {
|
|
1907
|
-
/** Unique round identifier */
|
|
1908
|
-
round_id: number;
|
|
1909
|
-
/** Sequential row ID used for ordering rounds */
|
|
1910
|
-
round_row_id: number;
|
|
1911
|
-
/** Localized display name of the round */
|
|
1912
|
-
round_name: string;
|
|
1913
|
-
/** Localized description of the round */
|
|
1914
|
-
round_description: string;
|
|
1915
|
-
/** Label for the CTA button on the final/results screen */
|
|
1916
|
-
final_screen_cta_button_title: string;
|
|
1917
|
-
/** Message displayed on the final/results screen */
|
|
1918
|
-
final_screen_message: string;
|
|
1919
|
-
/** URL of the final screen image (desktop) */
|
|
1920
|
-
final_screen_image_desktop: string;
|
|
1921
|
-
/** URL of the final screen image (mobile) */
|
|
1922
|
-
final_screen_image_mobile: string;
|
|
1923
|
-
/** URL of the promotional image for the round */
|
|
1924
|
-
promo_image: string;
|
|
1925
|
-
/** Promotional text displayed with the round */
|
|
1926
|
-
promo_text: string;
|
|
1927
|
-
/** Timestamp (ms) when the round opens for participation */
|
|
1928
|
-
open_date: number;
|
|
1929
|
-
/** Timestamp (ms) of the last moment bets are accepted */
|
|
1930
|
-
last_bet_date: number;
|
|
1931
|
-
/** Timestamp (ms) when the round is expected to be resolved */
|
|
1932
|
-
resolution_date: number;
|
|
1933
|
-
/** Points awarded for a fully correct prediction */
|
|
1934
|
-
score_full_win: number;
|
|
1935
|
-
/** Points awarded for a partially correct prediction */
|
|
1936
|
-
score_part_win: number;
|
|
1937
|
-
/** Points awarded (or deducted) for an incorrect prediction */
|
|
1938
|
-
score_lost: number;
|
|
1939
|
-
/** Whether the round is currently active for participation */
|
|
1940
|
-
is_active_now: boolean;
|
|
1941
|
-
/** Whether the round has been fully resolved and scored */
|
|
1942
|
-
is_resolved: boolean;
|
|
1943
|
-
/** Current lifecycle status of the round */
|
|
1944
|
-
round_status_id: GPRoundStatus;
|
|
1945
|
-
/** Total number of events in the round */
|
|
1946
|
-
events_total: number;
|
|
1947
|
-
/** Number of events that have been resolved */
|
|
1948
|
-
events_resolved: number;
|
|
1949
|
-
/** Scoring method used for this round */
|
|
1950
|
-
score_type_id: GamePickScoreType;
|
|
1951
|
-
/** How events are ordered for display */
|
|
1952
|
-
order_events: GameRoundOrderType;
|
|
1953
|
-
/** Maximum number of users shown on the leaderboard */
|
|
1954
|
-
board_users_count: number;
|
|
1955
|
-
/** Whether other users' predictions are hidden until resolution */
|
|
1956
|
-
hide_users_predictions: boolean;
|
|
1957
|
-
/** Public metadata including translations and display settings from the BackOffice */
|
|
1958
|
-
public_meta: GamePickRoundPublicMeta;
|
|
1959
|
-
/** Timestamp (ms) when the next round opens, if available */
|
|
1960
|
-
next_round_open_date: number;
|
|
1961
|
-
/** Whether to show aggregated user preference percentages for each outcome */
|
|
1962
|
-
show_users_preference: boolean;
|
|
1963
|
-
}
|
|
1964
|
-
/**
|
|
1965
|
-
* GamePickRound describes a round with its events and the current user's prediction data
|
|
1966
|
-
*/
|
|
1967
|
-
export interface GamePickRound extends GamePickRoundBase {
|
|
1968
|
-
/** List of events (matches/questions) in this round */
|
|
1969
|
-
events: GamePickEvent[];
|
|
1970
|
-
/** Current user's total score in this round */
|
|
1971
|
-
user_score: number;
|
|
1972
|
-
/** Whether the current user has submitted any predictions in this round */
|
|
1973
|
-
user_placed_bet: boolean;
|
|
1974
|
-
/** Whether there are events still open for betting */
|
|
1975
|
-
has_open_for_bet_events?: boolean;
|
|
1976
|
-
/** Whether the user has unsaved changes to their predictions */
|
|
1977
|
-
has_not_submitted_changes?: boolean;
|
|
1978
|
-
}
|
|
1979
|
-
/**
|
|
1980
|
-
* GamePickRoundBoard describes a round's leaderboard with ranked users
|
|
1981
|
-
*/
|
|
1982
|
-
export interface GamePickRoundBoard extends GamePickRoundBase {
|
|
1983
|
-
/** Current user's leaderboard entry, or null if user hasn't participated */
|
|
1984
|
-
my_user: GamePickBoardUser;
|
|
1985
|
-
/** Ranked list of users on the leaderboard */
|
|
1986
|
-
users: GamePickBoardUser[];
|
|
1987
|
-
}
|
|
1988
|
-
/**
|
|
1989
|
-
* GamePickBoardUser describes a user's entry on the round leaderboard
|
|
1990
|
-
*/
|
|
1991
|
-
export interface GamePickBoardUser {
|
|
1992
|
-
/** External user ID (Smartico numeric user ID) */
|
|
1993
|
-
ext_user_id: string;
|
|
1994
|
-
/** Internal user ID within the games system */
|
|
1995
|
-
int_user_id: number;
|
|
1996
|
-
/** Display name shown on the leaderboard */
|
|
1997
|
-
public_username: string;
|
|
1998
|
-
/** URL of the user's avatar image */
|
|
1999
|
-
avatar_url: string;
|
|
2000
|
-
/** User's rank position on the leaderboard, null if not yet ranked */
|
|
2001
|
-
gp_position: number;
|
|
2002
|
-
/** User's total score in this round/season */
|
|
2003
|
-
resolution_score: number;
|
|
2004
|
-
/** Number of fully correct predictions */
|
|
2005
|
-
full_wins_count: number;
|
|
2006
|
-
/** Number of partially correct predictions */
|
|
2007
|
-
part_wins_count: number;
|
|
2008
|
-
/** Number of incorrect predictions */
|
|
2009
|
-
lost_count: number;
|
|
2010
|
-
}
|
|
2011
|
-
/**
|
|
2012
|
-
* GamePickUserInfo describes the current user's profile in the games system
|
|
2013
|
-
*/
|
|
2014
|
-
export interface GamePickUserInfo {
|
|
2015
|
-
/** External user ID (Smartico numeric user ID) */
|
|
2016
|
-
ext_user_id: string;
|
|
2017
|
-
/** Internal user ID within the games system */
|
|
2018
|
-
int_user_id: number;
|
|
2019
|
-
/** Display name */
|
|
2020
|
-
public_username: string;
|
|
2021
|
-
/** URL of the user's avatar image */
|
|
2022
|
-
avatar_url: string;
|
|
2023
|
-
/** User's leaderboard rank position */
|
|
2024
|
-
gp_position?: number;
|
|
2025
|
-
/** Number of fully correct predictions */
|
|
2026
|
-
full_wins_count?: number;
|
|
2027
|
-
/** Number of partially correct predictions */
|
|
2028
|
-
part_wins_count?: number;
|
|
2029
|
-
/** User's total score */
|
|
2030
|
-
resolution_score?: number;
|
|
2031
|
-
/** Last time the user's balance was synced from the Smartico platform */
|
|
2032
|
-
last_wallet_sync_time?: Date;
|
|
2033
|
-
/** User's current points balance */
|
|
2034
|
-
ach_points_balance?: number;
|
|
2035
|
-
/** User's current gems balance */
|
|
2036
|
-
ach_gems_balance?: number;
|
|
2037
|
-
/** User's current diamonds balance */
|
|
2038
|
-
ach_diamonds_balance?: number;
|
|
2039
|
-
/** Whether the user has set a custom public username */
|
|
2040
|
-
pubic_username_set?: boolean;
|
|
2041
|
-
}
|
|
2042
|
-
/**
|
|
2043
|
-
* GamePickGameInfo describes the game configuration including SAW template, rounds list, and label settings
|
|
2044
|
-
*/
|
|
2045
|
-
export interface GamePickGameInfo {
|
|
2046
|
-
/** Game template configuration (SAW template) with UI settings, buy-in type, cost, and spin count */
|
|
2047
|
-
sawTemplate: SAWTemplate;
|
|
2048
|
-
/** List of all rounds (metadata only, no events) */
|
|
2049
|
-
allRounds: GamePickRoundBase[];
|
|
2050
|
-
/** Label/brand configuration and settings */
|
|
2051
|
-
labelInfo: any;
|
|
2052
|
-
}
|
|
2053
|
-
/**
|
|
2054
|
-
* GamesApiResponse is the standard response wrapper for all GamePick/Quiz API calls
|
|
2055
|
-
*/
|
|
2056
|
-
export interface GamesApiResponse<T> {
|
|
2057
|
-
/** Error code: 0 on success, non-zero on failure */
|
|
2058
|
-
errCode: number;
|
|
2059
|
-
/** Human-readable error message when errCode is non-zero */
|
|
2060
|
-
errMessage?: string;
|
|
2061
|
-
/** Response payload, present on success */
|
|
2062
|
-
data?: T;
|
|
2063
|
-
}
|
|
2064
|
-
/**
|
|
2065
|
-
* GamePickRequestParams describes the base parameters required for GamePick API calls
|
|
2066
|
-
*/
|
|
2067
|
-
export interface GamePickRequestParams {
|
|
2068
|
-
/** ID of the MatchX or Quiz game template */
|
|
2069
|
-
saw_template_id: number;
|
|
2070
|
-
/** External user ID */
|
|
2071
|
-
ext_user_id: string;
|
|
2072
|
-
/** Smartico external user ID used for platform API calls */
|
|
2073
|
-
smartico_ext_user_id: string;
|
|
2074
|
-
/** Language code for translations (e.g. 'EN', 'DE') */
|
|
2075
|
-
lang?: string;
|
|
2076
|
-
}
|
|
2077
|
-
/**
|
|
2078
|
-
* GamePickRoundRequestParams extends base params with a specific round ID
|
|
2079
|
-
*/
|
|
2080
|
-
export interface GamePickRoundRequestParams extends GamePickRequestParams {
|
|
2081
|
-
/** ID of the specific round */
|
|
2082
|
-
round_id: number;
|
|
2083
|
-
}
|
|
2084
1626
|
/**
|
|
2085
1627
|
* One avatar in the user's catalog. Returned by `getAvatarsList()`.
|
|
2086
1628
|
* Fields from the raw `public_meta` object are flattened to the top level.
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from './Missions';
|
|
|
13
13
|
export * from './Store';
|
|
14
14
|
export * from './Tournaments';
|
|
15
15
|
export * from './Level';
|
|
16
|
-
export * from './
|
|
16
|
+
export * from './GamePick';
|
|
17
17
|
export * from './Jackpots';
|
|
18
18
|
export * from './Raffle';
|
|
19
19
|
export * from './OCache';
|
package/dist/index.js
CHANGED
|
@@ -388,6 +388,7 @@ exports.SAWGameType = void 0;
|
|
|
388
388
|
SAWGameType[SAWGameType["Voyager"] = 10] = "Voyager";
|
|
389
389
|
SAWGameType[SAWGameType["Plinko"] = 11] = "Plinko";
|
|
390
390
|
SAWGameType[SAWGameType["CoinFlip"] = 12] = "CoinFlip";
|
|
391
|
+
SAWGameType[SAWGameType["CustomMinigame"] = 13] = "CustomMinigame";
|
|
391
392
|
})(exports.SAWGameType || (exports.SAWGameType = {}));
|
|
392
393
|
exports.SAWGameTypeName = void 0;
|
|
393
394
|
(function (SAWGameTypeName) {
|
|
@@ -403,12 +404,13 @@ exports.SAWGameTypeName = void 0;
|
|
|
403
404
|
SAWGameTypeName["Voyager"] = "voyager";
|
|
404
405
|
SAWGameTypeName["Plinko"] = "plinko";
|
|
405
406
|
SAWGameTypeName["CoinFlip"] = "coin_flip";
|
|
407
|
+
SAWGameTypeName["CustomMinigame"] = "custom_minigame";
|
|
406
408
|
SAWGameTypeName["Unknown"] = "unknown";
|
|
407
409
|
})(exports.SAWGameTypeName || (exports.SAWGameTypeName = {}));
|
|
408
410
|
/** @hidden */
|
|
409
411
|
var SAWGameTypeNamed = function SAWGameTypeNamed(type) {
|
|
410
412
|
var _SAWGameType$SpinAWhe;
|
|
411
|
-
return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe[exports.SAWGameType.PrizeDrop] = exports.SAWGameTypeName.PrizeDrop, _SAWGameType$SpinAWhe[exports.SAWGameType.Quiz] = exports.SAWGameTypeName.Quiz, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxWeekdays] = exports.SAWGameTypeName.LootboxWeekdays, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxCalendarDays] = exports.SAWGameTypeName.LootboxCalendarDays, _SAWGameType$SpinAWhe[exports.SAWGameType.TreasureHunt] = exports.SAWGameTypeName.TreasureHunt, _SAWGameType$SpinAWhe[exports.SAWGameType.Voyager] = exports.SAWGameTypeName.Voyager, _SAWGameType$SpinAWhe[exports.SAWGameType.Plinko] = exports.SAWGameTypeName.Plinko, _SAWGameType$SpinAWhe[exports.SAWGameType.CoinFlip] = exports.SAWGameTypeName.CoinFlip, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
|
|
413
|
+
return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe[exports.SAWGameType.PrizeDrop] = exports.SAWGameTypeName.PrizeDrop, _SAWGameType$SpinAWhe[exports.SAWGameType.Quiz] = exports.SAWGameTypeName.Quiz, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxWeekdays] = exports.SAWGameTypeName.LootboxWeekdays, _SAWGameType$SpinAWhe[exports.SAWGameType.LootboxCalendarDays] = exports.SAWGameTypeName.LootboxCalendarDays, _SAWGameType$SpinAWhe[exports.SAWGameType.TreasureHunt] = exports.SAWGameTypeName.TreasureHunt, _SAWGameType$SpinAWhe[exports.SAWGameType.Voyager] = exports.SAWGameTypeName.Voyager, _SAWGameType$SpinAWhe[exports.SAWGameType.Plinko] = exports.SAWGameTypeName.Plinko, _SAWGameType$SpinAWhe[exports.SAWGameType.CoinFlip] = exports.SAWGameTypeName.CoinFlip, _SAWGameType$SpinAWhe[exports.SAWGameType.CustomMinigame] = exports.SAWGameTypeName.CustomMinigame, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
|
|
412
414
|
};
|
|
413
415
|
|
|
414
416
|
exports.SAWExposeUserSpinId = void 0;
|
|
@@ -12106,6 +12108,141 @@ var QuizMarketPerSport = (_QuizMarketPerSport = {}, _QuizMarketPerSport[exports.
|
|
|
12106
12108
|
// SAWGPMarketType.HalftimeFulltime,
|
|
12107
12109
|
exports.SAWGPMarketType.FirstGoal, exports.SAWGPMarketType.LastGoal, exports.SAWGPMarketType.DoubleChance, exports.SAWGPMarketType.OverUnder2_5, exports.SAWGPMarketType.OverUnder1_5Halftime, exports.SAWGPMarketType.OverUnder1_5__2ndHalf, exports.SAWGPMarketType.RedCard, exports.SAWGPMarketType.TotalCorners8_5, exports.SAWGPMarketType.TotalCorners9_5, exports.SAWGPMarketType.Corners1x2], _QuizMarketPerSport[exports.QuizSportType.Tennis] = [exports.SAWGPMarketType.One_Two, exports.SAWGPMarketType.FirstSet, exports.SAWGPMarketType.SecondSet, exports.SAWGPMarketType.ThirdSet, exports.SAWGPMarketType.FourthSet, exports.SAWGPMarketType.FifthSet, exports.SAWGPMarketType.PlayerOneWinsOneSet, exports.SAWGPMarketType.PlayerTwoWinsOneSet, exports.SAWGPMarketType.OddEven], _QuizMarketPerSport);
|
|
12108
12110
|
|
|
12111
|
+
/**
|
|
12112
|
+
* GamePickMarketType defines legacy market categories for MatchX events
|
|
12113
|
+
*/
|
|
12114
|
+
exports.GamePickMarketType = void 0;
|
|
12115
|
+
(function (GamePickMarketType) {
|
|
12116
|
+
/** Predict the number of goals */
|
|
12117
|
+
GamePickMarketType[GamePickMarketType["Goals"] = 1] = "Goals";
|
|
12118
|
+
/** Predict the winner */
|
|
12119
|
+
GamePickMarketType[GamePickMarketType["Winner"] = 2] = "Winner";
|
|
12120
|
+
})(exports.GamePickMarketType || (exports.GamePickMarketType = {}));
|
|
12121
|
+
/**
|
|
12122
|
+
* GamePickResolutionType defines how a user's prediction was scored after event resolution
|
|
12123
|
+
*/
|
|
12124
|
+
exports.GamePickResolutionType = void 0;
|
|
12125
|
+
(function (GamePickResolutionType) {
|
|
12126
|
+
/** Event not yet resolved */
|
|
12127
|
+
GamePickResolutionType[GamePickResolutionType["None"] = 0] = "None";
|
|
12128
|
+
/** Prediction was wrong */
|
|
12129
|
+
GamePickResolutionType[GamePickResolutionType["Lost"] = 2] = "Lost";
|
|
12130
|
+
/** Prediction was partially correct (e.g. correct winner but wrong score) */
|
|
12131
|
+
GamePickResolutionType[GamePickResolutionType["PartialWin"] = 3] = "PartialWin";
|
|
12132
|
+
/** Prediction was fully correct */
|
|
12133
|
+
GamePickResolutionType[GamePickResolutionType["FullWin"] = 4] = "FullWin";
|
|
12134
|
+
})(exports.GamePickResolutionType || (exports.GamePickResolutionType = {}));
|
|
12135
|
+
/**
|
|
12136
|
+
* GPRoundStatus defines the lifecycle stage of a game round
|
|
12137
|
+
*/
|
|
12138
|
+
exports.GPRoundStatus = void 0;
|
|
12139
|
+
(function (GPRoundStatus) {
|
|
12140
|
+
/** Round is in an active/other state */
|
|
12141
|
+
GPRoundStatus[GPRoundStatus["Other"] = -1] = "Other";
|
|
12142
|
+
/** Round exists but has no events defined yet */
|
|
12143
|
+
GPRoundStatus[GPRoundStatus["NoEventsDefined"] = 1] = "NoEventsDefined";
|
|
12144
|
+
/** Betting deadline has passed, no more bets allowed */
|
|
12145
|
+
GPRoundStatus[GPRoundStatus["NoMoreBetsAllowed"] = 2] = "NoMoreBetsAllowed";
|
|
12146
|
+
/** All events in the round are resolved, but the round itself is not finalized */
|
|
12147
|
+
GPRoundStatus[GPRoundStatus["AllEventsResolved_ButNotRound"] = 3] = "AllEventsResolved_ButNotRound";
|
|
12148
|
+
/** Round is fully resolved and scored */
|
|
12149
|
+
GPRoundStatus[GPRoundStatus["RoundResolved"] = 4] = "RoundResolved";
|
|
12150
|
+
})(exports.GPRoundStatus || (exports.GPRoundStatus = {}));
|
|
12151
|
+
/**
|
|
12152
|
+
* GamePickScoreType defines how scores are calculated for predictions
|
|
12153
|
+
*/
|
|
12154
|
+
exports.GamePickScoreType = void 0;
|
|
12155
|
+
(function (GamePickScoreType) {
|
|
12156
|
+
/** Score based on exact match of predicted result */
|
|
12157
|
+
GamePickScoreType[GamePickScoreType["ExactScore"] = 1] = "ExactScore";
|
|
12158
|
+
/** Score based on closeness (difference) of predicted result */
|
|
12159
|
+
GamePickScoreType[GamePickScoreType["PointsDifference"] = 2] = "PointsDifference";
|
|
12160
|
+
})(exports.GamePickScoreType || (exports.GamePickScoreType = {}));
|
|
12161
|
+
/**
|
|
12162
|
+
* GamePickSportType defines supported sport types for events, using Betradar sport IDs
|
|
12163
|
+
*/
|
|
12164
|
+
exports.GamePickSportType = void 0;
|
|
12165
|
+
(function (GamePickSportType) {
|
|
12166
|
+
GamePickSportType[GamePickSportType["Soccer"] = 1] = "Soccer";
|
|
12167
|
+
GamePickSportType[GamePickSportType["Basketball"] = 2] = "Basketball";
|
|
12168
|
+
GamePickSportType[GamePickSportType["Baseball"] = 3] = "Baseball";
|
|
12169
|
+
GamePickSportType[GamePickSportType["IceHockey"] = 4] = "IceHockey";
|
|
12170
|
+
GamePickSportType[GamePickSportType["Tennis"] = 5] = "Tennis";
|
|
12171
|
+
GamePickSportType[GamePickSportType["Handball"] = 6] = "Handball";
|
|
12172
|
+
GamePickSportType[GamePickSportType["Floorball"] = 7] = "Floorball";
|
|
12173
|
+
GamePickSportType[GamePickSportType["Golf"] = 9] = "Golf";
|
|
12174
|
+
GamePickSportType[GamePickSportType["Boxing"] = 10] = "Boxing";
|
|
12175
|
+
GamePickSportType[GamePickSportType["Motorsport"] = 11] = "Motorsport";
|
|
12176
|
+
GamePickSportType[GamePickSportType["Rugby"] = 12] = "Rugby";
|
|
12177
|
+
GamePickSportType[GamePickSportType["AussieRules"] = 13] = "AussieRules";
|
|
12178
|
+
GamePickSportType[GamePickSportType["Bandy"] = 15] = "Bandy";
|
|
12179
|
+
GamePickSportType[GamePickSportType["AmericanFootball"] = 16] = "AmericanFootball";
|
|
12180
|
+
GamePickSportType[GamePickSportType["Cycling"] = 17] = "Cycling";
|
|
12181
|
+
GamePickSportType[GamePickSportType["Specials"] = 18] = "Specials";
|
|
12182
|
+
GamePickSportType[GamePickSportType["Snooker"] = 19] = "Snooker";
|
|
12183
|
+
GamePickSportType[GamePickSportType["TableTennis"] = 20] = "TableTennis";
|
|
12184
|
+
GamePickSportType[GamePickSportType["Cricket"] = 21] = "Cricket";
|
|
12185
|
+
GamePickSportType[GamePickSportType["Darts"] = 22] = "Darts";
|
|
12186
|
+
GamePickSportType[GamePickSportType["Volleyball"] = 23] = "Volleyball";
|
|
12187
|
+
GamePickSportType[GamePickSportType["FieldHockey"] = 24] = "FieldHockey";
|
|
12188
|
+
GamePickSportType[GamePickSportType["Waterpolo"] = 26] = "Waterpolo";
|
|
12189
|
+
GamePickSportType[GamePickSportType["Curling"] = 28] = "Curling";
|
|
12190
|
+
GamePickSportType[GamePickSportType["Futsal"] = 29] = "Futsal";
|
|
12191
|
+
GamePickSportType[GamePickSportType["Badminton"] = 31] = "Badminton";
|
|
12192
|
+
GamePickSportType[GamePickSportType["Bowls"] = 32] = "Bowls";
|
|
12193
|
+
GamePickSportType[GamePickSportType["Chess"] = 33] = "Chess";
|
|
12194
|
+
GamePickSportType[GamePickSportType["BeachVolley"] = 34] = "BeachVolley";
|
|
12195
|
+
GamePickSportType[GamePickSportType["Netball"] = 35] = "Netball";
|
|
12196
|
+
GamePickSportType[GamePickSportType["Athletics"] = 36] = "Athletics";
|
|
12197
|
+
GamePickSportType[GamePickSportType["Squash"] = 37] = "Squash";
|
|
12198
|
+
GamePickSportType[GamePickSportType["Lacrosse"] = 39] = "Lacrosse";
|
|
12199
|
+
GamePickSportType[GamePickSportType["Formula1"] = 40] = "Formula1";
|
|
12200
|
+
GamePickSportType[GamePickSportType["AlpineSkiing"] = 43] = "AlpineSkiing";
|
|
12201
|
+
GamePickSportType[GamePickSportType["Biathlon"] = 44] = "Biathlon";
|
|
12202
|
+
GamePickSportType[GamePickSportType["CrossCountry"] = 46] = "CrossCountry";
|
|
12203
|
+
GamePickSportType[GamePickSportType["NordicCombined"] = 47] = "NordicCombined";
|
|
12204
|
+
GamePickSportType[GamePickSportType["SkiJumping"] = 48] = "SkiJumping";
|
|
12205
|
+
GamePickSportType[GamePickSportType["Schwingen"] = 56] = "Schwingen";
|
|
12206
|
+
GamePickSportType[GamePickSportType["BeachSoccer"] = 60] = "BeachSoccer";
|
|
12207
|
+
GamePickSportType[GamePickSportType["Pesapallo"] = 61] = "Pesapallo";
|
|
12208
|
+
GamePickSportType[GamePickSportType["ESportCounterStrike"] = 109] = "ESportCounterStrike";
|
|
12209
|
+
GamePickSportType[GamePickSportType["ESportLeagueofLegends"] = 110] = "ESportLeagueofLegends";
|
|
12210
|
+
GamePickSportType[GamePickSportType["ESportDota"] = 111] = "ESportDota";
|
|
12211
|
+
GamePickSportType[GamePickSportType["StarCraft"] = 112] = "StarCraft";
|
|
12212
|
+
GamePickSportType[GamePickSportType["MMA"] = 117] = "MMA";
|
|
12213
|
+
GamePickSportType[GamePickSportType["CallOfDuty"] = 118] = "CallOfDuty";
|
|
12214
|
+
GamePickSportType[GamePickSportType["ESportOverwatch"] = 121] = "ESportOverwatch";
|
|
12215
|
+
GamePickSportType[GamePickSportType["ESportRocketLeague"] = 128] = "ESportRocketLeague";
|
|
12216
|
+
GamePickSportType[GamePickSportType["IndyRacing"] = 129] = "IndyRacing";
|
|
12217
|
+
GamePickSportType[GamePickSportType["Speedway"] = 131] = "Speedway";
|
|
12218
|
+
GamePickSportType[GamePickSportType["GaelicFootball"] = 135] = "GaelicFootball";
|
|
12219
|
+
GamePickSportType[GamePickSportType["GaelicHurling"] = 136] = "GaelicHurling";
|
|
12220
|
+
GamePickSportType[GamePickSportType["ESporteSoccer"] = 137] = "ESporteSoccer";
|
|
12221
|
+
GamePickSportType[GamePickSportType["Kabaddi"] = 138] = "Kabaddi";
|
|
12222
|
+
GamePickSportType[GamePickSportType["ESporteBasketball"] = 153] = "ESporteBasketball";
|
|
12223
|
+
GamePickSportType[GamePickSportType["Basketball3x3"] = 155] = "Basketball3x3";
|
|
12224
|
+
GamePickSportType[GamePickSportType["ESportArenaofValor"] = 158] = "ESportArenaofValor";
|
|
12225
|
+
GamePickSportType[GamePickSportType["TouringCarRacing"] = 188] = "TouringCarRacing";
|
|
12226
|
+
GamePickSportType[GamePickSportType["MotorcycleRacing"] = 190] = "MotorcycleRacing";
|
|
12227
|
+
GamePickSportType[GamePickSportType["StockCarRacing"] = 191] = "StockCarRacing";
|
|
12228
|
+
})(exports.GamePickSportType || (exports.GamePickSportType = {}));
|
|
12229
|
+
/**
|
|
12230
|
+
* GameRoundOrderType defines how events within a round are ordered for display
|
|
12231
|
+
*/
|
|
12232
|
+
exports.GameRoundOrderType = void 0;
|
|
12233
|
+
(function (GameRoundOrderType) {
|
|
12234
|
+
/** Display in the order events were added */
|
|
12235
|
+
GameRoundOrderType[GameRoundOrderType["HowAdded"] = 1] = "HowAdded";
|
|
12236
|
+
/** Display in reverse of the order events were added */
|
|
12237
|
+
GameRoundOrderType[GameRoundOrderType["HowAddedReversed"] = 2] = "HowAddedReversed";
|
|
12238
|
+
/** Display ordered by event/match date ascending (earliest first) */
|
|
12239
|
+
GameRoundOrderType[GameRoundOrderType["EventDateAscending"] = 3] = "EventDateAscending";
|
|
12240
|
+
/** Display ordered by event/match date descending (latest first) */
|
|
12241
|
+
GameRoundOrderType[GameRoundOrderType["EventDateDescending"] = 4] = "EventDateDescending";
|
|
12242
|
+
})(exports.GameRoundOrderType || (exports.GameRoundOrderType = {}));
|
|
12243
|
+
/** Round ID constant used to request the overall/seasonal leaderboard across all rounds */
|
|
12244
|
+
var AllRoundsGameBoardID = -1;
|
|
12245
|
+
|
|
12109
12246
|
exports.JackpotContributionType = void 0;
|
|
12110
12247
|
(function (JackpotContributionType) {
|
|
12111
12248
|
JackpotContributionType[JackpotContributionType["Fixed"] = 1] = "Fixed";
|
|
@@ -12168,6 +12305,7 @@ exports.JoinClanErrorCode = void 0;
|
|
|
12168
12305
|
|
|
12169
12306
|
exports.AchCategoryTransform = AchCategoryTransform;
|
|
12170
12307
|
exports.ActivityLogTransform = ActivityLogTransform;
|
|
12308
|
+
exports.AllRoundsGameBoardID = AllRoundsGameBoardID;
|
|
12171
12309
|
exports.AvatarCustomizeErrorMessage = AvatarCustomizeErrorMessage;
|
|
12172
12310
|
exports.BonusItemsTransform = BonusItemsTransform;
|
|
12173
12311
|
exports.CookieStore = CookieStore;
|