Commit Graph

17 Commits

Author SHA1 Message Date
485cba3c9c feat: Add new stat stores and reporting functionalities for bets, branches, and wallets
- Introduced BetStatStore, BranchStatStore, and WalletStatStore interfaces for handling statistics.
- Implemented repository methods for fetching and updating bet, branch, and wallet statistics.
- Created reporting services for generating interval reports for bets, branches, companies, and wallets.
- Enhanced CSV writing functionality to support dynamic struct to CSV conversion.
- Added cron jobs for periodic updates of branch and wallet statistics.
- Updated wallet handler to include transaction statistics in the response.
2025-10-29 07:14:38 +03:00
e5fdd33a52 fix: Refactored and moved store ports into separate folder
- Added stats service
2025-10-29 01:33:50 +03:00
0ffba57ec5 feat: Refactor report generation and management
- Removed detailed event routes from the API.
- Added new report request routes for creating and fetching report requests.
- Introduced new domain models for report requests, including metadata and status handling.
- Implemented report request processing logic, including CSV generation for event interval reports.
- Enhanced company statistics handling with new domain models and service methods.
- Updated repository interfaces and implementations to support new report functionalities.
- Added error handling and logging for report file operations and notifications.
2025-10-28 00:51:52 +03:00
18689ea124 feat: Add EventWithSettings domain model and related conversion functions
- Introduced EventWithSettings and EventWithSettingsRes structs for enhanced event data handling.
- Implemented conversion functions for creating and updating event settings.
- Added support for fetching events with settings from the database.
- Created new report data structures for comprehensive reporting capabilities.
- Implemented event statistics retrieval and filtering by league and sport.
- Added handlers for event statistics endpoints in the web server.
- Introduced DateInterval type for managing time intervals in reports.
2025-10-18 11:50:17 +03:00
d997cde387 fix: integration fixes 2025-10-07 13:39:36 +03:00
0779cd35fe report query fixes 2025-08-20 15:56:44 +03:00
c5fe2b8297 veli games and popok callback identifiers fix 2025-08-19 17:50:30 +03:00
d8de92e7d6 5 min report fix + arifpay integration 2025-07-23 14:02:52 +03:00
5614958c5b Merge branch 'ticket-bet' 2025-07-13 03:49:26 +03:00
c83130394b fix: version on route, better logs, error display, cleaning up code 2025-07-13 01:23:08 +03:00
2b9302b10b transaction maker-checker fixes 2025-07-11 15:48:59 +03:00
77a7428b48 CSV report fix + popok hash 2025-06-29 19:51:30 +03:00
25230e3fcf fetch company and branch by wallet ID methods 2025-06-24 17:41:04 +03:00
12855f3690 CSV reports + live metrics + redis service 2025-06-21 21:48:11 +03:00
26e85dbfe8 gitignore fix + export report feature 2025-06-13 11:10:05 +03:00
6d5bdd8a56 Chapa webhook + popok fix 2025-06-12 09:40:11 +03:00
c22a1bd6c4 report_service + wallet_monitoring 2025-06-07 17:48:06 +03:00