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
927eb887ce
fix: minor issues
2025-09-24 21:03:56 +03:00
3bcd880e90
fix: modified event_id so that its segregated from the betapi id
2025-09-17 20:17:56 +03:00
e5f42f1928
fix: refactor bonus and bonus settings; added welcome bonus
2025-09-12 16:28:39 +03:00
215eb5a1d8
fix: refactoring bonus
2025-09-10 23:27:11 +03:00
6b09c3c8d2
fix: resolved issue on event, odds and creating a bet
2025-09-03 03:16:37 +03:00
556860e932
minor fix
2025-08-27 21:35:03 +03:00
aaf14fedcf
fix: global setting, company override settings, bet and ticket fixes for multi tenant
2025-08-25 07:23:55 +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
f3e6e8c165
resolved conflict
2025-07-15 15:47:07 +03:00
1c3f575195
flag abused odd
2025-07-15 15:39:47 +03:00
f63e35fb4e
flag multiple bets with same bet outcomes
2025-07-14 23:05:17 +03:00
e3545f3f8c
flag too many outcomes
2025-07-14 19:30:37 +03:00
aa4bddef58
feat: branch location list
2025-07-13 13:46:38 +03:00
ae56d253c2
merge fixes
2025-07-13 03:59:43 +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
fff88bb4b9
accumulator bonus
2025-07-12 16:21:23 +03:00
96ea2c8af4
optimizations for cashback
2025-07-10 15:21:34 +03:00
b84027ea04
cashback implementation
2025-07-10 08:25:30 +03:00
d1770eceb6
fix: refactored bet to remove unnecessary fields
2025-07-09 21:48:36 +03:00
ddf55763d2
fix: small bug
2025-07-04 16:31:42 +03:00
beea3ab54e
Merge branch 'main' into ticket-bet
2025-07-02 19:41:55 +03:00
d9f7cde114
create bet with fast code
2025-07-02 16:57:36 +03:00
d678b4e9d3
fix: refactored the transactions into shop_transactions
2025-07-02 03:19:59 +03:00
163dae4e44
create bet auto generates fast code
2025-07-01 23:28:07 +03:00
3e4e9eead7
fix: added message to wallet_transfers and gave it a detailed view
2025-06-29 21:51:23 +03:00
10a49b4571
fix: added message to transfer and more filter routes
2025-06-29 18:00:23 +03:00
4d5c90ab05
feat: bet and branch filters, admin company, customer wallet
2025-06-25 22:47:06 +03:00
b0803c968a
fix: moving ticket logic into service
2025-06-19 19:11:19 +03:00
1c7ae8232c
fix: outcome and league optimization
2025-06-19 00:27:39 +03:00
76518fcbd1
Merge branch 'main' into ticket-bet
2025-06-17 20:36:12 +03:00
78d351cae9
bet on same bet only twice
2025-06-17 01:17:22 +03:00
1557a3141b
fix: transfer not showing online bet issue
2025-06-16 16:24:42 +03:00
35a03e1959
Merge branch 'main' into ticket-bet
2025-06-12 14:10:13 +03:00
788e3ee9a6
mongoLogger to bet service
2025-06-09 13:14:59 +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
542400bcaf
feat: add the bet winning to user wallet
2025-05-30 19:38:59 +03:00
1b6fbebddf
fix: get bet by users for online betting
2025-05-27 14:57:35 +03:00
eafd68d3c2
fix: restricting search
2025-05-23 21:43:34 +03:00
1be3ffdc3c
fix: customer auth integration
2025-05-23 18:21:37 +03:00
16768ad924
fix: Update integration issues
2025-05-23 12:00:04 +03:00