feat: update Protobuf definitions and add customer-facing APIs for various services

This commit is contained in:
masoodafar-web
2026-02-01 22:16:36 +03:30
parent 658d076bdf
commit 794dd01ac0
13 changed files with 329 additions and 11 deletions
@@ -128,6 +128,12 @@ service UserOrderContract
body: "*"
};
};
rpc GetVATRate(google.protobuf.Empty) returns (GetVATRateResponse){
option (google.api.http) = {
get: "/Customer/GetVATRate"
};
};
}
message CreateNewUserOrderRequest
{
@@ -526,3 +532,11 @@ message ProductPVDto
int64 unit_pv = 4;
int64 total_pv = 5;
}
// GetVATRate - for frontend customer display
message GetVATRateResponse
{
double vat_rate = 1;
int32 vat_percentage = 2;
bool is_enabled = 3;
}