Commit Graph

60 Commits

Author SHA1 Message Date
masoodafar-web
217ef147dd feat: Implement manual payment system with gRPC service and related commands/queries 2025-12-05 17:26:58 +03:30
masoodafar-web
ee1fa9d064 feat: Enhance withdrawal request handling with additional fields and network level configurations 2025-12-04 19:53:30 +03:30
masoodafar-web
5e3112d71f feat: Implement withdrawal reports query and service integration 2025-12-04 17:29:10 +03:30
masoodafar-web
abda623519 chore: Bump CMSMicroservice.Protobuf version to 0.0.142 2025-12-04 05:21:25 +03:30
masoodafar-web
ba6d74fe35 feat: Implement Public Message Management Commands and Queries
- Add GetUserPackageStatusQueryValidator for user package status validation.
- Create ArchiveMessageCommand and ArchiveMessageCommandHandler for archiving public messages.
- Implement ArchiveMessageCommandValidator to validate message ID.
- Introduce PublishMessageCommand and PublishMessageCommandHandler for publishing messages.
- Add PublishMessageCommandValidator for validating publish message requests.
- Implement GetPublicMessageQuery and GetPublicMessageQueryHandler for retrieving public messages.
- Create GetPublicMessageQueryValidator for validating public message requests.
- Add ApplyDiscountToOrderCommand and ApplyDiscountToOrderCommandHandler for applying discounts to orders.
- Implement ApplyDiscountToOrderCommandValidator for validating discount application requests.
- Create UpdateOrderStatusCommand and UpdateOrderStatusCommandHandler for changing order statuses.
- Implement UpdateOrderStatusCommandValidator for validating order status updates.
- Add CalculateOrderPVQuery and CalculateOrderPVQueryHandler for calculating order PV.
- Implement CalculateOrderPVQueryValidator for validating PV calculation requests.
- Create GetOrdersByDateRangeQuery and GetOrdersByDateRangeQueryHandler for retrieving orders by date range.
- Implement GetOrdersByDateRangeQueryValidator for validating date range queries.
- Add PublicMessage entity to represent public messages in the system.
- Implement PublicMessageService for handling public message operations via gRPC.
2025-12-04 03:43:19 +03:30
masoodafar-web
84f642e900 feat: Implement bulk update for product prices and stock, and add low stock products query and toggle product status functionality 2025-12-04 02:56:03 +03:30
masoodafar-web
f0f48118e7 Add validators and services for Product Galleries and Product Tags
- Implemented Create, Delete, Get, and Update validators for Product Galleries.
- Added Create, Delete, Get, and Update validators for Product Tags.
- Created service classes for handling Discount Categories, Discount Orders, Discount Products, Discount Shopping Cart, Product Categories, Product Galleries, and Product Tags.
- Each service class integrates with CQRS for command and query handling.
- Established mapping profiles for Product Galleries.
2025-12-04 02:40:49 +03:30
masoodafar-web
78606cc5cc feat: Add ClearCart command and response, implement CancelOrder command with validation, and enhance DeliveryStatus and User models 2025-12-02 03:30:36 +03:30
masoodafar-web
8d31a8c026 feat: Add GetClubStatistics and GetNetworkStatistics APIs with corresponding request and response messages 2025-12-01 16:43:53 +03:30
masoodafar-web
199e7e99d1 feat: Add monitoring alerts skeleton and enhance worker with notifications 2025-11-30 20:18:10 +03:30
masoodafar-web
2bb8c2a13c feat: Add gRPC API Layer - Phase 6 Integration
Added Protobuf definitions and gRPC services for all CQ layers:

Protobuf Files (4):
- configuration.proto: 2 Commands + 3 Queries (5 RPCs)
- clubmembership.proto: 3 Commands + 3 Queries (6 RPCs)
- networkmembership.proto: 3 Commands + 3 Queries (6 RPCs)
- commission.proto: 5 Commands + 4 Queries (9 RPCs)

gRPC Services (4):
- ConfigurationService: SetConfigurationValue, Deactivate, GetByKey, GetAll, GetHistory
- ClubMembershipService: Activate, Deactivate, AssignFeature, Get, GetAll, GetHistory
- NetworkMembershipService: Join, Move, Remove, GetPosition, GetTree, GetHistory
- CommissionService: Calculate+Process+Withdraw (5 commands), Get queries (4)

Features:
- HTTP transcoding enabled via google.api.http annotations
- Auto-registration via ConfigureGrpcEndpoints
- MetaData pagination support
- Request/Response DTOs for all endpoints
- Integration with MediatR CQRS handlers

Total: 4 proto files, 4 service classes, 26 RPC endpoints
Build:  Successful (0 errors)
2025-11-29 04:45:27 +03:30
masoodafar-web
8f77097278 Bump version to 0.0.139 in CMSMicroservice.Protobuf 2025-11-28 14:44:49 +03:30
masoodafar-web
99ef7983f8 Add CreatedAt field to wallet change log responses 2025-11-28 14:07:10 +03:30
masoodafar-web
a3c7033d95 Add CategoryId filter to product query and proto 2025-11-28 11:00:36 +03:30
masoodafar-web
ce2bf3f1f0 Make amount, user_id and address_id optional in user order update 2025-11-28 04:02:00 +03:30
masoodafar-web
84f08f11e4 Make package_id optional in user order proto and command 2025-11-28 02:47:27 +03:30
masoodafar-web
b706e02d4f Update payment date filter to use greater than or equal comparison 2025-11-27 18:58:28 +03:30
masoodafar-web
38ce54d367 Fix PaymentStatus comparison in order filter query 2025-11-27 18:49:01 +03:30
masoodafar-web
c011645433 Add user full name and national code to order responses 2025-11-27 18:21:17 +03:30
masoodafar-web
32b7cb3238 Add delivery tracking fields to UserOrder entity 2025-11-27 06:39:47 +03:30
masoodafar-web
23ac9f77a1 Add category support to products commands and queries 2025-11-27 05:39:26 +03:30
masoodafar-web
dcb3ce69a8 update1 2025-11-25 04:59:50 +03:30
masoodafar-web
b91c83db7e Generator Changes at 11/25/2025 4:32:37 AM +03:30 2025-11-25 04:33:50 +03:30
masoodafar-web
88f38f5d8e update 2025-11-25 03:04:00 +03:30
masoodafar-web
8a7d02ce81 Generator Changes at 11/25/2025 2:19:02 AM +03:30 2025-11-25 02:21:08 +03:30
masoodafar-web
1b146b338f update 2025-11-25 02:08:28 +03:30
masoodafar-web
92a9a0e75d Generator Changes at 11/25/2025 1:59:23 AM +03:30 2025-11-25 02:03:51 +03:30
masoodafar-web
a2d293ed01 update 2025-11-25 00:39:31 +03:30
masoodafar-web
25eee4ede3 Merge branch 'newmain' 2025-11-24 23:22:18 +03:30
masoodafar-web
56478c79c2 Generator Changes at 11/22/2025 9:58:16 PM +03:30 2025-11-22 22:02:04 +03:30
masoodafar-web
43202d6106 Bump version to 0.0.124 2025-11-20 23:19:13 +03:30
masoodafar-web
a5bfb884bb Generator Changes at 11/20/2025 11:12:33 PM +03:30 2025-11-20 23:14:30 +03:30
masoodafar-web
a1c934c2de update 2025-11-20 23:12:17 +03:30
masoodafar-web
69ab91fb2b Generator Changes at 11/20/2025 6:27:21 PM +03:30 2025-11-20 18:32:51 +03:30
masoodafar-web
b7493f0dd1 bump version to 0.0.122 2025-11-20 00:54:13 +03:30
masoodafar-web
fb9d46059f Generator Changes at 11/20/2025 12:51:29 AM +03:30 2025-11-20 00:53:04 +03:30
masoodafar-web
8466ce8cfc Generator Changes at 11/20/2025 12:40:54 AM +03:30 2025-11-20 00:43:36 +03:30
masoodafar-web
7840f3b463 update 2025-11-20 00:40:28 +03:30
masoodafar-web
f6dcd43346 update 2025-11-18 22:38:50 +03:30
masoodafar-web
dba8aecc97 Generator Changes at 11/17/2025 11:53:47 PM +03:30 2025-11-17 23:57:51 +03:30
masoodafar-web
79e5871899 Add contract and user contract entities with relationships; update JWT token claims 2025-11-16 17:17:17 +03:30
masoodafar-web
ae749341d1 Generator Changes at 11/16/2025 1:18:11 AM +03:30 2025-11-16 01:19:27 +03:30
masoodafar-web
e0d97199af Generator Changes at 11/16/2025 1:09:06 AM +03:30 2025-11-16 01:10:12 +03:30
masoodafar-web
0a649325f8 Generator Changes at 11/16/2025 12:48:45 AM +03:30 2025-11-16 00:53:15 +03:30
masoodafar-web
e6b912052b Generator Changes at 11/14/2025 3:54:39 PM +03:30 2025-11-14 15:56:14 +03:30
masoodafar-web
8c4b1ab4f4 Refactor JWT token generation and update password handling logic; add exception handling behavior 2025-11-13 21:40:14 +03:30
masoodafar-web
4b1b135065 Generator Changes at 11/12/2025 11:18:31 PM +03:30 2025-11-12 23:20:15 +03:30
masoodafar-web
2fac0f4922 Generator Changes at 11/12/2025 10:14:04 PM +03:30 2025-11-12 22:16:08 +03:30
masoodafar-web
1fb7e4d374 update 2025-11-12 20:30:53 +03:30
masoodafar-web
4b8a1dc03c Merge branch 'newmain' 2025-11-12 02:27:26 +03:30