be-components 0.7.3 → 0.7.5
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/lib/commonjs/ApiOverrides/index.js +18 -0
- package/lib/commonjs/ApiOverrides/index.js.map +1 -1
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js +113 -0
- package/lib/commonjs/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -0
- package/lib/commonjs/Authenticator/Components/StrategyForm.js +238 -71
- package/lib/commonjs/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/commonjs/Authenticator/index.js +7 -4
- package/lib/commonjs/Authenticator/index.js.map +1 -1
- package/lib/commonjs/Checkout/api/index.js.map +1 -1
- package/lib/commonjs/Checkout/index.js.map +1 -1
- package/lib/commonjs/Competition/api/index.js +655 -0
- package/lib/commonjs/Competition/api/index.js.map +1 -0
- package/lib/commonjs/Competition/components/AthleteMarketCard.js +168 -0
- package/lib/commonjs/Competition/components/AthleteMarketCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionCard.js +180 -0
- package/lib/commonjs/Competition/components/CompetitionCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js +264 -0
- package/lib/commonjs/Competition/components/CompetitionInfoCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js +281 -0
- package/lib/commonjs/Competition/components/CompetitionLeaderboard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionPlay.js +1269 -0
- package/lib/commonjs/Competition/components/CompetitionPlay.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js +111 -0
- package/lib/commonjs/Competition/components/CompetitionSeasonCard.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionSelector.js +122 -0
- package/lib/commonjs/Competition/components/CompetitionSelector.js.map +1 -0
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js +380 -0
- package/lib/commonjs/Competition/components/CompetitionTypeCard.js.map +1 -0
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js +237 -0
- package/lib/commonjs/Competition/components/EnterCompetitionPrompt.js.map +1 -0
- package/lib/commonjs/Competition/components/LeaderPicks.js +322 -0
- package/lib/commonjs/Competition/components/LeaderPicks.js.map +1 -0
- package/lib/commonjs/Competition/components/ManageSeasonForm.js +605 -0
- package/lib/commonjs/Competition/components/ManageSeasonForm.js.map +1 -0
- package/lib/commonjs/Competition/components/MarketsCard.js +148 -0
- package/lib/commonjs/Competition/components/MarketsCard.js.map +1 -0
- package/lib/commonjs/Competition/components/MatchMarketCard.js +199 -0
- package/lib/commonjs/Competition/components/MatchMarketCard.js.map +1 -0
- package/lib/commonjs/Competition/components/NavOutPrompt.js +159 -0
- package/lib/commonjs/Competition/components/NavOutPrompt.js.map +1 -0
- package/lib/commonjs/Competition/components/SeasonInfoModal.js +400 -0
- package/lib/commonjs/Competition/components/SeasonInfoModal.js.map +1 -0
- package/lib/commonjs/Competition/components/TeamEventCard.js +217 -0
- package/lib/commonjs/Competition/components/TeamEventCard.js.map +1 -0
- package/lib/commonjs/Competition/components/WagerPickForm.js +278 -0
- package/lib/commonjs/Competition/components/WagerPickForm.js.map +1 -0
- package/lib/commonjs/Competition/index.js +42 -0
- package/lib/commonjs/Competition/index.js.map +1 -0
- package/lib/commonjs/Components/Icons.js.map +1 -1
- package/lib/commonjs/Components/Jerseys.js +713 -0
- package/lib/commonjs/Components/Jerseys.js.map +1 -0
- package/lib/commonjs/Components/LinearDiagnal.js +1 -1
- package/lib/commonjs/Components/LinearDiagnal.js.map +1 -1
- package/lib/commonjs/Components/Switch.js +81 -0
- package/lib/commonjs/Components/Switch.js.map +1 -0
- package/lib/commonjs/Components/index.js +14 -0
- package/lib/commonjs/Components/index.js.map +1 -1
- package/lib/commonjs/Poll/api/index.js +277 -0
- package/lib/commonjs/Poll/api/index.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignPlay.js +553 -0
- package/lib/commonjs/Poll/components/CampaignPlay.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignProgressBar.js +118 -0
- package/lib/commonjs/Poll/components/CampaignProgressBar.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignResult.js +382 -0
- package/lib/commonjs/Poll/components/CampaignResult.js.map +1 -0
- package/lib/commonjs/Poll/components/CampaignSelector.js +124 -0
- package/lib/commonjs/Poll/components/CampaignSelector.js.map +1 -0
- package/lib/commonjs/Poll/components/PollCampaignCard.js +66 -0
- package/lib/commonjs/Poll/components/PollCampaignCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollCard.js +480 -0
- package/lib/commonjs/Poll/components/PollCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollOptionCard.js +158 -0
- package/lib/commonjs/Poll/components/PollOptionCard.js.map +1 -0
- package/lib/commonjs/Poll/components/PollSelectCard.js +189 -0
- package/lib/commonjs/Poll/components/PollSelectCard.js.map +1 -0
- package/lib/commonjs/Poll/components/ResponseTimer.js +48 -0
- package/lib/commonjs/Poll/components/ResponseTimer.js.map +1 -0
- package/lib/commonjs/Poll/components/WidgetHeader.js +83 -0
- package/lib/commonjs/Poll/components/WidgetHeader.js.map +1 -0
- package/lib/commonjs/Poll/flashmarket/index.js +354 -0
- package/lib/commonjs/Poll/flashmarket/index.js.map +1 -0
- package/lib/commonjs/Poll/index.js +46 -0
- package/lib/commonjs/Poll/index.js.map +1 -0
- package/lib/commonjs/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js +3 -1
- package/lib/commonjs/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js +5 -0
- package/lib/commonjs/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/commonjs/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/commonjs/ProfileManager/index.js +2 -0
- package/lib/commonjs/ProfileManager/index.js.map +1 -1
- package/lib/commonjs/Wallet/api/index.js +4 -1
- package/lib/commonjs/Wallet/api/index.js.map +1 -1
- package/lib/commonjs/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/AddressManager.js.map +1 -1
- package/lib/commonjs/Wallet/components/DepositCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/commonjs/Wallet/components/MyBalance.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/commonjs/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/commonjs/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/commonjs/Wallet/index.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/ApiOverrides/index.js +18 -0
- package/lib/module/ApiOverrides/index.js.map +1 -1
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js +106 -0
- package/lib/module/Authenticator/Components/AuthStrategyIdentifier.js.map +1 -0
- package/lib/module/Authenticator/Components/StrategyForm.js +239 -72
- package/lib/module/Authenticator/Components/StrategyForm.js.map +1 -1
- package/lib/module/Authenticator/index.js +7 -4
- package/lib/module/Authenticator/index.js.map +1 -1
- package/lib/module/Checkout/api/index.js.map +1 -1
- package/lib/module/Checkout/index.js.map +1 -1
- package/lib/module/Competition/api/index.js +649 -0
- package/lib/module/Competition/api/index.js.map +1 -0
- package/lib/module/Competition/components/AthleteMarketCard.js +161 -0
- package/lib/module/Competition/components/AthleteMarketCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionCard.js +173 -0
- package/lib/module/Competition/components/CompetitionCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionInfoCard.js +257 -0
- package/lib/module/Competition/components/CompetitionInfoCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionLeaderboard.js +272 -0
- package/lib/module/Competition/components/CompetitionLeaderboard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionPlay.js +1260 -0
- package/lib/module/Competition/components/CompetitionPlay.js.map +1 -0
- package/lib/module/Competition/components/CompetitionSeasonCard.js +104 -0
- package/lib/module/Competition/components/CompetitionSeasonCard.js.map +1 -0
- package/lib/module/Competition/components/CompetitionSelector.js +113 -0
- package/lib/module/Competition/components/CompetitionSelector.js.map +1 -0
- package/lib/module/Competition/components/CompetitionTypeCard.js +371 -0
- package/lib/module/Competition/components/CompetitionTypeCard.js.map +1 -0
- package/lib/module/Competition/components/EnterCompetitionPrompt.js +228 -0
- package/lib/module/Competition/components/EnterCompetitionPrompt.js.map +1 -0
- package/lib/module/Competition/components/LeaderPicks.js +313 -0
- package/lib/module/Competition/components/LeaderPicks.js.map +1 -0
- package/lib/module/Competition/components/ManageSeasonForm.js +596 -0
- package/lib/module/Competition/components/ManageSeasonForm.js.map +1 -0
- package/lib/module/Competition/components/MarketsCard.js +139 -0
- package/lib/module/Competition/components/MarketsCard.js.map +1 -0
- package/lib/module/Competition/components/MatchMarketCard.js +192 -0
- package/lib/module/Competition/components/MatchMarketCard.js.map +1 -0
- package/lib/module/Competition/components/NavOutPrompt.js +152 -0
- package/lib/module/Competition/components/NavOutPrompt.js.map +1 -0
- package/lib/module/Competition/components/SeasonInfoModal.js +391 -0
- package/lib/module/Competition/components/SeasonInfoModal.js.map +1 -0
- package/lib/module/Competition/components/TeamEventCard.js +210 -0
- package/lib/module/Competition/components/TeamEventCard.js.map +1 -0
- package/lib/module/Competition/components/WagerPickForm.js +269 -0
- package/lib/module/Competition/components/WagerPickForm.js.map +1 -0
- package/lib/module/Competition/index.js +33 -0
- package/lib/module/Competition/index.js.map +1 -0
- package/lib/module/Components/Icons.js.map +1 -1
- package/lib/module/Components/Jerseys.js +705 -0
- package/lib/module/Components/Jerseys.js.map +1 -0
- package/lib/module/Components/LinearDiagnal.js +2 -3
- package/lib/module/Components/LinearDiagnal.js.map +1 -1
- package/lib/module/Components/Switch.js +74 -0
- package/lib/module/Components/Switch.js.map +1 -0
- package/lib/module/Components/index.js +3 -1
- package/lib/module/Components/index.js.map +1 -1
- package/lib/module/Poll/api/index.js +271 -0
- package/lib/module/Poll/api/index.js.map +1 -0
- package/lib/module/Poll/components/CampaignPlay.js +545 -0
- package/lib/module/Poll/components/CampaignPlay.js.map +1 -0
- package/lib/module/Poll/components/CampaignProgressBar.js +110 -0
- package/lib/module/Poll/components/CampaignProgressBar.js.map +1 -0
- package/lib/module/Poll/components/CampaignResult.js +374 -0
- package/lib/module/Poll/components/CampaignResult.js.map +1 -0
- package/lib/module/Poll/components/CampaignSelector.js +115 -0
- package/lib/module/Poll/components/CampaignSelector.js.map +1 -0
- package/lib/module/Poll/components/PollCampaignCard.js +59 -0
- package/lib/module/Poll/components/PollCampaignCard.js.map +1 -0
- package/lib/module/Poll/components/PollCard.js +472 -0
- package/lib/module/Poll/components/PollCard.js.map +1 -0
- package/lib/module/Poll/components/PollOptionCard.js +149 -0
- package/lib/module/Poll/components/PollOptionCard.js.map +1 -0
- package/lib/module/Poll/components/PollSelectCard.js +182 -0
- package/lib/module/Poll/components/PollSelectCard.js.map +1 -0
- package/lib/module/Poll/components/ResponseTimer.js +39 -0
- package/lib/module/Poll/components/ResponseTimer.js.map +1 -0
- package/lib/module/Poll/components/WidgetHeader.js +76 -0
- package/lib/module/Poll/components/WidgetHeader.js.map +1 -0
- package/lib/module/Poll/flashmarket/index.js +345 -0
- package/lib/module/Poll/flashmarket/index.js.map +1 -0
- package/lib/module/Poll/index.js +37 -0
- package/lib/module/Poll/index.js.map +1 -0
- package/lib/module/ProfileManager/Components/BasicInfoManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/BasicStatus.js.map +1 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js +3 -1
- package/lib/module/ProfileManager/Components/CodeRedeem.js.map +1 -1
- package/lib/module/ProfileManager/Components/DOBManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/EmailManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PasswordManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/PhoneManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfilePicManager.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWelcome.js.map +1 -1
- package/lib/module/ProfileManager/Components/ProfileWizard.js +5 -0
- package/lib/module/ProfileManager/Components/ProfileWizard.js.map +1 -1
- package/lib/module/ProfileManager/Components/VouchCard.js.map +1 -1
- package/lib/module/ProfileManager/index.js +2 -0
- package/lib/module/ProfileManager/index.js.map +1 -1
- package/lib/module/Wallet/api/index.js +4 -1
- package/lib/module/Wallet/api/index.js.map +1 -1
- package/lib/module/Wallet/components/ACHAddCard.js.map +1 -1
- package/lib/module/Wallet/components/AddressManager.js.map +1 -1
- package/lib/module/Wallet/components/DepositCard.js.map +1 -1
- package/lib/module/Wallet/components/FundAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManageAccountCard.js.map +1 -1
- package/lib/module/Wallet/components/ManualACHAdd.js.map +1 -1
- package/lib/module/Wallet/components/ManualCardAdd.js.map +1 -1
- package/lib/module/Wallet/components/MyBalance.js.map +1 -1
- package/lib/module/Wallet/components/WalletActionSelector.js.map +1 -1
- package/lib/module/Wallet/components/WalletSettings.js.map +1 -1
- package/lib/module/Wallet/components/WalletSetup.js.map +1 -1
- package/lib/module/Wallet/components/WithdrawCard.js.map +1 -1
- package/lib/module/Wallet/index.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/ApiOverrides/index.d.ts +1 -0
- package/lib/typescript/src/ApiOverrides/index.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts +11 -0
- package/lib/typescript/src/Authenticator/Components/AuthStrategyIdentifier.d.ts.map +1 -0
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts +4 -1
- package/lib/typescript/src/Authenticator/Components/StrategyForm.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/api/index.d.ts +2 -2
- package/lib/typescript/src/Authenticator/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Authenticator/index.d.ts +2 -1
- package/lib/typescript/src/Authenticator/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/api/index.d.ts +1 -2
- package/lib/typescript/src/Checkout/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Checkout/index.d.ts.map +1 -1
- package/lib/typescript/src/Competition/api/index.d.ts +128 -0
- package/lib/typescript/src/Competition/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts +19 -0
- package/lib/typescript/src/Competition/components/AthleteMarketCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts +12 -0
- package/lib/typescript/src/Competition/components/CompetitionCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts +16 -0
- package/lib/typescript/src/Competition/components/CompetitionInfoCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts +14 -0
- package/lib/typescript/src/Competition/components/CompetitionLeaderboard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts +20 -0
- package/lib/typescript/src/Competition/components/CompetitionPlay.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts +10 -0
- package/lib/typescript/src/Competition/components/CompetitionSeasonCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts +11 -0
- package/lib/typescript/src/Competition/components/CompetitionSelector.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts +14 -0
- package/lib/typescript/src/Competition/components/CompetitionTypeCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts +16 -0
- package/lib/typescript/src/Competition/components/EnterCompetitionPrompt.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts +22 -0
- package/lib/typescript/src/Competition/components/LeaderPicks.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts +10 -0
- package/lib/typescript/src/Competition/components/ManageSeasonForm.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts +15 -0
- package/lib/typescript/src/Competition/components/MarketsCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts +21 -0
- package/lib/typescript/src/Competition/components/MatchMarketCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts +23 -0
- package/lib/typescript/src/Competition/components/NavOutPrompt.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts +14 -0
- package/lib/typescript/src/Competition/components/SeasonInfoModal.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts +17 -0
- package/lib/typescript/src/Competition/components/TeamEventCard.d.ts.map +1 -0
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts +15 -0
- package/lib/typescript/src/Competition/components/WagerPickForm.d.ts.map +1 -0
- package/lib/typescript/src/Competition/index.d.ts +11 -0
- package/lib/typescript/src/Competition/index.d.ts.map +1 -0
- package/lib/typescript/src/Components/Icons.d.ts.map +1 -1
- package/lib/typescript/src/Components/Jerseys.d.ts +16 -0
- package/lib/typescript/src/Components/Jerseys.d.ts.map +1 -0
- package/lib/typescript/src/Components/LinearDiagnal.d.ts.map +1 -1
- package/lib/typescript/src/Components/Switch.d.ts +9 -0
- package/lib/typescript/src/Components/Switch.d.ts.map +1 -0
- package/lib/typescript/src/Components/index.d.ts +3 -1
- package/lib/typescript/src/Components/index.d.ts.map +1 -1
- package/lib/typescript/src/Poll/api/index.d.ts +65 -0
- package/lib/typescript/src/Poll/api/index.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts +14 -0
- package/lib/typescript/src/Poll/components/CampaignPlay.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts +12 -0
- package/lib/typescript/src/Poll/components/CampaignProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts +13 -0
- package/lib/typescript/src/Poll/components/CampaignResult.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts +9 -0
- package/lib/typescript/src/Poll/components/CampaignSelector.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts +10 -0
- package/lib/typescript/src/Poll/components/PollCampaignCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollCard.d.ts +16 -0
- package/lib/typescript/src/Poll/components/PollCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts +14 -0
- package/lib/typescript/src/Poll/components/PollOptionCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts +16 -0
- package/lib/typescript/src/Poll/components/PollSelectCard.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts +9 -0
- package/lib/typescript/src/Poll/components/ResponseTimer.d.ts.map +1 -0
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts +13 -0
- package/lib/typescript/src/Poll/components/WidgetHeader.d.ts.map +1 -0
- package/lib/typescript/src/Poll/flashmarket/index.d.ts +10 -0
- package/lib/typescript/src/Poll/flashmarket/index.d.ts.map +1 -0
- package/lib/typescript/src/Poll/index.d.ts +13 -0
- package/lib/typescript/src/Poll/index.d.ts.map +1 -0
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicInfoManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/BasicStatus.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts +9 -2
- package/lib/typescript/src/ProfileManager/Components/CodeRedeem.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/DOBManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/EmailManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/PasswordManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/PhoneManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfilePicManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/ProfileWelcome.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts +10 -3
- package/lib/typescript/src/ProfileManager/Components/ProfileWizard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts +2 -2
- package/lib/typescript/src/ProfileManager/Components/SettingsManager.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts +1 -2
- package/lib/typescript/src/ProfileManager/Components/VouchCard.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/api/index.d.ts +2 -2
- package/lib/typescript/src/ProfileManager/api/index.d.ts.map +1 -1
- package/lib/typescript/src/ProfileManager/index.d.ts +9 -2
- package/lib/typescript/src/ProfileManager/index.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/api/index.d.ts +2 -3
- package/lib/typescript/src/Wallet/api/index.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ACHAddCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/AddressManager.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/DepositCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/FundAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManageAccountCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualACHAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/ManualCardAdd.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/MyBalance.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletActionSelector.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSettings.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WalletSetup.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts +1 -2
- package/lib/typescript/src/Wallet/components/WithdrawCard.d.ts.map +1 -1
- package/lib/typescript/src/Wallet/index.d.ts +1 -2
- package/lib/typescript/src/Wallet/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ApiOverrides/index.ts +19 -0
- package/src/Authenticator/Components/AuthStrategyIdentifier.tsx +72 -0
- package/src/Authenticator/Components/StrategyForm.tsx +208 -53
- package/src/Authenticator/api/index.ts +2 -2
- package/src/Authenticator/api/types.d.ts +3 -26
- package/src/Authenticator/index.tsx +10 -4
- package/src/Checkout/api/index.tsx +1 -2
- package/src/Checkout/index.tsx +1 -2
- package/src/Competition/api/index.ts +568 -0
- package/src/Competition/components/AthleteMarketCard.tsx +116 -0
- package/src/Competition/components/CompetitionCard.tsx +82 -0
- package/src/Competition/components/CompetitionInfoCard.tsx +149 -0
- package/src/Competition/components/CompetitionLeaderboard.tsx +183 -0
- package/src/Competition/components/CompetitionPlay.tsx +936 -0
- package/src/Competition/components/CompetitionSeasonCard.tsx +48 -0
- package/src/Competition/components/CompetitionSelector.tsx +91 -0
- package/src/Competition/components/CompetitionTypeCard.tsx +211 -0
- package/src/Competition/components/EnterCompetitionPrompt.tsx +127 -0
- package/src/Competition/components/LeaderPicks.tsx +214 -0
- package/src/Competition/components/ManageSeasonForm.tsx +271 -0
- package/src/Competition/components/MarketsCard.tsx +108 -0
- package/src/Competition/components/MatchMarketCard.tsx +126 -0
- package/src/Competition/components/NavOutPrompt.tsx +87 -0
- package/src/Competition/components/SeasonInfoModal.tsx +212 -0
- package/src/Competition/components/TeamEventCard.tsx +136 -0
- package/src/Competition/components/WagerPickForm.tsx +114 -0
- package/src/Competition/index.tsx +36 -0
- package/src/Components/Icons.tsx +0 -2
- package/src/Components/Jerseys.tsx +268 -0
- package/src/Components/LinearDiagnal.tsx +2 -3
- package/src/Components/Switch.tsx +55 -0
- package/src/Components/index.tsx +5 -1
- package/src/Poll/api/index.ts +212 -0
- package/src/Poll/components/CampaignPlay.tsx +407 -0
- package/src/Poll/components/CampaignProgressBar.tsx +70 -0
- package/src/Poll/components/CampaignResult.tsx +180 -0
- package/src/Poll/components/CampaignSelector.tsx +96 -0
- package/src/Poll/components/PollCampaignCard.tsx +35 -0
- package/src/Poll/components/PollCard.tsx +335 -0
- package/src/Poll/components/PollOptionCard.tsx +110 -0
- package/src/Poll/components/PollSelectCard.tsx +106 -0
- package/src/Poll/components/ResponseTimer.tsx +37 -0
- package/src/Poll/components/WidgetHeader.tsx +46 -0
- package/src/Poll/flashmarket/index.tsx +231 -0
- package/src/Poll/index.tsx +45 -0
- package/src/ProfileManager/Components/BasicInfoManager.tsx +1 -1
- package/src/ProfileManager/Components/BasicStatus.tsx +1 -2
- package/src/ProfileManager/Components/CodeRedeem.tsx +10 -3
- package/src/ProfileManager/Components/DOBManager.tsx +1 -1
- package/src/ProfileManager/Components/EmailManager.tsx +1 -1
- package/src/ProfileManager/Components/PasswordManager.tsx +2 -1
- package/src/ProfileManager/Components/PhoneManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfilePicManager.tsx +1 -1
- package/src/ProfileManager/Components/ProfileWelcome.tsx +1 -2
- package/src/ProfileManager/Components/ProfileWizard.tsx +14 -3
- package/src/ProfileManager/Components/SettingsManager.tsx +2 -2
- package/src/ProfileManager/Components/VouchCard.tsx +1 -2
- package/src/ProfileManager/api/index.ts +2 -2
- package/src/ProfileManager/api/types.d.ts +0 -35
- package/src/ProfileManager/index.tsx +11 -3
- package/src/Wallet/api/index.ts +6 -4
- package/src/Wallet/components/ACHAddCard.tsx +1 -2
- package/src/Wallet/components/AddressManager.tsx +1 -2
- package/src/Wallet/components/DepositCard.tsx +1 -2
- package/src/Wallet/components/FundAccountCard.tsx +1 -2
- package/src/Wallet/components/ManageAccountCard.tsx +1 -2
- package/src/Wallet/components/ManualACHAdd.tsx +1 -2
- package/src/Wallet/components/ManualCardAdd.tsx +1 -2
- package/src/Wallet/components/MyBalance.tsx +1 -2
- package/src/Wallet/components/WalletActionSelector.tsx +1 -2
- package/src/Wallet/components/WalletSettings.tsx +1 -2
- package/src/Wallet/components/WalletSetup.tsx +1 -2
- package/src/Wallet/components/WithdrawCard.tsx +1 -2
- package/src/Wallet/index.tsx +1 -2
- package/src/index.tsx +5 -2
- package/src/types.d.ts +486 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { View, TouchableOpacity, FlatList, ScrollView } from "react-native";
|
|
3
|
-
import type { AccountActionProps, AccountProps, ItemOrderProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
3
|
+
import type { AccountActionProps, AccountProps, ItemOrderProps, MyPlayerProps, PlayerBalanceProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { Button, Icons, Text } from '../../Components';
|
|
5
5
|
import Colors from '../../constants/colors';
|
|
6
6
|
import { view_styles } from '../../constants/styles';
|
|
7
7
|
import { WalletHelpers } from '../api';
|
|
8
8
|
import DepositCard from './DepositCard';
|
|
9
|
-
import type { MyPlayerProps, PlayerBalanceProps } from '../../ProfileManager/api/types';
|
|
10
9
|
import WithdrawCard from './WithdrawCard';
|
|
11
10
|
import AccountLimitManager from './AccountLimitManager';
|
|
12
11
|
import AccountSnoozeManager from './AccountSnoozeManager';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { View, TouchableOpacity, ScrollView } from "react-native";
|
|
3
3
|
import { Button, Checkbox, Text, TextInput } from '../../Components';
|
|
4
|
-
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
5
4
|
import Colors from '../../constants/colors';
|
|
6
5
|
import { WalletApi, WalletHelpers } from '../api';
|
|
7
|
-
import type { AccountProps } from '../../types';
|
|
6
|
+
import type { AccountProps, MyPlayerProps } from '../../types';
|
|
8
7
|
const validator = require('us-bank-account-validator');
|
|
9
8
|
|
|
10
9
|
type ManualACHAddProps = {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { View, StyleSheet, ScrollView } from "react-native";
|
|
3
|
-
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
4
3
|
import { WalletApi, WalletHelpers } from '../api';
|
|
5
4
|
import { Button, Icons, Text, TextInput } from '../../Components';
|
|
6
5
|
import Colors from '../../constants/colors';
|
|
7
|
-
import type { AccountProps } from '../../types';
|
|
6
|
+
import type { AccountProps, MyPlayerProps } from '../../types';
|
|
8
7
|
import moment from 'moment-mini';
|
|
9
8
|
|
|
10
9
|
type ManualCardAddProps = {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { View, TouchableOpacity, ScrollView } from "react-native"
|
|
3
|
-
import type { MyPlayerProps, PlayerBalanceProps } from '../../
|
|
4
|
-
import type { AccountProps } from '../../types';
|
|
3
|
+
import type { AccountProps, MyPlayerProps, PlayerBalanceProps } from '../../types';
|
|
5
4
|
import { Button, Icons, Text } from '../../Components';
|
|
6
5
|
import Colors from '../../constants/colors';
|
|
7
6
|
import { button_styles } from '../../constants/styles';
|
|
@@ -3,8 +3,7 @@ import React, { useState } from 'react';
|
|
|
3
3
|
import { View, FlatList, ScrollView, TouchableOpacity, Image } from "react-native"
|
|
4
4
|
import { Button, Icons, Text } from '../../Components';
|
|
5
5
|
import Colors from '../../constants/colors';
|
|
6
|
-
import type { MyPlayerProps, PlayerBalanceProps } from '../../
|
|
7
|
-
import type { AccountProps } from '../../types';
|
|
6
|
+
import type { AccountProps, MyPlayerProps, PlayerBalanceProps } from '../../types';
|
|
8
7
|
import { WalletHelpers } from '../api';
|
|
9
8
|
|
|
10
9
|
type WalletActionSelectorProps ={
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useState } from "react"
|
|
3
|
-
import type { MyPlayerProps } from '../../
|
|
4
|
-
import type { PlayerDepositLimitProps, PlayerReferralProps, PlayerWithdrawLimitProps, PromoProps } from '../../types';
|
|
3
|
+
import type { MyPlayerProps, PlayerDepositLimitProps, PlayerReferralProps, PlayerWithdrawLimitProps, PromoProps } from '../../types';
|
|
5
4
|
import { View, TouchableOpacity, ScrollView } from 'react-native';
|
|
6
5
|
import { Button, Icons, Text } from '../../Components';
|
|
7
6
|
import Colors from '../../constants/colors';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
import { View, Image, TouchableOpacity, Linking, ScrollView } from "react-native";
|
|
3
|
-
import type { WalletSettingsProps } from '../../types';
|
|
3
|
+
import type { MyPlayerProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { Button, Checkbox, Icons, Text, TextInput } from '../../Components';
|
|
5
5
|
import Colors from '../../constants/colors';
|
|
6
|
-
import type { MyPlayerProps } from '../../ProfileManager/api/types';
|
|
7
6
|
import { WalletApi } from '../api';
|
|
8
7
|
import moment from 'moment-mini';
|
|
9
8
|
import { button_styles } from '../../constants/styles';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react';
|
|
2
2
|
import { ActivityIndicator, View, ScrollView } from "react-native";
|
|
3
|
-
import type { AccountProps, ItemOrderProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
3
|
+
import type { AccountProps, ItemOrderProps, MyPlayerProps, PlayerBalanceProps, PlayerDepositLimitProps, PlayerWithdrawLimitProps, WalletSettingsProps } from '../../types';
|
|
4
4
|
import { ItemOrderApi, ItemOrderHelpers } from '../api';
|
|
5
|
-
import type { MyPlayerProps, PlayerBalanceProps } from '../../ProfileManager/api/types';
|
|
6
5
|
import Colors from '../../constants/colors';
|
|
7
6
|
import { Button, Text, TextInput } from '../../Components';
|
|
8
7
|
import { view_styles } from '../../constants/styles';
|
package/src/Wallet/index.tsx
CHANGED
|
@@ -3,8 +3,7 @@ import { View, ActivityIndicator, FlatList, TouchableOpacity } from 'react-nativ
|
|
|
3
3
|
import { ItemOrderApi, WalletApi, WalletHelpers } from './api';
|
|
4
4
|
import Colors from '../constants/colors';
|
|
5
5
|
import WalletSetup from './components/WalletSetup';
|
|
6
|
-
import type { MyPlayerProps, PlayerBalanceProps } from '../
|
|
7
|
-
import type { AccountProps, CodeRequestProps, ItemOrderProps, ItemProps, PlayerAddressProps, PlayerDepositLimitProps, PlayerReferralProps, PlayerWithdrawLimitProps, PromoProps, PublicPlayerProps, RewardOptionProps, WalletSettingsProps } from '../types';
|
|
6
|
+
import type { AccountProps, CodeRequestProps, ItemOrderProps, ItemProps, MyPlayerProps, PlayerAddressProps, PlayerBalanceProps, PlayerDepositLimitProps, PlayerReferralProps, PlayerWithdrawLimitProps, PromoProps, PublicPlayerProps, RewardOptionProps, WalletSettingsProps } from '../types';
|
|
8
7
|
import MyBalance from './components/MyBalance';
|
|
9
8
|
import ManualCardAdd from './components/ManualCardAdd';
|
|
10
9
|
import DepositCard from './components/DepositCard';
|
package/src/index.tsx
CHANGED
|
@@ -10,7 +10,8 @@ import BettorSearch from "./BettorSearch";
|
|
|
10
10
|
import MyWallet from "./Wallet";
|
|
11
11
|
import Checkout from "./Checkout";
|
|
12
12
|
import { usePlayerLocation } from "./LocationTracker/LocationStatus";
|
|
13
|
-
|
|
13
|
+
import PollCampaign from "./Poll";
|
|
14
|
+
import CompetitionModule from "./Competition";
|
|
14
15
|
export {
|
|
15
16
|
Authenticator,
|
|
16
17
|
Observer,
|
|
@@ -25,5 +26,7 @@ export {
|
|
|
25
26
|
BettorSearch,
|
|
26
27
|
Colors,
|
|
27
28
|
MyWallet,
|
|
28
|
-
Checkout
|
|
29
|
+
Checkout,
|
|
30
|
+
PollCampaign,
|
|
31
|
+
CompetitionModule
|
|
29
32
|
}
|
package/src/types.d.ts
CHANGED
|
@@ -24,6 +24,31 @@ export interface PublicPlayerProps {
|
|
|
24
24
|
vouched_status:'unverified' | 'failed' | 'verified',
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
export interface CompanyProps {
|
|
28
|
+
company_id:string,
|
|
29
|
+
company_name: string,
|
|
30
|
+
company_code:string,
|
|
31
|
+
company_description: string,
|
|
32
|
+
type: string,
|
|
33
|
+
admin_id:string,
|
|
34
|
+
player_referrals?:PlayerReferralProps[],
|
|
35
|
+
short_name:string,
|
|
36
|
+
status: 'active'|'inactive',
|
|
37
|
+
company_image?: {
|
|
38
|
+
url: string,
|
|
39
|
+
width?:number,
|
|
40
|
+
height?:number
|
|
41
|
+
},
|
|
42
|
+
brand_primary?:string,
|
|
43
|
+
brand_secondary?:string,
|
|
44
|
+
advertising_enabled:boolean,
|
|
45
|
+
competitions_enabled:boolean,
|
|
46
|
+
catalog_enabled:boolean,
|
|
47
|
+
api_enabled:boolean,
|
|
48
|
+
legacy_id?:string,
|
|
49
|
+
create_datetime:any,
|
|
50
|
+
last_update_datetime: any
|
|
51
|
+
}
|
|
27
52
|
|
|
28
53
|
export interface LocationProps {
|
|
29
54
|
location_id:string,
|
|
@@ -36,6 +61,20 @@ export interface LocationProps {
|
|
|
36
61
|
}
|
|
37
62
|
|
|
38
63
|
//EVENTS SVC TYPES
|
|
64
|
+
export interface LeagueProps {
|
|
65
|
+
league_id:string,
|
|
66
|
+
league_name:string,
|
|
67
|
+
sport:string,
|
|
68
|
+
league_image:string,
|
|
69
|
+
priority:number,
|
|
70
|
+
status:string,
|
|
71
|
+
external_id?:string,
|
|
72
|
+
external_odds_id?:string,
|
|
73
|
+
default_markets?:[],
|
|
74
|
+
default_tournaments?:boolean,
|
|
75
|
+
create_datetime: any,
|
|
76
|
+
last_update_datetime:any,
|
|
77
|
+
}
|
|
39
78
|
|
|
40
79
|
export interface EventProps {
|
|
41
80
|
event_id:string,
|
|
@@ -180,6 +219,41 @@ export interface MatchProps {
|
|
|
180
219
|
}
|
|
181
220
|
|
|
182
221
|
|
|
222
|
+
//PLAYER SETTINGS
|
|
223
|
+
export interface MyPlayerProps {
|
|
224
|
+
player_id:string,
|
|
225
|
+
profile_pic:string,
|
|
226
|
+
username:string,
|
|
227
|
+
first_name:string,
|
|
228
|
+
last_name:string,
|
|
229
|
+
email:string,
|
|
230
|
+
type:'premium'|'freemium',
|
|
231
|
+
anonymous:boolean,
|
|
232
|
+
role:'player'|'admin',
|
|
233
|
+
guide_me?:boolean,
|
|
234
|
+
dob?:string,
|
|
235
|
+
auto_generated:boolean,
|
|
236
|
+
no_password:boolean,
|
|
237
|
+
open_to_challenges:boolean,
|
|
238
|
+
verified:boolean, //Email verification
|
|
239
|
+
phone:string,
|
|
240
|
+
phone_verified:boolean,
|
|
241
|
+
vouched_status: 'verified'|'unverified'|'failed',
|
|
242
|
+
bio?:string,
|
|
243
|
+
terms_agreed_on?:any,
|
|
244
|
+
create_datetime:any,
|
|
245
|
+
last_update_datetime:any
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export interface PlayerBalanceProps {
|
|
249
|
+
player_balance_id:string,
|
|
250
|
+
player_id:string,
|
|
251
|
+
free_market_balance:number,
|
|
252
|
+
balance:number,
|
|
253
|
+
promo_balance:number,
|
|
254
|
+
create_datetime:any,
|
|
255
|
+
last_udpate_datetime:any
|
|
256
|
+
}
|
|
183
257
|
|
|
184
258
|
|
|
185
259
|
|
|
@@ -283,6 +357,7 @@ export interface PollProps {
|
|
|
283
357
|
poll_id:string,
|
|
284
358
|
poll_campaign_id:string,
|
|
285
359
|
poll_question: string,
|
|
360
|
+
market_type:'FOR_MONEY'|'FREE',
|
|
286
361
|
status:string,
|
|
287
362
|
coupon_campaign_id?:string,
|
|
288
363
|
coupon_payout_type?:any,
|
|
@@ -299,6 +374,7 @@ export interface PollProps {
|
|
|
299
374
|
hidden_clue?:string,
|
|
300
375
|
minimum_stake:number,
|
|
301
376
|
priority: number,
|
|
377
|
+
confidence_allowed?: boolean,
|
|
302
378
|
end_datetime: any,
|
|
303
379
|
winning_option_id?:string,
|
|
304
380
|
winning_value?:string,
|
|
@@ -349,7 +425,7 @@ export interface PollResponseProps {
|
|
|
349
425
|
email?:string,
|
|
350
426
|
device_id?:string,
|
|
351
427
|
parimutuel_odds?:number,
|
|
352
|
-
stake:number,
|
|
428
|
+
stake:number|string,
|
|
353
429
|
market_type: 'FREE' | 'FOR_MONEY',
|
|
354
430
|
result_ind?:'win'|'lose'|'draw',
|
|
355
431
|
winnings:number,
|
|
@@ -707,3 +783,412 @@ export interface PromoProps {
|
|
|
707
783
|
expire_datetime:any,
|
|
708
784
|
create_datetime:any
|
|
709
785
|
}
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
//POLLS
|
|
793
|
+
export interface PollCampaignProps {
|
|
794
|
+
poll_campaign_id:string,
|
|
795
|
+
name: string,
|
|
796
|
+
player_id:string,
|
|
797
|
+
company_id?:string,
|
|
798
|
+
admins:string[],
|
|
799
|
+
phone:string,
|
|
800
|
+
total_responses:number,
|
|
801
|
+
status: string,
|
|
802
|
+
campaign_type: 'predict'|'trivia'|'feedback',
|
|
803
|
+
active_polls?:number,
|
|
804
|
+
auth_strategy_id?:string,
|
|
805
|
+
total_polls?:number,
|
|
806
|
+
share_coupon_campaign_id?:string,
|
|
807
|
+
total_responders?:number,
|
|
808
|
+
referral_code?:string,
|
|
809
|
+
break_ties?:boolean,
|
|
810
|
+
coupon_campaign_id?:string,
|
|
811
|
+
coupon_payout_type?:any,
|
|
812
|
+
campaign_image?: {
|
|
813
|
+
url: string,
|
|
814
|
+
width?: number,
|
|
815
|
+
height?: number
|
|
816
|
+
},
|
|
817
|
+
stream?:{
|
|
818
|
+
url: string,
|
|
819
|
+
stream_type: string,
|
|
820
|
+
id:string,
|
|
821
|
+
twitch_type?:'video'|'channel'
|
|
822
|
+
},
|
|
823
|
+
close_message_sent: boolean,
|
|
824
|
+
create_datetime: any,
|
|
825
|
+
last_update_datetime: any
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export interface PollCampaignGoalProps {
|
|
829
|
+
poll_campaign_goal_id:string,
|
|
830
|
+
poll_campaign_id:string,
|
|
831
|
+
goal_description: string,
|
|
832
|
+
goal_type: 'total_responses'|'total_responders'
|
|
833
|
+
goal_total:number,
|
|
834
|
+
goal_progress: number,
|
|
835
|
+
goal_progress_status: string,
|
|
836
|
+
status: 'active' | 'inactive',
|
|
837
|
+
create_datetime: any,
|
|
838
|
+
last_update_datetime:any
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
export interface PollCampaignLeaderProps {
|
|
843
|
+
poll_campaign_leader_id:string,
|
|
844
|
+
poll_campaign_id:string,
|
|
845
|
+
player_id:string,
|
|
846
|
+
place:number,
|
|
847
|
+
winnings:number,
|
|
848
|
+
stake:number,
|
|
849
|
+
responses:number,
|
|
850
|
+
create_datetime:any,
|
|
851
|
+
last_update_datetime:any
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export interface PollProps {
|
|
855
|
+
poll_id:string,
|
|
856
|
+
poll_campaign_id:string,
|
|
857
|
+
poll_question: string,
|
|
858
|
+
status:string,
|
|
859
|
+
coupon_campaign_id?:string,
|
|
860
|
+
coupon_payout_type?:any,
|
|
861
|
+
require_resolution?:boolean,
|
|
862
|
+
tie_breaker?:boolean,
|
|
863
|
+
poll_type: 'select'|'input',
|
|
864
|
+
input_type?:'string'|'number',
|
|
865
|
+
show_responses:boolean,
|
|
866
|
+
poll_image?:{
|
|
867
|
+
url:string,
|
|
868
|
+
width?:number,
|
|
869
|
+
height?:number
|
|
870
|
+
},
|
|
871
|
+
hidden_clue?:string,
|
|
872
|
+
minimum_stake:number,
|
|
873
|
+
priority: number,
|
|
874
|
+
end_datetime: any,
|
|
875
|
+
winning_option_id?:string,
|
|
876
|
+
winning_value?:string,
|
|
877
|
+
responded?:boolean,
|
|
878
|
+
seconds_allowed?:number,
|
|
879
|
+
manual_close_only?:boolean,
|
|
880
|
+
total_responses?:number,
|
|
881
|
+
total_options?:number,
|
|
882
|
+
poll_options?:PollOptionProps[],
|
|
883
|
+
poll_summaries?:PollSummaryProps[],
|
|
884
|
+
create_datetime:any,
|
|
885
|
+
last_update_datetime:any
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
export interface PollSummaryProps {
|
|
889
|
+
poll_id:string,
|
|
890
|
+
poll_option_id:string,
|
|
891
|
+
count:number,
|
|
892
|
+
stake:number,
|
|
893
|
+
pct:number
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export interface PollOptionProps {
|
|
897
|
+
poll_option_id:string,
|
|
898
|
+
poll_id:string,
|
|
899
|
+
option_type: 'select'|'input',
|
|
900
|
+
option_name: string,
|
|
901
|
+
option_value:string,
|
|
902
|
+
input_type?:string,
|
|
903
|
+
input_result:number,
|
|
904
|
+
priority:number,
|
|
905
|
+
status:string,
|
|
906
|
+
result_ind?:'win'|'lose'|'draw'
|
|
907
|
+
parimutuel_odds?:number,
|
|
908
|
+
response_message?:string,
|
|
909
|
+
respond?:boolean,
|
|
910
|
+
create_datetime:any,
|
|
911
|
+
last_update_datetime:any
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
export interface PollResponseProps {
|
|
916
|
+
poll_response_id:string,
|
|
917
|
+
poll_id:string,
|
|
918
|
+
poll_option_id?:string,
|
|
919
|
+
input_value?:string,
|
|
920
|
+
phone?:string,
|
|
921
|
+
email?:string,
|
|
922
|
+
device_id?:string,
|
|
923
|
+
parimutuel_odds?:number,
|
|
924
|
+
stake:number,
|
|
925
|
+
market_type: 'FREE' | 'FOR_MONEY',
|
|
926
|
+
result_ind?:'win'|'lose'|'draw',
|
|
927
|
+
winnings:number,
|
|
928
|
+
timed_out?:boolean,
|
|
929
|
+
player_id:string,
|
|
930
|
+
status:string,
|
|
931
|
+
response_body:any,
|
|
932
|
+
create_datetime:any,
|
|
933
|
+
last_update_datetime:any
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
//COMPETITIONS
|
|
939
|
+
export interface MarketProps {
|
|
940
|
+
market_id: string;
|
|
941
|
+
event_type: 'tournament'|'team'|'match';
|
|
942
|
+
level: 'event' | 'exotic' | 'athlete' | 'team' | 'h2h';
|
|
943
|
+
description: string;
|
|
944
|
+
type: 'Spread' | 'Winner' | 'Total' | 'Stat';
|
|
945
|
+
trade_side: string
|
|
946
|
+
length: 'half' | 'inning' | 'full_game';
|
|
947
|
+
stat: string;
|
|
948
|
+
status: 'active' | 'inactive';
|
|
949
|
+
side_options: MarketSideOptionProps[];
|
|
950
|
+
stat_label?:string,
|
|
951
|
+
supported_positions?:string[]
|
|
952
|
+
primary_market:boolean,
|
|
953
|
+
var_1_required?:boolean;
|
|
954
|
+
show_side_option?:boolean;
|
|
955
|
+
resolver?:string;
|
|
956
|
+
create_datetime: any;
|
|
957
|
+
last_update_datetime: any;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
export interface TradeProps {
|
|
962
|
+
trade_id: string;
|
|
963
|
+
market_id: string;
|
|
964
|
+
market?:MarketProps
|
|
965
|
+
event_id: string;
|
|
966
|
+
event_type: 'tournament'|'team'|'match'
|
|
967
|
+
var_1: number;
|
|
968
|
+
side:string;
|
|
969
|
+
side_id:string;
|
|
970
|
+
reversed_side_id:string;
|
|
971
|
+
side_type:'athlete'|'team'|'side';
|
|
972
|
+
odds: number;
|
|
973
|
+
probability:number;
|
|
974
|
+
market_type: 'FOR_MONEY' | 'FREE';
|
|
975
|
+
trade_amt: number;
|
|
976
|
+
cumulative_amt: number;
|
|
977
|
+
latest: boolean;
|
|
978
|
+
position_ids: string[]; //Ids of the orders that matched and made the trade
|
|
979
|
+
create_datetime: any;
|
|
980
|
+
last_update_datetime: any;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export interface CreateCompetitionProps {
|
|
984
|
+
competition:CompetitionProps,
|
|
985
|
+
share?:any,
|
|
986
|
+
competition_matches:CompetitionMatchProps[],
|
|
987
|
+
competition_match_markets:CompetitionMatchMarketProps[],
|
|
988
|
+
competition_players: CompetitionPlayerProps[],
|
|
989
|
+
additional_markets: { event_id:string, event_type:'team', competition_match_markets:CompetitionMatchMarketProps[] }[]
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export interface CompetitionProps {
|
|
993
|
+
competition_id:string,
|
|
994
|
+
auth_strategy_id:string,
|
|
995
|
+
competition_name:string,
|
|
996
|
+
competition_description:string,
|
|
997
|
+
buy_in:number,
|
|
998
|
+
admin_id:string,
|
|
999
|
+
admin?:PublicPlayerProps,
|
|
1000
|
+
guaranteed_payout?:number,
|
|
1001
|
+
winner_id?:string,
|
|
1002
|
+
image?:{url:string},
|
|
1003
|
+
winner?:PublicPlayerProps,
|
|
1004
|
+
competition_result_type_id:string,
|
|
1005
|
+
status:'scheduled'|'inprogress_open'|'inprogress_locked'|'closed'|'pending'|'paused',
|
|
1006
|
+
create_datetime:any,
|
|
1007
|
+
last_update_datetime:any,
|
|
1008
|
+
scheduled_datetime:any,
|
|
1009
|
+
complete_datetime?:any,
|
|
1010
|
+
end_datetime:any,
|
|
1011
|
+
leagues: string[],
|
|
1012
|
+
pacer_id?:string,
|
|
1013
|
+
client_id?:string,
|
|
1014
|
+
pacer?:PublicPlayerProps
|
|
1015
|
+
competition_season_id?:string
|
|
1016
|
+
promo_payout?:number,
|
|
1017
|
+
sponsor_id?:string,
|
|
1018
|
+
sponsor?:PublicPlayerProps,
|
|
1019
|
+
available_tickets:number,
|
|
1020
|
+
tickets_sold:number,
|
|
1021
|
+
market_ids:string[],
|
|
1022
|
+
ticket_revenue:number,
|
|
1023
|
+
prize_override?:string,
|
|
1024
|
+
prize_image?:{ url: string }
|
|
1025
|
+
max_pick_count:number,
|
|
1026
|
+
entered:boolean,
|
|
1027
|
+
market_type:string,
|
|
1028
|
+
invite_followers?:boolean,
|
|
1029
|
+
competition_type_id: string,
|
|
1030
|
+
length_type: 'event' | 'time'
|
|
1031
|
+
invite_only:boolean,
|
|
1032
|
+
competition_code:string,
|
|
1033
|
+
initial_balance:number,
|
|
1034
|
+
opt_in_url?:string
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
export interface CompetitionMatchProps {
|
|
1038
|
+
competition_match_id:string,
|
|
1039
|
+
competition_id:string,
|
|
1040
|
+
event_id:string,
|
|
1041
|
+
create_datetime:any,
|
|
1042
|
+
market_id_override?:string,
|
|
1043
|
+
side_type_override?:string,
|
|
1044
|
+
side_id_override?:string,
|
|
1045
|
+
last_update_datetime:any,
|
|
1046
|
+
status: 'closed'|'inprogress'|'deleted',
|
|
1047
|
+
event_type:'team'|'tournament'|'match',
|
|
1048
|
+
match_type: MarketProps['level']
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export interface CompetitionMatchMarketProps {
|
|
1052
|
+
competition_match_market_id:string,
|
|
1053
|
+
competition_match_id:string,
|
|
1054
|
+
event_id?:string,
|
|
1055
|
+
event_type?:string,
|
|
1056
|
+
market_id:string,
|
|
1057
|
+
side: string,
|
|
1058
|
+
side_id:string,
|
|
1059
|
+
var_1:number,
|
|
1060
|
+
odds:number,
|
|
1061
|
+
probability:number,
|
|
1062
|
+
status:string,
|
|
1063
|
+
create_datetime:any,
|
|
1064
|
+
last_update_datetime:any
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
|
+
export interface CompetitionPayoutTypeProps {
|
|
1069
|
+
competition_payout_type_id:string,
|
|
1070
|
+
tier:number,
|
|
1071
|
+
tier_type:'count'|'pct',
|
|
1072
|
+
competition_result_type_id:string,
|
|
1073
|
+
payout:number,
|
|
1074
|
+
tier_amt:number
|
|
1075
|
+
create_datetime:any,
|
|
1076
|
+
last_update_datetime:any
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export interface CompetitionResultTypeProps {
|
|
1080
|
+
competition_result_type_id:string,
|
|
1081
|
+
label:string,
|
|
1082
|
+
description:string,
|
|
1083
|
+
status:string,
|
|
1084
|
+
type:string,
|
|
1085
|
+
create_datetime:any,
|
|
1086
|
+
last_update_datetime:any
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
export interface CompetitionPlayerProps {
|
|
1091
|
+
competition_player_id: string | undefined,
|
|
1092
|
+
player_id:string,
|
|
1093
|
+
competition_id:string,
|
|
1094
|
+
accepted_ind:boolean,
|
|
1095
|
+
promo_balance?:boolean,
|
|
1096
|
+
create_datetime:any,
|
|
1097
|
+
wager_based_balance:number,
|
|
1098
|
+
last_update_datetime:any,
|
|
1099
|
+
status:string
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
|
|
1103
|
+
export interface CompetitionRecordProps {
|
|
1104
|
+
competition_record_id:string,
|
|
1105
|
+
player_id:string,
|
|
1106
|
+
competition_id:string,
|
|
1107
|
+
completed_picks:number,
|
|
1108
|
+
wins:number,
|
|
1109
|
+
losses:number,
|
|
1110
|
+
draws:number,
|
|
1111
|
+
earnings:number,
|
|
1112
|
+
potential_earnings:number,
|
|
1113
|
+
potential_winnings:number,
|
|
1114
|
+
winnings:number,
|
|
1115
|
+
completed_stakes:number,
|
|
1116
|
+
remaining_stakes:number,
|
|
1117
|
+
win_pct:number,
|
|
1118
|
+
remaining_picks:number,
|
|
1119
|
+
avg_probability:number,
|
|
1120
|
+
status:'inprogress'|'closed'|'deleted',
|
|
1121
|
+
create_datetime:any,
|
|
1122
|
+
last_update_datetime:any,
|
|
1123
|
+
delay_loaded?:boolean
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
export interface CompetitionResultProps {
|
|
1127
|
+
competition_result_id:string | undefined,
|
|
1128
|
+
competition_id:string,
|
|
1129
|
+
player_id:string,
|
|
1130
|
+
place:number,
|
|
1131
|
+
tie_ind:boolean,
|
|
1132
|
+
winnings:number,
|
|
1133
|
+
create_datetime:any,
|
|
1134
|
+
processed:boolean,
|
|
1135
|
+
status:'inprogress'|'closed'|'deleted',
|
|
1136
|
+
last_udpate_datetime:any,
|
|
1137
|
+
delay_loaded?:boolean
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export interface CompetitionSeasonProps {
|
|
1141
|
+
competition_season_id:string;
|
|
1142
|
+
season_name: string;
|
|
1143
|
+
season_description:string;
|
|
1144
|
+
image?:{ url:string };
|
|
1145
|
+
payout_amt: number;
|
|
1146
|
+
sponsor_id?:string;
|
|
1147
|
+
competition_result_type_id:string;
|
|
1148
|
+
admin_id:string;
|
|
1149
|
+
template?:boolean;
|
|
1150
|
+
following_season_id?:string;
|
|
1151
|
+
payout_allocation:number;
|
|
1152
|
+
single_buy_in:boolean; //If true - then once you enter, you are automatically entered into all remaining competitions in season. If false - you need to re-enter each week
|
|
1153
|
+
allow_late_buy_in:boolean; //If true - then you will allow users to buy in at later dates
|
|
1154
|
+
scheduled_datetime:any;
|
|
1155
|
+
league_id?:string,
|
|
1156
|
+
status: 'active' | 'inactive' | 'pending';
|
|
1157
|
+
market_type: 'FOR_MONEY' | 'FREE';
|
|
1158
|
+
create_datetime:any;
|
|
1159
|
+
last_update_datetime:any;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export interface CompetitionTypeProps {
|
|
1163
|
+
competition_type_id:string,
|
|
1164
|
+
type: string,
|
|
1165
|
+
type_label:string,
|
|
1166
|
+
description:string,
|
|
1167
|
+
type_image?:any,
|
|
1168
|
+
status:'active'|'inactive',
|
|
1169
|
+
create_datetime:any,
|
|
1170
|
+
last_update_datetime:any
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
export interface PlayerPickProps {
|
|
1175
|
+
player_pick_id:string,
|
|
1176
|
+
player_id:string,
|
|
1177
|
+
competition_id:string,
|
|
1178
|
+
pick_title:string,
|
|
1179
|
+
competition_match_id:string,
|
|
1180
|
+
side:string,
|
|
1181
|
+
side_id:string,
|
|
1182
|
+
odds: number,
|
|
1183
|
+
probability:number,
|
|
1184
|
+
market_id:string,
|
|
1185
|
+
var_1:number,
|
|
1186
|
+
stake:number,
|
|
1187
|
+
potential_winnings:number,
|
|
1188
|
+
winnings:number,
|
|
1189
|
+
parlay_id?:string,
|
|
1190
|
+
status:string,
|
|
1191
|
+
result_ind?:string,
|
|
1192
|
+
create_datetime:any,
|
|
1193
|
+
last_update_datetime:any
|
|
1194
|
+
}
|