Commit Graph

56 Commits

Author SHA1 Message Date
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
a2d75cf114 fix: minor result fix 2025-09-23 18:43:07 +03:00
6ad31550ac fix: lastStartTime instead of firstStartTime 2025-09-17 21:18:19 +03:00
3bcd880e90 fix: modified event_id so that its segregated from the betapi id 2025-09-17 20:17:56 +03:00
af1cb4023e fixing issues with fetching event 2025-09-17 17:25:49 +03:00
e229ac911e fix: refactoring referral 2025-09-08 17:05:09 +03:00
9900113e33 fix: result report email 2025-09-06 13:42:27 +03:00
144cb0a42c fix: sending daily result report instead of hourly 2025-09-03 22:26:12 +03:00
6b09c3c8d2 fix: resolved issue on event, odds and creating a bet 2025-09-03 03:16:37 +03:00
6d74cb8c28 feat: refactoring entire system to be multi-tenant 2025-08-22 12:54:48 +03:00
3fb3da6cc8 fix: result log and notification 2025-07-30 16:55:57 +03:00
7d8d824a94 fix: added loggers to the event and result service. Fixes to the notification 2025-07-28 20:35:06 +03:00
6e6ed2c9a9 fix: notifications for win bet and wallet balance low 2025-07-21 04:31:38 +03:00
2b9302b10b transaction maker-checker fixes 2025-07-11 15:48:59 +03:00
4d5c90ab05 feat: bet and branch filters, admin company, customer wallet 2025-06-25 22:47:06 +03:00
93d64d06d7 fix: minor fix 2025-06-19 12:57:07 +03:00
1c7ae8232c fix: outcome and league optimization 2025-06-19 00:27:39 +03:00
c374fd7a96 feat: removing odds when event is removed 2025-06-12 19:09:19 +03:00
35a03e1959 Merge branch 'main' into ticket-bet 2025-06-12 14:10:13 +03:00
edec72dfcd fix: fixed odd and issues while integrating 2025-06-11 23:01:30 +03:00
fbe2dfd5a3 fix: event and league disabling 2025-06-10 06:41:11 +03:00
0a668a65f1 report_service + wallet_monitoring 2025-06-07 17:52:17 +03:00
c22a1bd6c4 report_service + wallet_monitoring 2025-06-07 17:48:06 +03:00
0dfd0c9d95 fix: merge issues 2025-06-07 08:28:34 +03:00
73c1db14c1 Merge branch 'main' into ticket-bet 2025-06-07 08:15:17 +03:00
efc51e3b72 fix: result and event service fixes 2025-06-07 07:58:39 +03:00
Asher Samuel
d3506fd03a resolve conflict 2025-06-06 03:43:41 +03:00
eb4f267142 refactor events table 2025-06-05 01:56:40 +03:00
c2b547ff34 sprots_eval_test fix 2025-06-02 17:24:01 +03:00
f2ec267347 wallet security+log file 2025-06-02 17:22:07 +03:00
49d9dafccb CrateTransaction+merge conflict fixes 2025-05-31 21:34:11 +03:00
c0680537db fix: event and odd fetching for all sports 2025-05-31 20:34:10 +03:00
eb8abfc963 merge conflixt fix 2025-05-31 00:02:37 +03:00
aef5c4410d chapa integration fix 2025-05-30 21:54:22 +03:00
6d6b574c0b fix marge conflict 2025-05-30 01:12:08 +03:00
95eaed18ad unit test bet outcome 2025-05-28 22:18:27 +03:00
df2f56af57 fetch events from 1xbet 2025-05-27 15:58:55 +03:00
68796cdf0c test coverage for all evaluations 2025-05-26 15:39:40 +03:00
ccdfc537c2 Merge remote-tracking branch 'origin/dev' into ticket-bet 2025-05-20 19:11:30 +03:00
e838fea020 fix: get total 2025-05-20 05:21:04 +03:00
KidusAlemayehu
6cc37fbf9f feat: Implement sports evaluation logic for NFL, Rugby, and Baseball
- Added evaluation functions for NFL money line, spread, and total points.
- Implemented evaluation functions for Rugby money line, spread, and total points.
- Created evaluation functions for Baseball money line, spread, total runs, first inning, and first 5 innings.
- Developed unit tests for all sports markets to ensure correct evaluation outcomes.
- Introduced ResultCheckerService to handle game result checking for NFL, Rugby, and Baseball.
- Updated routes to include new functionality for virtual game handling.
2025-05-18 19:18:24 +03:00
97dc54e8ae futsal support - also added test for evaluations 2025-05-18 12:44:39 +03:00
ecaad893ba darts support 2025-05-17 19:31:44 +03:00
4c6fb73342 integration issues 2025-05-16 22:38:10 +03:00
c78199c163 game lines evaluation for volleyball 2025-05-16 18:19:33 +03:00
0ae3154334 volleyball support 2025-05-15 01:50:59 +03:00
95fb33c9d4 fix: result service evaluation issues 2025-05-15 01:01:09 +03:00
7e1a126ead cricket support 2025-05-14 00:52:05 +03:00
b7b17fa8d2 create random bet 2025-05-08 07:29:00 +03:00