Commit Graph

19 Commits

Author SHA1 Message Date
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
c00110a503 feat: Enhance league, odds, events and bets functionality
- Updated league handling to ensure valid page size checks and improved error handling for sport ID parsing.
- Introduced new endpoint to update global league settings with comprehensive validation and error logging.
- Refactored odds settings management, including saving, removing, and updating odds settings with enhanced validation.
- Added tenant slug retrieval by token, ensuring proper user and company validation.
- Improved middleware to check for active company status and adjusted route permissions for various endpoints.
- Added SQL script to fix auto-increment desynchronization across multiple tables.
2025-10-05 23:45:31 +03:00
e49ff366d5 feat: Implement wallet notification system and refactor related services
- Added new notification handling in the wallet service to notify admins when wallet balances are low or insufficient.
- Created a new file for wallet notifications and moved relevant functions from the wallet service to this new file.
- Updated the wallet service to publish wallet events including wallet type.
- Refactored the client code to improve readability and maintainability.
- Enhanced the bet handler to support pagination and status filtering for bets.
- Updated routes and handlers for user search functionality to improve clarity and organization.
- Modified cron job scheduling to comment out unused jobs for clarity.
- Updated the WebSocket broadcast to include wallet type in notifications.
- Adjusted the makefile to include Kafka in the docker-compose setup for local development.
2025-09-25 21:26:24 +03:00
01c7f98a72 Merge branch 'enetpulse' 2025-09-24 21:07:08 +03:00
34109b6af4 create raffle ticket with filter 2025-09-22 10:06:30 +03:00
3bcd880e90 fix: modified event_id so that its segregated from the betapi id 2025-09-17 20:17:56 +03:00
6d74cb8c28 feat: refactoring entire system to be multi-tenant 2025-08-22 12:54:48 +03:00
c08b786803 feat: odd and event history 2025-08-07 19:04:54 +03:00
472e4490f8 fix: web integration issues 2025-07-14 20:52:58 +03:00
d1770eceb6 fix: refactored bet to remove unnecessary fields 2025-07-09 21:48:36 +03:00
fbe2dfd5a3 fix: event and league disabling 2025-06-10 06:41:11 +03:00
efc51e3b72 fix: result and event service fixes 2025-06-07 07:58:39 +03:00
95fb33c9d4 fix: result service evaluation issues 2025-05-15 01:01:09 +03:00
9e4b0d9942 limiting the crons because of the request limit 2025-04-29 10:35:39 +03:00
Samuel Tariku
14de6859b3 adding result 2025-04-25 15:01:30 +03:00
8c536a6d2f company management 2025-04-23 03:44:17 +03:00
991199c3dc events pagination + ticket and bet validation 2025-04-22 03:20:52 +03:00
OneTap Technologies
6c478df2b4 adding upcoming data 2025-04-12 15:55:42 +03:00
OneTap Technologies
92250d61a8 event and odd data 2025-04-10 16:42:26 +03:00