@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.
Files changed (58) hide show
  1. package/dist/GamePick/GamePickTypes.d.ts +461 -0
  2. package/dist/GamePick/MarketsAnswers.d.ts +40 -0
  3. package/dist/GamePick/MarketsInfo.d.ts +14 -0
  4. package/dist/GamePick/MarketsPerSport.d.ts +6 -0
  5. package/dist/GamePick/MarketsType.d.ts +28 -0
  6. package/dist/GamePick/ScoreResultTypes.d.ts +28 -0
  7. package/dist/GamePick/SportTypes.d.ts +6 -0
  8. package/dist/GamePick/index.d.ts +7 -0
  9. package/dist/MiniGames/SAWGameType.d.ts +3 -1
  10. package/dist/MiniGames/SAWTemplateUI.d.ts +7 -0
  11. package/dist/SmarticoAPI.d.ts +1 -1
  12. package/dist/WSAPI/WSAPIGamePick.d.ts +1 -1
  13. package/dist/WSAPI/WSAPITypes.d.ts +2 -460
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +139 -1
  16. package/dist/index.js.map +1 -1
  17. package/dist/index.modern.mjs +140 -2
  18. package/dist/index.modern.mjs.map +1 -1
  19. package/docs/api/README.md +2 -22
  20. package/docs/api/classes/WSAPIGamePick.md +42 -42
  21. package/docs/api/enumerations/SAWGameType.md +6 -0
  22. package/docs/api/enumerations/SAWGameTypeName.md +6 -0
  23. package/docs/api/interfaces/SAWTemplateUI.md +11 -0
  24. package/package.json +1 -1
  25. package/src/GamePick/GamePickTypes.ts +471 -0
  26. package/src/{Quiz → GamePick}/index.ts +1 -0
  27. package/src/MiniGames/SAWGameType.ts +3 -0
  28. package/src/MiniGames/SAWTemplateUI.ts +10 -0
  29. package/src/SmarticoAPI.ts +1 -7
  30. package/src/WSAPI/WSAPIGamePick.ts +1 -9
  31. package/src/WSAPI/WSAPITypes.ts +2 -471
  32. package/src/index.ts +1 -1
  33. package/docs/api/enumerations/GPRoundStatus.md +0 -43
  34. package/docs/api/enumerations/GamePickMarketType.md +0 -19
  35. package/docs/api/enumerations/GamePickResolutionType.md +0 -35
  36. package/docs/api/enumerations/GamePickScoreType.md +0 -19
  37. package/docs/api/enumerations/GamePickSportType.md +0 -375
  38. package/docs/api/enumerations/GameRoundOrderType.md +0 -35
  39. package/docs/api/interfaces/GamePickBoardUser.md +0 -75
  40. package/docs/api/interfaces/GamePickEvent.md +0 -123
  41. package/docs/api/interfaces/GamePickEventMeta.md +0 -201
  42. package/docs/api/interfaces/GamePickGameInfo.md +0 -27
  43. package/docs/api/interfaces/GamePickRequestParams.md +0 -39
  44. package/docs/api/interfaces/GamePickRound.md +0 -383
  45. package/docs/api/interfaces/GamePickRoundBase.md +0 -232
  46. package/docs/api/interfaces/GamePickRoundBoard.md +0 -359
  47. package/docs/api/interfaces/GamePickRoundPublicMeta.md +0 -103
  48. package/docs/api/interfaces/GamePickRoundRequestParams.md +0 -63
  49. package/docs/api/interfaces/GamePickUserInfo.md +0 -107
  50. package/docs/api/interfaces/GamesApiResponse.md +0 -33
  51. package/docs/api/interfaces/QuizEventMeta.md +0 -61
  52. package/docs/api/variables/AllRoundsGameBoardID.md +0 -5
  53. /package/src/{Quiz → GamePick}/MarketsAnswers.ts +0 -0
  54. /package/src/{Quiz → GamePick}/MarketsInfo.ts +0 -0
  55. /package/src/{Quiz → GamePick}/MarketsPerSport.ts +0 -0
  56. /package/src/{Quiz → GamePick}/MarketsType.ts +0 -0
  57. /package/src/{Quiz → GamePick}/ScoreResultTypes.ts +0 -0
  58. /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 '../Quiz/MarketsType';
13
- import { QuizAnswersValueType } from '../Quiz/MarketsAnswers';
12
+ import { SAWGPMarketType } from '../GamePick/MarketsType';
13
+ import { QuizAnswersValueType } from '../GamePick/MarketsAnswers';
14
14
  import { AchievementClaimPeriodTypeId } from '../Missions/AchievementClaimTypeId';
15
15
 
16
16
 
@@ -1726,475 +1726,6 @@ export interface TRaffleOptinResponse {
1726
1726
  /** Optional error message; populated on non-zero `err_code`. */
1727
1727
  err_message?: string;
1728
1728
  }
1729
-
1730
- /**
1731
- * GamePickMarketType defines legacy market categories for MatchX events
1732
- */
1733
- export enum GamePickMarketType {
1734
- /** Predict the number of goals */
1735
- Goals = 1,
1736
- /** Predict the winner */
1737
- Winner = 2,
1738
- }
1739
-
1740
- /**
1741
- * GamePickResolutionType defines how a user's prediction was scored after event resolution
1742
- */
1743
- export enum GamePickResolutionType {
1744
- /** Event not yet resolved */
1745
- None = 0,
1746
- /** Prediction was wrong */
1747
- Lost = 2,
1748
- /** Prediction was partially correct (e.g. correct winner but wrong score) */
1749
- PartialWin = 3,
1750
- /** Prediction was fully correct */
1751
- FullWin = 4,
1752
- }
1753
-
1754
- /**
1755
- * GPRoundStatus defines the lifecycle stage of a game round
1756
- */
1757
- export enum GPRoundStatus {
1758
- /** Round is in an active/other state */
1759
- Other = -1,
1760
- /** Round exists but has no events defined yet */
1761
- NoEventsDefined = 1,
1762
- /** Betting deadline has passed, no more bets allowed */
1763
- NoMoreBetsAllowed = 2,
1764
- /** All events in the round are resolved, but the round itself is not finalized */
1765
- AllEventsResolved_ButNotRound = 3,
1766
- /** Round is fully resolved and scored */
1767
- RoundResolved = 4,
1768
- }
1769
-
1770
- /**
1771
- * GamePickScoreType defines how scores are calculated for predictions
1772
- */
1773
- export enum GamePickScoreType {
1774
- /** Score based on exact match of predicted result */
1775
- ExactScore = 1,
1776
- /** Score based on closeness (difference) of predicted result */
1777
- PointsDifference = 2,
1778
- }
1779
-
1780
- /**
1781
- * GamePickSportType defines supported sport types for events, using Betradar sport IDs
1782
- */
1783
- export enum GamePickSportType {
1784
- Soccer = 1,
1785
- Basketball = 2,
1786
- Baseball = 3,
1787
- IceHockey = 4,
1788
- Tennis = 5,
1789
- Handball = 6,
1790
- Floorball = 7,
1791
- Golf = 9,
1792
- Boxing = 10,
1793
- Motorsport = 11,
1794
- Rugby = 12,
1795
- AussieRules = 13,
1796
- Bandy = 15,
1797
- AmericanFootball = 16,
1798
- Cycling = 17,
1799
- Specials = 18,
1800
- Snooker = 19,
1801
- TableTennis = 20,
1802
- Cricket = 21,
1803
- Darts = 22,
1804
- Volleyball = 23,
1805
- FieldHockey = 24,
1806
- Waterpolo = 26,
1807
- Curling = 28,
1808
- Futsal = 29,
1809
- Badminton = 31,
1810
- Bowls = 32,
1811
- Chess = 33,
1812
- BeachVolley = 34,
1813
- Netball = 35,
1814
- Athletics = 36,
1815
- Squash = 37,
1816
- Lacrosse = 39,
1817
- Formula1 = 40,
1818
- AlpineSkiing = 43,
1819
- Biathlon = 44,
1820
- CrossCountry = 46,
1821
- NordicCombined = 47,
1822
- SkiJumping = 48,
1823
- Schwingen = 56,
1824
- BeachSoccer = 60,
1825
- Pesapallo = 61,
1826
- ESportCounterStrike = 109,
1827
- ESportLeagueofLegends = 110,
1828
- ESportDota = 111,
1829
- StarCraft = 112,
1830
- MMA = 117,
1831
- CallOfDuty = 118,
1832
- ESportOverwatch = 121,
1833
- ESportRocketLeague = 128,
1834
- IndyRacing = 129,
1835
- Speedway = 131,
1836
- GaelicFootball = 135,
1837
- GaelicHurling = 136,
1838
- ESporteSoccer = 137,
1839
- Kabaddi = 138,
1840
- ESporteBasketball = 153,
1841
- Basketball3x3 = 155,
1842
- ESportArenaofValor = 158,
1843
- TouringCarRacing = 188,
1844
- MotorcycleRacing = 190,
1845
- StockCarRacing = 191,
1846
- }
1847
-
1848
- /**
1849
- * GameRoundOrderType defines how events within a round are ordered for display
1850
- */
1851
- export enum GameRoundOrderType {
1852
- /** Display in the order events were added */
1853
- HowAdded = 1,
1854
- /** Display in reverse of the order events were added */
1855
- HowAddedReversed = 2,
1856
- /** Display ordered by event/match date ascending (earliest first) */
1857
- EventDateAscending = 3,
1858
- /** Display ordered by event/match date descending (latest first) */
1859
- EventDateDescending = 4,
1860
- }
1861
-
1862
- /** Round ID constant used to request the overall/seasonal leaderboard across all rounds */
1863
- export const AllRoundsGameBoardID = -1;
1864
-
1865
- /**
1866
- * QuizEventMeta describes metadata for a quiz-type event (custom question with answer options)
1867
- */
1868
- export interface QuizEventMeta {
1869
- /** List of possible answer options for the quiz question */
1870
- answers?: {
1871
- /** Answer identifier value sent on submission */
1872
- value: string;
1873
- /** Localized display text of the answer */
1874
- text: string;
1875
- /** Per-language overrides for the answer text */
1876
- _translations: {
1877
- [key: string]: {
1878
- text: string;
1879
- };
1880
- };
1881
- }[];
1882
- /** URL of an image associated with the question */
1883
- question_image?: string;
1884
- /** Correct answer value after resolution */
1885
- result?: QuizAnswersValueType;
1886
- /** Custom question text displayed to the user */
1887
- custom_question: string;
1888
- }
1889
-
1890
- /**
1891
- * GamePickEventMeta describes metadata for a MatchX or Quiz event, including team info and sport context
1892
- */
1893
- export interface GamePickEventMeta extends QuizEventMeta {
1894
- /** Display name of the event/match */
1895
- event_name?: string;
1896
- /** Name of the first team (home) */
1897
- team1_name: string;
1898
- /** URL of the first team's logo image */
1899
- team1_image: string;
1900
- /** Name of the second team (away) */
1901
- team2_name: string;
1902
- /** URL of the second team's logo image */
1903
- team2_image: string;
1904
- /** Actual result score for team 1 after resolution */
1905
- team1_result?: number;
1906
- /** Actual result score for team 2 after resolution */
1907
- team2_result?: number;
1908
- /** Betradar sport type ID for the event */
1909
- sport_type_id?: number;
1910
- /** Whether the event has been canceled */
1911
- is_canceled?: boolean;
1912
- /** Whether auto-resolution from live data feed is enabled */
1913
- auto_resolve_enabled?: boolean;
1914
- /** ISO date string for when auto-resolution is expected */
1915
- auto_resolve_date?: string;
1916
- /** Auto-resolved score for team 1 from live data feed */
1917
- team1_auto_result?: number;
1918
- /** Auto-resolved score for team 2 from live data feed */
1919
- team2_auto_result?: number;
1920
- /** Auto-resolved answer value from live data feed (for quiz events) */
1921
- auto_result?: string;
1922
- /** Per-language overrides for team names, event name, and custom question */
1923
- _translations: {
1924
- [key: string]: {
1925
- team1_name: string;
1926
- team2_name: string;
1927
- event_name: string;
1928
- custom_question: string;
1929
- };
1930
- };
1931
- }
1932
-
1933
- /**
1934
- * GamePickEvent describes a single event (match or question) within a round, including the user's prediction and resolution
1935
- */
1936
- export interface GamePickEvent {
1937
- /** Unique identifier of the event */
1938
- gp_event_id: number;
1939
- /** Timestamp (ms) when the event was resolved, null if not yet resolved */
1940
- event_resolution_date: number;
1941
- /** Timestamp (ms) of the match/event start time */
1942
- match_date: number;
1943
- /** Market type defining the prediction format (e.g. two-team score, quiz question, custom) */
1944
- market_type_id: SAWGPMarketType;
1945
- /** Event metadata containing team names, images, sport type, and question details */
1946
- event_meta: GamePickEventMeta;
1947
- /** Whether the current user has submitted a prediction for this event */
1948
- user_placed_bet: boolean;
1949
- /** User's predicted score for team 1 (MatchX only). Can be a number or a range object */
1950
- team1_user_selection?: number | { from: number; to: number };
1951
- /** User's predicted score for team 2 (MatchX only). Can be a number or a range object */
1952
- team2_user_selection?: number | { from: number; to: number };
1953
- /** User's selected answer (Quiz only). Value depends on market type (e.g. '1', '2', 'x', 'yes', 'no') */
1954
- user_selection?: QuizAnswersValueType;
1955
- /** How the user's prediction was scored after resolution */
1956
- resolution_type_id: GamePickResolutionType;
1957
- /** Points awarded for this event based on prediction accuracy */
1958
- resolution_score?: number;
1959
- /** Whether this event is still accepting predictions */
1960
- is_open_for_bets?: boolean;
1961
- /** Betting odds details for the event outcomes */
1962
- odds_details?: { odd_value: { [key: string]: number } };
1963
- /** URL of a question-specific image (quiz events) */
1964
- question_image?: string;
1965
- }
1966
-
1967
- /**
1968
- * GamePickRoundPublicMeta describes the public-facing metadata and translations for a round, configured in the BackOffice
1969
- */
1970
- export interface GamePickRoundPublicMeta {
1971
- /** Localized round name */
1972
- round_name: string;
1973
- /** Localized round description */
1974
- round_description: string;
1975
- /** URL of the promotional image for the round */
1976
- promo_image: string;
1977
- /** Promotional text displayed with the round */
1978
- promo_text: string;
1979
- /** Whether to hide the round from the UI after it has been resolved */
1980
- hide_resolved_round: boolean;
1981
- /** URL of the final screen image for desktop */
1982
- final_screen_image_desktop: string;
1983
- /** URL of the final screen image for mobile */
1984
- final_screen_image_mobile: string;
1985
- /** Message displayed on the final/results screen */
1986
- final_screen_message: string;
1987
- /** Label for the CTA button on the final screen */
1988
- final_screen_cta_button_title: string;
1989
- /** Deep link triggered by the CTA button on the final screen */
1990
- final_screen_cta_dp: string;
1991
- /** Whether users can edit their answers after initial submission (within betting window) */
1992
- allow_edit_answers?: boolean;
1993
- /** Per-language overrides for round display content */
1994
- _translations: {
1995
- [key: string]: {
1996
- round_name: string;
1997
- round_description: string;
1998
- promo_image: string;
1999
- promo_text: string;
2000
- final_screen_image_desktop: string;
2001
- final_screen_image_mobile: string;
2002
- final_screen_message: string;
2003
- final_screen_cta_button_title: string;
2004
- };
2005
- };
2006
- }
2007
-
2008
- /**
2009
- * GamePickRoundBase describes a game round's metadata (without events or user-specific data)
2010
- */
2011
- export interface GamePickRoundBase {
2012
- /** Unique round identifier */
2013
- round_id: number;
2014
- /** Sequential row ID used for ordering rounds */
2015
- round_row_id: number;
2016
- /** Localized display name of the round */
2017
- round_name: string;
2018
- /** Localized description of the round */
2019
- round_description: string;
2020
- /** Label for the CTA button on the final/results screen */
2021
- final_screen_cta_button_title: string;
2022
- /** Message displayed on the final/results screen */
2023
- final_screen_message: string;
2024
- /** URL of the final screen image (desktop) */
2025
- final_screen_image_desktop: string;
2026
- /** URL of the final screen image (mobile) */
2027
- final_screen_image_mobile: string;
2028
- /** URL of the promotional image for the round */
2029
- promo_image: string;
2030
- /** Promotional text displayed with the round */
2031
- promo_text: string;
2032
- /** Timestamp (ms) when the round opens for participation */
2033
- open_date: number;
2034
- /** Timestamp (ms) of the last moment bets are accepted */
2035
- last_bet_date: number;
2036
- /** Timestamp (ms) when the round is expected to be resolved */
2037
- resolution_date: number;
2038
- /** Points awarded for a fully correct prediction */
2039
- score_full_win: number;
2040
- /** Points awarded for a partially correct prediction */
2041
- score_part_win: number;
2042
- /** Points awarded (or deducted) for an incorrect prediction */
2043
- score_lost: number;
2044
- /** Whether the round is currently active for participation */
2045
- is_active_now: boolean;
2046
- /** Whether the round has been fully resolved and scored */
2047
- is_resolved: boolean;
2048
- /** Current lifecycle status of the round */
2049
- round_status_id: GPRoundStatus;
2050
- /** Total number of events in the round */
2051
- events_total: number;
2052
- /** Number of events that have been resolved */
2053
- events_resolved: number;
2054
- /** Scoring method used for this round */
2055
- score_type_id: GamePickScoreType;
2056
- /** How events are ordered for display */
2057
- order_events: GameRoundOrderType;
2058
- /** Maximum number of users shown on the leaderboard */
2059
- board_users_count: number;
2060
- /** Whether other users' predictions are hidden until resolution */
2061
- hide_users_predictions: boolean;
2062
- /** Public metadata including translations and display settings from the BackOffice */
2063
- public_meta: GamePickRoundPublicMeta;
2064
- /** Timestamp (ms) when the next round opens, if available */
2065
- next_round_open_date: number;
2066
- /** Whether to show aggregated user preference percentages for each outcome */
2067
- show_users_preference: boolean;
2068
- }
2069
-
2070
- /**
2071
- * GamePickRound describes a round with its events and the current user's prediction data
2072
- */
2073
- export interface GamePickRound extends GamePickRoundBase {
2074
- /** List of events (matches/questions) in this round */
2075
- events: GamePickEvent[];
2076
- /** Current user's total score in this round */
2077
- user_score: number;
2078
- /** Whether the current user has submitted any predictions in this round */
2079
- user_placed_bet: boolean;
2080
- /** Whether there are events still open for betting */
2081
- has_open_for_bet_events?: boolean;
2082
- /** Whether the user has unsaved changes to their predictions */
2083
- has_not_submitted_changes?: boolean;
2084
- }
2085
-
2086
- /**
2087
- * GamePickRoundBoard describes a round's leaderboard with ranked users
2088
- */
2089
- export interface GamePickRoundBoard extends GamePickRoundBase {
2090
- /** Current user's leaderboard entry, or null if user hasn't participated */
2091
- my_user: GamePickBoardUser;
2092
- /** Ranked list of users on the leaderboard */
2093
- users: GamePickBoardUser[];
2094
- }
2095
-
2096
- /**
2097
- * GamePickBoardUser describes a user's entry on the round leaderboard
2098
- */
2099
- export interface GamePickBoardUser {
2100
- /** External user ID (Smartico numeric user ID) */
2101
- ext_user_id: string;
2102
- /** Internal user ID within the games system */
2103
- int_user_id: number;
2104
- /** Display name shown on the leaderboard */
2105
- public_username: string;
2106
- /** URL of the user's avatar image */
2107
- avatar_url: string;
2108
- /** User's rank position on the leaderboard, null if not yet ranked */
2109
- gp_position: number;
2110
- /** User's total score in this round/season */
2111
- resolution_score: number;
2112
- /** Number of fully correct predictions */
2113
- full_wins_count: number;
2114
- /** Number of partially correct predictions */
2115
- part_wins_count: number;
2116
- /** Number of incorrect predictions */
2117
- lost_count: number;
2118
- }
2119
-
2120
- /**
2121
- * GamePickUserInfo describes the current user's profile in the games system
2122
- */
2123
- export interface GamePickUserInfo {
2124
- /** External user ID (Smartico numeric user ID) */
2125
- ext_user_id: string;
2126
- /** Internal user ID within the games system */
2127
- int_user_id: number;
2128
- /** Display name */
2129
- public_username: string;
2130
- /** URL of the user's avatar image */
2131
- avatar_url: string;
2132
- /** User's leaderboard rank position */
2133
- gp_position?: number;
2134
- /** Number of fully correct predictions */
2135
- full_wins_count?: number;
2136
- /** Number of partially correct predictions */
2137
- part_wins_count?: number;
2138
- /** User's total score */
2139
- resolution_score?: number;
2140
- /** Last time the user's balance was synced from the Smartico platform */
2141
- last_wallet_sync_time?: Date;
2142
- /** User's current points balance */
2143
- ach_points_balance?: number;
2144
- /** User's current gems balance */
2145
- ach_gems_balance?: number;
2146
- /** User's current diamonds balance */
2147
- ach_diamonds_balance?: number;
2148
- /** Whether the user has set a custom public username */
2149
- pubic_username_set?: boolean;
2150
- }
2151
-
2152
- /**
2153
- * GamePickGameInfo describes the game configuration including SAW template, rounds list, and label settings
2154
- */
2155
- export interface GamePickGameInfo {
2156
- /** Game template configuration (SAW template) with UI settings, buy-in type, cost, and spin count */
2157
- sawTemplate: SAWTemplate;
2158
- /** List of all rounds (metadata only, no events) */
2159
- allRounds: GamePickRoundBase[];
2160
- /** Label/brand configuration and settings */
2161
- labelInfo: any;
2162
- }
2163
-
2164
- /**
2165
- * GamesApiResponse is the standard response wrapper for all GamePick/Quiz API calls
2166
- */
2167
- export interface GamesApiResponse<T> {
2168
- /** Error code: 0 on success, non-zero on failure */
2169
- errCode: number;
2170
- /** Human-readable error message when errCode is non-zero */
2171
- errMessage?: string;
2172
- /** Response payload, present on success */
2173
- data?: T;
2174
- }
2175
-
2176
- /**
2177
- * GamePickRequestParams describes the base parameters required for GamePick API calls
2178
- */
2179
- export interface GamePickRequestParams {
2180
- /** ID of the MatchX or Quiz game template */
2181
- saw_template_id: number;
2182
- /** External user ID */
2183
- ext_user_id: string;
2184
- /** Smartico external user ID used for platform API calls */
2185
- smartico_ext_user_id: string;
2186
- /** Language code for translations (e.g. 'EN', 'DE') */
2187
- lang?: string;
2188
- }
2189
-
2190
- /**
2191
- * GamePickRoundRequestParams extends base params with a specific round ID
2192
- */
2193
- export interface GamePickRoundRequestParams extends GamePickRequestParams {
2194
- /** ID of the specific round */
2195
- round_id: number;
2196
- }
2197
-
2198
1729
  /**
2199
1730
  * One avatar in the user's catalog. Returned by `getAvatarsList()`.
2200
1731
  * Fields from the raw `public_meta` object are flattened to the top level.
package/src/index.ts CHANGED
@@ -14,7 +14,7 @@ export * from './Missions';
14
14
  export * from './Store';
15
15
  export * from './Tournaments';
16
16
  export * from './Level';
17
- export * from './Quiz';
17
+ export * from './GamePick';
18
18
  export * from './Jackpots';
19
19
  export * from './Raffle';
20
20
 
@@ -1,43 +0,0 @@
1
- # Enumeration: GPRoundStatus
2
-
3
- GPRoundStatus defines the lifecycle stage of a game round
4
-
5
- ## Enumeration Members
6
-
7
- ### Other
8
-
9
- > **Other**: `-1`
10
-
11
- Round is in an active/other state
12
-
13
- ***
14
-
15
- ### NoEventsDefined
16
-
17
- > **NoEventsDefined**: `1`
18
-
19
- Round exists but has no events defined yet
20
-
21
- ***
22
-
23
- ### NoMoreBetsAllowed
24
-
25
- > **NoMoreBetsAllowed**: `2`
26
-
27
- Betting deadline has passed, no more bets allowed
28
-
29
- ***
30
-
31
- ### AllEventsResolved\_ButNotRound
32
-
33
- > **AllEventsResolved\_ButNotRound**: `3`
34
-
35
- All events in the round are resolved, but the round itself is not finalized
36
-
37
- ***
38
-
39
- ### RoundResolved
40
-
41
- > **RoundResolved**: `4`
42
-
43
- Round is fully resolved and scored
@@ -1,19 +0,0 @@
1
- # Enumeration: GamePickMarketType
2
-
3
- GamePickMarketType defines legacy market categories for MatchX events
4
-
5
- ## Enumeration Members
6
-
7
- ### Goals
8
-
9
- > **Goals**: `1`
10
-
11
- Predict the number of goals
12
-
13
- ***
14
-
15
- ### Winner
16
-
17
- > **Winner**: `2`
18
-
19
- Predict the winner
@@ -1,35 +0,0 @@
1
- # Enumeration: GamePickResolutionType
2
-
3
- GamePickResolutionType defines how a user's prediction was scored after event resolution
4
-
5
- ## Enumeration Members
6
-
7
- ### None
8
-
9
- > **None**: `0`
10
-
11
- Event not yet resolved
12
-
13
- ***
14
-
15
- ### Lost
16
-
17
- > **Lost**: `2`
18
-
19
- Prediction was wrong
20
-
21
- ***
22
-
23
- ### PartialWin
24
-
25
- > **PartialWin**: `3`
26
-
27
- Prediction was partially correct (e.g. correct winner but wrong score)
28
-
29
- ***
30
-
31
- ### FullWin
32
-
33
- > **FullWin**: `4`
34
-
35
- Prediction was fully correct
@@ -1,19 +0,0 @@
1
- # Enumeration: GamePickScoreType
2
-
3
- GamePickScoreType defines how scores are calculated for predictions
4
-
5
- ## Enumeration Members
6
-
7
- ### ExactScore
8
-
9
- > **ExactScore**: `1`
10
-
11
- Score based on exact match of predicted result
12
-
13
- ***
14
-
15
- ### PointsDifference
16
-
17
- > **PointsDifference**: `2`
18
-
19
- Score based on closeness (difference) of predicted result