@footballbingo/client 1.0.0 → 2.0.0
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/FootballBingoClient.d.ts +44 -18
- package/dist/FootballBingoClient.js +44 -18
- package/dist/client/client.gen.d.ts +2 -0
- package/dist/client/client.gen.js +235 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.js +6 -0
- package/dist/client/types.gen.d.ts +117 -0
- package/dist/client/types.gen.js +2 -0
- package/dist/client/utils.gen.d.ts +33 -0
- package/dist/client/utils.gen.js +230 -0
- package/dist/client.gen.d.ts +12 -0
- package/dist/client.gen.js +3 -0
- package/dist/core/auth.gen.d.ts +18 -0
- package/dist/core/auth.gen.js +14 -0
- package/dist/core/bodySerializer.gen.d.ts +25 -0
- package/dist/core/bodySerializer.gen.js +57 -0
- package/dist/core/params.gen.d.ts +43 -0
- package/dist/core/params.gen.js +100 -0
- package/dist/core/pathSerializer.gen.d.ts +33 -0
- package/dist/core/pathSerializer.gen.js +106 -0
- package/dist/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/core/queryKeySerializer.gen.js +92 -0
- package/dist/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/core/serverSentEvents.gen.js +133 -0
- package/dist/core/types.gen.d.ts +78 -0
- package/dist/core/types.gen.js +2 -0
- package/dist/core/utils.gen.d.ts +19 -0
- package/dist/core/utils.gen.js +87 -0
- package/dist/index.d.ts +3 -104
- package/dist/index.js +3 -139
- package/dist/models/AIChatMessageResponseDTO.d.ts +5 -0
- package/dist/models/AIChatMessageResponseDTO.js +2 -0
- package/dist/models/AIChatOpinionDTO.d.ts +14 -0
- package/dist/models/AIChatOpinionDTO.js +12 -0
- package/dist/models/AIChatSessionDTO.d.ts +5 -0
- package/dist/models/AIChatSessionDTO.js +2 -0
- package/dist/models/AIChatSessionDetailDTO.d.ts +6 -0
- package/dist/models/AIChatSessionDetailDTO.js +2 -0
- package/dist/models/AIChatSessionSummaryDTO.d.ts +4 -0
- package/dist/models/AIChatSessionSummaryDTO.js +2 -0
- package/dist/models/AcceptStakeResponse.d.ts +6 -0
- package/dist/models/AcceptStakeResponse.js +2 -0
- package/dist/models/AchievementDTO.d.ts +13 -0
- package/dist/models/AchievementDTO.js +2 -0
- package/dist/models/AchievementDetailResponse.d.ts +64 -0
- package/dist/models/AchievementDetailResponse.js +33 -0
- package/dist/models/AchievementLeaderboardResponse.d.ts +24 -0
- package/dist/models/AchievementLeaderboardResponse.js +2 -0
- package/dist/models/AchievementMarkViewedResponse.d.ts +5 -0
- package/dist/models/AchievementMarkViewedResponse.js +2 -0
- package/dist/models/AchievementProgressUpdateResponse.d.ts +29 -0
- package/dist/models/AchievementProgressUpdateResponse.js +2 -0
- package/dist/models/ActiveAcceptedStake.d.ts +5 -0
- package/dist/models/ActiveAcceptedStake.js +2 -0
- package/dist/models/ActiveEventResponse.d.ts +13 -0
- package/dist/models/ActiveEventResponse.js +2 -0
- package/dist/models/ActiveFlashResponse.d.ts +2 -0
- package/dist/models/ActiveFlashResponse.js +2 -0
- package/dist/models/AdClaimResponse.d.ts +17 -0
- package/dist/models/AdClaimResponse.js +10 -0
- package/dist/models/AdStatusResponse.d.ts +8 -0
- package/dist/models/AdStatusResponse.js +2 -0
- package/dist/models/AdWebhookResponse.d.ts +3 -0
- package/dist/models/AdWebhookResponse.js +2 -0
- package/dist/models/AddStarredItemResponse.d.ts +40 -0
- package/dist/models/AddStarredItemResponse.js +14 -0
- package/dist/models/AdminAchievementStatsResponse.d.ts +66 -0
- package/dist/models/AdminAchievementStatsResponse.js +33 -0
- package/dist/models/AdminAdjustBalanceResponse.d.ts +19 -0
- package/dist/models/AdminAdjustBalanceResponse.js +11 -0
- package/dist/models/AdminArchiveGameTemplateResponse.d.ts +51 -0
- package/dist/models/AdminArchiveGameTemplateResponse.js +19 -0
- package/dist/models/AdminBanUserResponse.d.ts +33 -0
- package/dist/models/AdminBanUserResponse.js +2 -0
- package/dist/models/AdminBroadcastNotificationResponse.d.ts +6 -0
- package/dist/models/AdminBroadcastNotificationResponse.js +2 -0
- package/dist/models/AdminCacheStatsResponse.d.ts +8 -0
- package/dist/models/AdminCacheStatsResponse.js +2 -0
- package/dist/models/AdminChallengeStatsResponse.d.ts +54 -0
- package/dist/models/AdminChallengeStatsResponse.js +29 -0
- package/dist/models/AdminCheckApiQuotaResponse.d.ts +19 -0
- package/dist/models/AdminCheckApiQuotaResponse.js +12 -0
- package/dist/models/AdminCheckDatabaseResponse.d.ts +21 -0
- package/dist/models/AdminCheckDatabaseResponse.js +12 -0
- package/dist/models/AdminCheckEnvironmentResponse.d.ts +10 -0
- package/dist/models/AdminCheckEnvironmentResponse.js +2 -0
- package/dist/models/AdminCheckMemoryResponse.d.ts +20 -0
- package/dist/models/AdminCheckMemoryResponse.js +12 -0
- package/dist/models/AdminCheckPredictionResponse.d.ts +81 -0
- package/dist/models/AdminCheckPredictionResponse.js +12 -0
- package/dist/models/AdminCleanupResponse.d.ts +4 -0
- package/dist/models/AdminCleanupResponse.js +2 -0
- package/dist/models/AdminClearCacheByTypeResponse.d.ts +5 -0
- package/dist/models/AdminClearCacheByTypeResponse.js +2 -0
- package/dist/models/AdminClearCacheResponse.d.ts +4 -0
- package/dist/models/AdminClearCacheResponse.js +2 -0
- package/dist/models/AdminCreateSponsoredPackResponse.d.ts +23 -0
- package/dist/models/AdminCreateSponsoredPackResponse.js +2 -0
- package/dist/models/AdminCreateSponsoredStakeResponse.d.ts +54 -0
- package/dist/models/AdminCreateSponsoredStakeResponse.js +27 -0
- package/dist/models/AdminDashboardResponse.d.ts +40 -0
- package/dist/models/AdminDashboardResponse.js +2 -0
- package/dist/models/AdminDeactivateSeasonalEventResponse.d.ts +16 -0
- package/dist/models/AdminDeactivateSeasonalEventResponse.js +2 -0
- package/dist/models/AdminDeleteCommentResponse.d.ts +3 -0
- package/dist/models/AdminDeleteCommentResponse.js +2 -0
- package/dist/models/AdminDeleteFeatureFlagResponse.d.ts +4 -0
- package/dist/models/AdminDeleteFeatureFlagResponse.js +2 -0
- package/dist/models/AdminEndSessionResponse.d.ts +27 -0
- package/dist/models/AdminEndSessionResponse.js +2 -0
- package/dist/models/AdminEventLogResponse.d.ts +16 -0
- package/dist/models/AdminEventLogResponse.js +2 -0
- package/dist/models/AdminEventReportByIdResponse.d.ts +52 -0
- package/dist/models/AdminEventReportByIdResponse.js +12 -0
- package/dist/models/AdminEventReportStatsResponse.d.ts +15 -0
- package/dist/models/AdminEventReportStatsResponse.js +2 -0
- package/dist/models/AdminEventReportsResponse.d.ts +42 -0
- package/dist/models/AdminEventReportsResponse.js +2 -0
- package/dist/models/AdminEventStatsResponse.d.ts +11 -0
- package/dist/models/AdminEventStatsResponse.js +2 -0
- package/dist/models/AdminEventTypesResponse.d.ts +6 -0
- package/dist/models/AdminEventTypesResponse.js +2 -0
- package/dist/models/AdminFeatureFlagsResponse.d.ts +3 -0
- package/dist/models/AdminFeatureFlagsResponse.js +2 -0
- package/dist/models/AdminGameTemplateResponse.d.ts +34 -0
- package/dist/models/AdminGameTemplateResponse.js +10 -0
- package/dist/models/AdminImpersonateUserResponse.d.ts +10 -0
- package/dist/models/AdminImpersonateUserResponse.js +2 -0
- package/dist/models/AdminJobStatusResponse.d.ts +7 -0
- package/dist/models/AdminJobStatusResponse.js +2 -0
- package/dist/models/AdminListAchievementsResponse.d.ts +32 -0
- package/dist/models/AdminListAchievementsResponse.js +2 -0
- package/dist/models/AdminListChallengesResponse.d.ts +35 -0
- package/dist/models/AdminListChallengesResponse.js +2 -0
- package/dist/models/AdminListGameTemplatesResponse.d.ts +43 -0
- package/dist/models/AdminListGameTemplatesResponse.js +2 -0
- package/dist/models/AdminListImpersonationsResponse.d.ts +10 -0
- package/dist/models/AdminListImpersonationsResponse.js +2 -0
- package/dist/models/AdminListLiveSessionsResponse.d.ts +27 -0
- package/dist/models/AdminListLiveSessionsResponse.js +2 -0
- package/dist/models/AdminListPredictionsResponse.d.ts +40 -0
- package/dist/models/AdminListPredictionsResponse.js +2 -0
- package/dist/models/AdminListSeasonalEventsResponse.d.ts +15 -0
- package/dist/models/AdminListSeasonalEventsResponse.js +2 -0
- package/dist/models/AdminModerationQueueResponse.d.ts +37 -0
- package/dist/models/AdminModerationQueueResponse.js +2 -0
- package/dist/models/AdminNotificationLogResponse.d.ts +26 -0
- package/dist/models/AdminNotificationLogResponse.js +2 -0
- package/dist/models/AdminNotificationStatsResponse.d.ts +9 -0
- package/dist/models/AdminNotificationStatsResponse.js +2 -0
- package/dist/models/AdminPredictionStatsResponse.d.ts +22 -0
- package/dist/models/AdminPredictionStatsResponse.js +2 -0
- package/dist/models/AdminResolvePredictionsForMatchResponse.d.ts +8 -0
- package/dist/models/AdminResolvePredictionsForMatchResponse.js +2 -0
- package/dist/models/AdminReviewEventReportResponse.d.ts +44 -0
- package/dist/models/AdminReviewEventReportResponse.js +12 -0
- package/dist/models/AdminRevokeImpersonationResponse.d.ts +3 -0
- package/dist/models/AdminRevokeImpersonationResponse.js +2 -0
- package/dist/models/AdminSearchUsersResponse.d.ts +22 -0
- package/dist/models/AdminSearchUsersResponse.js +2 -0
- package/dist/models/AdminSeasonalEventResponse.d.ts +13 -0
- package/dist/models/AdminSeasonalEventResponse.js +2 -0
- package/dist/models/AdminSessionDetailsResponse.d.ts +19 -0
- package/dist/models/AdminSessionDetailsResponse.js +2 -0
- package/dist/models/AdminSetAdminStatusResponse.d.ts +33 -0
- package/dist/models/AdminSetAdminStatusResponse.js +2 -0
- package/dist/models/AdminSetFeatureFlagResponse.d.ts +4 -0
- package/dist/models/AdminSetFeatureFlagResponse.js +2 -0
- package/dist/models/AdminTestApiSportsResponse.d.ts +10 -0
- package/dist/models/AdminTestApiSportsResponse.js +2 -0
- package/dist/models/AdminTopUsersResponse.d.ts +19 -0
- package/dist/models/AdminTopUsersResponse.js +12 -0
- package/dist/models/AdminTriggerResolvePredictionsResponse.d.ts +7 -0
- package/dist/models/AdminTriggerResolvePredictionsResponse.js +2 -0
- package/dist/models/AdminUnbanUserResponse.d.ts +33 -0
- package/dist/models/AdminUnbanUserResponse.js +2 -0
- package/dist/models/AdminUserDetailsResponse.d.ts +115 -0
- package/dist/models/AdminUserDetailsResponse.js +2 -0
- package/dist/models/AdminUserGrowthResponse.d.ts +7 -0
- package/dist/models/AdminUserGrowthResponse.js +2 -0
- package/dist/models/AdminUserResponse.d.ts +30 -0
- package/dist/models/AdminUserResponse.js +2 -0
- package/dist/models/AdminUserWalletResponse.d.ts +21 -0
- package/dist/models/AdminUserWalletResponse.js +2 -0
- package/dist/models/AllPacksData.d.ts +24 -0
- package/dist/models/AllPacksData.js +2 -0
- package/dist/models/ApiSportsPagingDTO.d.ts +4 -0
- package/dist/models/ApiSportsPagingDTO.js +2 -0
- package/dist/models/AttemptDetail.d.ts +17 -0
- package/dist/models/AttemptDetail.js +12 -0
- package/dist/models/Author.d.ts +5 -0
- package/dist/models/Author.js +2 -0
- package/dist/models/AutoStartGamesData.d.ts +11 -0
- package/dist/models/AutoStartGamesData.js +2 -0
- package/dist/models/AvailablePacksData.d.ts +24 -0
- package/dist/models/AvailablePacksData.js +2 -0
- package/dist/models/AwardXPRequestDTO.d.ts +22 -0
- package/dist/models/AwardXPRequestDTO.js +2 -0
- package/dist/models/AwardXPResponse.d.ts +19 -0
- package/dist/models/AwardXPResponse.js +2 -0
- package/dist/models/BetMarketTypeItem.d.ts +4 -0
- package/dist/models/BetMarketTypeItem.js +2 -0
- package/dist/models/BetTypeItem.d.ts +4 -0
- package/dist/models/BetTypeItem.js +2 -0
- package/dist/models/BetsResponse.d.ts +12 -0
- package/dist/models/BetsResponse.js +2 -0
- package/dist/models/BingoGameDTO.d.ts +22 -0
- package/dist/models/BingoGameDTO.js +2 -0
- package/dist/models/BingoLeaderboardEntry.d.ts +12 -0
- package/dist/models/BingoLeaderboardEntry.js +2 -0
- package/dist/models/BoardExportData.d.ts +52 -0
- package/dist/models/BoardExportData.js +2 -0
- package/dist/models/BoardPlaybackDTO.d.ts +31 -0
- package/dist/models/BoardPlaybackDTO.js +2 -0
- package/dist/models/BoardPlaybackData.d.ts +31 -0
- package/dist/models/BoardPlaybackData.js +2 -0
- package/dist/models/BoardShareUrlData.d.ts +4 -0
- package/dist/models/BoardShareUrlData.js +2 -0
- package/dist/models/BookmakerItem.d.ts +4 -0
- package/dist/models/BookmakerItem.js +2 -0
- package/dist/models/BookmakersResponse.d.ts +12 -0
- package/dist/models/BookmakersResponse.js +2 -0
- package/dist/models/BulkImportStarredResponse.d.ts +9 -0
- package/dist/models/BulkImportStarredResponse.js +2 -0
- package/dist/models/CanAccessFeatureResponse.d.ts +21 -0
- package/dist/models/CanAccessFeatureResponse.js +2 -0
- package/dist/models/CancelStakeResponse.d.ts +3 -0
- package/dist/models/CancelStakeResponse.js +2 -0
- package/dist/models/CancelSubscriptionResponse.d.ts +4 -0
- package/dist/models/CancelSubscriptionResponse.js +2 -0
- package/dist/models/ChallengeDTO.d.ts +26 -0
- package/dist/models/ChallengeDTO.js +18 -0
- package/dist/models/ChallengeDetailResponse.d.ts +55 -0
- package/dist/models/ChallengeDetailResponse.js +12 -0
- package/dist/models/ChallengeHistoryResponse.d.ts +21 -0
- package/dist/models/ChallengeHistoryResponse.js +2 -0
- package/dist/models/ChallengeLeaderboardResponse.d.ts +21 -0
- package/dist/models/ChallengeLeaderboardResponse.js +2 -0
- package/dist/models/ChallengeStreakResponse.d.ts +27 -0
- package/dist/models/ChallengeStreakResponse.js +2 -0
- package/dist/models/ChatHistoryResponse.d.ts +13 -0
- package/dist/models/ChatHistoryResponse.js +2 -0
- package/dist/models/ChatMessage.d.ts +1 -6
- package/dist/models/ChatMessage.js +0 -1
- package/dist/models/ChatMessageDTO.d.ts +17 -0
- package/dist/models/ChatMessageDTO.js +12 -0
- package/dist/models/ChatMessageResponse.d.ts +17 -0
- package/dist/models/ChatMessageResponse.js +2 -0
- package/dist/models/ChatSessionDTO.d.ts +13 -0
- package/dist/models/ChatSessionDTO.js +2 -0
- package/dist/models/CheckAchievementsRequestDTO.d.ts +14 -0
- package/dist/models/CheckAchievementsRequestDTO.js +2 -0
- package/dist/models/CheckAchievementsResponse.d.ts +27 -0
- package/dist/models/CheckAchievementsResponse.js +2 -0
- package/dist/models/CheckStarredResponse.d.ts +3 -0
- package/dist/models/CheckStarredResponse.js +2 -0
- package/dist/models/ClaimAllChallengesResponse.d.ts +25 -0
- package/dist/models/ClaimAllChallengesResponse.js +2 -0
- package/dist/models/ClaimLineupResponse.d.ts +5 -0
- package/dist/models/ClaimLineupResponse.js +2 -0
- package/dist/models/ClaimRewardResponse.d.ts +21 -0
- package/dist/models/ClaimRewardResponse.js +2 -0
- package/dist/models/ClaimTacticsBoardResponse.d.ts +4 -0
- package/dist/models/ClaimTacticsBoardResponse.js +2 -0
- package/dist/models/ClaimTileData.d.ts +7 -0
- package/dist/models/ClaimTileData.js +2 -0
- package/dist/models/ClerkWebhookResponse.d.ts +1 -0
- package/dist/models/ClerkWebhookResponse.js +2 -0
- package/dist/models/CoachDTO.d.ts +9 -0
- package/dist/models/CoachDTO.js +2 -0
- package/dist/models/CoachItem.d.ts +30 -0
- package/dist/models/CoachItem.js +2 -0
- package/dist/models/CommentLikeResponse.d.ts +4 -0
- package/dist/models/CommentLikeResponse.js +2 -0
- package/dist/models/Community.d.ts +61 -0
- package/dist/models/Community.js +41 -0
- package/dist/models/CommunityFeedItem.d.ts +11 -0
- package/dist/models/CommunityFeedItem.js +2 -0
- package/dist/models/CommunityFeedResponse.d.ts +5 -0
- package/dist/models/CommunityFeedResponse.js +2 -0
- package/dist/models/CommunityInvite.d.ts +29 -0
- package/dist/models/CommunityInvite.js +13 -0
- package/dist/models/CommunityLeaderboardEntry.d.ts +9 -0
- package/dist/models/CommunityLeaderboardEntry.js +2 -0
- package/dist/models/CommunityLeaderboardResponse.d.ts +15 -0
- package/dist/models/CommunityLeaderboardResponse.js +12 -0
- package/dist/models/CommunityPost.d.ts +24 -0
- package/dist/models/CommunityPost.js +11 -0
- package/dist/models/CommunityPredictionsResponse.d.ts +115 -0
- package/dist/models/CommunityPredictionsResponse.js +12 -0
- package/dist/models/ComprehensiveStatsResponse.d.ts +60 -0
- package/dist/models/ComprehensiveStatsResponse.js +2 -0
- package/dist/models/CountriesListResponse.d.ts +12 -0
- package/dist/models/CountriesListResponse.js +2 -0
- package/dist/models/CountryDetailResponse.d.ts +12 -0
- package/dist/models/CountryDetailResponse.js +2 -0
- package/dist/models/CountryItem.d.ts +5 -0
- package/dist/models/CountryItem.js +2 -0
- package/dist/models/CreateAIChatSessionSchema.d.ts +6 -0
- package/dist/models/CreateAIChatSessionSchema.js +2 -0
- package/dist/models/CreateEventPoolData.d.ts +4 -0
- package/dist/models/CreateEventPoolData.js +2 -0
- package/dist/models/CreateEventPoolRequestDTO.d.ts +26 -0
- package/dist/models/CreateEventPoolRequestDTO.js +12 -0
- package/dist/models/CreateGameChatMessageSchema.d.ts +12 -0
- package/dist/models/CreateGameChatMessageSchema.js +12 -0
- package/dist/models/CreateGameData.d.ts +4 -0
- package/dist/models/CreateGameData.js +2 -0
- package/dist/models/CreateGameRequestDTO.d.ts +59 -0
- package/dist/models/CreateGameRequestDTO.js +37 -0
- package/dist/models/CreateLineupSchema.d.ts +11 -0
- package/dist/models/CreateLineupSchema.js +2 -0
- package/dist/models/CreateNewsSchema.d.ts +13 -0
- package/dist/models/CreateNewsSchema.js +2 -0
- package/dist/models/CreatePackData.d.ts +21 -0
- package/dist/models/CreatePackData.js +2 -0
- package/dist/models/CreatePredictionResponse.d.ts +5 -0
- package/dist/models/CreatePredictionResponse.js +2 -0
- package/dist/models/CreateSessionResponse.d.ts +17 -0
- package/dist/models/CreateSessionResponse.js +2 -0
- package/dist/models/CreateSponsorData.d.ts +4 -0
- package/dist/models/CreateSponsorData.js +2 -0
- package/dist/models/CreateSponsorRequestDTO.d.ts +22 -0
- package/dist/models/CreateSponsorRequestDTO.js +2 -0
- package/dist/models/CreateTacticsBoardSchema.d.ts +6 -0
- package/dist/models/CreateTacticsBoardSchema.js +2 -0
- package/dist/models/CreateTransferPlanSchema.d.ts +13 -0
- package/dist/models/CreateTransferPlanSchema.js +2 -0
- package/dist/models/CreatedGame.d.ts +24 -0
- package/dist/models/CreatedGame.js +2 -0
- package/dist/models/DailyLoginCheckInResponse.d.ts +11 -0
- package/dist/models/DailyLoginCheckInResponse.js +2 -0
- package/dist/models/DeepLinkResponse.d.ts +13 -0
- package/dist/models/DeepLinkResponse.js +12 -0
- package/dist/models/DeleteEventPoolData.d.ts +8 -0
- package/dist/models/DeleteEventPoolData.js +2 -0
- package/dist/models/DeletePredictionResponse.d.ts +3 -0
- package/dist/models/DeletePredictionResponse.js +2 -0
- package/dist/models/DeleteSessionResponse.d.ts +3 -0
- package/dist/models/DeleteSessionResponse.js +2 -0
- package/dist/models/DeleteUserResponse.d.ts +4 -0
- package/dist/models/DeleteUserResponse.js +2 -0
- package/dist/models/EndGameData.d.ts +20 -0
- package/dist/models/EndGameData.js +12 -0
- package/dist/models/EventPool.d.ts +37 -0
- package/dist/models/EventPool.js +24 -0
- package/dist/models/EventPoolDTO.d.ts +22 -0
- package/dist/models/EventPoolDTO.js +2 -0
- package/dist/models/EventTypesData.d.ts +12 -0
- package/dist/models/EventTypesData.js +2 -0
- package/dist/models/ExportDataUrlResponse.d.ts +3 -0
- package/dist/models/ExportDataUrlResponse.js +2 -0
- package/dist/models/FavoriteLeague.d.ts +5 -0
- package/dist/models/FavoriteLeague.js +2 -0
- package/dist/models/FeaturedGame.d.ts +66 -0
- package/dist/models/FeaturedGame.js +28 -0
- package/dist/models/FeaturedGamesData.d.ts +4 -0
- package/dist/models/FeaturedGamesData.js +2 -0
- package/dist/models/FixtureDetailItem.d.ts +95 -0
- package/dist/models/FixtureDetailItem.js +2 -0
- package/dist/models/FixtureDetailResponse.d.ts +12 -0
- package/dist/models/FixtureDetailResponse.js +2 -0
- package/dist/models/FixtureItem.d.ts +61 -0
- package/dist/models/FixtureItem.js +2 -0
- package/dist/models/FixtureStakesResponse.d.ts +10 -0
- package/dist/models/FixtureStakesResponse.js +2 -0
- package/dist/models/FixtureTeam.d.ts +6 -0
- package/dist/models/FixtureTeam.js +2 -0
- package/dist/models/FixturesListResponse.d.ts +12 -0
- package/dist/models/FixturesListResponse.js +2 -0
- package/dist/models/FlashHistoryItem.d.ts +36 -0
- package/dist/models/FlashHistoryItem.js +18 -0
- package/dist/models/FlashHistoryMeItem.d.ts +10 -0
- package/dist/models/FlashHistoryMeItem.js +2 -0
- package/dist/models/FlashHistoryMeItemSchema.d.ts +22 -0
- package/dist/models/FlashHistoryMeItemSchema.js +13 -0
- package/dist/models/FlashHistoryUserAnswer.d.ts +6 -0
- package/dist/models/FlashHistoryUserAnswer.js +2 -0
- package/dist/models/FlashLeaderboardEntry.d.ts +10 -0
- package/dist/models/FlashLeaderboardEntry.js +2 -0
- package/dist/models/FlashPlayersResponse.d.ts +4 -0
- package/dist/models/FlashPlayersResponse.js +2 -0
- package/dist/models/FlashPrediction.d.ts +36 -0
- package/dist/models/FlashPrediction.js +18 -0
- package/dist/models/FlashSession.d.ts +7 -0
- package/dist/models/FlashSession.js +2 -0
- package/dist/models/FlashSessionSummary.d.ts +11 -0
- package/dist/models/FlashSessionSummary.js +2 -0
- package/dist/models/FlashSessionSummaryPrediction.d.ts +18 -0
- package/dist/models/FlashSessionSummaryPrediction.js +13 -0
- package/dist/models/FlashSessionsResponse.d.ts +2 -0
- package/dist/models/FlashSessionsResponse.js +2 -0
- package/dist/models/FlashStatsResponse.d.ts +7 -0
- package/dist/models/FlashStatsResponse.js +2 -0
- package/dist/models/FollowActionResponse.d.ts +5 -0
- package/dist/models/FollowActionResponse.js +2 -0
- package/dist/models/FollowStatusResponse.d.ts +4 -0
- package/dist/models/FollowStatusResponse.js +2 -0
- package/dist/models/FollowSuggestionItem.d.ts +9 -0
- package/dist/models/FollowSuggestionItem.js +2 -0
- package/dist/models/FollowSuggestionsResponse.d.ts +2 -0
- package/dist/models/FollowSuggestionsResponse.js +2 -0
- package/dist/models/FollowUserItem.d.ts +8 -0
- package/dist/models/FollowUserItem.js +2 -0
- package/dist/models/FollowersListResponse.d.ts +5 -0
- package/dist/models/FollowersListResponse.js +2 -0
- package/dist/models/FollowingListResponse.d.ts +5 -0
- package/dist/models/FollowingListResponse.js +2 -0
- package/dist/models/GameActivitiesData.d.ts +81 -0
- package/dist/models/GameActivitiesData.js +2 -0
- package/dist/models/GameActivityDTO.d.ts +25 -0
- package/dist/models/GameActivityDTO.js +2 -0
- package/dist/models/GameBySessionCodeData.d.ts +105 -0
- package/dist/models/GameBySessionCodeData.js +18 -0
- package/dist/models/GameInstanceDTO.d.ts +23 -0
- package/dist/models/GameInstanceDTO.js +13 -0
- package/dist/models/GameLeaderboardDTO.d.ts +13 -0
- package/dist/models/GameLeaderboardDTO.js +2 -0
- package/dist/models/GameStateDTO.d.ts +14 -0
- package/dist/models/GameStateDTO.js +2 -0
- package/dist/models/GameStateData.d.ts +72 -0
- package/dist/models/GameStateData.js +23 -0
- package/dist/models/GenerateDailyChallengesRequestDTO.d.ts +15 -0
- package/dist/models/GenerateDailyChallengesRequestDTO.js +2 -0
- package/dist/models/GenerateDailyResponse.d.ts +16 -0
- package/dist/models/GenerateDailyResponse.js +2 -0
- package/dist/models/GenerateEventResponse.d.ts +9 -0
- package/dist/models/GenerateEventResponse.js +2 -0
- package/dist/models/GenerateWeeklyChallengesRequestDTO.d.ts +15 -0
- package/dist/models/GenerateWeeklyChallengesRequestDTO.js +2 -0
- package/dist/models/GenerateWeeklyResponse.d.ts +16 -0
- package/dist/models/GenerateWeeklyResponse.js +2 -0
- package/dist/models/GetActiveChallengesResponse.d.ts +143 -0
- package/dist/models/GetActiveChallengesResponse.js +2 -0
- package/dist/models/GetAllAchievementsResponse.d.ts +34 -0
- package/dist/models/GetAllAchievementsResponse.js +2 -0
- package/dist/models/GetEventPoolData.d.ts +4 -0
- package/dist/models/GetEventPoolData.js +2 -0
- package/dist/models/GetFixtureCommunityPredictionsResponseDTO.d.ts +20 -0
- package/dist/models/GetFixtureCommunityPredictionsResponseDTO.js +2 -0
- package/dist/models/GetHistoryResponse.d.ts +11 -0
- package/dist/models/GetHistoryResponse.js +2 -0
- package/dist/models/GetLeaderboardResponse.d.ts +12 -0
- package/dist/models/GetLeaderboardResponse.js +2 -0
- package/dist/models/GetMyAchievementsResponse.d.ts +53 -0
- package/dist/models/GetMyAchievementsResponse.js +2 -0
- package/dist/models/GetMyProgressionResponse.d.ts +18 -0
- package/dist/models/GetMyProgressionResponse.js +2 -0
- package/dist/models/GetPredictionByFixtureResponse.d.ts +4 -0
- package/dist/models/GetPredictionByFixtureResponse.js +2 -0
- package/dist/models/GetPredictionLeaderboardResponseDTO.d.ts +12 -0
- package/dist/models/GetPredictionLeaderboardResponseDTO.js +2 -0
- package/dist/models/GetPredictionsResponse.d.ts +11 -0
- package/dist/models/GetPredictionsResponse.js +2 -0
- package/dist/models/GetPreferencesResponse.d.ts +4 -0
- package/dist/models/GetPreferencesResponse.js +2 -0
- package/dist/models/GetRanksResponse.d.ts +19 -0
- package/dist/models/GetRanksResponse.js +2 -0
- package/dist/models/GetSessionDetailResponse.d.ts +21 -0
- package/dist/models/GetSessionDetailResponse.js +2 -0
- package/dist/models/GetSponsorByIdData.d.ts +4 -0
- package/dist/models/GetSponsorByIdData.js +2 -0
- package/dist/models/GetSponsorsData.d.ts +4 -0
- package/dist/models/GetSponsorsData.js +2 -0
- package/dist/models/GetUserSessionsResponse.d.ts +4 -0
- package/dist/models/GetUserSessionsResponse.js +2 -0
- package/dist/models/GrantAchievementRequestDTO.d.ts +18 -0
- package/dist/models/GrantAchievementRequestDTO.js +2 -0
- package/dist/models/GrantAchievementResponse.d.ts +14 -0
- package/dist/models/GrantAchievementResponse.js +2 -0
- package/dist/models/HandleJoinRequestResponse.d.ts +9 -0
- package/dist/models/HandleJoinRequestResponse.js +11 -0
- package/dist/models/HeadToHeadResponse.d.ts +12 -0
- package/dist/models/HeadToHeadResponse.js +2 -0
- package/dist/models/HighestLowestRatedPlayer.d.ts +6 -0
- package/dist/models/HighestLowestRatedPlayer.js +2 -0
- package/dist/models/HistoryAcceptedStake.d.ts +5 -0
- package/dist/models/HistoryAcceptedStake.js +2 -0
- package/dist/models/InjuriesResponse.d.ts +12 -0
- package/dist/models/InjuriesResponse.js +2 -0
- package/dist/models/InjuryItem.d.ts +28 -0
- package/dist/models/InjuryItem.js +2 -0
- package/dist/models/InstanceGame.d.ts +8 -0
- package/dist/models/InstanceGame.js +2 -0
- package/dist/models/InstanceUserStatus.d.ts +8 -0
- package/dist/models/InstanceUserStatus.js +2 -0
- package/dist/models/InviteUserResponse.d.ts +27 -0
- package/dist/models/InviteUserResponse.js +13 -0
- package/dist/models/JoinByCodeResponse.d.ts +8 -0
- package/dist/models/JoinByCodeResponse.js +10 -0
- package/dist/models/JoinCommunityResponse.d.ts +9 -0
- package/dist/models/JoinCommunityResponse.js +11 -0
- package/dist/models/JoinGameByCodeRequestDTO.d.ts +6 -0
- package/dist/models/JoinGameByCodeRequestDTO.js +2 -0
- package/dist/models/JoinGameByIdRequestDTO.d.ts +6 -0
- package/dist/models/JoinGameByIdRequestDTO.js +2 -0
- package/dist/models/JoinGameData.d.ts +42 -0
- package/dist/models/JoinGameData.js +14 -0
- package/dist/models/JoinRequest.d.ts +22 -0
- package/dist/models/JoinRequest.js +12 -0
- package/dist/models/JoinRequestsResponse.d.ts +2 -0
- package/dist/models/JoinRequestsResponse.js +2 -0
- package/dist/models/KickPlayerData.d.ts +3 -0
- package/dist/models/KickPlayerData.js +2 -0
- package/dist/models/LeaderboardData.d.ts +25 -0
- package/dist/models/LeaderboardData.js +2 -0
- package/dist/models/LeaderboardEntry.d.ts +18 -5
- package/dist/models/LeaderboardEntry.js +10 -0
- package/dist/models/LeaderboardResponse.d.ts +25 -0
- package/dist/models/LeaderboardResponse.js +23 -0
- package/dist/models/LeagueDetailResponse.d.ts +12 -0
- package/dist/models/LeagueDetailResponse.js +2 -0
- package/dist/models/LeagueItem.d.ts +35 -0
- package/dist/models/LeagueItem.js +2 -0
- package/dist/models/LeagueStandingsItem.d.ts +55 -0
- package/dist/models/LeagueStandingsItem.js +2 -0
- package/dist/models/LeaguesListResponse.d.ts +12 -0
- package/dist/models/LeaguesListResponse.js +2 -0
- package/dist/models/LeaveCommunityResponse.d.ts +8 -0
- package/dist/models/LeaveCommunityResponse.js +10 -0
- package/dist/models/LeaveGameData.d.ts +4 -0
- package/dist/models/LeaveGameData.js +2 -0
- package/dist/models/LineupListItem.d.ts +34 -0
- package/dist/models/LineupListItem.js +2 -0
- package/dist/models/LineupResponse.d.ts +20 -0
- package/dist/models/LineupResponse.js +2 -0
- package/dist/models/ListCommunitiesResponse.d.ts +10 -0
- package/dist/models/ListCommunitiesResponse.js +2 -0
- package/dist/models/ListCommunityItem.d.ts +34 -0
- package/dist/models/ListCommunityItem.js +28 -0
- package/dist/models/ListEventPoolsData.d.ts +4 -0
- package/dist/models/ListEventPoolsData.js +2 -0
- package/dist/models/ListMiniGamesResponse.d.ts +2 -0
- package/dist/models/ListMiniGamesResponse.js +2 -0
- package/dist/models/ListPunditsResponse.d.ts +5 -0
- package/dist/models/ListPunditsResponse.js +2 -0
- package/dist/models/LiveActivitiesResponse.d.ts +4 -0
- package/dist/models/LiveActivitiesResponse.js +2 -0
- package/dist/models/LiveActivitiesServiceResult.d.ts +6 -0
- package/dist/models/LiveActivitiesServiceResult.js +2 -0
- package/dist/models/LiveActivityItem.d.ts +20 -0
- package/dist/models/LiveActivityItem.js +13 -0
- package/dist/models/LiveBetMarketsResponseDTO.d.ts +15 -0
- package/dist/models/LiveBetMarketsResponseDTO.js +2 -0
- package/dist/models/LiveBetsResponse.d.ts +12 -0
- package/dist/models/LiveBetsResponse.js +2 -0
- package/dist/models/LiveOddsItem.d.ts +41 -0
- package/dist/models/LiveOddsItem.js +2 -0
- package/dist/models/LiveOddsResponse.d.ts +12 -0
- package/dist/models/LiveOddsResponse.js +2 -0
- package/dist/models/LiveOddsResponseDTO.d.ts +16 -0
- package/dist/models/LiveOddsResponseDTO.js +2 -0
- package/dist/models/LoginStreakDTO.d.ts +24 -0
- package/dist/models/LoginStreakDTO.js +2 -0
- package/dist/models/LoginStreakLeaderboardDTO.d.ts +13 -0
- package/dist/models/LoginStreakLeaderboardDTO.js +2 -0
- package/dist/models/LoginStreakLeaderboardEntry.d.ts +7 -0
- package/dist/models/LoginStreakLeaderboardEntry.js +2 -0
- package/dist/models/LoginStreakResponse.d.ts +18 -0
- package/dist/models/LoginStreakResponse.js +2 -0
- package/dist/models/ManOfTheMatchStat.d.ts +7 -0
- package/dist/models/ManOfTheMatchStat.js +2 -0
- package/dist/models/MarkAsReadResponse.d.ts +3 -0
- package/dist/models/MarkAsReadResponse.js +2 -0
- package/dist/models/MarkTileData.d.ts +19 -0
- package/dist/models/MarkTileData.js +2 -0
- package/dist/models/MarkTileRequestDTO.d.ts +6 -0
- package/dist/models/MarkTileRequestDTO.js +2 -0
- package/dist/models/MatchCommentResponse.d.ts +15 -0
- package/dist/models/MatchCommentResponse.js +2 -0
- package/dist/models/MatchRatingAveragesResponse.d.ts +9 -0
- package/dist/models/MatchRatingAveragesResponse.js +2 -0
- package/dist/models/MatchRatingResponse.d.ts +25 -0
- package/dist/models/MatchRatingResponse.js +2 -0
- package/dist/models/MembersResponse.d.ts +17 -0
- package/dist/models/MembersResponse.js +2 -0
- package/dist/models/MiniGameInstanceResponse.d.ts +24 -0
- package/dist/models/MiniGameInstanceResponse.js +2 -0
- package/dist/models/MiniGameLeaderboardEntry.d.ts +9 -0
- package/dist/models/MiniGameLeaderboardEntry.js +2 -0
- package/dist/models/MiniGameLeaderboardResponse.d.ts +8 -0
- package/dist/models/MiniGameLeaderboardResponse.js +2 -0
- package/dist/models/MiniGameSummary.d.ts +13 -0
- package/dist/models/MiniGameSummary.js +2 -0
- package/dist/models/MiniGameUserStatus.d.ts +8 -0
- package/dist/models/MiniGameUserStatus.js +2 -0
- package/dist/models/ModerateResponse.d.ts +11 -0
- package/dist/models/ModerateResponse.js +13 -0
- package/dist/models/ModerationQueueResponse.d.ts +29 -0
- package/dist/models/ModerationQueueResponse.js +2 -0
- package/dist/models/ModerationReportDetailResponse.d.ts +49 -0
- package/dist/models/ModerationReportDetailResponse.js +32 -0
- package/dist/models/ModerationReportStatsResponse.d.ts +20 -0
- package/dist/models/ModerationReportStatsResponse.js +2 -0
- package/dist/models/ModerationReviewReportResponse.d.ts +16 -0
- package/dist/models/ModerationReviewReportResponse.js +17 -0
- package/dist/models/MostRatedPlayer.d.ts +5 -0
- package/dist/models/MostRatedPlayer.js +2 -0
- package/dist/models/MostRatedTeam.d.ts +5 -0
- package/dist/models/MostRatedTeam.js +2 -0
- package/dist/models/MyReportsResponse.d.ts +5 -0
- package/dist/models/MyReportsResponse.js +2 -0
- package/dist/models/NewsAdminListResponse.d.ts +5 -0
- package/dist/models/NewsAdminListResponse.js +2 -0
- package/dist/models/NewsArticleItem.d.ts +24 -0
- package/dist/models/NewsArticleItem.js +2 -0
- package/dist/models/NewsAuthor.d.ts +6 -0
- package/dist/models/NewsAuthor.js +2 -0
- package/dist/models/NewsDeleteResponse.d.ts +3 -0
- package/dist/models/NewsDeleteResponse.js +2 -0
- package/dist/models/NewsDetailResponse.d.ts +24 -0
- package/dist/models/NewsDetailResponse.js +2 -0
- package/dist/models/NewsListResponse.d.ts +2 -0
- package/dist/models/NewsListResponse.js +2 -0
- package/dist/models/NewsRssItem.d.ts +14 -0
- package/dist/models/NewsRssItem.js +2 -0
- package/dist/models/NewsTagsResponse.d.ts +1 -0
- package/dist/models/NewsTagsResponse.js +2 -0
- package/dist/models/NotificationHistoryResponseDTO.d.ts +21 -0
- package/dist/models/NotificationHistoryResponseDTO.js +2 -0
- package/dist/models/NotificationItem.d.ts +15 -0
- package/dist/models/NotificationItem.js +2 -0
- package/dist/models/NotificationPreferences.d.ts +31 -0
- package/dist/models/NotificationPreferences.js +2 -0
- package/dist/models/OGMetadataResponse.d.ts +6 -0
- package/dist/models/OGMetadataResponse.js +2 -0
- package/dist/models/OddsMappingItem.d.ts +12 -0
- package/dist/models/OddsMappingItem.js +2 -0
- package/dist/models/OddsMappingResponse.d.ts +12 -0
- package/dist/models/OddsMappingResponse.js +2 -0
- package/dist/models/OddsMappingResponseDTO.d.ts +12 -0
- package/dist/models/OddsMappingResponseDTO.js +2 -0
- package/dist/models/OddsResponse.d.ts +12 -0
- package/dist/models/OddsResponse.js +2 -0
- package/dist/models/OnboardingResponse.d.ts +4 -0
- package/dist/models/OnboardingResponse.js +2 -0
- package/dist/models/PackDetailsData.d.ts +25 -0
- package/dist/models/PackDetailsData.js +2 -0
- package/dist/models/PinResponse.d.ts +4 -0
- package/dist/models/PinResponse.js +2 -0
- package/dist/models/PlayerBoardDTO.d.ts +9 -0
- package/dist/models/PlayerBoardDTO.js +2 -0
- package/dist/models/PlayerBoardData.d.ts +24 -0
- package/dist/models/PlayerBoardData.js +2 -0
- package/dist/models/PlayerHistoryResponse.d.ts +12 -0
- package/dist/models/PlayerHistoryResponse.js +2 -0
- package/dist/models/PlayerProfileItem.d.ts +20 -0
- package/dist/models/PlayerProfileItem.js +2 -0
- package/dist/models/PlayerRating.d.ts +7 -0
- package/dist/models/PlayerRating.js +2 -0
- package/dist/models/PlayerRatingAverage.d.ts +9 -0
- package/dist/models/PlayerRatingAverage.js +2 -0
- package/dist/models/PlayerSeasonsResponse.d.ts +11 -0
- package/dist/models/PlayerSeasonsResponse.js +2 -0
- package/dist/models/PlayerStatisticsResponse.d.ts +12 -0
- package/dist/models/PlayerStatisticsResponse.js +2 -0
- package/dist/models/PlayerStatsItem.d.ts +93 -0
- package/dist/models/PlayerStatsItem.js +2 -0
- package/dist/models/PlayerTeamEntry.d.ts +8 -0
- package/dist/models/PlayerTeamEntry.js +2 -0
- package/dist/models/PlayersResponse.d.ts +12 -0
- package/dist/models/PlayersResponse.js +2 -0
- package/dist/models/PostDetailResponse.d.ts +6 -0
- package/dist/models/PostDetailResponse.js +2 -0
- package/dist/models/PostsResponse.d.ts +5 -0
- package/dist/models/PostsResponse.js +2 -0
- package/dist/models/PreMatchOddsItem.d.ts +29 -0
- package/dist/models/PreMatchOddsItem.js +2 -0
- package/dist/models/PreMatchOddsResponseDTO.d.ts +19 -0
- package/dist/models/PreMatchOddsResponseDTO.js +2 -0
- package/dist/models/PredictedLineup.d.ts +24 -0
- package/dist/models/PredictedLineup.js +2 -0
- package/dist/models/Prediction.d.ts +20 -0
- package/dist/models/Prediction.js +12 -0
- package/dist/models/PredictionDetail.d.ts +307 -0
- package/dist/models/PredictionDetail.js +2 -0
- package/dist/models/PredictionLeaderboardEntry.d.ts +11 -0
- package/dist/models/PredictionLeaderboardEntry.js +2 -0
- package/dist/models/PredictionStatsDTO.d.ts +19 -0
- package/dist/models/PredictionStatsDTO.js +2 -0
- package/dist/models/PredictionStatsResponse.d.ts +21 -0
- package/dist/models/PredictionStatsResponse.js +2 -0
- package/dist/models/PredictionWithEnrichment.d.ts +62 -0
- package/dist/models/PredictionWithEnrichment.js +12 -0
- package/dist/models/PredictionsApiResponseDTO.d.ts +14 -0
- package/dist/models/PredictionsApiResponseDTO.js +2 -0
- package/dist/models/PredictionsResponse.d.ts +12 -0
- package/dist/models/PredictionsResponse.js +2 -0
- package/dist/models/PrestigeResponse.d.ts +17 -0
- package/dist/models/PrestigeResponse.js +2 -0
- package/dist/models/ProgressionLeaderboardResponse.d.ts +22 -0
- package/dist/models/ProgressionLeaderboardResponse.js +2 -0
- package/dist/models/Pundit.d.ts +1 -1
- package/dist/models/PunditDTO.d.ts +8 -0
- package/dist/models/PunditDTO.js +2 -0
- package/dist/models/PurchaseItem.d.ts +9 -0
- package/dist/models/PurchaseItem.js +2 -0
- package/dist/models/PurchasePackData.d.ts +28 -0
- package/dist/models/PurchasePackData.js +2 -0
- package/dist/models/PurchaseResponse.d.ts +18 -0
- package/dist/models/PurchaseResponse.js +2 -0
- package/dist/models/QuickOpinionResponse.d.ts +9 -0
- package/dist/models/QuickOpinionResponse.js +2 -0
- package/dist/models/QuickPick.d.ts +6 -0
- package/dist/models/QuickPick.js +2 -0
- package/dist/models/QuickPicksResponse.d.ts +2 -0
- package/dist/models/QuickPicksResponse.js +2 -0
- package/dist/models/RatingDistribution.d.ts +6 -0
- package/dist/models/RatingDistribution.js +2 -0
- package/dist/models/RatingFormDataResponse.d.ts +24 -0
- package/dist/models/RatingFormDataResponse.js +2 -0
- package/dist/models/RatingFormFixtureTeam.d.ts +5 -0
- package/dist/models/RatingFormFixtureTeam.js +2 -0
- package/dist/models/RatingFormPlayer.d.ts +13 -0
- package/dist/models/RatingFormPlayer.js +2 -0
- package/dist/models/RatingFormPlayerStatistics.d.ts +8 -0
- package/dist/models/RatingFormPlayerStatistics.js +2 -0
- package/dist/models/RatingShareUrlResponse.d.ts +4 -0
- package/dist/models/RatingShareUrlResponse.js +2 -0
- package/dist/models/RatingWindowStatusResponse.d.ts +5 -0
- package/dist/models/RatingWindowStatusResponse.js +2 -0
- package/dist/models/ReadyStatusData.d.ts +4 -0
- package/dist/models/ReadyStatusData.js +2 -0
- package/dist/models/RecentUnlockItem.d.ts +17 -0
- package/dist/models/RecentUnlockItem.js +2 -0
- package/dist/models/ReferralApplyResponse.d.ts +7 -0
- package/dist/models/ReferralApplyResponse.js +2 -0
- package/dist/models/ReferralCodeResponse.d.ts +13 -0
- package/dist/models/ReferralCodeResponse.js +2 -0
- package/dist/models/ReferralLeaderboardEntry.d.ts +4 -0
- package/dist/models/ReferralLeaderboardEntry.js +2 -0
- package/dist/models/ReferralStatsResponse.d.ts +19 -0
- package/dist/models/ReferralStatsResponse.js +2 -0
- package/dist/models/ReferralValidateResponse.d.ts +10 -0
- package/dist/models/ReferralValidateResponse.js +2 -0
- package/dist/models/RegenerateInviteCodeResponse.d.ts +3 -0
- package/dist/models/RegenerateInviteCodeResponse.js +2 -0
- package/dist/models/RegisterNotificationTokenRequestDTO.d.ts +27 -0
- package/dist/models/RegisterNotificationTokenRequestDTO.js +15 -0
- package/dist/models/RegisterTokenResponse.d.ts +3 -0
- package/dist/models/RegisterTokenResponse.js +2 -0
- package/dist/models/RemoveStarredItemResponse.d.ts +3 -0
- package/dist/models/RemoveStarredItemResponse.js +2 -0
- package/dist/models/RepliesResponse.d.ts +7 -0
- package/dist/models/RepliesResponse.js +2 -0
- package/dist/models/ReportEventData.d.ts +22 -0
- package/dist/models/ReportEventData.js +12 -0
- package/dist/models/ReportMissedEventRequestDTO.d.ts +6 -0
- package/dist/models/ReportMissedEventRequestDTO.js +2 -0
- package/dist/models/ReportResponse.d.ts +36 -0
- package/dist/models/ReportResponse.js +26 -0
- package/dist/models/ReportUser.d.ts +4 -0
- package/dist/models/ReportUser.js +2 -0
- package/dist/models/ResolveFlashResponse.d.ts +5 -0
- package/dist/models/ResolveFlashResponse.js +2 -0
- package/dist/models/ResolveStakeResponse.d.ts +10 -0
- package/dist/models/ResolveStakeResponse.js +12 -0
- package/dist/models/RespondInviteResponse.d.ts +9 -0
- package/dist/models/RespondInviteResponse.js +11 -0
- package/dist/models/RetrospectiveResponse.d.ts +17 -0
- package/dist/models/RetrospectiveResponse.js +2 -0
- package/dist/models/RevealClueResponse.d.ts +18 -0
- package/dist/models/RevealClueResponse.js +15 -0
- package/dist/models/RoundsResponse.d.ts +11 -0
- package/dist/models/RoundsResponse.js +2 -0
- package/dist/models/RunAchievementRetrospectiveRequestDTO.d.ts +6 -0
- package/dist/models/RunAchievementRetrospectiveRequestDTO.js +2 -0
- package/dist/models/SeasonsResponse.d.ts +11 -0
- package/dist/models/SeasonsResponse.js +2 -0
- package/dist/models/SeedDefaultGamesData.d.ts +13 -0
- package/dist/models/SeedDefaultGamesData.js +2 -0
- package/dist/models/SendAIChatMessageSchema.d.ts +4 -0
- package/dist/models/SendAIChatMessageSchema.js +2 -0
- package/dist/models/SendChatMessageSchema.d.ts +3 -0
- package/dist/models/SendChatMessageSchema.js +2 -0
- package/dist/models/SendMessageResponse.d.ts +5 -0
- package/dist/models/SendMessageResponse.js +2 -0
- package/dist/models/SessionSummary.d.ts +11 -0
- package/dist/models/SessionSummary.js +2 -0
- package/dist/models/ShareCardResponse.d.ts +1 -0
- package/dist/models/ShareCardResponse.js +2 -0
- package/dist/models/SharedBoardData.d.ts +51 -0
- package/dist/models/SharedBoardData.js +2 -0
- package/dist/models/SharedMatchRatingResponse.d.ts +7 -0
- package/dist/models/SharedMatchRatingResponse.js +2 -0
- package/dist/models/SharedPredictionResponse.d.ts +40 -0
- package/dist/models/SharedPredictionResponse.js +12 -0
- package/dist/models/SidelinedItem.d.ts +5 -0
- package/dist/models/SidelinedItem.js +2 -0
- package/dist/models/SidelinedResponse.d.ts +12 -0
- package/dist/models/SidelinedResponse.js +2 -0
- package/dist/models/SidelinedResponseDTO.d.ts +15 -0
- package/dist/models/SidelinedResponseDTO.js +2 -0
- package/dist/models/SimulateBulkEventsData.d.ts +17 -0
- package/dist/models/SimulateBulkEventsData.js +2 -0
- package/dist/models/SimulateMatchEventData.d.ts +13 -0
- package/dist/models/SimulateMatchEventData.js +2 -0
- package/dist/models/SpinAvailabilityResponse.d.ts +8 -0
- package/dist/models/SpinAvailabilityResponse.js +2 -0
- package/dist/models/SpinResultResponse.d.ts +22 -0
- package/dist/models/SpinResultResponse.js +20 -0
- package/dist/models/SpinSegment.d.ts +14 -0
- package/dist/models/SpinSegment.js +14 -0
- package/dist/models/SponsorBase.d.ts +9 -0
- package/dist/models/SponsorBase.js +2 -0
- package/dist/models/SponsorDTO.d.ts +17 -0
- package/dist/models/SponsorDTO.js +2 -0
- package/dist/models/SponsorDetail.d.ts +12 -0
- package/dist/models/SponsorDetail.js +2 -0
- package/dist/models/SponsorPackItem.d.ts +24 -0
- package/dist/models/SponsorPackItem.js +2 -0
- package/dist/models/SponsorPacksData.d.ts +10 -0
- package/dist/models/SponsorPacksData.js +2 -0
- package/dist/models/SponsorStakeItem.d.ts +57 -0
- package/dist/models/SponsorStakeItem.js +27 -0
- package/dist/models/SponsorStakesData.d.ts +10 -0
- package/dist/models/SponsorStakesData.js +2 -0
- package/dist/models/SponsorUpdated.d.ts +9 -0
- package/dist/models/SponsorUpdated.js +2 -0
- package/dist/models/SquadInfoItem.d.ts +15 -0
- package/dist/models/SquadInfoItem.js +2 -0
- package/dist/models/Stake.d.ts +70 -0
- package/dist/models/Stake.js +32 -0
- package/dist/models/StakeAcceptanceItem.d.ts +10 -0
- package/dist/models/StakeAcceptanceItem.js +2 -0
- package/dist/models/StakeAcceptanceUser.d.ts +5 -0
- package/dist/models/StakeAcceptanceUser.js +2 -0
- package/dist/models/StakeDetail.d.ts +76 -0
- package/dist/models/StakeDetail.js +32 -0
- package/dist/models/StakeFeedResponse.d.ts +10 -0
- package/dist/models/StakeFeedResponse.js +2 -0
- package/dist/models/StakeSponsor.d.ts +6 -0
- package/dist/models/StakeSponsor.js +2 -0
- package/dist/models/StakeUser.d.ts +5 -0
- package/dist/models/StakeUser.js +2 -0
- package/dist/models/StandingsResponse.d.ts +12 -0
- package/dist/models/StandingsResponse.js +2 -0
- package/dist/models/StarredCountsResponse.d.ts +8 -0
- package/dist/models/StarredCountsResponse.js +2 -0
- package/dist/models/StarredIdsResponse.d.ts +1 -0
- package/dist/models/StarredIdsResponse.js +2 -0
- package/dist/models/StarredItem.d.ts +40 -0
- package/dist/models/StarredItem.js +14 -0
- package/dist/models/StarredItemsListResponse.d.ts +2 -0
- package/dist/models/StarredItemsListResponse.js +2 -0
- package/dist/models/StartGameData.d.ts +8 -0
- package/dist/models/StartGameData.js +2 -0
- package/dist/models/StatsByTypeResponse.d.ts +12 -0
- package/dist/models/StatsByTypeResponse.js +2 -0
- package/dist/models/StatsOverviewResponse.d.ts +42 -0
- package/dist/models/StatsOverviewResponse.js +2 -0
- package/dist/models/SubmitAnswerResponse.d.ts +10 -0
- package/dist/models/SubmitAnswerResponse.js +2 -0
- package/dist/models/SubmitAttemptResponse.d.ts +28 -0
- package/dist/models/SubmitAttemptResponse.js +2 -0
- package/dist/models/SubmitQuickPickItem.d.ts +6 -0
- package/dist/models/SubmitQuickPickItem.js +2 -0
- package/dist/models/SubmitQuickPicksResponse.d.ts +2 -0
- package/dist/models/SubmitQuickPicksResponse.js +2 -0
- package/dist/models/SubscriptionStatusResponse.d.ts +5 -0
- package/dist/models/SubscriptionStatusResponse.js +2 -0
- package/dist/models/SuggestedCommunitiesResponse.d.ts +2 -0
- package/dist/models/SuggestedCommunitiesResponse.js +2 -0
- package/dist/models/SuggestedCommunityItem.d.ts +21 -0
- package/dist/models/SuggestedCommunityItem.js +17 -0
- package/dist/models/TacticsBoardExportDataUrlResponse.d.ts +3 -0
- package/dist/models/TacticsBoardExportDataUrlResponse.js +2 -0
- package/dist/models/TacticsBoardListItem.d.ts +31 -0
- package/dist/models/TacticsBoardListItem.js +2 -0
- package/dist/models/TacticsBoardResponse.d.ts +31 -0
- package/dist/models/TacticsBoardResponse.js +2 -0
- package/dist/models/TeamCoachResponse.d.ts +12 -0
- package/dist/models/TeamCoachResponse.js +2 -0
- package/dist/models/TeamInfoItem.d.ts +20 -0
- package/dist/models/TeamInfoItem.js +2 -0
- package/dist/models/TeamResponse.d.ts +12 -0
- package/dist/models/TeamResponse.js +2 -0
- package/dist/models/TeamSeasonsResponse.d.ts +11 -0
- package/dist/models/TeamSeasonsResponse.js +2 -0
- package/dist/models/TeamSquadResponse.d.ts +12 -0
- package/dist/models/TeamSquadResponse.js +2 -0
- package/dist/models/TeamStatsItem.d.ts +140 -0
- package/dist/models/TeamStatsItem.js +2 -0
- package/dist/models/TeamStatsResponse.d.ts +12 -0
- package/dist/models/TeamStatsResponse.js +2 -0
- package/dist/models/TestNotificationResponse.d.ts +6 -0
- package/dist/models/TestNotificationResponse.js +2 -0
- package/dist/models/TestWebhookErrorResponse.d.ts +4 -0
- package/dist/models/TestWebhookErrorResponse.js +2 -0
- package/dist/models/TestWebhookResponse.d.ts +5 -0
- package/dist/models/TestWebhookResponse.js +2 -0
- package/dist/models/ToggleBreakingNewsRequestDTO.d.ts +3 -0
- package/dist/models/ToggleBreakingNewsRequestDTO.js +2 -0
- package/dist/models/ToggleFeaturedNewsRequestDTO.d.ts +3 -0
- package/dist/models/ToggleFeaturedNewsRequestDTO.js +2 -0
- package/dist/models/ToggleTrendingNewsRequestDTO.d.ts +3 -0
- package/dist/models/ToggleTrendingNewsRequestDTO.js +2 -0
- package/dist/models/TopPlayerItem.d.ts +93 -0
- package/dist/models/TopPlayerItem.js +2 -0
- package/dist/models/TopPlayerResponseDTO.d.ts +15 -0
- package/dist/models/TopPlayerResponseDTO.js +2 -0
- package/dist/models/TransactionHistoryResponse.d.ts +15 -0
- package/dist/models/TransactionHistoryResponse.js +2 -0
- package/dist/models/TransactionItem.d.ts +50 -0
- package/dist/models/TransactionItem.js +42 -0
- package/dist/models/TransferPlanListItem.d.ts +34 -0
- package/dist/models/TransferPlanListItem.js +2 -0
- package/dist/models/TransferPlanResponse.d.ts +31 -0
- package/dist/models/TransferPlanResponse.js +2 -0
- package/dist/models/TransferPlanStatsResponse.d.ts +22 -0
- package/dist/models/TransferPlanStatsResponse.js +2 -0
- package/dist/models/TransferRecordItem.d.ts +23 -0
- package/dist/models/TransferRecordItem.js +2 -0
- package/dist/models/TransferWindowStatsResponse.d.ts +63 -0
- package/dist/models/TransferWindowStatsResponse.js +2 -0
- package/dist/models/TransfersResponse.d.ts +12 -0
- package/dist/models/TransfersResponse.js +2 -0
- package/dist/models/TrendingLineupsResponse.d.ts +16 -0
- package/dist/models/TrendingLineupsResponse.js +2 -0
- package/dist/models/TrendingTacticsBoardsResponse.d.ts +18 -0
- package/dist/models/TrendingTacticsBoardsResponse.js +2 -0
- package/dist/models/TrendingTransferPlansResponse.d.ts +25 -0
- package/dist/models/TrendingTransferPlansResponse.js +2 -0
- package/dist/models/TrophiesResponse.d.ts +12 -0
- package/dist/models/TrophiesResponse.js +2 -0
- package/dist/models/TrophyItem.d.ts +6 -0
- package/dist/models/TrophyItem.js +2 -0
- package/dist/models/UnlockRetryResponse.d.ts +13 -0
- package/dist/models/UnlockRetryResponse.js +12 -0
- package/dist/models/UnreadCountResponse.d.ts +3 -0
- package/dist/models/UnreadCountResponse.js +2 -0
- package/dist/models/UnsubscribeNotificationRequestDTO.d.ts +6 -0
- package/dist/models/UnsubscribeNotificationRequestDTO.js +2 -0
- package/dist/models/UnsubscribeResponse.d.ts +3 -0
- package/dist/models/UnsubscribeResponse.js +2 -0
- package/dist/models/UpdateAchievementProgressRequestDTO.d.ts +30 -0
- package/dist/models/UpdateAchievementProgressRequestDTO.js +2 -0
- package/dist/models/UpdateChallengeProgressRequestDTO.d.ts +14 -0
- package/dist/models/UpdateChallengeProgressRequestDTO.js +2 -0
- package/dist/models/UpdateChallengeProgressResponse.d.ts +32 -0
- package/dist/models/UpdateChallengeProgressResponse.js +2 -0
- package/dist/models/UpdateEventPoolData.d.ts +4 -0
- package/dist/models/UpdateEventPoolData.js +2 -0
- package/dist/models/UpdateEventPoolRequestDTO.d.ts +12 -0
- package/dist/models/UpdateEventPoolRequestDTO.js +2 -0
- package/dist/models/UpdateGameChatMessageSchema.d.ts +3 -0
- package/dist/models/UpdateGameChatMessageSchema.js +2 -0
- package/dist/models/UpdateLineupSchema.d.ts +11 -0
- package/dist/models/UpdateLineupSchema.js +2 -0
- package/dist/models/UpdateNewsSchema.d.ts +13 -0
- package/dist/models/UpdateNewsSchema.js +2 -0
- package/dist/models/UpdateNotificationPreferencesRequestDTO.d.ts +10 -0
- package/dist/models/UpdateNotificationPreferencesRequestDTO.js +2 -0
- package/dist/models/UpdatePackData.d.ts +15 -0
- package/dist/models/UpdatePackData.js +2 -0
- package/dist/models/UpdatePlayerReadyStatusRequestDTO.d.ts +6 -0
- package/dist/models/UpdatePlayerReadyStatusRequestDTO.js +2 -0
- package/dist/models/UpdatePreferencesResponse.d.ts +5 -0
- package/dist/models/UpdatePreferencesResponse.js +2 -0
- package/dist/models/UpdateSettingsResponse.d.ts +45 -0
- package/dist/models/UpdateSettingsResponse.js +34 -0
- package/dist/models/UpdateSponsorData.d.ts +4 -0
- package/dist/models/UpdateSponsorData.js +2 -0
- package/dist/models/UpdateSponsorRequestDTO.d.ts +7 -0
- package/dist/models/UpdateSponsorRequestDTO.js +2 -0
- package/dist/models/UpdateTacticsBoardSchema.d.ts +6 -0
- package/dist/models/UpdateTacticsBoardSchema.js +2 -0
- package/dist/models/UpdateTransferPlanSchema.d.ts +13 -0
- package/dist/models/UpdateTransferPlanSchema.js +2 -0
- package/dist/models/UpdateUsernameResponse.d.ts +6 -0
- package/dist/models/UpdateUsernameResponse.js +2 -0
- package/dist/models/UserAcceptanceSummary.d.ts +6 -0
- package/dist/models/UserAcceptanceSummary.js +2 -0
- package/dist/models/UserActiveStakesResponse.d.ts +6 -0
- package/dist/models/UserActiveStakesResponse.js +2 -0
- package/dist/models/UserActivityDTO.d.ts +25 -0
- package/dist/models/UserActivityDTO.js +21 -0
- package/dist/models/UserActivityFeedResponse.d.ts +10 -0
- package/dist/models/UserActivityFeedResponse.js +2 -0
- package/dist/models/UserActivityFeedResponseDTO.d.ts +10 -0
- package/dist/models/UserActivityFeedResponseDTO.js +2 -0
- package/dist/models/UserActivityItem.d.ts +142 -0
- package/dist/models/UserActivityItem.js +32 -0
- package/dist/models/UserCommentStatsResponse.d.ts +5 -0
- package/dist/models/UserCommentStatsResponse.js +2 -0
- package/dist/models/UserCommunitiesResponse.d.ts +2 -0
- package/dist/models/UserCommunitiesResponse.js +2 -0
- package/dist/models/UserCommunityItem.d.ts +43 -0
- package/dist/models/UserCommunityItem.js +35 -0
- package/dist/models/UserFeedResponse.d.ts +18 -0
- package/dist/models/UserFeedResponse.js +2 -0
- package/dist/models/UserGamesData.d.ts +38 -0
- package/dist/models/UserGamesData.js +2 -0
- package/dist/models/UserInvitesResponse.d.ts +2 -0
- package/dist/models/UserInvitesResponse.js +2 -0
- package/dist/models/UserLeaderboardEntry.d.ts +8 -0
- package/dist/models/UserLeaderboardEntry.js +2 -0
- package/dist/models/UserLevelInfoDTO.d.ts +8 -0
- package/dist/models/UserLevelInfoDTO.js +2 -0
- package/dist/models/UserPacksData.d.ts +23 -0
- package/dist/models/UserPacksData.js +2 -0
- package/dist/models/UserProfileResponse.d.ts +39 -0
- package/dist/models/UserProfileResponse.js +2 -0
- package/dist/models/UserProgressionDTO.d.ts +18 -0
- package/dist/models/UserProgressionDTO.js +2 -0
- package/dist/models/UserProgressionSummaryDTO.d.ts +21 -0
- package/dist/models/UserProgressionSummaryDTO.js +2 -0
- package/dist/models/UserPublicProfileResponse.d.ts +40 -0
- package/dist/models/UserPublicProfileResponse.js +2 -0
- package/dist/models/UserRatingStatsResponse.d.ts +27 -0
- package/dist/models/UserRatingStatsResponse.js +2 -0
- package/dist/models/UserStakeHistoryResponse.d.ts +12 -0
- package/dist/models/UserStakeHistoryResponse.js +2 -0
- package/dist/models/VoteResponse.d.ts +11 -0
- package/dist/models/VoteResponse.js +11 -0
- package/dist/models/WalletBalanceResponse.d.ts +12 -0
- package/dist/models/WalletBalanceResponse.js +2 -0
- package/dist/models/WeeklyStatsDTO.d.ts +18 -0
- package/dist/models/WeeklyStatsDTO.js +2 -0
- package/dist/models/WeeklyStatsResponse.d.ts +6 -0
- package/dist/models/WeeklyStatsResponse.js +2 -0
- package/dist/sdk.gen.d.ts +1717 -0
- package/dist/sdk.gen.js +3093 -0
- package/dist/services/AchievementsDeprecatedService.d.ts +21 -18
- package/dist/services/AchievementsDeprecatedService.js +33 -25
- package/dist/services/AchievementsService.d.ts +97 -144
- package/dist/services/AchievementsService.js +85 -70
- package/dist/services/ActivitiesService.d.ts +5 -13
- package/dist/services/ActivitiesService.js +3 -3
- package/dist/services/AdminModerationService.d.ts +61 -0
- package/dist/services/AdminModerationService.js +96 -0
- package/dist/services/AdminService.d.ts +878 -297
- package/dist/services/AdminService.js +1243 -94
- package/dist/services/AdminUsersService.d.ts +30 -36
- package/dist/services/AdminUsersService.js +6 -44
- package/dist/services/AiChatService.d.ts +76 -45
- package/dist/services/AiChatService.js +95 -13
- package/dist/services/BingoPacksService.d.ts +116 -0
- package/dist/services/BingoPacksService.js +140 -0
- package/dist/services/BingoService.d.ts +403 -0
- package/dist/services/BingoService.js +549 -0
- package/dist/services/ChallengesService.d.ts +117 -161
- package/dist/services/ChallengesService.js +108 -96
- package/dist/services/CommunitiesService.d.ts +269 -0
- package/dist/services/CommunitiesService.js +395 -0
- package/dist/services/CommunityFollowService.d.ts +79 -0
- package/dist/services/CommunityFollowService.js +122 -0
- package/dist/services/CommunityGameChatService.d.ts +17 -87
- package/dist/services/CommunityGameChatService.js +22 -114
- package/dist/services/CommunityLineupsService.d.ts +192 -145
- package/dist/services/CommunityLineupsService.js +142 -122
- package/dist/services/CommunityMatchCommentsService.d.ts +117 -0
- package/dist/services/CommunityMatchCommentsService.js +162 -0
- package/dist/services/CommunityMatchRatingsService.d.ts +171 -0
- package/dist/services/CommunityMatchRatingsService.js +236 -0
- package/dist/services/CommunityPostsService.d.ts +120 -0
- package/dist/services/CommunityPostsService.js +190 -0
- package/dist/services/CommunityReportsService.d.ts +37 -0
- package/dist/services/CommunityReportsService.js +48 -0
- package/dist/services/CommunityTacticsBoardsService.d.ts +218 -165
- package/dist/services/CommunityTacticsBoardsService.js +132 -130
- package/dist/services/CommunityTransferPlansService.d.ts +261 -172
- package/dist/services/CommunityTransferPlansService.js +163 -140
- package/dist/services/ConfigService.d.ts +17 -0
- package/dist/services/ConfigService.js +23 -0
- package/dist/services/ContentCountriesService.d.ts +19 -18
- package/dist/services/ContentCountriesService.js +18 -22
- package/dist/services/ContentFixturesService.d.ts +38 -35
- package/dist/services/ContentFixturesService.js +45 -42
- package/dist/services/ContentHeadToHeadService.d.ts +27 -0
- package/dist/services/ContentHeadToHeadService.js +46 -0
- package/dist/services/ContentLeaguesService.d.ts +26 -20
- package/dist/services/ContentLeaguesService.js +32 -26
- package/dist/services/ContentNewsService.d.ts +90 -115
- package/dist/services/ContentNewsService.js +55 -129
- package/dist/services/ContentOddsService.d.ts +68 -54
- package/dist/services/ContentOddsService.js +64 -50
- package/dist/services/ContentPlayersService.d.ts +38 -38
- package/dist/services/ContentPlayersService.js +27 -27
- package/dist/services/ContentRoundsService.d.ts +22 -0
- package/dist/services/ContentRoundsService.js +36 -0
- package/dist/services/ContentSeasonsService.d.ts +17 -0
- package/dist/services/ContentSeasonsService.js +23 -0
- package/dist/services/ContentStandingsService.d.ts +11 -9
- package/dist/services/ContentStandingsService.js +8 -5
- package/dist/services/ContentStatisticsService.d.ts +38 -35
- package/dist/services/ContentStatisticsService.js +40 -33
- package/dist/services/ContentTeamsService.d.ts +75 -46
- package/dist/services/ContentTeamsService.js +87 -33
- package/dist/services/ContentTransfersService.d.ts +9 -12
- package/dist/services/ContentTransfersService.js +5 -12
- package/dist/services/ContentTrophiesService.d.ts +9 -12
- package/dist/services/ContentTrophiesService.js +7 -14
- package/dist/services/DailyChallengeCompletionsDeprecatedService.d.ts +5 -5
- package/dist/services/DailyChallengeCompletionsDeprecatedService.js +10 -10
- package/dist/services/DailyChallengesDeprecatedService.d.ts +7 -7
- package/dist/services/DailyChallengesDeprecatedService.js +14 -14
- package/dist/services/DailyLoginService.d.ts +26 -81
- package/dist/services/DailyLoginService.js +14 -60
- package/dist/services/DailyStreaksDeprecatedService.d.ts +5 -5
- package/dist/services/DailyStreaksDeprecatedService.js +10 -10
- package/dist/services/EventPoolsService.d.ts +65 -54
- package/dist/services/EventPoolsService.js +18 -26
- package/dist/services/FlashPredictionsService.d.ts +214 -0
- package/dist/services/FlashPredictionsService.js +267 -0
- package/dist/services/LeaderboardService.d.ts +12 -8
- package/dist/services/LeaderboardService.js +8 -8
- package/dist/services/MiniGamesService.d.ts +110 -0
- package/dist/services/MiniGamesService.js +149 -0
- package/dist/services/NotificationsService.d.ts +72 -81
- package/dist/services/NotificationsService.js +42 -57
- package/dist/services/PredictionsService.d.ts +91 -180
- package/dist/services/PredictionsService.js +61 -101
- package/dist/services/PreferencesStarredItemsService.d.ts +168 -0
- package/dist/services/PreferencesStarredItemsService.js +171 -0
- package/dist/services/ProgressionService.d.ts +31 -126
- package/dist/services/ProgressionService.js +17 -66
- package/dist/services/ReferralService.d.ts +76 -0
- package/dist/services/ReferralService.js +89 -0
- package/dist/services/RewardsService.d.ts +31 -0
- package/dist/services/RewardsService.js +40 -0
- package/dist/services/ShareService.d.ts +40 -0
- package/dist/services/ShareService.js +68 -0
- package/dist/services/SponsorsService.d.ts +62 -51
- package/dist/services/SponsorsService.js +63 -9
- package/dist/services/StakesService.d.ts +146 -0
- package/dist/services/StakesService.js +190 -0
- package/dist/services/SubscriptionsService.d.ts +49 -0
- package/dist/services/SubscriptionsService.js +60 -0
- package/dist/services/UserAchievementsDeprecatedService.d.ts +8 -8
- package/dist/services/UserAchievementsDeprecatedService.js +16 -16
- package/dist/services/UserActivitiesService.d.ts +19 -30
- package/dist/services/UserActivitiesService.js +13 -13
- package/dist/services/UserProfileService.d.ts +17 -0
- package/dist/services/UserProfileService.js +25 -0
- package/dist/services/UsersService.d.ts +76 -110
- package/dist/services/UsersService.js +65 -131
- package/dist/services/WalletService.d.ts +53 -15
- package/dist/services/WalletService.js +64 -12
- package/dist/services/WebhooksService.d.ts +72 -0
- package/dist/services/WebhooksService.js +71 -0
- package/dist/types.gen.d.ts +27608 -0
- package/dist/types.gen.js +2 -0
- package/package.json +11 -5
package/dist/sdk.gen.js
ADDED
|
@@ -0,0 +1,3093 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
import { client } from './client.gen';
|
|
3
|
+
/**
|
|
4
|
+
* Get all countries
|
|
5
|
+
*/
|
|
6
|
+
export const listCountries = (options) => (options?.client ?? client).get({ url: '/api/v1/content/countries', ...options });
|
|
7
|
+
/**
|
|
8
|
+
* Get country by ID or name
|
|
9
|
+
*/
|
|
10
|
+
export const getCountryById = (options) => (options.client ?? client).get({ url: '/api/v1/content/countries/{id}', ...options });
|
|
11
|
+
/**
|
|
12
|
+
* Get fixtures
|
|
13
|
+
*/
|
|
14
|
+
export const listFixtures = (options) => (options?.client ?? client).get({ url: '/api/v1/content/fixtures', ...options });
|
|
15
|
+
/**
|
|
16
|
+
* Get fixture by ID
|
|
17
|
+
*/
|
|
18
|
+
export const getFixtureById = (options) => (options.client ?? client).get({ url: '/api/v1/content/fixtures/{id}', ...options });
|
|
19
|
+
/**
|
|
20
|
+
* Get match predictions
|
|
21
|
+
*/
|
|
22
|
+
export const getFixturePredictions = (options) => (options.client ?? client).get({ url: '/api/v1/content/fixtures/{id}/predictions', ...options });
|
|
23
|
+
/**
|
|
24
|
+
* Get head-to-head fixtures between two teams
|
|
25
|
+
*/
|
|
26
|
+
export const getHeadToHead = (options) => (options.client ?? client).get({ url: '/api/v1/content/headtohead', ...options });
|
|
27
|
+
/**
|
|
28
|
+
* Get all leagues
|
|
29
|
+
*/
|
|
30
|
+
export const listLeagues = (options) => (options?.client ?? client).get({ url: '/api/v1/content/leagues', ...options });
|
|
31
|
+
/**
|
|
32
|
+
* Get league by ID
|
|
33
|
+
*/
|
|
34
|
+
export const getLeagueById = (options) => (options.client ?? client).get({ url: '/api/v1/content/leagues/{id}', ...options });
|
|
35
|
+
/**
|
|
36
|
+
* Get all news articles
|
|
37
|
+
*/
|
|
38
|
+
export const listNews = (options) => (options?.client ?? client).get({ url: '/api/v1/content/news', ...options });
|
|
39
|
+
/**
|
|
40
|
+
* Create custom news article (Admin)
|
|
41
|
+
*/
|
|
42
|
+
export const createNewsArticle = (options) => (options?.client ?? client).post({
|
|
43
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
44
|
+
url: '/api/v1/content/news',
|
|
45
|
+
...options,
|
|
46
|
+
headers: {
|
|
47
|
+
'Content-Type': 'application/json',
|
|
48
|
+
...options?.headers
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* Get available tags
|
|
53
|
+
*/
|
|
54
|
+
export const listNewsTags = (options) => (options?.client ?? client).get({ url: '/api/v1/content/news/tags', ...options });
|
|
55
|
+
/**
|
|
56
|
+
* Get news article by slug
|
|
57
|
+
*/
|
|
58
|
+
export const getNewsArticleBySlug = (options) => (options.client ?? client).get({ url: '/api/v1/content/news/slug/{slug}', ...options });
|
|
59
|
+
/**
|
|
60
|
+
* Delete news article (Admin)
|
|
61
|
+
*/
|
|
62
|
+
export const deleteNewsArticle = (options) => (options.client ?? client).delete({
|
|
63
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
64
|
+
url: '/api/v1/content/news/{id}',
|
|
65
|
+
...options
|
|
66
|
+
});
|
|
67
|
+
/**
|
|
68
|
+
* Get news article by ID
|
|
69
|
+
*/
|
|
70
|
+
export const getNewsArticleById = (options) => (options.client ?? client).get({ url: '/api/v1/content/news/{id}', ...options });
|
|
71
|
+
/**
|
|
72
|
+
* Update news article (Admin)
|
|
73
|
+
*/
|
|
74
|
+
export const updateNewsArticle = (options) => (options.client ?? client).put({
|
|
75
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
76
|
+
url: '/api/v1/content/news/{id}',
|
|
77
|
+
...options,
|
|
78
|
+
headers: {
|
|
79
|
+
'Content-Type': 'application/json',
|
|
80
|
+
...options.headers
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
/**
|
|
84
|
+
* List all custom news (Admin)
|
|
85
|
+
*/
|
|
86
|
+
export const listAdminNews = (options) => (options?.client ?? client).get({
|
|
87
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
88
|
+
url: '/api/v1/content/news/admin/all',
|
|
89
|
+
...options
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* Get betting odds
|
|
93
|
+
*/
|
|
94
|
+
export const listOdds = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds', ...options });
|
|
95
|
+
/**
|
|
96
|
+
* Get live betting odds
|
|
97
|
+
*/
|
|
98
|
+
export const listLiveOdds = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds/live', ...options });
|
|
99
|
+
/**
|
|
100
|
+
* Get odds bet mapping
|
|
101
|
+
*/
|
|
102
|
+
export const getOddsMapping = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds/mapping', ...options });
|
|
103
|
+
/**
|
|
104
|
+
* Get bookmakers
|
|
105
|
+
*/
|
|
106
|
+
export const listBookmakers = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds/bookmakers', ...options });
|
|
107
|
+
/**
|
|
108
|
+
* Get bet types
|
|
109
|
+
*/
|
|
110
|
+
export const listBetTypes = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds/bets', ...options });
|
|
111
|
+
/**
|
|
112
|
+
* Get live bet types
|
|
113
|
+
*/
|
|
114
|
+
export const listLiveBetTypes = (options) => (options?.client ?? client).get({ url: '/api/v1/content/odds/live/bets', ...options });
|
|
115
|
+
/**
|
|
116
|
+
* Get players
|
|
117
|
+
*/
|
|
118
|
+
export const listPlayers = (options) => (options?.client ?? client).get({ url: '/api/v1/content/players', ...options });
|
|
119
|
+
/**
|
|
120
|
+
* Get player history
|
|
121
|
+
*/
|
|
122
|
+
export const getPlayerHistory = (options) => (options.client ?? client).get({ url: '/api/v1/content/players/history', ...options });
|
|
123
|
+
/**
|
|
124
|
+
* Get player statistics
|
|
125
|
+
*/
|
|
126
|
+
export const getPlayerStatistics = (options) => (options?.client ?? client).get({ url: '/api/v1/content/players/statistics', ...options });
|
|
127
|
+
/**
|
|
128
|
+
* Get player seasons
|
|
129
|
+
*/
|
|
130
|
+
export const getPlayerSeasons = (options) => (options.client ?? client).get({ url: '/api/v1/content/players/seasons', ...options });
|
|
131
|
+
/**
|
|
132
|
+
* Get fixture rounds for a league and season
|
|
133
|
+
*/
|
|
134
|
+
export const listRounds = (options) => (options.client ?? client).get({ url: '/api/v1/content/rounds', ...options });
|
|
135
|
+
/**
|
|
136
|
+
* Get all available seasons
|
|
137
|
+
*/
|
|
138
|
+
export const listSeasons = (options) => (options?.client ?? client).get({ url: '/api/v1/content/seasons', ...options });
|
|
139
|
+
/**
|
|
140
|
+
* Get league standings
|
|
141
|
+
*/
|
|
142
|
+
export const getStandings = (options) => (options?.client ?? client).get({ url: '/api/v1/content/standings', ...options });
|
|
143
|
+
/**
|
|
144
|
+
* Get player injuries
|
|
145
|
+
*/
|
|
146
|
+
export const getPlayerInjuries = (options) => (options?.client ?? client).get({ url: '/api/v1/content/statistics/injuries', ...options });
|
|
147
|
+
/**
|
|
148
|
+
* Get sidelined players
|
|
149
|
+
*/
|
|
150
|
+
export const getSidelinedPlayers = (options) => (options?.client ?? client).get({ url: '/api/v1/content/statistics/sidelined', ...options });
|
|
151
|
+
/**
|
|
152
|
+
* Get football statistics by type
|
|
153
|
+
*/
|
|
154
|
+
export const getStatisticsByType = (options) => (options.client ?? client).get({ url: '/api/v1/content/statistics/{type}', ...options });
|
|
155
|
+
/**
|
|
156
|
+
* Get team information
|
|
157
|
+
*/
|
|
158
|
+
export const listTeams = (options) => (options?.client ?? client).get({ url: '/api/v1/content/teams', ...options });
|
|
159
|
+
/**
|
|
160
|
+
* Get team season statistics
|
|
161
|
+
*/
|
|
162
|
+
export const getTeamStats = (options) => (options?.client ?? client).get({ url: '/api/v1/content/teams/stats', ...options });
|
|
163
|
+
/**
|
|
164
|
+
* Get team squad (players)
|
|
165
|
+
*/
|
|
166
|
+
export const getTeamPlayers = (options) => (options?.client ?? client).get({ url: '/api/v1/content/teams/players', ...options });
|
|
167
|
+
/**
|
|
168
|
+
* Get team squad (alias)
|
|
169
|
+
*/
|
|
170
|
+
export const getTeamSquad = (options) => (options?.client ?? client).get({ url: '/api/v1/content/teams/squad', ...options });
|
|
171
|
+
/**
|
|
172
|
+
* Get team seasons
|
|
173
|
+
*/
|
|
174
|
+
export const getTeamSeasons = (options) => (options.client ?? client).get({ url: '/api/v1/content/teams/seasons', ...options });
|
|
175
|
+
/**
|
|
176
|
+
* Get team coach
|
|
177
|
+
*/
|
|
178
|
+
export const getTeamCoach = (options) => (options?.client ?? client).get({ url: '/api/v1/content/teams/coach', ...options });
|
|
179
|
+
/**
|
|
180
|
+
* Get trophies and achievements
|
|
181
|
+
*/
|
|
182
|
+
export const listTrophies = (options) => (options?.client ?? client).get({ url: '/api/v1/content/trophies', ...options });
|
|
183
|
+
/**
|
|
184
|
+
* Get player transfers
|
|
185
|
+
*/
|
|
186
|
+
export const listTransfers = (options) => (options?.client ?? client).get({ url: '/api/v1/content/transfers', ...options });
|
|
187
|
+
/**
|
|
188
|
+
* Get all available bingo event types
|
|
189
|
+
*
|
|
190
|
+
* Returns all resolvable bingo events grouped by category for UI dropdowns
|
|
191
|
+
*/
|
|
192
|
+
export const getBingoEventTypes = (options) => (options?.client ?? client).get({ url: '/api/v1/bingo/event-types', ...options });
|
|
193
|
+
/**
|
|
194
|
+
* Get featured/public games for a fixture
|
|
195
|
+
*/
|
|
196
|
+
export const listFeaturedBingoGames = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/featured-games', ...options });
|
|
197
|
+
/**
|
|
198
|
+
* Create a new bingo game
|
|
199
|
+
*/
|
|
200
|
+
export const createBingoGame = (options) => (options?.client ?? client).post({
|
|
201
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
202
|
+
url: '/api/v1/bingo/games',
|
|
203
|
+
...options,
|
|
204
|
+
headers: {
|
|
205
|
+
'Content-Type': 'application/json',
|
|
206
|
+
...options?.headers
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
/**
|
|
210
|
+
* Join game by session code or game ID
|
|
211
|
+
*/
|
|
212
|
+
export const joinBingoGame = (options) => (options?.client ?? client).post({
|
|
213
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
214
|
+
url: '/api/v1/bingo/games/join',
|
|
215
|
+
...options,
|
|
216
|
+
headers: {
|
|
217
|
+
'Content-Type': 'application/json',
|
|
218
|
+
...options?.headers
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
/**
|
|
222
|
+
* Get my games
|
|
223
|
+
*/
|
|
224
|
+
export const getMyBingoGames = (options) => (options?.client ?? client).get({
|
|
225
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
226
|
+
url: '/api/v1/bingo/games/me',
|
|
227
|
+
...options
|
|
228
|
+
});
|
|
229
|
+
/**
|
|
230
|
+
* Get game by session code
|
|
231
|
+
*/
|
|
232
|
+
export const getBingoGameByCode = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/games/code/{sessionCode}', ...options });
|
|
233
|
+
/**
|
|
234
|
+
* Update player ready status
|
|
235
|
+
*/
|
|
236
|
+
export const updateBingoReadyStatus = (options) => (options.client ?? client).post({
|
|
237
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
238
|
+
url: '/api/v1/bingo/games/{sessionCode}/ready',
|
|
239
|
+
...options,
|
|
240
|
+
headers: {
|
|
241
|
+
'Content-Type': 'application/json',
|
|
242
|
+
...options.headers
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
/**
|
|
246
|
+
* Start game (host only)
|
|
247
|
+
*/
|
|
248
|
+
export const startBingoGame = (options) => (options.client ?? client).post({
|
|
249
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
250
|
+
url: '/api/v1/bingo/games/{sessionCode}/start',
|
|
251
|
+
...options
|
|
252
|
+
});
|
|
253
|
+
/**
|
|
254
|
+
* Leave game
|
|
255
|
+
*/
|
|
256
|
+
export const leaveBingoGame = (options) => (options.client ?? client).delete({
|
|
257
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
258
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/leave',
|
|
259
|
+
...options
|
|
260
|
+
});
|
|
261
|
+
/**
|
|
262
|
+
* Kick player (host only)
|
|
263
|
+
*/
|
|
264
|
+
export const kickBingoPlayer = (options) => (options.client ?? client).delete({
|
|
265
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
266
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/players/{participationId}/kick',
|
|
267
|
+
...options
|
|
268
|
+
});
|
|
269
|
+
/**
|
|
270
|
+
* Get player board
|
|
271
|
+
*/
|
|
272
|
+
export const getBingoPlayerBoard = (options) => (options.client ?? client).get({
|
|
273
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
274
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/board',
|
|
275
|
+
...options
|
|
276
|
+
});
|
|
277
|
+
/**
|
|
278
|
+
* Mark tile on board
|
|
279
|
+
*/
|
|
280
|
+
export const markBingoTile = (options) => (options.client ?? client).patch({
|
|
281
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
282
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/board/mark',
|
|
283
|
+
...options,
|
|
284
|
+
headers: {
|
|
285
|
+
'Content-Type': 'application/json',
|
|
286
|
+
...options.headers
|
|
287
|
+
}
|
|
288
|
+
});
|
|
289
|
+
/**
|
|
290
|
+
* Claim an auto-marked tile for bonus points
|
|
291
|
+
*/
|
|
292
|
+
export const claimBingoTile = (options) => (options.client ?? client).post({
|
|
293
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
294
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/board/claim',
|
|
295
|
+
...options,
|
|
296
|
+
headers: {
|
|
297
|
+
'Content-Type': 'application/json',
|
|
298
|
+
...options.headers
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
/**
|
|
302
|
+
* Get game state
|
|
303
|
+
*/
|
|
304
|
+
export const getBingoGameState = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/games/code/{sessionCode}/state', ...options });
|
|
305
|
+
/**
|
|
306
|
+
* End game
|
|
307
|
+
*/
|
|
308
|
+
export const endBingoGame = (options) => (options.client ?? client).post({
|
|
309
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
310
|
+
url: '/api/v1/bingo/games/code/{sessionCode}/end',
|
|
311
|
+
...options
|
|
312
|
+
});
|
|
313
|
+
/**
|
|
314
|
+
* Get game activities
|
|
315
|
+
*/
|
|
316
|
+
export const getBingoGameActivities = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/games/code/{sessionCode}/activities', ...options });
|
|
317
|
+
/**
|
|
318
|
+
* Get game leaderboard
|
|
319
|
+
*/
|
|
320
|
+
export const getBingoGameLeaderboard = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/games/code/{sessionCode}/leaderboard', ...options });
|
|
321
|
+
/**
|
|
322
|
+
* Report a missed event for a board
|
|
323
|
+
*/
|
|
324
|
+
export const reportBingoEvent = (options) => (options.client ?? client).post({
|
|
325
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
326
|
+
url: '/api/v1/bingo/boards/{boardId}/report-event',
|
|
327
|
+
...options,
|
|
328
|
+
headers: {
|
|
329
|
+
'Content-Type': 'application/json',
|
|
330
|
+
...options.headers
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
/**
|
|
334
|
+
* Get board playback
|
|
335
|
+
*/
|
|
336
|
+
export const getBingoBoardPlayback = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/boards/{boardId}/playback', ...options });
|
|
337
|
+
/**
|
|
338
|
+
* Get shared bingo board
|
|
339
|
+
*/
|
|
340
|
+
export const getSharedBingoBoard = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/boards/share/{shareToken}', ...options });
|
|
341
|
+
/**
|
|
342
|
+
* Get share URL for board
|
|
343
|
+
*/
|
|
344
|
+
export const getBingoBoardShareUrl = (options) => (options.client ?? client).get({
|
|
345
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
346
|
+
url: '/api/v1/bingo/boards/{boardId}/share',
|
|
347
|
+
...options
|
|
348
|
+
});
|
|
349
|
+
/**
|
|
350
|
+
* Export board data for image generation
|
|
351
|
+
*/
|
|
352
|
+
export const exportBingoBoard = (options) => (options.client ?? client).get({ url: '/api/v1/bingo/boards/{boardId}/export', ...options });
|
|
353
|
+
/**
|
|
354
|
+
* Manually trigger auto-start for games (admin)
|
|
355
|
+
*/
|
|
356
|
+
export const adminAutoStartBingoGames = (options) => (options?.client ?? client).post({
|
|
357
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
358
|
+
url: '/api/v1/bingo/admin/auto-start-games',
|
|
359
|
+
...options
|
|
360
|
+
});
|
|
361
|
+
/**
|
|
362
|
+
* Seed default global games (admin)
|
|
363
|
+
*/
|
|
364
|
+
export const adminSeedDefaultBingoGames = (options) => (options?.client ?? client).post({
|
|
365
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
366
|
+
url: '/api/v1/bingo/admin/seed-default-games',
|
|
367
|
+
...options,
|
|
368
|
+
headers: {
|
|
369
|
+
'Content-Type': 'application/json',
|
|
370
|
+
...options?.headers
|
|
371
|
+
}
|
|
372
|
+
});
|
|
373
|
+
/**
|
|
374
|
+
* Simulate a match event (dev only)
|
|
375
|
+
*
|
|
376
|
+
* Test endpoint for simulating match events. Admin only, disabled in production.
|
|
377
|
+
*/
|
|
378
|
+
export const testSimulateMatchEvent = (options) => (options?.client ?? client).post({
|
|
379
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
380
|
+
url: '/api/v1/bingo/test/match-event',
|
|
381
|
+
...options,
|
|
382
|
+
headers: {
|
|
383
|
+
'Content-Type': 'application/json',
|
|
384
|
+
...options?.headers
|
|
385
|
+
}
|
|
386
|
+
});
|
|
387
|
+
/**
|
|
388
|
+
* Simulate bulk match events (dev only)
|
|
389
|
+
*
|
|
390
|
+
* Test endpoint for simulating multiple match events. Admin only, disabled in production.
|
|
391
|
+
*/
|
|
392
|
+
export const testSimulateBulkMatchEvents = (options) => (options?.client ?? client).post({
|
|
393
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
394
|
+
url: '/api/v1/bingo/test/match-events/bulk',
|
|
395
|
+
...options,
|
|
396
|
+
headers: {
|
|
397
|
+
'Content-Type': 'application/json',
|
|
398
|
+
...options?.headers
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
/**
|
|
402
|
+
* List event pools
|
|
403
|
+
*
|
|
404
|
+
* Retrieve all available event pools
|
|
405
|
+
*/
|
|
406
|
+
export const listEventPools = (options) => (options?.client ?? client).get({ url: '/api/v1/event-pools', ...options });
|
|
407
|
+
/**
|
|
408
|
+
* Create event pool
|
|
409
|
+
*
|
|
410
|
+
* Create a new custom event pool for bingo games
|
|
411
|
+
*/
|
|
412
|
+
export const createEventPool = (options) => (options?.client ?? client).post({
|
|
413
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
414
|
+
url: '/api/v1/event-pools',
|
|
415
|
+
...options,
|
|
416
|
+
headers: {
|
|
417
|
+
'Content-Type': 'application/json',
|
|
418
|
+
...options?.headers
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
/**
|
|
422
|
+
* Delete event pool
|
|
423
|
+
*
|
|
424
|
+
* Delete an event pool (admin only, soft delete)
|
|
425
|
+
*/
|
|
426
|
+
export const deleteEventPool = (options) => (options.client ?? client).delete({
|
|
427
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
428
|
+
url: '/api/v1/event-pools/{id}',
|
|
429
|
+
...options
|
|
430
|
+
});
|
|
431
|
+
/**
|
|
432
|
+
* Get event pool by ID
|
|
433
|
+
*
|
|
434
|
+
* Retrieve detailed information about a specific event pool
|
|
435
|
+
*/
|
|
436
|
+
export const getEventPoolById = (options) => (options.client ?? client).get({ url: '/api/v1/event-pools/{id}', ...options });
|
|
437
|
+
/**
|
|
438
|
+
* Update event pool
|
|
439
|
+
*
|
|
440
|
+
* Update an existing event pool (admin only)
|
|
441
|
+
*/
|
|
442
|
+
export const updateEventPool = (options) => (options.client ?? client).put({
|
|
443
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
444
|
+
url: '/api/v1/event-pools/{id}',
|
|
445
|
+
...options,
|
|
446
|
+
headers: {
|
|
447
|
+
'Content-Type': 'application/json',
|
|
448
|
+
...options.headers
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
/**
|
|
452
|
+
* Get all sponsors
|
|
453
|
+
*
|
|
454
|
+
* Retrieve list of sponsors with optional filters
|
|
455
|
+
*/
|
|
456
|
+
export const listSponsors = (options) => (options?.client ?? client).get({ url: '/api/v1/sponsors', ...options });
|
|
457
|
+
/**
|
|
458
|
+
* Create a new sponsor
|
|
459
|
+
*
|
|
460
|
+
* Create a new sponsor entry (admin only)
|
|
461
|
+
*/
|
|
462
|
+
export const createSponsor = (options) => (options?.client ?? client).post({
|
|
463
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
464
|
+
url: '/api/v1/sponsors',
|
|
465
|
+
...options,
|
|
466
|
+
headers: {
|
|
467
|
+
'Content-Type': 'application/json',
|
|
468
|
+
...options?.headers
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
/**
|
|
472
|
+
* Delete sponsor
|
|
473
|
+
*
|
|
474
|
+
* Soft delete a sponsor (admin only)
|
|
475
|
+
*/
|
|
476
|
+
export const deleteSponsor = (options) => (options.client ?? client).delete({
|
|
477
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
478
|
+
url: '/api/v1/sponsors/{id}',
|
|
479
|
+
...options
|
|
480
|
+
});
|
|
481
|
+
/**
|
|
482
|
+
* Get sponsor by ID
|
|
483
|
+
*
|
|
484
|
+
* Retrieve detailed information about a specific sponsor
|
|
485
|
+
*/
|
|
486
|
+
export const getSponsorById = (options) => (options.client ?? client).get({ url: '/api/v1/sponsors/{id}', ...options });
|
|
487
|
+
/**
|
|
488
|
+
* Update sponsor
|
|
489
|
+
*
|
|
490
|
+
* Update an existing sponsor (admin only)
|
|
491
|
+
*/
|
|
492
|
+
export const updateSponsor = (options) => (options.client ?? client).put({
|
|
493
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
494
|
+
url: '/api/v1/sponsors/{id}',
|
|
495
|
+
...options,
|
|
496
|
+
headers: {
|
|
497
|
+
'Content-Type': 'application/json',
|
|
498
|
+
...options.headers
|
|
499
|
+
}
|
|
500
|
+
});
|
|
501
|
+
/**
|
|
502
|
+
* Get sponsor's stakes
|
|
503
|
+
*
|
|
504
|
+
* Retrieve stakes associated with a specific sponsor
|
|
505
|
+
*/
|
|
506
|
+
export const getSponsorStakes = (options) => (options.client ?? client).get({ url: '/api/v1/sponsors/{id}/stakes', ...options });
|
|
507
|
+
/**
|
|
508
|
+
* Get sponsor's packs
|
|
509
|
+
*
|
|
510
|
+
* Retrieve bingo packs associated with a specific sponsor
|
|
511
|
+
*/
|
|
512
|
+
export const getSponsorPacks = (options) => (options.client ?? client).get({ url: '/api/v1/sponsors/{id}/packs', ...options });
|
|
513
|
+
/**
|
|
514
|
+
* Get available packs
|
|
515
|
+
*
|
|
516
|
+
* Retrieve all currently available bingo packs for purchase
|
|
517
|
+
*/
|
|
518
|
+
export const listBingoPacks = (options) => (options?.client ?? client).get({ url: '/api/v1/packs', ...options });
|
|
519
|
+
/**
|
|
520
|
+
* Get user's purchased packs
|
|
521
|
+
*
|
|
522
|
+
* Retrieve all packs purchased by the authenticated user
|
|
523
|
+
*/
|
|
524
|
+
export const getMyBingoPacks = (options) => (options?.client ?? client).get({
|
|
525
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
526
|
+
url: '/api/v1/packs/my-packs',
|
|
527
|
+
...options
|
|
528
|
+
});
|
|
529
|
+
/**
|
|
530
|
+
* Get pack details
|
|
531
|
+
*
|
|
532
|
+
* Retrieve detailed information about a specific bingo pack
|
|
533
|
+
*/
|
|
534
|
+
export const getBingoPackById = (options) => (options.client ?? client).get({ url: '/api/v1/packs/{id}', ...options });
|
|
535
|
+
/**
|
|
536
|
+
* Purchase a pack
|
|
537
|
+
*
|
|
538
|
+
* Purchase a bingo pack and auto-join all associated fixture games
|
|
539
|
+
*/
|
|
540
|
+
export const purchaseBingoPack = (options) => (options.client ?? client).post({
|
|
541
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
542
|
+
url: '/api/v1/packs/{id}/purchase',
|
|
543
|
+
...options
|
|
544
|
+
});
|
|
545
|
+
/**
|
|
546
|
+
* Get all packs including inactive (admin)
|
|
547
|
+
*
|
|
548
|
+
* Retrieve all bingo packs for admin management, including inactive ones
|
|
549
|
+
*/
|
|
550
|
+
export const listAllBingoPacks = (options) => (options?.client ?? client).get({
|
|
551
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
552
|
+
url: '/api/v1/packs/admin/all',
|
|
553
|
+
...options
|
|
554
|
+
});
|
|
555
|
+
/**
|
|
556
|
+
* Create pack (admin)
|
|
557
|
+
*
|
|
558
|
+
* Create a new bingo pack (admin only)
|
|
559
|
+
*/
|
|
560
|
+
export const createBingoPack = (options) => (options?.client ?? client).post({
|
|
561
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
562
|
+
url: '/api/v1/packs/admin',
|
|
563
|
+
...options,
|
|
564
|
+
headers: {
|
|
565
|
+
'Content-Type': 'application/json',
|
|
566
|
+
...options?.headers
|
|
567
|
+
}
|
|
568
|
+
});
|
|
569
|
+
/**
|
|
570
|
+
* Update pack (admin)
|
|
571
|
+
*
|
|
572
|
+
* Update an existing bingo pack (admin only)
|
|
573
|
+
*/
|
|
574
|
+
export const updateBingoPack = (options) => (options.client ?? client).patch({
|
|
575
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
576
|
+
url: '/api/v1/packs/admin/{id}',
|
|
577
|
+
...options,
|
|
578
|
+
headers: {
|
|
579
|
+
'Content-Type': 'application/json',
|
|
580
|
+
...options.headers
|
|
581
|
+
}
|
|
582
|
+
});
|
|
583
|
+
/**
|
|
584
|
+
* Get all achievements
|
|
585
|
+
*/
|
|
586
|
+
export const listAchievements = (options) => (options?.client ?? client).get({ url: '/api/v1/achievements', ...options });
|
|
587
|
+
/**
|
|
588
|
+
* Get my achievements
|
|
589
|
+
*/
|
|
590
|
+
export const getMyAchievements = (options) => (options?.client ?? client).get({
|
|
591
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
592
|
+
url: '/api/v1/achievements/me',
|
|
593
|
+
...options
|
|
594
|
+
});
|
|
595
|
+
/**
|
|
596
|
+
* Get recent community achievement unlocks
|
|
597
|
+
*/
|
|
598
|
+
export const getRecentAchievementUnlocks = (options) => (options?.client ?? client).get({ url: '/api/v1/achievements/recent-unlocks', ...options });
|
|
599
|
+
/**
|
|
600
|
+
* Get achievements leaderboard
|
|
601
|
+
*/
|
|
602
|
+
export const getAchievementLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/achievements/leaderboard', ...options });
|
|
603
|
+
/**
|
|
604
|
+
* Run retrospective achievement check (Admin)
|
|
605
|
+
*/
|
|
606
|
+
export const runAchievementRetrospective = (options) => (options?.client ?? client).post({
|
|
607
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
608
|
+
url: '/api/v1/achievements/retrospective',
|
|
609
|
+
...options,
|
|
610
|
+
headers: {
|
|
611
|
+
'Content-Type': 'application/json',
|
|
612
|
+
...options?.headers
|
|
613
|
+
}
|
|
614
|
+
});
|
|
615
|
+
/**
|
|
616
|
+
* Update achievement progress (Internal)
|
|
617
|
+
*/
|
|
618
|
+
export const updateAchievementProgress = (options) => (options?.client ?? client).post({
|
|
619
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
620
|
+
url: '/api/v1/achievements/progress',
|
|
621
|
+
...options,
|
|
622
|
+
headers: {
|
|
623
|
+
'Content-Type': 'application/json',
|
|
624
|
+
...options?.headers
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
/**
|
|
628
|
+
* Check achievements based on event (Internal)
|
|
629
|
+
*/
|
|
630
|
+
export const checkAchievements = (options) => (options?.client ?? client).post({
|
|
631
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
632
|
+
url: '/api/v1/achievements/check',
|
|
633
|
+
...options,
|
|
634
|
+
headers: {
|
|
635
|
+
'Content-Type': 'application/json',
|
|
636
|
+
...options?.headers
|
|
637
|
+
}
|
|
638
|
+
});
|
|
639
|
+
/**
|
|
640
|
+
* Grant achievement (Admin)
|
|
641
|
+
*/
|
|
642
|
+
export const grantAchievement = (options) => (options?.client ?? client).post({
|
|
643
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
644
|
+
url: '/api/v1/achievements/grant',
|
|
645
|
+
...options,
|
|
646
|
+
headers: {
|
|
647
|
+
'Content-Type': 'application/json',
|
|
648
|
+
...options?.headers
|
|
649
|
+
}
|
|
650
|
+
});
|
|
651
|
+
/**
|
|
652
|
+
* Get achievement details
|
|
653
|
+
*/
|
|
654
|
+
export const getAchievementById = (options) => (options.client ?? client).get({ url: '/api/v1/achievements/{achievementId}', ...options });
|
|
655
|
+
/**
|
|
656
|
+
* Mark achievement as viewed
|
|
657
|
+
*/
|
|
658
|
+
export const markAchievementViewed = (options) => (options.client ?? client).post({
|
|
659
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
660
|
+
url: '/api/v1/achievements/{achievementId}/viewed',
|
|
661
|
+
...options
|
|
662
|
+
});
|
|
663
|
+
/**
|
|
664
|
+
* Get active challenges for current user
|
|
665
|
+
*/
|
|
666
|
+
export const listChallenges = (options) => (options?.client ?? client).get({
|
|
667
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
668
|
+
url: '/api/v1/challenges',
|
|
669
|
+
...options
|
|
670
|
+
});
|
|
671
|
+
/**
|
|
672
|
+
* Get challenge completion history
|
|
673
|
+
*/
|
|
674
|
+
export const getChallengeHistory = (options) => (options?.client ?? client).get({
|
|
675
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
676
|
+
url: '/api/v1/challenges/history',
|
|
677
|
+
...options
|
|
678
|
+
});
|
|
679
|
+
/**
|
|
680
|
+
* Get challenges leaderboard
|
|
681
|
+
*/
|
|
682
|
+
export const getChallengeLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/challenges/leaderboard', ...options });
|
|
683
|
+
/**
|
|
684
|
+
* Get user's challenge streak
|
|
685
|
+
*/
|
|
686
|
+
export const getChallengeStreak = (options) => (options?.client ?? client).get({
|
|
687
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
688
|
+
url: '/api/v1/challenges/streak',
|
|
689
|
+
...options
|
|
690
|
+
});
|
|
691
|
+
/**
|
|
692
|
+
* Claim all completed challenges
|
|
693
|
+
*/
|
|
694
|
+
export const claimAllChallengeRewards = (options) => (options?.client ?? client).post({
|
|
695
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
696
|
+
url: '/api/v1/challenges/claim-all',
|
|
697
|
+
...options
|
|
698
|
+
});
|
|
699
|
+
/**
|
|
700
|
+
* Update challenge progress (Internal)
|
|
701
|
+
*/
|
|
702
|
+
export const updateChallengeProgress = (options) => (options?.client ?? client).post({
|
|
703
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
704
|
+
url: '/api/v1/challenges/progress',
|
|
705
|
+
...options,
|
|
706
|
+
headers: {
|
|
707
|
+
'Content-Type': 'application/json',
|
|
708
|
+
...options?.headers
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
/**
|
|
712
|
+
* Generate daily challenges (Admin)
|
|
713
|
+
*/
|
|
714
|
+
export const generateDailyChallenges = (options) => (options?.client ?? client).post({
|
|
715
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
716
|
+
url: '/api/v1/challenges/generate/daily',
|
|
717
|
+
...options,
|
|
718
|
+
headers: {
|
|
719
|
+
'Content-Type': 'application/json',
|
|
720
|
+
...options?.headers
|
|
721
|
+
}
|
|
722
|
+
});
|
|
723
|
+
/**
|
|
724
|
+
* Generate weekly challenges (Admin)
|
|
725
|
+
*/
|
|
726
|
+
export const generateWeeklyChallenges = (options) => (options?.client ?? client).post({
|
|
727
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
728
|
+
url: '/api/v1/challenges/generate/weekly',
|
|
729
|
+
...options,
|
|
730
|
+
headers: {
|
|
731
|
+
'Content-Type': 'application/json',
|
|
732
|
+
...options?.headers
|
|
733
|
+
}
|
|
734
|
+
});
|
|
735
|
+
/**
|
|
736
|
+
* Generate event challenges (Admin)
|
|
737
|
+
*/
|
|
738
|
+
export const generateEventChallenges = (options) => (options?.client ?? client).post({
|
|
739
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
740
|
+
url: '/api/v1/challenges/generate/event',
|
|
741
|
+
...options,
|
|
742
|
+
headers: {
|
|
743
|
+
'Content-Type': 'application/json',
|
|
744
|
+
...options?.headers
|
|
745
|
+
}
|
|
746
|
+
});
|
|
747
|
+
/**
|
|
748
|
+
* Get specific challenge details
|
|
749
|
+
*/
|
|
750
|
+
export const getChallengeById = (options) => (options.client ?? client).get({ url: '/api/v1/challenges/{challengeId}', ...options });
|
|
751
|
+
/**
|
|
752
|
+
* Claim reward for completed challenge
|
|
753
|
+
*/
|
|
754
|
+
export const claimChallengeReward = (options) => (options.client ?? client).post({
|
|
755
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
756
|
+
url: '/api/v1/challenges/{challengeId}/claim',
|
|
757
|
+
...options
|
|
758
|
+
});
|
|
759
|
+
/**
|
|
760
|
+
* Get my progression
|
|
761
|
+
*/
|
|
762
|
+
export const getProgressionSummary = (options) => (options?.client ?? client).get({
|
|
763
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
764
|
+
url: '/api/v1/progression/me',
|
|
765
|
+
...options
|
|
766
|
+
});
|
|
767
|
+
/**
|
|
768
|
+
* Get progression leaderboard
|
|
769
|
+
*/
|
|
770
|
+
export const getProgressionLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/progression/leaderboard', ...options });
|
|
771
|
+
/**
|
|
772
|
+
* Get all ranks
|
|
773
|
+
*/
|
|
774
|
+
export const getProgressionRanks = (options) => (options?.client ?? client).get({ url: '/api/v1/progression/ranks', ...options });
|
|
775
|
+
/**
|
|
776
|
+
* Check feature access
|
|
777
|
+
*/
|
|
778
|
+
export const checkFeatureAccess = (options) => (options.client ?? client).get({
|
|
779
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
780
|
+
url: '/api/v1/progression/can-access/{feature}',
|
|
781
|
+
...options
|
|
782
|
+
});
|
|
783
|
+
/**
|
|
784
|
+
* Prestige user
|
|
785
|
+
*/
|
|
786
|
+
export const prestigeUser = (options) => (options?.client ?? client).post({
|
|
787
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
788
|
+
url: '/api/v1/progression/prestige',
|
|
789
|
+
...options,
|
|
790
|
+
headers: {
|
|
791
|
+
'Content-Type': 'application/json',
|
|
792
|
+
...options?.headers
|
|
793
|
+
}
|
|
794
|
+
});
|
|
795
|
+
/**
|
|
796
|
+
* Get referral code
|
|
797
|
+
*/
|
|
798
|
+
export const getReferralCode = (options) => (options?.client ?? client).get({
|
|
799
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
800
|
+
url: '/api/v1/referral/code',
|
|
801
|
+
...options
|
|
802
|
+
});
|
|
803
|
+
/**
|
|
804
|
+
* Get referral statistics
|
|
805
|
+
*/
|
|
806
|
+
export const getReferralStats = (options) => (options?.client ?? client).get({
|
|
807
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
808
|
+
url: '/api/v1/referral/stats',
|
|
809
|
+
...options
|
|
810
|
+
});
|
|
811
|
+
/**
|
|
812
|
+
* Get referral leaderboard
|
|
813
|
+
*/
|
|
814
|
+
export const getReferralLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/referral/leaderboard', ...options });
|
|
815
|
+
/**
|
|
816
|
+
* Validate a referral code
|
|
817
|
+
*/
|
|
818
|
+
export const validateReferralCode = (options) => (options?.client ?? client).post({
|
|
819
|
+
url: '/api/v1/referral/validate',
|
|
820
|
+
...options,
|
|
821
|
+
headers: {
|
|
822
|
+
'Content-Type': 'application/json',
|
|
823
|
+
...options?.headers
|
|
824
|
+
}
|
|
825
|
+
});
|
|
826
|
+
/**
|
|
827
|
+
* Apply a referral code
|
|
828
|
+
*/
|
|
829
|
+
export const applyReferralCode = (options) => (options?.client ?? client).post({
|
|
830
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
831
|
+
url: '/api/v1/referral/apply',
|
|
832
|
+
...options,
|
|
833
|
+
headers: {
|
|
834
|
+
'Content-Type': 'application/json',
|
|
835
|
+
...options?.headers
|
|
836
|
+
}
|
|
837
|
+
});
|
|
838
|
+
/**
|
|
839
|
+
* Get current user profile
|
|
840
|
+
*
|
|
841
|
+
* Retrieve the authenticated user's complete profile including stats, streak, and achievements
|
|
842
|
+
*/
|
|
843
|
+
export const getUserProfile = (options) => (options?.client ?? client).get({
|
|
844
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
845
|
+
url: '/api/v1/users/me',
|
|
846
|
+
...options
|
|
847
|
+
});
|
|
848
|
+
/**
|
|
849
|
+
* Update username
|
|
850
|
+
*/
|
|
851
|
+
export const updateUsername = (options) => (options?.client ?? client).put({
|
|
852
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
853
|
+
url: '/api/v1/users/me/username',
|
|
854
|
+
...options,
|
|
855
|
+
headers: {
|
|
856
|
+
'Content-Type': 'application/json',
|
|
857
|
+
...options?.headers
|
|
858
|
+
}
|
|
859
|
+
});
|
|
860
|
+
/**
|
|
861
|
+
* Get current user's weekly stats
|
|
862
|
+
*
|
|
863
|
+
* Returns the authenticated user's game statistics for the current week (Monday-Sunday UTC)
|
|
864
|
+
*/
|
|
865
|
+
export const getUserWeeklyStats = (options) => (options?.client ?? client).get({
|
|
866
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
867
|
+
url: '/api/v1/users/me/stats/weekly',
|
|
868
|
+
...options
|
|
869
|
+
});
|
|
870
|
+
/**
|
|
871
|
+
* Complete user onboarding
|
|
872
|
+
*
|
|
873
|
+
* Mark the current user's onboarding as complete
|
|
874
|
+
*/
|
|
875
|
+
export const completeOnboarding = (options) => (options?.client ?? client).post({
|
|
876
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
877
|
+
url: '/api/v1/users/me/onboarding/complete',
|
|
878
|
+
...options,
|
|
879
|
+
headers: {
|
|
880
|
+
'Content-Type': 'application/json',
|
|
881
|
+
...options?.headers
|
|
882
|
+
}
|
|
883
|
+
});
|
|
884
|
+
/**
|
|
885
|
+
* Reset user onboarding
|
|
886
|
+
*
|
|
887
|
+
* Reset the current user's onboarding status to allow them to go through onboarding again
|
|
888
|
+
*/
|
|
889
|
+
export const resetOnboarding = (options) => (options?.client ?? client).post({
|
|
890
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
891
|
+
url: '/api/v1/users/me/onboarding/reset',
|
|
892
|
+
...options
|
|
893
|
+
});
|
|
894
|
+
/**
|
|
895
|
+
* Get current user's stats overview
|
|
896
|
+
*
|
|
897
|
+
* Retrieve comprehensive stats for the authenticated user
|
|
898
|
+
*/
|
|
899
|
+
export const getUserStatsOverview = (options) => (options?.client ?? client).get({
|
|
900
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
901
|
+
url: '/api/v1/users/me/stats/overview',
|
|
902
|
+
...options
|
|
903
|
+
});
|
|
904
|
+
/**
|
|
905
|
+
* Get public user profile
|
|
906
|
+
*
|
|
907
|
+
* Retrieve public profile information for any user by UUID or username
|
|
908
|
+
*/
|
|
909
|
+
export const getPublicUserProfile = (options) => (options.client ?? client).get({
|
|
910
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
911
|
+
url: '/api/v1/users/{identifier}/profile',
|
|
912
|
+
...options
|
|
913
|
+
});
|
|
914
|
+
/**
|
|
915
|
+
* Get public user stats
|
|
916
|
+
*
|
|
917
|
+
* Retrieve comprehensive public statistics for any user by username
|
|
918
|
+
*/
|
|
919
|
+
export const getPublicUserStats = (options) => (options.client ?? client).get({ url: '/api/v1/users/{username}/stats', ...options });
|
|
920
|
+
/**
|
|
921
|
+
* Create user (Admin)
|
|
922
|
+
*/
|
|
923
|
+
export const createUser = (options) => (options?.client ?? client).post({
|
|
924
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
925
|
+
url: '/api/v1/users',
|
|
926
|
+
...options,
|
|
927
|
+
headers: {
|
|
928
|
+
'Content-Type': 'application/json',
|
|
929
|
+
...options?.headers
|
|
930
|
+
}
|
|
931
|
+
});
|
|
932
|
+
/**
|
|
933
|
+
* Delete user (Admin)
|
|
934
|
+
*/
|
|
935
|
+
export const deleteUser = (options) => (options.client ?? client).delete({
|
|
936
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
937
|
+
url: '/api/v1/users/{id}',
|
|
938
|
+
...options
|
|
939
|
+
});
|
|
940
|
+
/**
|
|
941
|
+
* Update user (Admin)
|
|
942
|
+
*/
|
|
943
|
+
export const updateUser = (options) => (options.client ?? client).put({
|
|
944
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
945
|
+
url: '/api/v1/users/{id}',
|
|
946
|
+
...options,
|
|
947
|
+
headers: {
|
|
948
|
+
'Content-Type': 'application/json',
|
|
949
|
+
...options.headers
|
|
950
|
+
}
|
|
951
|
+
});
|
|
952
|
+
/**
|
|
953
|
+
* Get personalized news feed
|
|
954
|
+
*
|
|
955
|
+
* Get news articles filtered by user starred teams, leagues, and players
|
|
956
|
+
*/
|
|
957
|
+
export const getUserFeed = (options) => (options?.client ?? client).get({
|
|
958
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
959
|
+
url: '/api/v1/users/me/feed',
|
|
960
|
+
...options
|
|
961
|
+
});
|
|
962
|
+
/**
|
|
963
|
+
* Get current user's activity feed
|
|
964
|
+
*
|
|
965
|
+
* Retrieve the authenticated user's activity feed including games, achievements, predictions, and community content
|
|
966
|
+
*/
|
|
967
|
+
export const getUserActivity = (options) => (options?.client ?? client).get({
|
|
968
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
969
|
+
url: '/api/v1/users/me/activities',
|
|
970
|
+
...options
|
|
971
|
+
});
|
|
972
|
+
/**
|
|
973
|
+
* Get specific user's public activity feed
|
|
974
|
+
*
|
|
975
|
+
* Retrieve a user's public activity feed (viewing other users)
|
|
976
|
+
*/
|
|
977
|
+
export const getPublicUserActivity = (options) => (options.client ?? client).get({ url: '/api/v1/users/{username}/activities', ...options });
|
|
978
|
+
/**
|
|
979
|
+
* Get transaction history
|
|
980
|
+
*
|
|
981
|
+
* Retrieve the authenticated user's currency transaction history (coins and XP) with optional filters
|
|
982
|
+
*/
|
|
983
|
+
export const getWalletTransactions = (options) => (options?.client ?? client).get({
|
|
984
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
985
|
+
url: '/api/v1/wallet/transactions',
|
|
986
|
+
...options
|
|
987
|
+
});
|
|
988
|
+
/**
|
|
989
|
+
* Get wallet balance summary
|
|
990
|
+
*
|
|
991
|
+
* Retrieve the authenticated user's current balance, lifetime earnings, and spending statistics
|
|
992
|
+
*/
|
|
993
|
+
export const getWalletBalance = (options) => (options?.client ?? client).get({
|
|
994
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
995
|
+
url: '/api/v1/wallet/balance',
|
|
996
|
+
...options
|
|
997
|
+
});
|
|
998
|
+
/**
|
|
999
|
+
* Admin - Adjust user balance
|
|
1000
|
+
*
|
|
1001
|
+
* Allows admins to adjust a user's XP or coin balance with full audit trail
|
|
1002
|
+
*/
|
|
1003
|
+
export const adminAdjustBalance = (options) => (options?.client ?? client).post({
|
|
1004
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1005
|
+
url: '/api/v1/wallet/admin/adjust',
|
|
1006
|
+
...options,
|
|
1007
|
+
headers: {
|
|
1008
|
+
'Content-Type': 'application/json',
|
|
1009
|
+
...options?.headers
|
|
1010
|
+
}
|
|
1011
|
+
});
|
|
1012
|
+
/**
|
|
1013
|
+
* Admin - Get user wallet details
|
|
1014
|
+
*
|
|
1015
|
+
* Allows admins to view any user's wallet balance and transaction history
|
|
1016
|
+
*/
|
|
1017
|
+
export const adminGetUserWallet = (options) => (options.client ?? client).get({
|
|
1018
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1019
|
+
url: '/api/v1/wallet/admin/user/{userId}',
|
|
1020
|
+
...options
|
|
1021
|
+
});
|
|
1022
|
+
/**
|
|
1023
|
+
* Get user's starred items
|
|
1024
|
+
*
|
|
1025
|
+
* Retrieve all starred leagues, teams, and countries for the authenticated user
|
|
1026
|
+
*/
|
|
1027
|
+
export const listStarredItems = (options) => (options?.client ?? client).get({
|
|
1028
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1029
|
+
url: '/api/v1/preferences/starred',
|
|
1030
|
+
...options
|
|
1031
|
+
});
|
|
1032
|
+
/**
|
|
1033
|
+
* Star an item
|
|
1034
|
+
*
|
|
1035
|
+
* Add a league, team, or country to the user's starred items
|
|
1036
|
+
*/
|
|
1037
|
+
export const addStarredItem = (options) => (options?.client ?? client).post({
|
|
1038
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1039
|
+
url: '/api/v1/preferences/starred',
|
|
1040
|
+
...options,
|
|
1041
|
+
headers: {
|
|
1042
|
+
'Content-Type': 'application/json',
|
|
1043
|
+
...options?.headers
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
/**
|
|
1047
|
+
* Get starred items counts
|
|
1048
|
+
*
|
|
1049
|
+
* Get count of starred items by type
|
|
1050
|
+
*/
|
|
1051
|
+
export const getStarredItemsCounts = (options) => (options?.client ?? client).get({
|
|
1052
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1053
|
+
url: '/api/v1/preferences/starred/counts',
|
|
1054
|
+
...options
|
|
1055
|
+
});
|
|
1056
|
+
/**
|
|
1057
|
+
* Get starred item IDs by type
|
|
1058
|
+
*
|
|
1059
|
+
* Returns just the IDs of starred items for a given type. Use this for efficiently checking starred status in lists.
|
|
1060
|
+
*/
|
|
1061
|
+
export const getStarredItemIdsByType = (options) => (options.client ?? client).get({
|
|
1062
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1063
|
+
url: '/api/v1/preferences/starred/ids/{type}',
|
|
1064
|
+
...options
|
|
1065
|
+
});
|
|
1066
|
+
/**
|
|
1067
|
+
* Check if an item is starred
|
|
1068
|
+
*
|
|
1069
|
+
* Check if a specific item is starred by the user
|
|
1070
|
+
*/
|
|
1071
|
+
export const checkStarredItem = (options) => (options.client ?? client).get({
|
|
1072
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1073
|
+
url: '/api/v1/preferences/starred/check',
|
|
1074
|
+
...options
|
|
1075
|
+
});
|
|
1076
|
+
/**
|
|
1077
|
+
* Bulk import starred items
|
|
1078
|
+
*
|
|
1079
|
+
* Import multiple starred items at once (useful for migrating from localStorage)
|
|
1080
|
+
*/
|
|
1081
|
+
export const bulkImportStarredItems = (options) => (options?.client ?? client).post({
|
|
1082
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1083
|
+
url: '/api/v1/preferences/starred/bulk',
|
|
1084
|
+
...options,
|
|
1085
|
+
headers: {
|
|
1086
|
+
'Content-Type': 'application/json',
|
|
1087
|
+
...options?.headers
|
|
1088
|
+
}
|
|
1089
|
+
});
|
|
1090
|
+
/**
|
|
1091
|
+
* Remove a starred item
|
|
1092
|
+
*
|
|
1093
|
+
* Remove a league, team, or country from the user's starred items
|
|
1094
|
+
*/
|
|
1095
|
+
export const removeStarredItem = (options) => (options.client ?? client).delete({
|
|
1096
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1097
|
+
url: '/api/v1/preferences/starred/{itemType}/{itemId}',
|
|
1098
|
+
...options
|
|
1099
|
+
});
|
|
1100
|
+
/**
|
|
1101
|
+
* Remove a starred item by ID
|
|
1102
|
+
*
|
|
1103
|
+
* Remove a starred item using its database ID
|
|
1104
|
+
*/
|
|
1105
|
+
export const removeStarredItemById = (options) => (options.client ?? client).delete({
|
|
1106
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1107
|
+
url: '/api/v1/preferences/starred/{id}',
|
|
1108
|
+
...options
|
|
1109
|
+
});
|
|
1110
|
+
/**
|
|
1111
|
+
* Record daily login check-in
|
|
1112
|
+
*
|
|
1113
|
+
* Record a daily login for the authenticated user. Awards XP based on current streak and may provide bonus rewards for milestones.
|
|
1114
|
+
*/
|
|
1115
|
+
export const claimDailyLogin = (options) => (options?.client ?? client).post({
|
|
1116
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1117
|
+
url: '/api/v1/daily-login/check-in',
|
|
1118
|
+
...options,
|
|
1119
|
+
headers: {
|
|
1120
|
+
'Content-Type': 'application/json',
|
|
1121
|
+
...options?.headers
|
|
1122
|
+
}
|
|
1123
|
+
});
|
|
1124
|
+
/**
|
|
1125
|
+
* Get current user's login streak
|
|
1126
|
+
*
|
|
1127
|
+
* Retrieve the authenticated user's login streak data including current streak, longest streak, total XP earned from streaks, and upcoming milestone rewards
|
|
1128
|
+
*/
|
|
1129
|
+
export const getDailyLoginStatus = (options) => (options?.client ?? client).get({
|
|
1130
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1131
|
+
url: '/api/v1/daily-login/me',
|
|
1132
|
+
...options
|
|
1133
|
+
});
|
|
1134
|
+
/**
|
|
1135
|
+
* Get login streak leaderboard
|
|
1136
|
+
*
|
|
1137
|
+
* Retrieve the top users by login streak. Shows users with the longest current login streaks.
|
|
1138
|
+
*/
|
|
1139
|
+
export const getDailyLoginLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/daily-login/leaderboard', ...options });
|
|
1140
|
+
/**
|
|
1141
|
+
* Get leaderboard rankings
|
|
1142
|
+
*
|
|
1143
|
+
* Retrieve leaderboard rankings for various categories and time periods. Supports bingo wins, predictions, content creators, XP levels, speed runs, high scores, and streaks.
|
|
1144
|
+
*/
|
|
1145
|
+
export const getLeaderboard = (options) => (options.client ?? client).get({
|
|
1146
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1147
|
+
url: '/api/v1/leaderboard',
|
|
1148
|
+
...options
|
|
1149
|
+
});
|
|
1150
|
+
/**
|
|
1151
|
+
* Get live activity feed
|
|
1152
|
+
*
|
|
1153
|
+
* Retrieve recent bingo wins and achievements for the live activity feed. Shows real-time community activities including game completions, wins, and achievement unlocks.
|
|
1154
|
+
*/
|
|
1155
|
+
export const getLiveActivityFeed = (options) => (options?.client ?? client).get({ url: '/api/v1/activities/live', ...options });
|
|
1156
|
+
/**
|
|
1157
|
+
* Get user's lineups
|
|
1158
|
+
*
|
|
1159
|
+
* Retrieve all lineups created by the authenticated user with pagination and sorting
|
|
1160
|
+
*/
|
|
1161
|
+
export const getMyLineups = (options) => (options?.client ?? client).get({
|
|
1162
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1163
|
+
url: '/api/v1/community/lineups',
|
|
1164
|
+
...options
|
|
1165
|
+
});
|
|
1166
|
+
/**
|
|
1167
|
+
* Create a new lineup
|
|
1168
|
+
*
|
|
1169
|
+
* Create a lineup with custom formation and players. Works for both authenticated and anonymous users.
|
|
1170
|
+
*/
|
|
1171
|
+
export const createLineup = (options) => (options?.client ?? client).post({
|
|
1172
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1173
|
+
url: '/api/v1/community/lineups',
|
|
1174
|
+
...options,
|
|
1175
|
+
headers: {
|
|
1176
|
+
'Content-Type': 'application/json',
|
|
1177
|
+
...options?.headers
|
|
1178
|
+
}
|
|
1179
|
+
});
|
|
1180
|
+
/**
|
|
1181
|
+
* Browse public lineups
|
|
1182
|
+
*
|
|
1183
|
+
* Search and filter public lineups with pagination and sorting
|
|
1184
|
+
*/
|
|
1185
|
+
export const listLineups = (options) => (options?.client ?? client).get({ url: '/api/v1/community/lineups/browse', ...options });
|
|
1186
|
+
/**
|
|
1187
|
+
* Get trending lineups
|
|
1188
|
+
*
|
|
1189
|
+
* Retrieve the most viewed lineups in the last 7 days
|
|
1190
|
+
*/
|
|
1191
|
+
export const listTrendingLineups = (options) => (options?.client ?? client).get({ url: '/api/v1/community/lineups/trending', ...options });
|
|
1192
|
+
/**
|
|
1193
|
+
* Get popular lineups
|
|
1194
|
+
*
|
|
1195
|
+
* Retrieve the most viewed lineups of all time
|
|
1196
|
+
*/
|
|
1197
|
+
export const listPopularLineups = (options) => (options?.client ?? client).get({ url: '/api/v1/community/lineups/popular', ...options });
|
|
1198
|
+
/**
|
|
1199
|
+
* Get lineup by share token
|
|
1200
|
+
*
|
|
1201
|
+
* Retrieve a public lineup using its unique share token
|
|
1202
|
+
*/
|
|
1203
|
+
export const getLineupByShareToken = (options) => (options.client ?? client).get({ url: '/api/v1/community/lineups/share/{shareToken}', ...options });
|
|
1204
|
+
/**
|
|
1205
|
+
* Delete lineup
|
|
1206
|
+
*
|
|
1207
|
+
* Delete a lineup. Only the owner can delete their lineup.
|
|
1208
|
+
*/
|
|
1209
|
+
export const deleteLineup = (options) => (options.client ?? client).delete({
|
|
1210
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1211
|
+
url: '/api/v1/community/lineups/{id}',
|
|
1212
|
+
...options
|
|
1213
|
+
});
|
|
1214
|
+
/**
|
|
1215
|
+
* Get lineup by ID
|
|
1216
|
+
*
|
|
1217
|
+
* Retrieve a specific lineup by its ID. Returns public lineups or lineups owned by the authenticated user.
|
|
1218
|
+
*/
|
|
1219
|
+
export const getLineupById = (options) => (options.client ?? client).get({ url: '/api/v1/community/lineups/{id}', ...options });
|
|
1220
|
+
/**
|
|
1221
|
+
* Update lineup
|
|
1222
|
+
*
|
|
1223
|
+
* Update an existing lineup. Only the owner can update their lineup.
|
|
1224
|
+
*/
|
|
1225
|
+
export const updateLineup = (options) => (options.client ?? client).put({
|
|
1226
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1227
|
+
url: '/api/v1/community/lineups/{id}',
|
|
1228
|
+
...options,
|
|
1229
|
+
headers: {
|
|
1230
|
+
'Content-Type': 'application/json',
|
|
1231
|
+
...options.headers
|
|
1232
|
+
}
|
|
1233
|
+
});
|
|
1234
|
+
/**
|
|
1235
|
+
* Export lineup as image
|
|
1236
|
+
*
|
|
1237
|
+
* Export a lineup as an SVG image or data URL
|
|
1238
|
+
*/
|
|
1239
|
+
export const exportLineup = (options) => (options.client ?? client).get({ url: '/api/v1/community/lineups/{id}/export', ...options });
|
|
1240
|
+
/**
|
|
1241
|
+
* Claim anonymous lineup
|
|
1242
|
+
*
|
|
1243
|
+
* Claim ownership of an anonymous lineup.
|
|
1244
|
+
*/
|
|
1245
|
+
export const claimLineup = (options) => (options.client ?? client).post({
|
|
1246
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1247
|
+
url: '/api/v1/community/lineups/{id}/claim',
|
|
1248
|
+
...options
|
|
1249
|
+
});
|
|
1250
|
+
/**
|
|
1251
|
+
* Get user's tactics boards
|
|
1252
|
+
*
|
|
1253
|
+
* Retrieve all tactics boards created by the authenticated user with pagination and sorting
|
|
1254
|
+
*/
|
|
1255
|
+
export const getMyTacticsBoards = (options) => (options?.client ?? client).get({
|
|
1256
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1257
|
+
url: '/api/v1/community/tactics-boards',
|
|
1258
|
+
...options
|
|
1259
|
+
});
|
|
1260
|
+
/**
|
|
1261
|
+
* Create a new tactics board
|
|
1262
|
+
*
|
|
1263
|
+
* Create a tactics board with formations for two teams and tactical drawings. Works for both authenticated and anonymous users.
|
|
1264
|
+
*/
|
|
1265
|
+
export const createTacticsBoard = (options) => (options?.client ?? client).post({
|
|
1266
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1267
|
+
url: '/api/v1/community/tactics-boards',
|
|
1268
|
+
...options,
|
|
1269
|
+
headers: {
|
|
1270
|
+
'Content-Type': 'application/json',
|
|
1271
|
+
...options?.headers
|
|
1272
|
+
}
|
|
1273
|
+
});
|
|
1274
|
+
/**
|
|
1275
|
+
* Browse public tactics boards
|
|
1276
|
+
*
|
|
1277
|
+
* Search and filter public tactics boards with pagination and sorting
|
|
1278
|
+
*/
|
|
1279
|
+
export const listTacticsBoards = (options) => (options?.client ?? client).get({ url: '/api/v1/community/tactics-boards/browse', ...options });
|
|
1280
|
+
/**
|
|
1281
|
+
* Get trending tactics boards
|
|
1282
|
+
*
|
|
1283
|
+
* Retrieve the most viewed tactics boards in the last 7 days
|
|
1284
|
+
*/
|
|
1285
|
+
export const listTrendingTacticsBoards = (options) => (options?.client ?? client).get({ url: '/api/v1/community/tactics-boards/trending', ...options });
|
|
1286
|
+
/**
|
|
1287
|
+
* Get popular tactics boards
|
|
1288
|
+
*
|
|
1289
|
+
* Retrieve the most viewed tactics boards of all time
|
|
1290
|
+
*/
|
|
1291
|
+
export const listPopularTacticsBoards = (options) => (options?.client ?? client).get({ url: '/api/v1/community/tactics-boards/popular', ...options });
|
|
1292
|
+
/**
|
|
1293
|
+
* Get tactics board by share token
|
|
1294
|
+
*
|
|
1295
|
+
* Retrieve a public tactics board using its unique share token
|
|
1296
|
+
*/
|
|
1297
|
+
export const getTacticsBoardByShareToken = (options) => (options.client ?? client).get({ url: '/api/v1/community/tactics-boards/share/{shareToken}', ...options });
|
|
1298
|
+
/**
|
|
1299
|
+
* Delete tactics board
|
|
1300
|
+
*
|
|
1301
|
+
* Delete a tactics board. Only the owner can delete their board.
|
|
1302
|
+
*/
|
|
1303
|
+
export const deleteTacticsBoard = (options) => (options.client ?? client).delete({
|
|
1304
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1305
|
+
url: '/api/v1/community/tactics-boards/{id}',
|
|
1306
|
+
...options
|
|
1307
|
+
});
|
|
1308
|
+
/**
|
|
1309
|
+
* Get tactics board by ID
|
|
1310
|
+
*
|
|
1311
|
+
* Retrieve a specific tactics board by its ID. Returns public boards or boards owned by the authenticated user.
|
|
1312
|
+
*/
|
|
1313
|
+
export const getTacticsBoardById = (options) => (options.client ?? client).get({ url: '/api/v1/community/tactics-boards/{id}', ...options });
|
|
1314
|
+
/**
|
|
1315
|
+
* Update tactics board
|
|
1316
|
+
*
|
|
1317
|
+
* Update an existing tactics board. Only the owner can update their board.
|
|
1318
|
+
*/
|
|
1319
|
+
export const updateTacticsBoard = (options) => (options.client ?? client).put({
|
|
1320
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1321
|
+
url: '/api/v1/community/tactics-boards/{id}',
|
|
1322
|
+
...options,
|
|
1323
|
+
headers: {
|
|
1324
|
+
'Content-Type': 'application/json',
|
|
1325
|
+
...options.headers
|
|
1326
|
+
}
|
|
1327
|
+
});
|
|
1328
|
+
/**
|
|
1329
|
+
* Export tactics board as image
|
|
1330
|
+
*
|
|
1331
|
+
* Export a tactics board as an SVG image or data URL
|
|
1332
|
+
*/
|
|
1333
|
+
export const exportTacticsBoard = (options) => (options.client ?? client).get({ url: '/api/v1/community/tactics-boards/{id}/export', ...options });
|
|
1334
|
+
/**
|
|
1335
|
+
* Claim anonymous tactics board
|
|
1336
|
+
*
|
|
1337
|
+
* Claim ownership of an anonymous tactics board.
|
|
1338
|
+
*/
|
|
1339
|
+
export const claimTacticsBoard = (options) => (options.client ?? client).post({
|
|
1340
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1341
|
+
url: '/api/v1/community/tactics-boards/{id}/claim',
|
|
1342
|
+
...options
|
|
1343
|
+
});
|
|
1344
|
+
/**
|
|
1345
|
+
* Get user's transfer plans
|
|
1346
|
+
*
|
|
1347
|
+
* Retrieve all transfer plans created by the authenticated user with pagination and sorting
|
|
1348
|
+
*/
|
|
1349
|
+
export const getMyTransferPlans = (options) => (options?.client ?? client).get({
|
|
1350
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1351
|
+
url: '/api/v1/community/transfer-plans',
|
|
1352
|
+
...options
|
|
1353
|
+
});
|
|
1354
|
+
/**
|
|
1355
|
+
* Create a new transfer plan
|
|
1356
|
+
*
|
|
1357
|
+
* Create a transfer plan for a team including transfer targets in and out. Works for both authenticated and anonymous users.
|
|
1358
|
+
*/
|
|
1359
|
+
export const createTransferPlan = (options) => (options?.client ?? client).post({
|
|
1360
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1361
|
+
url: '/api/v1/community/transfer-plans',
|
|
1362
|
+
...options,
|
|
1363
|
+
headers: {
|
|
1364
|
+
'Content-Type': 'application/json',
|
|
1365
|
+
...options?.headers
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1368
|
+
/**
|
|
1369
|
+
* Browse public transfer plans
|
|
1370
|
+
*
|
|
1371
|
+
* Search and filter public transfer plans with pagination and sorting
|
|
1372
|
+
*/
|
|
1373
|
+
export const listTransferPlans = (options) => (options?.client ?? client).get({ url: '/api/v1/community/transfer-plans/browse', ...options });
|
|
1374
|
+
/**
|
|
1375
|
+
* Get trending transfer plans
|
|
1376
|
+
*
|
|
1377
|
+
* Retrieve the most viewed transfer plans in the last 7 days
|
|
1378
|
+
*/
|
|
1379
|
+
export const listTrendingTransferPlans = (options) => (options?.client ?? client).get({ url: '/api/v1/community/transfer-plans/trending', ...options });
|
|
1380
|
+
/**
|
|
1381
|
+
* Get popular transfer plans
|
|
1382
|
+
*
|
|
1383
|
+
* Retrieve the most viewed transfer plans of all time
|
|
1384
|
+
*/
|
|
1385
|
+
export const listPopularTransferPlans = (options) => (options?.client ?? client).get({ url: '/api/v1/community/transfer-plans/popular', ...options });
|
|
1386
|
+
/**
|
|
1387
|
+
* Get aggregate transfer window statistics
|
|
1388
|
+
*
|
|
1389
|
+
* Get community-wide transfer statistics including most wanted players, popular sells, price distributions
|
|
1390
|
+
*/
|
|
1391
|
+
export const getTransferWindowStats = (options) => (options?.client ?? client).get({ url: '/api/v1/community/transfer-plans/stats', ...options });
|
|
1392
|
+
/**
|
|
1393
|
+
* Get transfer plan by share token
|
|
1394
|
+
*
|
|
1395
|
+
* Retrieve a public transfer plan using its unique share token
|
|
1396
|
+
*/
|
|
1397
|
+
export const getTransferPlanByShareToken = (options) => (options.client ?? client).get({ url: '/api/v1/community/transfer-plans/share/{shareToken}', ...options });
|
|
1398
|
+
/**
|
|
1399
|
+
* Get transfer plans by team
|
|
1400
|
+
*
|
|
1401
|
+
* Retrieve all public transfer plans for a specific team
|
|
1402
|
+
*/
|
|
1403
|
+
export const listTransferPlansByTeam = (options) => (options.client ?? client).get({ url: '/api/v1/community/transfer-plans/team/{teamId}', ...options });
|
|
1404
|
+
/**
|
|
1405
|
+
* Delete transfer plan
|
|
1406
|
+
*
|
|
1407
|
+
* Delete a transfer plan. Only the owner can delete their plan.
|
|
1408
|
+
*/
|
|
1409
|
+
export const deleteTransferPlan = (options) => (options.client ?? client).delete({
|
|
1410
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1411
|
+
url: '/api/v1/community/transfer-plans/{id}',
|
|
1412
|
+
...options
|
|
1413
|
+
});
|
|
1414
|
+
/**
|
|
1415
|
+
* Get transfer plan by ID
|
|
1416
|
+
*
|
|
1417
|
+
* Retrieve a specific transfer plan by its ID. Returns public plans or plans owned by the authenticated user.
|
|
1418
|
+
*/
|
|
1419
|
+
export const getTransferPlanById = (options) => (options.client ?? client).get({ url: '/api/v1/community/transfer-plans/{id}', ...options });
|
|
1420
|
+
/**
|
|
1421
|
+
* Update transfer plan
|
|
1422
|
+
*
|
|
1423
|
+
* Update an existing transfer plan. Only the owner can update their plan.
|
|
1424
|
+
*/
|
|
1425
|
+
export const updateTransferPlan = (options) => (options.client ?? client).put({
|
|
1426
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1427
|
+
url: '/api/v1/community/transfer-plans/{id}',
|
|
1428
|
+
...options,
|
|
1429
|
+
headers: {
|
|
1430
|
+
'Content-Type': 'application/json',
|
|
1431
|
+
...options.headers
|
|
1432
|
+
}
|
|
1433
|
+
});
|
|
1434
|
+
/**
|
|
1435
|
+
* Get transfer plan statistics
|
|
1436
|
+
*
|
|
1437
|
+
* Retrieve detailed statistics for a transfer plan including financial breakdown
|
|
1438
|
+
*/
|
|
1439
|
+
export const getTransferPlanStats = (options) => (options.client ?? client).get({ url: '/api/v1/community/transfer-plans/{id}/stats', ...options });
|
|
1440
|
+
/**
|
|
1441
|
+
* Claim anonymous transfer plan
|
|
1442
|
+
*
|
|
1443
|
+
* Claim ownership of an anonymous transfer plan.
|
|
1444
|
+
*/
|
|
1445
|
+
export const claimTransferPlan = (options) => (options.client ?? client).post({
|
|
1446
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1447
|
+
url: '/api/v1/community/transfer-plans/{id}/claim',
|
|
1448
|
+
...options
|
|
1449
|
+
});
|
|
1450
|
+
/**
|
|
1451
|
+
* Post a comment on a match
|
|
1452
|
+
*
|
|
1453
|
+
* Post a new comment or reply to an existing comment
|
|
1454
|
+
*/
|
|
1455
|
+
export const createMatchComment = (options) => (options?.client ?? client).post({
|
|
1456
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1457
|
+
url: '/api/v1/community/match-comments',
|
|
1458
|
+
...options,
|
|
1459
|
+
headers: {
|
|
1460
|
+
'Content-Type': 'application/json',
|
|
1461
|
+
...options?.headers
|
|
1462
|
+
}
|
|
1463
|
+
});
|
|
1464
|
+
/**
|
|
1465
|
+
* Get user's comment statistics
|
|
1466
|
+
*
|
|
1467
|
+
* Retrieve statistics about the authenticated user's comment activity
|
|
1468
|
+
*/
|
|
1469
|
+
export const getMyMatchCommentStats = (options) => (options?.client ?? client).get({
|
|
1470
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1471
|
+
url: '/api/v1/community/match-comments/user/stats',
|
|
1472
|
+
...options
|
|
1473
|
+
});
|
|
1474
|
+
/**
|
|
1475
|
+
* Get comments for a match
|
|
1476
|
+
*
|
|
1477
|
+
* Retrieve top-level comments for a specific match with pagination
|
|
1478
|
+
*/
|
|
1479
|
+
export const listMatchComments = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-comments/{fixtureId}', ...options });
|
|
1480
|
+
/**
|
|
1481
|
+
* Get replies to a comment
|
|
1482
|
+
*
|
|
1483
|
+
* Retrieve all replies to a specific comment
|
|
1484
|
+
*/
|
|
1485
|
+
export const listMatchCommentReplies = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-comments/{commentId}/replies', ...options });
|
|
1486
|
+
/**
|
|
1487
|
+
* Like or unlike a comment
|
|
1488
|
+
*
|
|
1489
|
+
* Toggle like status on a comment
|
|
1490
|
+
*/
|
|
1491
|
+
export const likeMatchComment = (options) => (options.client ?? client).post({
|
|
1492
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1493
|
+
url: '/api/v1/community/match-comments/{commentId}/like',
|
|
1494
|
+
...options
|
|
1495
|
+
});
|
|
1496
|
+
/**
|
|
1497
|
+
* Delete a comment
|
|
1498
|
+
*
|
|
1499
|
+
* Soft delete your own comment
|
|
1500
|
+
*/
|
|
1501
|
+
export const deleteMatchComment = (options) => (options.client ?? client).delete({
|
|
1502
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1503
|
+
url: '/api/v1/community/match-comments/{commentId}',
|
|
1504
|
+
...options
|
|
1505
|
+
});
|
|
1506
|
+
/**
|
|
1507
|
+
* Edit a comment
|
|
1508
|
+
*
|
|
1509
|
+
* Edit your own comment
|
|
1510
|
+
*/
|
|
1511
|
+
export const updateMatchComment = (options) => (options.client ?? client).put({
|
|
1512
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1513
|
+
url: '/api/v1/community/match-comments/{commentId}',
|
|
1514
|
+
...options,
|
|
1515
|
+
headers: {
|
|
1516
|
+
'Content-Type': 'application/json',
|
|
1517
|
+
...options.headers
|
|
1518
|
+
}
|
|
1519
|
+
});
|
|
1520
|
+
/**
|
|
1521
|
+
* Submit or update match rating
|
|
1522
|
+
*
|
|
1523
|
+
* Submit ratings for a match including player ratings and man of the match selection
|
|
1524
|
+
*/
|
|
1525
|
+
export const submitMatchRating = (options) => (options?.client ?? client).post({
|
|
1526
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1527
|
+
url: '/api/v1/community/match-ratings',
|
|
1528
|
+
...options,
|
|
1529
|
+
headers: {
|
|
1530
|
+
'Content-Type': 'application/json',
|
|
1531
|
+
...options?.headers
|
|
1532
|
+
}
|
|
1533
|
+
});
|
|
1534
|
+
/**
|
|
1535
|
+
* Get user's rating statistics
|
|
1536
|
+
*
|
|
1537
|
+
* Retrieve statistics about the authenticated user's rating activity
|
|
1538
|
+
*/
|
|
1539
|
+
export const getMyMatchRatingStats = (options) => (options?.client ?? client).get({
|
|
1540
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1541
|
+
url: '/api/v1/community/match-ratings/user/stats',
|
|
1542
|
+
...options
|
|
1543
|
+
});
|
|
1544
|
+
/**
|
|
1545
|
+
* Get all user's ratings
|
|
1546
|
+
*
|
|
1547
|
+
* Retrieve all ratings submitted by the authenticated user across all fixtures
|
|
1548
|
+
*/
|
|
1549
|
+
export const getMyMatchRatings = (options) => (options?.client ?? client).get({
|
|
1550
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1551
|
+
url: '/api/v1/community/match-ratings/user',
|
|
1552
|
+
...options
|
|
1553
|
+
});
|
|
1554
|
+
/**
|
|
1555
|
+
* Get user's rating for a match
|
|
1556
|
+
*
|
|
1557
|
+
* Retrieve the authenticated user's rating for a specific match
|
|
1558
|
+
*/
|
|
1559
|
+
export const getMyMatchRatingByFixture = (options) => (options.client ?? client).get({
|
|
1560
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1561
|
+
url: '/api/v1/community/match-ratings/user/{fixtureId}',
|
|
1562
|
+
...options
|
|
1563
|
+
});
|
|
1564
|
+
/**
|
|
1565
|
+
* Get rating form data
|
|
1566
|
+
*
|
|
1567
|
+
* Retrieve all data needed to display the rating form including fixture info, players, window status, and existing rating
|
|
1568
|
+
*/
|
|
1569
|
+
export const getMatchRatingFormData = (options) => (options.client ?? client).get({
|
|
1570
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1571
|
+
url: '/api/v1/community/match-ratings/form/{fixtureId}',
|
|
1572
|
+
...options
|
|
1573
|
+
});
|
|
1574
|
+
/**
|
|
1575
|
+
* Check if rating window is open
|
|
1576
|
+
*
|
|
1577
|
+
* Check if the user can still submit ratings for this match
|
|
1578
|
+
*/
|
|
1579
|
+
export const getMatchRatingWindowStatus = (options) => (options.client ?? client).get({
|
|
1580
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1581
|
+
url: '/api/v1/community/match-ratings/window-status/{fixtureId}',
|
|
1582
|
+
...options
|
|
1583
|
+
});
|
|
1584
|
+
/**
|
|
1585
|
+
* Get community average ratings for a match
|
|
1586
|
+
*
|
|
1587
|
+
* Retrieve aggregated ratings from all users for a specific match
|
|
1588
|
+
*/
|
|
1589
|
+
export const getMatchRatingAverages = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-ratings/averages/{fixtureId}', ...options });
|
|
1590
|
+
/**
|
|
1591
|
+
* Get a shared match rating by share token
|
|
1592
|
+
*
|
|
1593
|
+
* Retrieve a publicly shared match rating. Increments view count for non-owners.
|
|
1594
|
+
*/
|
|
1595
|
+
export const getSharedMatchRating = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-ratings/shared/{shareToken}', ...options });
|
|
1596
|
+
/**
|
|
1597
|
+
* Get share URL for user's rating
|
|
1598
|
+
*
|
|
1599
|
+
* Get the share URL for the authenticated user's rating for a specific fixture
|
|
1600
|
+
*/
|
|
1601
|
+
export const getMatchRatingShareUrl = (options) => (options.client ?? client).get({
|
|
1602
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1603
|
+
url: '/api/v1/community/match-ratings/share/{fixtureId}',
|
|
1604
|
+
...options
|
|
1605
|
+
});
|
|
1606
|
+
/**
|
|
1607
|
+
* Delete user's rating for a match
|
|
1608
|
+
*
|
|
1609
|
+
* Soft delete the authenticated user's rating for a specific match
|
|
1610
|
+
*/
|
|
1611
|
+
export const deleteMatchRating = (options) => (options.client ?? client).delete({
|
|
1612
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1613
|
+
url: '/api/v1/community/match-ratings/{fixtureId}',
|
|
1614
|
+
...options
|
|
1615
|
+
});
|
|
1616
|
+
/**
|
|
1617
|
+
* Get all public ratings for a match
|
|
1618
|
+
*
|
|
1619
|
+
* Retrieve all public user ratings for a specific match with pagination
|
|
1620
|
+
*/
|
|
1621
|
+
export const getMatchRatings = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-ratings/{fixtureId}', ...options });
|
|
1622
|
+
/**
|
|
1623
|
+
* Get current user's followers
|
|
1624
|
+
*/
|
|
1625
|
+
export const listFollowers = (options) => (options?.client ?? client).get({
|
|
1626
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1627
|
+
url: '/api/v1/follow/followers',
|
|
1628
|
+
...options
|
|
1629
|
+
});
|
|
1630
|
+
/**
|
|
1631
|
+
* Get users the current user is following
|
|
1632
|
+
*/
|
|
1633
|
+
export const listFollowing = (options) => (options?.client ?? client).get({
|
|
1634
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1635
|
+
url: '/api/v1/follow/following',
|
|
1636
|
+
...options
|
|
1637
|
+
});
|
|
1638
|
+
/**
|
|
1639
|
+
* Get follow suggestions for the current user
|
|
1640
|
+
*/
|
|
1641
|
+
export const listFollowSuggestions = (options) => (options?.client ?? client).get({
|
|
1642
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1643
|
+
url: '/api/v1/follow/suggestions',
|
|
1644
|
+
...options
|
|
1645
|
+
});
|
|
1646
|
+
/**
|
|
1647
|
+
* Get follow status between current user and target user
|
|
1648
|
+
*/
|
|
1649
|
+
export const getFollowStatus = (options) => (options.client ?? client).get({
|
|
1650
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1651
|
+
url: '/api/v1/follow/{userId}/status',
|
|
1652
|
+
...options
|
|
1653
|
+
});
|
|
1654
|
+
/**
|
|
1655
|
+
* Unfollow a user
|
|
1656
|
+
*/
|
|
1657
|
+
export const unfollowUser = (options) => (options.client ?? client).delete({
|
|
1658
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1659
|
+
url: '/api/v1/follow/{userId}',
|
|
1660
|
+
...options
|
|
1661
|
+
});
|
|
1662
|
+
/**
|
|
1663
|
+
* Follow a user
|
|
1664
|
+
*/
|
|
1665
|
+
export const followUser = (options) => (options.client ?? client).post({
|
|
1666
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1667
|
+
url: '/api/v1/follow/{userId}',
|
|
1668
|
+
...options
|
|
1669
|
+
});
|
|
1670
|
+
/**
|
|
1671
|
+
* Report content
|
|
1672
|
+
*
|
|
1673
|
+
* Report a comment, chat message, rating, or user for violating community guidelines
|
|
1674
|
+
*/
|
|
1675
|
+
export const createReport = (options) => (options?.client ?? client).post({
|
|
1676
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1677
|
+
url: '/api/v1/reports',
|
|
1678
|
+
...options,
|
|
1679
|
+
headers: {
|
|
1680
|
+
'Content-Type': 'application/json',
|
|
1681
|
+
...options?.headers
|
|
1682
|
+
}
|
|
1683
|
+
});
|
|
1684
|
+
/**
|
|
1685
|
+
* Get my submitted reports
|
|
1686
|
+
*/
|
|
1687
|
+
export const listMyReports = (options) => (options?.client ?? client).get({
|
|
1688
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1689
|
+
url: '/api/v1/reports/mine',
|
|
1690
|
+
...options
|
|
1691
|
+
});
|
|
1692
|
+
/**
|
|
1693
|
+
* Get chat history for a game
|
|
1694
|
+
*
|
|
1695
|
+
* Retrieves the chat message history for a specific game session
|
|
1696
|
+
*/
|
|
1697
|
+
export const listGameChatMessages = (options) => (options.client ?? client).get({
|
|
1698
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1699
|
+
url: '/api/v1/game-chat/{sessionCode}',
|
|
1700
|
+
...options
|
|
1701
|
+
});
|
|
1702
|
+
/**
|
|
1703
|
+
* Send a chat message
|
|
1704
|
+
*
|
|
1705
|
+
* Sends a chat message in a specific game session and broadcasts it to all participants
|
|
1706
|
+
*/
|
|
1707
|
+
export const sendGameChatMessage = (options) => (options.client ?? client).post({
|
|
1708
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1709
|
+
url: '/api/v1/game-chat/{sessionCode}',
|
|
1710
|
+
...options,
|
|
1711
|
+
headers: {
|
|
1712
|
+
'Content-Type': 'application/json',
|
|
1713
|
+
...options.headers
|
|
1714
|
+
}
|
|
1715
|
+
});
|
|
1716
|
+
/**
|
|
1717
|
+
* List available pundits
|
|
1718
|
+
*/
|
|
1719
|
+
export const listAiPundits = (options) => (options?.client ?? client).get({ url: '/api/v1/ai-chat/pundits', ...options });
|
|
1720
|
+
/**
|
|
1721
|
+
* Get my chat sessions
|
|
1722
|
+
*/
|
|
1723
|
+
export const listAiChatSessions = (options) => (options?.client ?? client).get({
|
|
1724
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1725
|
+
url: '/api/v1/ai-chat/sessions',
|
|
1726
|
+
...options
|
|
1727
|
+
});
|
|
1728
|
+
/**
|
|
1729
|
+
* Create chat session
|
|
1730
|
+
*/
|
|
1731
|
+
export const createAiChatSession = (options) => (options?.client ?? client).post({
|
|
1732
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1733
|
+
url: '/api/v1/ai-chat/sessions',
|
|
1734
|
+
...options,
|
|
1735
|
+
headers: {
|
|
1736
|
+
'Content-Type': 'application/json',
|
|
1737
|
+
...options?.headers
|
|
1738
|
+
}
|
|
1739
|
+
});
|
|
1740
|
+
/**
|
|
1741
|
+
* Delete chat session
|
|
1742
|
+
*/
|
|
1743
|
+
export const deleteAiChatSession = (options) => (options.client ?? client).delete({
|
|
1744
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1745
|
+
url: '/api/v1/ai-chat/sessions/{sessionId}',
|
|
1746
|
+
...options
|
|
1747
|
+
});
|
|
1748
|
+
/**
|
|
1749
|
+
* Get chat session with messages
|
|
1750
|
+
*/
|
|
1751
|
+
export const getAiChatSessionDetail = (options) => (options.client ?? client).get({
|
|
1752
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1753
|
+
url: '/api/v1/ai-chat/sessions/{sessionId}',
|
|
1754
|
+
...options
|
|
1755
|
+
});
|
|
1756
|
+
/**
|
|
1757
|
+
* Send message and get AI response
|
|
1758
|
+
*/
|
|
1759
|
+
export const sendAiChatMessage = (options) => (options.client ?? client).post({
|
|
1760
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1761
|
+
url: '/api/v1/ai-chat/sessions/{sessionId}/messages',
|
|
1762
|
+
...options,
|
|
1763
|
+
headers: {
|
|
1764
|
+
'Content-Type': 'application/json',
|
|
1765
|
+
...options.headers
|
|
1766
|
+
}
|
|
1767
|
+
});
|
|
1768
|
+
/**
|
|
1769
|
+
* Get quick pundit opinion
|
|
1770
|
+
*/
|
|
1771
|
+
export const getAiOpinion = (options) => (options?.client ?? client).post({
|
|
1772
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1773
|
+
url: '/api/v1/ai-chat/opinion',
|
|
1774
|
+
...options,
|
|
1775
|
+
headers: {
|
|
1776
|
+
'Content-Type': 'application/json',
|
|
1777
|
+
...options?.headers
|
|
1778
|
+
}
|
|
1779
|
+
});
|
|
1780
|
+
/**
|
|
1781
|
+
* Register device for push notifications
|
|
1782
|
+
*/
|
|
1783
|
+
export const registerDevice = (options) => (options?.client ?? client).post({
|
|
1784
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1785
|
+
url: '/api/v1/notifications/register',
|
|
1786
|
+
...options,
|
|
1787
|
+
headers: {
|
|
1788
|
+
'Content-Type': 'application/json',
|
|
1789
|
+
...options?.headers
|
|
1790
|
+
}
|
|
1791
|
+
});
|
|
1792
|
+
/**
|
|
1793
|
+
* Get notification preferences
|
|
1794
|
+
*/
|
|
1795
|
+
export const getNotificationPreferences = (options) => (options?.client ?? client).get({
|
|
1796
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1797
|
+
url: '/api/v1/notifications/preferences',
|
|
1798
|
+
...options
|
|
1799
|
+
});
|
|
1800
|
+
/**
|
|
1801
|
+
* Update notification preferences
|
|
1802
|
+
*/
|
|
1803
|
+
export const updateNotificationPreferences = (options) => (options?.client ?? client).put({
|
|
1804
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1805
|
+
url: '/api/v1/notifications/preferences',
|
|
1806
|
+
...options,
|
|
1807
|
+
headers: {
|
|
1808
|
+
'Content-Type': 'application/json',
|
|
1809
|
+
...options?.headers
|
|
1810
|
+
}
|
|
1811
|
+
});
|
|
1812
|
+
/**
|
|
1813
|
+
* Unsubscribe from push notifications
|
|
1814
|
+
*/
|
|
1815
|
+
export const unsubscribeNotifications = (options) => (options?.client ?? client).post({
|
|
1816
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1817
|
+
url: '/api/v1/notifications/unsubscribe',
|
|
1818
|
+
...options,
|
|
1819
|
+
headers: {
|
|
1820
|
+
'Content-Type': 'application/json',
|
|
1821
|
+
...options?.headers
|
|
1822
|
+
}
|
|
1823
|
+
});
|
|
1824
|
+
/**
|
|
1825
|
+
* Get notification history
|
|
1826
|
+
*/
|
|
1827
|
+
export const listNotifications = (options) => (options?.client ?? client).get({
|
|
1828
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1829
|
+
url: '/api/v1/notifications/history',
|
|
1830
|
+
...options
|
|
1831
|
+
});
|
|
1832
|
+
/**
|
|
1833
|
+
* Get unread notification count
|
|
1834
|
+
*/
|
|
1835
|
+
export const getUnreadNotificationCount = (options) => (options?.client ?? client).get({
|
|
1836
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1837
|
+
url: '/api/v1/notifications/unread-count',
|
|
1838
|
+
...options
|
|
1839
|
+
});
|
|
1840
|
+
/**
|
|
1841
|
+
* Mark notification as read
|
|
1842
|
+
*/
|
|
1843
|
+
export const markNotificationRead = (options) => (options.client ?? client).put({
|
|
1844
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1845
|
+
url: '/api/v1/notifications/{id}/read',
|
|
1846
|
+
...options
|
|
1847
|
+
});
|
|
1848
|
+
/**
|
|
1849
|
+
* Send test notification
|
|
1850
|
+
*/
|
|
1851
|
+
export const sendTestNotification = (options) => (options?.client ?? client).post({
|
|
1852
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1853
|
+
url: '/api/v1/notifications/test',
|
|
1854
|
+
...options
|
|
1855
|
+
});
|
|
1856
|
+
/**
|
|
1857
|
+
* Get user's predictions
|
|
1858
|
+
*/
|
|
1859
|
+
export const getMyPredictions = (options) => (options?.client ?? client).get({
|
|
1860
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1861
|
+
url: '/api/v1/predictions',
|
|
1862
|
+
...options
|
|
1863
|
+
});
|
|
1864
|
+
/**
|
|
1865
|
+
* Create or update prediction
|
|
1866
|
+
*/
|
|
1867
|
+
export const createPrediction = (options) => (options?.client ?? client).post({
|
|
1868
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1869
|
+
url: '/api/v1/predictions',
|
|
1870
|
+
...options,
|
|
1871
|
+
headers: {
|
|
1872
|
+
'Content-Type': 'application/json',
|
|
1873
|
+
...options?.headers
|
|
1874
|
+
}
|
|
1875
|
+
});
|
|
1876
|
+
/**
|
|
1877
|
+
* Get user prediction statistics
|
|
1878
|
+
*/
|
|
1879
|
+
export const getPredictionStats = (options) => (options?.client ?? client).get({
|
|
1880
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1881
|
+
url: '/api/v1/predictions/stats',
|
|
1882
|
+
...options
|
|
1883
|
+
});
|
|
1884
|
+
/**
|
|
1885
|
+
* Get prediction leaderboard
|
|
1886
|
+
*/
|
|
1887
|
+
export const getPredictionLeaderboard = (options) => (options?.client ?? client).get({ url: '/api/v1/predictions/leaderboard', ...options });
|
|
1888
|
+
/**
|
|
1889
|
+
* Get community predictions for fixture
|
|
1890
|
+
*/
|
|
1891
|
+
export const getCommunityPredictions = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/fixture/{fixtureId}/community', ...options });
|
|
1892
|
+
/**
|
|
1893
|
+
* Get shared prediction
|
|
1894
|
+
*/
|
|
1895
|
+
export const getSharedPrediction = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/shared/{shareToken}', ...options });
|
|
1896
|
+
/**
|
|
1897
|
+
* Delete a prediction
|
|
1898
|
+
*/
|
|
1899
|
+
export const deletePrediction = (options) => (options.client ?? client).delete({
|
|
1900
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1901
|
+
url: '/api/v1/predictions/{fixtureId}',
|
|
1902
|
+
...options
|
|
1903
|
+
});
|
|
1904
|
+
/**
|
|
1905
|
+
* Get prediction by fixture
|
|
1906
|
+
*/
|
|
1907
|
+
export const getPredictionByFixture = (options) => (options.client ?? client).get({
|
|
1908
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1909
|
+
url: '/api/v1/predictions/{fixtureId}',
|
|
1910
|
+
...options
|
|
1911
|
+
});
|
|
1912
|
+
/**
|
|
1913
|
+
* Get active flash predictions for a fixture
|
|
1914
|
+
*/
|
|
1915
|
+
export const listActiveFlashPredictions = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/flash/active', ...options });
|
|
1916
|
+
/**
|
|
1917
|
+
* Get resolved flash predictions for a fixture
|
|
1918
|
+
*/
|
|
1919
|
+
export const getFlashPredictionHistory = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/flash/history', ...options });
|
|
1920
|
+
/**
|
|
1921
|
+
* Get user's flash prediction stats
|
|
1922
|
+
*/
|
|
1923
|
+
export const getFlashPredictionStats = (options) => (options?.client ?? client).get({
|
|
1924
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1925
|
+
url: '/api/v1/predictions/flash/stats',
|
|
1926
|
+
...options
|
|
1927
|
+
});
|
|
1928
|
+
/**
|
|
1929
|
+
* Get flash session summary for a fixture
|
|
1930
|
+
*/
|
|
1931
|
+
export const getFlashSessionSummary = (options) => (options.client ?? client).get({
|
|
1932
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1933
|
+
url: '/api/v1/predictions/flash/summary',
|
|
1934
|
+
...options
|
|
1935
|
+
});
|
|
1936
|
+
/**
|
|
1937
|
+
* Submit answer to a flash prediction
|
|
1938
|
+
*/
|
|
1939
|
+
export const submitFlashAnswer = (options) => (options.client ?? client).post({
|
|
1940
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1941
|
+
url: '/api/v1/predictions/flash/{id}/answer',
|
|
1942
|
+
...options,
|
|
1943
|
+
headers: {
|
|
1944
|
+
'Content-Type': 'application/json',
|
|
1945
|
+
...options.headers
|
|
1946
|
+
}
|
|
1947
|
+
});
|
|
1948
|
+
/**
|
|
1949
|
+
* Resolve a flash prediction (admin)
|
|
1950
|
+
*/
|
|
1951
|
+
export const resolveFlashPrediction = (options) => (options.client ?? client).post({
|
|
1952
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1953
|
+
url: '/api/v1/predictions/flash/{id}/resolve',
|
|
1954
|
+
...options,
|
|
1955
|
+
headers: {
|
|
1956
|
+
'Content-Type': 'application/json',
|
|
1957
|
+
...options.headers
|
|
1958
|
+
}
|
|
1959
|
+
});
|
|
1960
|
+
/**
|
|
1961
|
+
* Get user's active flash play sessions
|
|
1962
|
+
*/
|
|
1963
|
+
export const getFlashSessions = (options) => (options?.client ?? client).get({
|
|
1964
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1965
|
+
url: '/api/v1/predictions/flash/sessions',
|
|
1966
|
+
...options
|
|
1967
|
+
});
|
|
1968
|
+
/**
|
|
1969
|
+
* Get active player count for a fixture
|
|
1970
|
+
*/
|
|
1971
|
+
export const getFlashPlayerCount = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/flash/players/{fixtureId}', ...options });
|
|
1972
|
+
/**
|
|
1973
|
+
* Get flash prediction leaderboard for a fixture
|
|
1974
|
+
*/
|
|
1975
|
+
export const getFlashLeaderboard = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/flash/leaderboard/{fixtureId}', ...options });
|
|
1976
|
+
/**
|
|
1977
|
+
* Get user's flash prediction history
|
|
1978
|
+
*/
|
|
1979
|
+
export const getMyFlashHistory = (options) => (options?.client ?? client).get({
|
|
1980
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1981
|
+
url: '/api/v1/predictions/flash/history/me',
|
|
1982
|
+
...options
|
|
1983
|
+
});
|
|
1984
|
+
/**
|
|
1985
|
+
* Join a flash play session for a fixture
|
|
1986
|
+
*/
|
|
1987
|
+
export const joinFlashSession = (options) => (options?.client ?? client).post({
|
|
1988
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1989
|
+
url: '/api/v1/predictions/flash/join',
|
|
1990
|
+
...options,
|
|
1991
|
+
headers: {
|
|
1992
|
+
'Content-Type': 'application/json',
|
|
1993
|
+
...options?.headers
|
|
1994
|
+
}
|
|
1995
|
+
});
|
|
1996
|
+
/**
|
|
1997
|
+
* Leave a flash play session for a fixture
|
|
1998
|
+
*/
|
|
1999
|
+
export const leaveFlashSession = (options) => (options?.client ?? client).post({
|
|
2000
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2001
|
+
url: '/api/v1/predictions/flash/leave',
|
|
2002
|
+
...options,
|
|
2003
|
+
headers: {
|
|
2004
|
+
'Content-Type': 'application/json',
|
|
2005
|
+
...options?.headers
|
|
2006
|
+
}
|
|
2007
|
+
});
|
|
2008
|
+
/**
|
|
2009
|
+
* Get pre-match quick pick options
|
|
2010
|
+
*/
|
|
2011
|
+
export const getQuickPicks = (options) => (options.client ?? client).get({ url: '/api/v1/predictions/quick-picks/{fixtureId}', ...options });
|
|
2012
|
+
/**
|
|
2013
|
+
* Submit quick pick predictions
|
|
2014
|
+
*/
|
|
2015
|
+
export const submitQuickPicks = (options) => (options?.client ?? client).post({
|
|
2016
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2017
|
+
url: '/api/v1/predictions/quick-picks',
|
|
2018
|
+
...options,
|
|
2019
|
+
headers: {
|
|
2020
|
+
'Content-Type': 'application/json',
|
|
2021
|
+
...options?.headers
|
|
2022
|
+
}
|
|
2023
|
+
});
|
|
2024
|
+
/**
|
|
2025
|
+
* Get user's active stakes
|
|
2026
|
+
*/
|
|
2027
|
+
export const getMyActiveStakes = (options) => (options?.client ?? client).get({
|
|
2028
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2029
|
+
url: '/api/v1/stakes/me/active',
|
|
2030
|
+
...options
|
|
2031
|
+
});
|
|
2032
|
+
/**
|
|
2033
|
+
* Get user's stake history
|
|
2034
|
+
*/
|
|
2035
|
+
export const getMyStakeHistory = (options) => (options?.client ?? client).get({
|
|
2036
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2037
|
+
url: '/api/v1/stakes/me/history',
|
|
2038
|
+
...options
|
|
2039
|
+
});
|
|
2040
|
+
/**
|
|
2041
|
+
* Get community stake feed
|
|
2042
|
+
*/
|
|
2043
|
+
export const getStakeFeed = (options) => (options?.client ?? client).get({ url: '/api/v1/stakes/feed', ...options });
|
|
2044
|
+
/**
|
|
2045
|
+
* Get stakes for a fixture
|
|
2046
|
+
*/
|
|
2047
|
+
export const listStakes = (options) => (options.client ?? client).get({
|
|
2048
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2049
|
+
url: '/api/v1/stakes',
|
|
2050
|
+
...options
|
|
2051
|
+
});
|
|
2052
|
+
/**
|
|
2053
|
+
* Create a new stake
|
|
2054
|
+
*/
|
|
2055
|
+
export const createStake = (options) => (options?.client ?? client).post({
|
|
2056
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2057
|
+
url: '/api/v1/stakes',
|
|
2058
|
+
...options,
|
|
2059
|
+
headers: {
|
|
2060
|
+
'Content-Type': 'application/json',
|
|
2061
|
+
...options?.headers
|
|
2062
|
+
}
|
|
2063
|
+
});
|
|
2064
|
+
/**
|
|
2065
|
+
* Get stake details
|
|
2066
|
+
*/
|
|
2067
|
+
export const getStakeById = (options) => (options.client ?? client).get({
|
|
2068
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2069
|
+
url: '/api/v1/stakes/{id}',
|
|
2070
|
+
...options
|
|
2071
|
+
});
|
|
2072
|
+
/**
|
|
2073
|
+
* Accept a stake
|
|
2074
|
+
*/
|
|
2075
|
+
export const acceptStake = (options) => (options.client ?? client).post({
|
|
2076
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2077
|
+
url: '/api/v1/stakes/{id}/accept',
|
|
2078
|
+
...options
|
|
2079
|
+
});
|
|
2080
|
+
/**
|
|
2081
|
+
* Cancel a stake
|
|
2082
|
+
*/
|
|
2083
|
+
export const cancelStake = (options) => (options.client ?? client).post({
|
|
2084
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2085
|
+
url: '/api/v1/stakes/{id}/cancel',
|
|
2086
|
+
...options
|
|
2087
|
+
});
|
|
2088
|
+
/**
|
|
2089
|
+
* Manually resolve a stake (admin)
|
|
2090
|
+
*/
|
|
2091
|
+
export const resolveStake = (options) => (options.client ?? client).post({
|
|
2092
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2093
|
+
url: '/api/v1/stakes/{id}/resolve',
|
|
2094
|
+
...options,
|
|
2095
|
+
headers: {
|
|
2096
|
+
'Content-Type': 'application/json',
|
|
2097
|
+
...options.headers
|
|
2098
|
+
}
|
|
2099
|
+
});
|
|
2100
|
+
/**
|
|
2101
|
+
* Get user's ad watch status
|
|
2102
|
+
*/
|
|
2103
|
+
export const getAdWatchStatus = (options) => (options?.client ?? client).get({
|
|
2104
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2105
|
+
url: '/api/v1/rewards/ad-status',
|
|
2106
|
+
...options
|
|
2107
|
+
});
|
|
2108
|
+
/**
|
|
2109
|
+
* Claim reward after watching an ad
|
|
2110
|
+
*/
|
|
2111
|
+
export const claimAdReward = (options) => (options?.client ?? client).post({
|
|
2112
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2113
|
+
url: '/api/v1/rewards/ad-claim',
|
|
2114
|
+
...options,
|
|
2115
|
+
headers: {
|
|
2116
|
+
'Content-Type': 'application/json',
|
|
2117
|
+
...options?.headers
|
|
2118
|
+
}
|
|
2119
|
+
});
|
|
2120
|
+
/**
|
|
2121
|
+
* Purchase subscription
|
|
2122
|
+
*/
|
|
2123
|
+
export const purchaseSubscription = (options) => (options?.client ?? client).post({
|
|
2124
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2125
|
+
url: '/api/v1/subscriptions/purchase',
|
|
2126
|
+
...options,
|
|
2127
|
+
headers: {
|
|
2128
|
+
'Content-Type': 'application/json',
|
|
2129
|
+
...options?.headers
|
|
2130
|
+
}
|
|
2131
|
+
});
|
|
2132
|
+
/**
|
|
2133
|
+
* Get subscription status
|
|
2134
|
+
*/
|
|
2135
|
+
export const getSubscriptionStatus = (options) => (options?.client ?? client).get({
|
|
2136
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2137
|
+
url: '/api/v1/subscriptions/status',
|
|
2138
|
+
...options
|
|
2139
|
+
});
|
|
2140
|
+
/**
|
|
2141
|
+
* Cancel subscription auto-renewal
|
|
2142
|
+
*/
|
|
2143
|
+
export const cancelSubscription = (options) => (options?.client ?? client).post({
|
|
2144
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2145
|
+
url: '/api/v1/subscriptions/cancel',
|
|
2146
|
+
...options,
|
|
2147
|
+
headers: {
|
|
2148
|
+
'Content-Type': 'application/json',
|
|
2149
|
+
...options?.headers
|
|
2150
|
+
}
|
|
2151
|
+
});
|
|
2152
|
+
/**
|
|
2153
|
+
* Generate share card image
|
|
2154
|
+
*/
|
|
2155
|
+
export const getShareCardImage = (options) => (options.client ?? client).get({ url: '/api/v1/share/card/{type}/{id}', ...options });
|
|
2156
|
+
/**
|
|
2157
|
+
* Get OG metadata for a shared item
|
|
2158
|
+
*/
|
|
2159
|
+
export const getShareOgMetadata = (options) => (options.client ?? client).get({ url: '/api/v1/share/og/{type}/{id}', ...options });
|
|
2160
|
+
/**
|
|
2161
|
+
* Handle deep link
|
|
2162
|
+
*/
|
|
2163
|
+
export const handleDeepLink = (options) => (options.client ?? client).get({ url: '/api/v1/share/join/{code}', ...options });
|
|
2164
|
+
/**
|
|
2165
|
+
* List all active mini games
|
|
2166
|
+
*/
|
|
2167
|
+
export const listMiniGames = (options) => (options?.client ?? client).get({ url: '/api/v1/mini-games', ...options });
|
|
2168
|
+
/**
|
|
2169
|
+
* Check spin availability
|
|
2170
|
+
*/
|
|
2171
|
+
export const getSpinAvailability = (options) => (options?.client ?? client).get({
|
|
2172
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2173
|
+
url: '/api/v1/mini-games/spin/available',
|
|
2174
|
+
...options
|
|
2175
|
+
});
|
|
2176
|
+
/**
|
|
2177
|
+
* Execute a spin
|
|
2178
|
+
*/
|
|
2179
|
+
export const executeSpin = (options) => (options?.client ?? client).post({
|
|
2180
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2181
|
+
url: '/api/v1/mini-games/spin',
|
|
2182
|
+
...options
|
|
2183
|
+
});
|
|
2184
|
+
/**
|
|
2185
|
+
* Get today's mini game instance
|
|
2186
|
+
*/
|
|
2187
|
+
export const getTodayMiniGame = (options) => (options.client ?? client).get({ url: '/api/v1/mini-games/{gameType}/today', ...options });
|
|
2188
|
+
/**
|
|
2189
|
+
* Submit a mini game attempt
|
|
2190
|
+
*/
|
|
2191
|
+
export const submitMiniGameAttempt = (options) => (options.client ?? client).post({
|
|
2192
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2193
|
+
url: '/api/v1/mini-games/{gameType}/submit',
|
|
2194
|
+
...options,
|
|
2195
|
+
headers: {
|
|
2196
|
+
'Content-Type': 'application/json',
|
|
2197
|
+
...options.headers
|
|
2198
|
+
}
|
|
2199
|
+
});
|
|
2200
|
+
/**
|
|
2201
|
+
* Unlock a retry attempt
|
|
2202
|
+
*/
|
|
2203
|
+
export const unlockMiniGameRetry = (options) => (options.client ?? client).post({
|
|
2204
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2205
|
+
url: '/api/v1/mini-games/{gameType}/retry',
|
|
2206
|
+
...options,
|
|
2207
|
+
headers: {
|
|
2208
|
+
'Content-Type': 'application/json',
|
|
2209
|
+
...options.headers
|
|
2210
|
+
}
|
|
2211
|
+
});
|
|
2212
|
+
/**
|
|
2213
|
+
* Get leaderboard for a game type
|
|
2214
|
+
*/
|
|
2215
|
+
export const getMiniGameLeaderboard = (options) => (options.client ?? client).get({ url: '/api/v1/mini-games/{gameType}/leaderboard', ...options });
|
|
2216
|
+
/**
|
|
2217
|
+
* Reveal the next clue for Guess the Player
|
|
2218
|
+
*/
|
|
2219
|
+
export const revealGuessThePlayerClue = (options) => (options?.client ?? client).post({
|
|
2220
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2221
|
+
url: '/api/v1/mini-games/guess-the-player/reveal-clue',
|
|
2222
|
+
...options
|
|
2223
|
+
});
|
|
2224
|
+
/**
|
|
2225
|
+
* Get user's communities
|
|
2226
|
+
*/
|
|
2227
|
+
export const getMyCommunities = (options) => (options?.client ?? client).get({
|
|
2228
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2229
|
+
url: '/api/v1/communities/me',
|
|
2230
|
+
...options
|
|
2231
|
+
});
|
|
2232
|
+
/**
|
|
2233
|
+
* Get suggested communities
|
|
2234
|
+
*/
|
|
2235
|
+
export const getSuggestedCommunities = (options) => (options?.client ?? client).get({
|
|
2236
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2237
|
+
url: '/api/v1/communities/suggested',
|
|
2238
|
+
...options
|
|
2239
|
+
});
|
|
2240
|
+
/**
|
|
2241
|
+
* Get user's pending invites
|
|
2242
|
+
*/
|
|
2243
|
+
export const getMyInvites = (options) => (options?.client ?? client).get({
|
|
2244
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2245
|
+
url: '/api/v1/communities/invites',
|
|
2246
|
+
...options
|
|
2247
|
+
});
|
|
2248
|
+
/**
|
|
2249
|
+
* Accept or decline an invite
|
|
2250
|
+
*/
|
|
2251
|
+
export const respondToInvite = (options) => (options.client ?? client).post({
|
|
2252
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2253
|
+
url: '/api/v1/communities/invites/{inviteId}/respond',
|
|
2254
|
+
...options,
|
|
2255
|
+
headers: {
|
|
2256
|
+
'Content-Type': 'application/json',
|
|
2257
|
+
...options.headers
|
|
2258
|
+
}
|
|
2259
|
+
});
|
|
2260
|
+
/**
|
|
2261
|
+
* Join community by invite code
|
|
2262
|
+
*/
|
|
2263
|
+
export const joinCommunityByCode = (options) => (options.client ?? client).post({
|
|
2264
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2265
|
+
url: '/api/v1/communities/join/{code}',
|
|
2266
|
+
...options
|
|
2267
|
+
});
|
|
2268
|
+
/**
|
|
2269
|
+
* List or search communities
|
|
2270
|
+
*/
|
|
2271
|
+
export const listCommunities = (options) => (options?.client ?? client).get({ url: '/api/v1/communities', ...options });
|
|
2272
|
+
/**
|
|
2273
|
+
* Create a user community
|
|
2274
|
+
*/
|
|
2275
|
+
export const createCommunity = (options) => (options?.client ?? client).post({
|
|
2276
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2277
|
+
url: '/api/v1/communities',
|
|
2278
|
+
...options,
|
|
2279
|
+
headers: {
|
|
2280
|
+
'Content-Type': 'application/json',
|
|
2281
|
+
...options?.headers
|
|
2282
|
+
}
|
|
2283
|
+
});
|
|
2284
|
+
/**
|
|
2285
|
+
* Get community details
|
|
2286
|
+
*/
|
|
2287
|
+
export const getCommunityById = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}', ...options });
|
|
2288
|
+
/**
|
|
2289
|
+
* Join a community
|
|
2290
|
+
*/
|
|
2291
|
+
export const joinCommunity = (options) => (options.client ?? client).post({
|
|
2292
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2293
|
+
url: '/api/v1/communities/{id}/join',
|
|
2294
|
+
...options
|
|
2295
|
+
});
|
|
2296
|
+
/**
|
|
2297
|
+
* Leave a community
|
|
2298
|
+
*/
|
|
2299
|
+
export const leaveCommunity = (options) => (options.client ?? client).post({
|
|
2300
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2301
|
+
url: '/api/v1/communities/{id}/leave',
|
|
2302
|
+
...options
|
|
2303
|
+
});
|
|
2304
|
+
/**
|
|
2305
|
+
* Get community members
|
|
2306
|
+
*/
|
|
2307
|
+
export const getCommunityMembers = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/members', ...options });
|
|
2308
|
+
/**
|
|
2309
|
+
* Get community leaderboard
|
|
2310
|
+
*/
|
|
2311
|
+
export const getCommunityLeaderboard = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/leaderboard', ...options });
|
|
2312
|
+
/**
|
|
2313
|
+
* Get community activity feed
|
|
2314
|
+
*/
|
|
2315
|
+
export const getCommunityFeed = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/feed', ...options });
|
|
2316
|
+
/**
|
|
2317
|
+
* Update community settings
|
|
2318
|
+
*/
|
|
2319
|
+
export const updateCommunitySettings = (options) => (options.client ?? client).patch({
|
|
2320
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2321
|
+
url: '/api/v1/communities/{id}/settings',
|
|
2322
|
+
...options,
|
|
2323
|
+
headers: {
|
|
2324
|
+
'Content-Type': 'application/json',
|
|
2325
|
+
...options.headers
|
|
2326
|
+
}
|
|
2327
|
+
});
|
|
2328
|
+
/**
|
|
2329
|
+
* Moderate a community member
|
|
2330
|
+
*/
|
|
2331
|
+
export const moderateCommunityMember = (options) => (options.client ?? client).post({
|
|
2332
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2333
|
+
url: '/api/v1/communities/{id}/moderate',
|
|
2334
|
+
...options,
|
|
2335
|
+
headers: {
|
|
2336
|
+
'Content-Type': 'application/json',
|
|
2337
|
+
...options.headers
|
|
2338
|
+
}
|
|
2339
|
+
});
|
|
2340
|
+
/**
|
|
2341
|
+
* Invite a user to the community
|
|
2342
|
+
*/
|
|
2343
|
+
export const inviteToCommunity = (options) => (options.client ?? client).post({
|
|
2344
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2345
|
+
url: '/api/v1/communities/{id}/invite',
|
|
2346
|
+
...options,
|
|
2347
|
+
headers: {
|
|
2348
|
+
'Content-Type': 'application/json',
|
|
2349
|
+
...options.headers
|
|
2350
|
+
}
|
|
2351
|
+
});
|
|
2352
|
+
/**
|
|
2353
|
+
* View pending join requests
|
|
2354
|
+
*/
|
|
2355
|
+
export const getCommunityJoinRequests = (options) => (options.client ?? client).get({
|
|
2356
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2357
|
+
url: '/api/v1/communities/{id}/join-requests',
|
|
2358
|
+
...options
|
|
2359
|
+
});
|
|
2360
|
+
/**
|
|
2361
|
+
* Accept or reject a join request
|
|
2362
|
+
*/
|
|
2363
|
+
export const handleJoinRequest = (options) => (options.client ?? client).post({
|
|
2364
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2365
|
+
url: '/api/v1/communities/{id}/join-requests',
|
|
2366
|
+
...options,
|
|
2367
|
+
headers: {
|
|
2368
|
+
'Content-Type': 'application/json',
|
|
2369
|
+
...options.headers
|
|
2370
|
+
}
|
|
2371
|
+
});
|
|
2372
|
+
/**
|
|
2373
|
+
* Regenerate community invite code
|
|
2374
|
+
*/
|
|
2375
|
+
export const regenerateCommunityInviteCode = (options) => (options.client ?? client).post({
|
|
2376
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2377
|
+
url: '/api/v1/communities/{id}/invite-code/regenerate',
|
|
2378
|
+
...options
|
|
2379
|
+
});
|
|
2380
|
+
/**
|
|
2381
|
+
* List community posts
|
|
2382
|
+
*/
|
|
2383
|
+
export const listCommunityPosts = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/posts', ...options });
|
|
2384
|
+
/**
|
|
2385
|
+
* Create a community post
|
|
2386
|
+
*/
|
|
2387
|
+
export const createCommunityPost = (options) => (options.client ?? client).post({
|
|
2388
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2389
|
+
url: '/api/v1/communities/{id}/posts',
|
|
2390
|
+
...options,
|
|
2391
|
+
headers: {
|
|
2392
|
+
'Content-Type': 'application/json',
|
|
2393
|
+
...options.headers
|
|
2394
|
+
}
|
|
2395
|
+
});
|
|
2396
|
+
/**
|
|
2397
|
+
* Delete a community post
|
|
2398
|
+
*/
|
|
2399
|
+
export const deleteCommunityPost = (options) => (options.client ?? client).delete({
|
|
2400
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2401
|
+
url: '/api/v1/communities/{id}/posts/{postId}',
|
|
2402
|
+
...options
|
|
2403
|
+
});
|
|
2404
|
+
/**
|
|
2405
|
+
* Get post with replies
|
|
2406
|
+
*/
|
|
2407
|
+
export const getCommunityPostById = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/posts/{postId}', ...options });
|
|
2408
|
+
/**
|
|
2409
|
+
* Edit a community post
|
|
2410
|
+
*/
|
|
2411
|
+
export const editCommunityPost = (options) => (options.client ?? client).patch({
|
|
2412
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2413
|
+
url: '/api/v1/communities/{id}/posts/{postId}',
|
|
2414
|
+
...options,
|
|
2415
|
+
headers: {
|
|
2416
|
+
'Content-Type': 'application/json',
|
|
2417
|
+
...options.headers
|
|
2418
|
+
}
|
|
2419
|
+
});
|
|
2420
|
+
/**
|
|
2421
|
+
* Vote on a community post
|
|
2422
|
+
*/
|
|
2423
|
+
export const voteCommunityPost = (options) => (options.client ?? client).post({
|
|
2424
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2425
|
+
url: '/api/v1/communities/{id}/posts/{postId}/vote',
|
|
2426
|
+
...options,
|
|
2427
|
+
headers: {
|
|
2428
|
+
'Content-Type': 'application/json',
|
|
2429
|
+
...options.headers
|
|
2430
|
+
}
|
|
2431
|
+
});
|
|
2432
|
+
/**
|
|
2433
|
+
* Pin or unpin a community post
|
|
2434
|
+
*/
|
|
2435
|
+
export const togglePinCommunityPost = (options) => (options.client ?? client).post({
|
|
2436
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2437
|
+
url: '/api/v1/communities/{id}/posts/{postId}/pin',
|
|
2438
|
+
...options
|
|
2439
|
+
});
|
|
2440
|
+
/**
|
|
2441
|
+
* Get post replies
|
|
2442
|
+
*/
|
|
2443
|
+
export const getCommunityPostReplies = (options) => (options.client ?? client).get({ url: '/api/v1/communities/{id}/posts/{postId}/replies', ...options });
|
|
2444
|
+
/**
|
|
2445
|
+
* Get active seasonal event
|
|
2446
|
+
*/
|
|
2447
|
+
export const getActiveEvent = (options) => (options?.client ?? client).get({ url: '/api/v1/config/active-event', ...options });
|
|
2448
|
+
/**
|
|
2449
|
+
* Get dashboard stats overview
|
|
2450
|
+
*/
|
|
2451
|
+
export const adminGetDashboard = (options) => (options?.client ?? client).get({
|
|
2452
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2453
|
+
url: '/api/v1/admin/dashboard',
|
|
2454
|
+
...options
|
|
2455
|
+
});
|
|
2456
|
+
/**
|
|
2457
|
+
* Get user growth data for charts
|
|
2458
|
+
*/
|
|
2459
|
+
export const adminGetUserGrowth = (options) => (options?.client ?? client).get({
|
|
2460
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2461
|
+
url: '/api/v1/admin/dashboard/user-growth',
|
|
2462
|
+
...options
|
|
2463
|
+
});
|
|
2464
|
+
/**
|
|
2465
|
+
* Get top users leaderboard
|
|
2466
|
+
*/
|
|
2467
|
+
export const adminGetTopUsers = (options) => (options?.client ?? client).get({
|
|
2468
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2469
|
+
url: '/api/v1/admin/dashboard/top-users',
|
|
2470
|
+
...options
|
|
2471
|
+
});
|
|
2472
|
+
/**
|
|
2473
|
+
* Search users with filters
|
|
2474
|
+
*/
|
|
2475
|
+
export const adminSearchUsers = (options) => (options?.client ?? client).get({
|
|
2476
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2477
|
+
url: '/api/v1/admin/users',
|
|
2478
|
+
...options
|
|
2479
|
+
});
|
|
2480
|
+
/**
|
|
2481
|
+
* Get detailed user info
|
|
2482
|
+
*/
|
|
2483
|
+
export const adminGetUserDetails = (options) => (options.client ?? client).get({
|
|
2484
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2485
|
+
url: '/api/v1/admin/users/{userId}',
|
|
2486
|
+
...options
|
|
2487
|
+
});
|
|
2488
|
+
/**
|
|
2489
|
+
* Ban a user
|
|
2490
|
+
*/
|
|
2491
|
+
export const adminBanUser = (options) => (options.client ?? client).post({
|
|
2492
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2493
|
+
url: '/api/v1/admin/users/{userId}/ban',
|
|
2494
|
+
...options,
|
|
2495
|
+
headers: {
|
|
2496
|
+
'Content-Type': 'application/json',
|
|
2497
|
+
...options.headers
|
|
2498
|
+
}
|
|
2499
|
+
});
|
|
2500
|
+
/**
|
|
2501
|
+
* Unban a user
|
|
2502
|
+
*/
|
|
2503
|
+
export const adminUnbanUser = (options) => (options.client ?? client).post({
|
|
2504
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2505
|
+
url: '/api/v1/admin/users/{userId}/unban',
|
|
2506
|
+
...options
|
|
2507
|
+
});
|
|
2508
|
+
/**
|
|
2509
|
+
* Set admin status
|
|
2510
|
+
*/
|
|
2511
|
+
export const adminSetAdminStatus = (options) => (options.client ?? client).post({
|
|
2512
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2513
|
+
url: '/api/v1/admin/users/{userId}/admin-status',
|
|
2514
|
+
...options,
|
|
2515
|
+
headers: {
|
|
2516
|
+
'Content-Type': 'application/json',
|
|
2517
|
+
...options.headers
|
|
2518
|
+
}
|
|
2519
|
+
});
|
|
2520
|
+
/**
|
|
2521
|
+
* Adjust user balance (coins/xp)
|
|
2522
|
+
*/
|
|
2523
|
+
export const adminAdjustUserBalance = (options) => (options.client ?? client).post({
|
|
2524
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2525
|
+
url: '/api/v1/admin/users/{userId}/balance',
|
|
2526
|
+
...options,
|
|
2527
|
+
headers: {
|
|
2528
|
+
'Content-Type': 'application/json',
|
|
2529
|
+
...options.headers
|
|
2530
|
+
}
|
|
2531
|
+
});
|
|
2532
|
+
/**
|
|
2533
|
+
* Impersonate a user (for debugging)
|
|
2534
|
+
*/
|
|
2535
|
+
export const adminImpersonateUser = (options) => (options.client ?? client).post({
|
|
2536
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2537
|
+
url: '/api/v1/admin/users/{userId}/impersonate',
|
|
2538
|
+
...options
|
|
2539
|
+
});
|
|
2540
|
+
/**
|
|
2541
|
+
* List active impersonation sessions
|
|
2542
|
+
*/
|
|
2543
|
+
export const adminListImpersonations = (options) => (options?.client ?? client).get({
|
|
2544
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2545
|
+
url: '/api/v1/admin/impersonations',
|
|
2546
|
+
...options
|
|
2547
|
+
});
|
|
2548
|
+
/**
|
|
2549
|
+
* Revoke an impersonation token
|
|
2550
|
+
*/
|
|
2551
|
+
export const adminRevokeImpersonation = (options) => (options?.client ?? client).post({
|
|
2552
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2553
|
+
url: '/api/v1/admin/impersonations/revoke',
|
|
2554
|
+
...options,
|
|
2555
|
+
headers: {
|
|
2556
|
+
'Content-Type': 'application/json',
|
|
2557
|
+
...options?.headers
|
|
2558
|
+
}
|
|
2559
|
+
});
|
|
2560
|
+
/**
|
|
2561
|
+
* List all game templates
|
|
2562
|
+
*/
|
|
2563
|
+
export const adminListGameTemplates = (options) => (options?.client ?? client).get({
|
|
2564
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2565
|
+
url: '/api/v1/admin/games',
|
|
2566
|
+
...options
|
|
2567
|
+
});
|
|
2568
|
+
/**
|
|
2569
|
+
* Create game template
|
|
2570
|
+
*/
|
|
2571
|
+
export const adminCreateGameTemplate = (options) => (options?.client ?? client).post({
|
|
2572
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2573
|
+
url: '/api/v1/admin/games',
|
|
2574
|
+
...options,
|
|
2575
|
+
headers: {
|
|
2576
|
+
'Content-Type': 'application/json',
|
|
2577
|
+
...options?.headers
|
|
2578
|
+
}
|
|
2579
|
+
});
|
|
2580
|
+
/**
|
|
2581
|
+
* Get single game template
|
|
2582
|
+
*/
|
|
2583
|
+
export const adminGetGameTemplate = (options) => (options.client ?? client).get({
|
|
2584
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2585
|
+
url: '/api/v1/admin/games/{id}',
|
|
2586
|
+
...options
|
|
2587
|
+
});
|
|
2588
|
+
/**
|
|
2589
|
+
* Update game template
|
|
2590
|
+
*/
|
|
2591
|
+
export const adminUpdateGameTemplate = (options) => (options.client ?? client).put({
|
|
2592
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2593
|
+
url: '/api/v1/admin/games/{id}',
|
|
2594
|
+
...options,
|
|
2595
|
+
headers: {
|
|
2596
|
+
'Content-Type': 'application/json',
|
|
2597
|
+
...options.headers
|
|
2598
|
+
}
|
|
2599
|
+
});
|
|
2600
|
+
/**
|
|
2601
|
+
* Archive game template
|
|
2602
|
+
*/
|
|
2603
|
+
export const adminArchiveGameTemplate = (options) => (options.client ?? client).post({
|
|
2604
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2605
|
+
url: '/api/v1/admin/games/{id}/archive',
|
|
2606
|
+
...options,
|
|
2607
|
+
headers: {
|
|
2608
|
+
'Content-Type': 'application/json',
|
|
2609
|
+
...options.headers
|
|
2610
|
+
}
|
|
2611
|
+
});
|
|
2612
|
+
/**
|
|
2613
|
+
* List all live/active sessions
|
|
2614
|
+
*/
|
|
2615
|
+
export const adminListLiveSessions = (options) => (options?.client ?? client).get({
|
|
2616
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2617
|
+
url: '/api/v1/admin/sessions/live',
|
|
2618
|
+
...options
|
|
2619
|
+
});
|
|
2620
|
+
/**
|
|
2621
|
+
* Get session details
|
|
2622
|
+
*/
|
|
2623
|
+
export const adminGetSessionDetails = (options) => (options.client ?? client).get({
|
|
2624
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2625
|
+
url: '/api/v1/admin/sessions/{sessionCode}',
|
|
2626
|
+
...options
|
|
2627
|
+
});
|
|
2628
|
+
/**
|
|
2629
|
+
* Force end a session
|
|
2630
|
+
*/
|
|
2631
|
+
export const adminEndSession = (options) => (options.client ?? client).post({
|
|
2632
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2633
|
+
url: '/api/v1/admin/sessions/{sessionCode}/end',
|
|
2634
|
+
...options
|
|
2635
|
+
});
|
|
2636
|
+
/**
|
|
2637
|
+
* List all achievements
|
|
2638
|
+
*/
|
|
2639
|
+
export const adminListAchievements = (options) => (options?.client ?? client).get({
|
|
2640
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2641
|
+
url: '/api/v1/admin/achievements',
|
|
2642
|
+
...options
|
|
2643
|
+
});
|
|
2644
|
+
/**
|
|
2645
|
+
* Get achievement stats (unlock rate, etc.)
|
|
2646
|
+
*/
|
|
2647
|
+
export const adminGetAchievementStats = (options) => (options.client ?? client).get({
|
|
2648
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2649
|
+
url: '/api/v1/admin/achievements/{id}/stats',
|
|
2650
|
+
...options
|
|
2651
|
+
});
|
|
2652
|
+
/**
|
|
2653
|
+
* List all challenges
|
|
2654
|
+
*/
|
|
2655
|
+
export const adminListChallenges = (options) => (options?.client ?? client).get({
|
|
2656
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2657
|
+
url: '/api/v1/admin/challenges',
|
|
2658
|
+
...options
|
|
2659
|
+
});
|
|
2660
|
+
/**
|
|
2661
|
+
* Get challenge stats
|
|
2662
|
+
*/
|
|
2663
|
+
export const adminGetChallengeStats = (options) => (options.client ?? client).get({
|
|
2664
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2665
|
+
url: '/api/v1/admin/challenges/{id}/stats',
|
|
2666
|
+
...options
|
|
2667
|
+
});
|
|
2668
|
+
/**
|
|
2669
|
+
* List predictions with filters
|
|
2670
|
+
*/
|
|
2671
|
+
export const adminListPredictions = (options) => (options?.client ?? client).get({
|
|
2672
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2673
|
+
url: '/api/v1/admin/predictions',
|
|
2674
|
+
...options
|
|
2675
|
+
});
|
|
2676
|
+
/**
|
|
2677
|
+
* Get prediction stats for a fixture
|
|
2678
|
+
*/
|
|
2679
|
+
export const adminGetPredictionStats = (options) => (options.client ?? client).get({
|
|
2680
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2681
|
+
url: '/api/v1/admin/predictions/fixture/{fixtureId}/stats',
|
|
2682
|
+
...options
|
|
2683
|
+
});
|
|
2684
|
+
/**
|
|
2685
|
+
* Manually resolve predictions for a fixture
|
|
2686
|
+
*/
|
|
2687
|
+
export const adminResolvePredictions = (options) => (options.client ?? client).post({
|
|
2688
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2689
|
+
url: '/api/v1/admin/predictions/fixture/{fixtureId}/resolve',
|
|
2690
|
+
...options
|
|
2691
|
+
});
|
|
2692
|
+
/**
|
|
2693
|
+
* Get notification stats
|
|
2694
|
+
*/
|
|
2695
|
+
export const adminGetNotificationStats = (options) => (options?.client ?? client).get({
|
|
2696
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2697
|
+
url: '/api/v1/admin/notifications/stats',
|
|
2698
|
+
...options
|
|
2699
|
+
});
|
|
2700
|
+
/**
|
|
2701
|
+
* Get notification log
|
|
2702
|
+
*/
|
|
2703
|
+
export const adminGetNotificationLog = (options) => (options?.client ?? client).get({
|
|
2704
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2705
|
+
url: '/api/v1/admin/notifications/log',
|
|
2706
|
+
...options
|
|
2707
|
+
});
|
|
2708
|
+
/**
|
|
2709
|
+
* Broadcast notification to users
|
|
2710
|
+
*/
|
|
2711
|
+
export const adminBroadcastNotification = (options) => (options?.client ?? client).post({
|
|
2712
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2713
|
+
url: '/api/v1/admin/notifications/broadcast',
|
|
2714
|
+
...options,
|
|
2715
|
+
headers: {
|
|
2716
|
+
'Content-Type': 'application/json',
|
|
2717
|
+
...options?.headers
|
|
2718
|
+
}
|
|
2719
|
+
});
|
|
2720
|
+
/**
|
|
2721
|
+
* Get moderation queue (pending reports, flagged content)
|
|
2722
|
+
*/
|
|
2723
|
+
export const adminGetModerationQueue = (options) => (options?.client ?? client).get({
|
|
2724
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2725
|
+
url: '/api/v1/admin/moderation/queue',
|
|
2726
|
+
...options
|
|
2727
|
+
});
|
|
2728
|
+
/**
|
|
2729
|
+
* Delete a comment
|
|
2730
|
+
*/
|
|
2731
|
+
export const adminDeleteComment = (options) => (options.client ?? client).delete({
|
|
2732
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2733
|
+
url: '/api/v1/admin/moderation/comments/{id}',
|
|
2734
|
+
...options
|
|
2735
|
+
});
|
|
2736
|
+
/**
|
|
2737
|
+
* Get event log (analytics events)
|
|
2738
|
+
*/
|
|
2739
|
+
export const adminGetEventLog = (options) => (options?.client ?? client).get({
|
|
2740
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2741
|
+
url: '/api/v1/admin/analytics/events',
|
|
2742
|
+
...options
|
|
2743
|
+
});
|
|
2744
|
+
/**
|
|
2745
|
+
* Get all event types with counts
|
|
2746
|
+
*/
|
|
2747
|
+
export const adminGetEventTypes = (options) => (options?.client ?? client).get({
|
|
2748
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2749
|
+
url: '/api/v1/admin/analytics/events/types',
|
|
2750
|
+
...options
|
|
2751
|
+
});
|
|
2752
|
+
/**
|
|
2753
|
+
* Get event stats aggregated by type and day
|
|
2754
|
+
*/
|
|
2755
|
+
export const adminGetEventStats = (options) => (options?.client ?? client).get({
|
|
2756
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2757
|
+
url: '/api/v1/admin/analytics/events/stats',
|
|
2758
|
+
...options
|
|
2759
|
+
});
|
|
2760
|
+
/**
|
|
2761
|
+
* List event reports with filters
|
|
2762
|
+
*/
|
|
2763
|
+
export const adminListEventReports = (options) => (options?.client ?? client).get({
|
|
2764
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2765
|
+
url: '/api/v1/admin/event-reports',
|
|
2766
|
+
...options
|
|
2767
|
+
});
|
|
2768
|
+
/**
|
|
2769
|
+
* Get event report stats
|
|
2770
|
+
*/
|
|
2771
|
+
export const adminGetEventReportStats = (options) => (options?.client ?? client).get({
|
|
2772
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2773
|
+
url: '/api/v1/admin/event-reports/stats',
|
|
2774
|
+
...options
|
|
2775
|
+
});
|
|
2776
|
+
/**
|
|
2777
|
+
* Get single event report by ID
|
|
2778
|
+
*/
|
|
2779
|
+
export const adminGetEventReportById = (options) => (options.client ?? client).get({
|
|
2780
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2781
|
+
url: '/api/v1/admin/event-reports/{id}',
|
|
2782
|
+
...options
|
|
2783
|
+
});
|
|
2784
|
+
/**
|
|
2785
|
+
* Get job status (last run times)
|
|
2786
|
+
*/
|
|
2787
|
+
export const adminGetJobStatus = (options) => (options?.client ?? client).get({
|
|
2788
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2789
|
+
url: '/api/v1/admin/system/jobs',
|
|
2790
|
+
...options
|
|
2791
|
+
});
|
|
2792
|
+
/**
|
|
2793
|
+
* Clear cache by type
|
|
2794
|
+
*/
|
|
2795
|
+
export const adminClearCacheByType = (options) => (options.client ?? client).post({
|
|
2796
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2797
|
+
url: '/api/v1/admin/system/cache/{type}/clear',
|
|
2798
|
+
...options
|
|
2799
|
+
});
|
|
2800
|
+
/**
|
|
2801
|
+
* Get feature flags
|
|
2802
|
+
*/
|
|
2803
|
+
export const adminGetFeatureFlags = (options) => (options?.client ?? client).get({
|
|
2804
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2805
|
+
url: '/api/v1/admin/system/feature-flags',
|
|
2806
|
+
...options
|
|
2807
|
+
});
|
|
2808
|
+
/**
|
|
2809
|
+
* Set feature flag
|
|
2810
|
+
*/
|
|
2811
|
+
export const adminSetFeatureFlag = (options) => (options?.client ?? client).post({
|
|
2812
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2813
|
+
url: '/api/v1/admin/system/feature-flags',
|
|
2814
|
+
...options,
|
|
2815
|
+
headers: {
|
|
2816
|
+
'Content-Type': 'application/json',
|
|
2817
|
+
...options?.headers
|
|
2818
|
+
}
|
|
2819
|
+
});
|
|
2820
|
+
/**
|
|
2821
|
+
* Delete feature flag
|
|
2822
|
+
*/
|
|
2823
|
+
export const adminDeleteFeatureFlag = (options) => (options.client ?? client).delete({
|
|
2824
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2825
|
+
url: '/api/v1/admin/system/feature-flags/{flag}',
|
|
2826
|
+
...options
|
|
2827
|
+
});
|
|
2828
|
+
/**
|
|
2829
|
+
* Clear fixture cache
|
|
2830
|
+
*/
|
|
2831
|
+
export const adminClearFixturesCache = (options) => (options?.client ?? client).delete({
|
|
2832
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2833
|
+
url: '/api/v1/admin/cache/fixtures',
|
|
2834
|
+
...options
|
|
2835
|
+
});
|
|
2836
|
+
/**
|
|
2837
|
+
* Clear news cache
|
|
2838
|
+
*/
|
|
2839
|
+
export const adminClearNewsCache = (options) => (options?.client ?? client).delete({
|
|
2840
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2841
|
+
url: '/api/v1/admin/cache/news',
|
|
2842
|
+
...options
|
|
2843
|
+
});
|
|
2844
|
+
/**
|
|
2845
|
+
* Get cache statistics
|
|
2846
|
+
*/
|
|
2847
|
+
export const adminGetCacheStats = (options) => (options?.client ?? client).get({
|
|
2848
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2849
|
+
url: '/api/v1/admin/cache/stats',
|
|
2850
|
+
...options
|
|
2851
|
+
});
|
|
2852
|
+
/**
|
|
2853
|
+
* Manually trigger prediction resolution
|
|
2854
|
+
*/
|
|
2855
|
+
export const adminTriggerResolvePredictions = (options) => (options?.client ?? client).post({
|
|
2856
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2857
|
+
url: '/api/v1/admin/jobs/resolve-predictions',
|
|
2858
|
+
...options
|
|
2859
|
+
});
|
|
2860
|
+
/**
|
|
2861
|
+
* Check environment variables configuration
|
|
2862
|
+
*/
|
|
2863
|
+
export const adminCheckEnvironment = (options) => (options?.client ?? client).get({
|
|
2864
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2865
|
+
url: '/api/v1/admin/diagnostics/env',
|
|
2866
|
+
...options
|
|
2867
|
+
});
|
|
2868
|
+
/**
|
|
2869
|
+
* Test API-Sports connection
|
|
2870
|
+
*/
|
|
2871
|
+
export const adminTestApiSports = (options) => (options?.client ?? client).get({
|
|
2872
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2873
|
+
url: '/api/v1/admin/diagnostics/api-sports',
|
|
2874
|
+
...options
|
|
2875
|
+
});
|
|
2876
|
+
/**
|
|
2877
|
+
* Check prediction details (debugging)
|
|
2878
|
+
*/
|
|
2879
|
+
export const adminCheckPrediction = (options) => (options.client ?? client).get({
|
|
2880
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2881
|
+
url: '/api/v1/admin/diagnostics/prediction/{id}',
|
|
2882
|
+
...options
|
|
2883
|
+
});
|
|
2884
|
+
/**
|
|
2885
|
+
* Check API-Sports quota usage
|
|
2886
|
+
*/
|
|
2887
|
+
export const adminCheckApiQuota = (options) => (options?.client ?? client).get({
|
|
2888
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2889
|
+
url: '/api/v1/admin/diagnostics/quota',
|
|
2890
|
+
...options
|
|
2891
|
+
});
|
|
2892
|
+
/**
|
|
2893
|
+
* Check memory usage
|
|
2894
|
+
*/
|
|
2895
|
+
export const adminCheckMemory = (options) => (options?.client ?? client).get({
|
|
2896
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2897
|
+
url: '/api/v1/admin/diagnostics/memory',
|
|
2898
|
+
...options
|
|
2899
|
+
});
|
|
2900
|
+
/**
|
|
2901
|
+
* Check database health
|
|
2902
|
+
*/
|
|
2903
|
+
export const adminCheckDatabase = (options) => (options?.client ?? client).get({
|
|
2904
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2905
|
+
url: '/api/v1/admin/diagnostics/database',
|
|
2906
|
+
...options
|
|
2907
|
+
});
|
|
2908
|
+
/**
|
|
2909
|
+
* List all seasonal events
|
|
2910
|
+
*/
|
|
2911
|
+
export const adminListSeasonalEvents = (options) => (options?.client ?? client).get({
|
|
2912
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2913
|
+
url: '/api/v1/admin/seasonal-events',
|
|
2914
|
+
...options
|
|
2915
|
+
});
|
|
2916
|
+
/**
|
|
2917
|
+
* Create seasonal event
|
|
2918
|
+
*/
|
|
2919
|
+
export const adminCreateSeasonalEvent = (options) => (options?.client ?? client).post({
|
|
2920
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2921
|
+
url: '/api/v1/admin/seasonal-events',
|
|
2922
|
+
...options,
|
|
2923
|
+
headers: {
|
|
2924
|
+
'Content-Type': 'application/json',
|
|
2925
|
+
...options?.headers
|
|
2926
|
+
}
|
|
2927
|
+
});
|
|
2928
|
+
/**
|
|
2929
|
+
* Get seasonal event by ID
|
|
2930
|
+
*/
|
|
2931
|
+
export const adminGetSeasonalEvent = (options) => (options.client ?? client).get({
|
|
2932
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2933
|
+
url: '/api/v1/admin/seasonal-events/{id}',
|
|
2934
|
+
...options
|
|
2935
|
+
});
|
|
2936
|
+
/**
|
|
2937
|
+
* Update seasonal event
|
|
2938
|
+
*/
|
|
2939
|
+
export const adminUpdateSeasonalEvent = (options) => (options.client ?? client).put({
|
|
2940
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2941
|
+
url: '/api/v1/admin/seasonal-events/{id}',
|
|
2942
|
+
...options,
|
|
2943
|
+
headers: {
|
|
2944
|
+
'Content-Type': 'application/json',
|
|
2945
|
+
...options.headers
|
|
2946
|
+
}
|
|
2947
|
+
});
|
|
2948
|
+
/**
|
|
2949
|
+
* Deactivate seasonal event
|
|
2950
|
+
*/
|
|
2951
|
+
export const adminDeactivateSeasonalEvent = (options) => (options.client ?? client).post({
|
|
2952
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2953
|
+
url: '/api/v1/admin/seasonal-events/{id}/deactivate',
|
|
2954
|
+
...options
|
|
2955
|
+
});
|
|
2956
|
+
/**
|
|
2957
|
+
* Create a sponsored stake
|
|
2958
|
+
*/
|
|
2959
|
+
export const adminCreateSponsoredStake = (options) => (options.client ?? client).post({
|
|
2960
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2961
|
+
url: '/api/v1/admin/sponsors/{id}/stake',
|
|
2962
|
+
...options,
|
|
2963
|
+
headers: {
|
|
2964
|
+
'Content-Type': 'application/json',
|
|
2965
|
+
...options.headers
|
|
2966
|
+
}
|
|
2967
|
+
});
|
|
2968
|
+
/**
|
|
2969
|
+
* Create a sponsored pack
|
|
2970
|
+
*/
|
|
2971
|
+
export const adminCreateSponsoredPack = (options) => (options.client ?? client).post({
|
|
2972
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
2973
|
+
url: '/api/v1/admin/sponsors/{id}/pack',
|
|
2974
|
+
...options,
|
|
2975
|
+
headers: {
|
|
2976
|
+
'Content-Type': 'application/json',
|
|
2977
|
+
...options.headers
|
|
2978
|
+
}
|
|
2979
|
+
});
|
|
2980
|
+
/**
|
|
2981
|
+
* Cleanup anonymous lineups
|
|
2982
|
+
*
|
|
2983
|
+
* Soft deletes anonymous lineups older than 7 days and hard deletes soft-deleted lineups older than 30 days. Requires secret token authentication.
|
|
2984
|
+
*/
|
|
2985
|
+
export const adminCleanupLineups = (options) => (options?.client ?? client).post({
|
|
2986
|
+
url: '/api/v1/admin/cleanup/lineups',
|
|
2987
|
+
...options,
|
|
2988
|
+
headers: {
|
|
2989
|
+
'Content-Type': 'application/json',
|
|
2990
|
+
...options?.headers
|
|
2991
|
+
}
|
|
2992
|
+
});
|
|
2993
|
+
/**
|
|
2994
|
+
* Cleanup anonymous tactics boards
|
|
2995
|
+
*
|
|
2996
|
+
* Soft deletes anonymous tactics boards older than 7 days and hard deletes soft-deleted tactics boards older than 30 days. Requires secret token authentication.
|
|
2997
|
+
*/
|
|
2998
|
+
export const adminCleanupTacticsBoards = (options) => (options?.client ?? client).post({
|
|
2999
|
+
url: '/api/v1/admin/cleanup/tactics-boards',
|
|
3000
|
+
...options,
|
|
3001
|
+
headers: {
|
|
3002
|
+
'Content-Type': 'application/json',
|
|
3003
|
+
...options?.headers
|
|
3004
|
+
}
|
|
3005
|
+
});
|
|
3006
|
+
/**
|
|
3007
|
+
* Cleanup anonymous transfer plans
|
|
3008
|
+
*
|
|
3009
|
+
* Soft deletes anonymous transfer plans older than 7 days and hard deletes soft-deleted transfer plans older than 30 days. Requires secret token authentication.
|
|
3010
|
+
*/
|
|
3011
|
+
export const adminCleanupTransferPlans = (options) => (options?.client ?? client).post({
|
|
3012
|
+
url: '/api/v1/admin/cleanup/transfer-plans',
|
|
3013
|
+
...options,
|
|
3014
|
+
headers: {
|
|
3015
|
+
'Content-Type': 'application/json',
|
|
3016
|
+
...options?.headers
|
|
3017
|
+
}
|
|
3018
|
+
});
|
|
3019
|
+
/**
|
|
3020
|
+
* Get moderation queue
|
|
3021
|
+
*/
|
|
3022
|
+
export const adminGetModerationReports = (options) => (options?.client ?? client).get({
|
|
3023
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3024
|
+
url: '/api/v1/admin/moderation',
|
|
3025
|
+
...options
|
|
3026
|
+
});
|
|
3027
|
+
/**
|
|
3028
|
+
* Get report statistics
|
|
3029
|
+
*/
|
|
3030
|
+
export const adminGetModerationReportStats = (options) => (options?.client ?? client).get({
|
|
3031
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3032
|
+
url: '/api/v1/admin/moderation/stats',
|
|
3033
|
+
...options
|
|
3034
|
+
});
|
|
3035
|
+
/**
|
|
3036
|
+
* Get report detail
|
|
3037
|
+
*/
|
|
3038
|
+
export const adminGetModerationReportDetail = (options) => (options.client ?? client).get({
|
|
3039
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3040
|
+
url: '/api/v1/admin/moderation/{reportId}',
|
|
3041
|
+
...options
|
|
3042
|
+
});
|
|
3043
|
+
/**
|
|
3044
|
+
* Review and action a report
|
|
3045
|
+
*/
|
|
3046
|
+
export const adminReviewModerationReport = (options) => (options.client ?? client).post({
|
|
3047
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
3048
|
+
url: '/api/v1/admin/moderation/{reportId}/review',
|
|
3049
|
+
...options,
|
|
3050
|
+
headers: {
|
|
3051
|
+
'Content-Type': 'application/json',
|
|
3052
|
+
...options.headers
|
|
3053
|
+
}
|
|
3054
|
+
});
|
|
3055
|
+
/**
|
|
3056
|
+
* Clerk webhook endpoint
|
|
3057
|
+
*
|
|
3058
|
+
* Receives webhook events from Clerk with Svix signature verification. Handles user.created, user.updated, and user.deleted events.
|
|
3059
|
+
*/
|
|
3060
|
+
export const handleClerkWebhook = (options) => (options?.client ?? client).post({
|
|
3061
|
+
url: '/api/v1/webhooks/clerk',
|
|
3062
|
+
...options,
|
|
3063
|
+
headers: {
|
|
3064
|
+
'Content-Type': 'application/json',
|
|
3065
|
+
...options?.headers
|
|
3066
|
+
}
|
|
3067
|
+
});
|
|
3068
|
+
/**
|
|
3069
|
+
* Test webhook endpoint (development only)
|
|
3070
|
+
*
|
|
3071
|
+
* For local testing without ngrok. No signature verification. Blocked in production.
|
|
3072
|
+
*/
|
|
3073
|
+
export const handleClerkTestWebhook = (options) => (options?.client ?? client).post({
|
|
3074
|
+
url: '/api/v1/webhooks/clerk/test',
|
|
3075
|
+
...options,
|
|
3076
|
+
headers: {
|
|
3077
|
+
'Content-Type': 'application/json',
|
|
3078
|
+
...options?.headers
|
|
3079
|
+
}
|
|
3080
|
+
});
|
|
3081
|
+
/**
|
|
3082
|
+
* Ad network S2S callback
|
|
3083
|
+
*
|
|
3084
|
+
* Called by ad networks (AdMob, IronSource, Unity, AppLovin) after a verified ad view. Verifies signature, grants coins, creates RewardedAdView record. Public endpoint, no auth required.
|
|
3085
|
+
*/
|
|
3086
|
+
export const handleAdCallbackWebhook = (options) => (options?.client ?? client).post({
|
|
3087
|
+
url: '/api/v1/webhooks/ad-callback',
|
|
3088
|
+
...options,
|
|
3089
|
+
headers: {
|
|
3090
|
+
'Content-Type': 'application/json',
|
|
3091
|
+
...options?.headers
|
|
3092
|
+
}
|
|
3093
|
+
});
|