add service
All checks were successful
Deploy Smart Search Backend Test / deploy (push) Successful in 2m25s

This commit is contained in:
vallyenfail
2026-01-19 19:14:51 +03:00
parent 33b70d1ee4
commit ff08bb2254
11 changed files with 268 additions and 62 deletions

View File

@@ -44,8 +44,13 @@ message GetBalanceStatisticsRequest {
int64 user_id = 1;
}
message GetBalanceStatisticsResponse {
double balance = 1;
int32 total_requests = 2;
double total_spent = 3;
message WriteOffHistoryItem {
string operation_id = 1;
string data = 2;
double amount = 3;
}
message GetBalanceStatisticsResponse {
double average_cost = 1;
repeated WriteOffHistoryItem write_off_history = 2;
}