This commit is contained in:
2026-10-13 13:50:13 +07:00
parent e77cc34b4d
commit 57fee0cc06
26 changed files with 2202 additions and 181 deletions
+23
View File
@@ -920,6 +920,22 @@ service EveningDetectiveServer {
};
}
rpc PreviewTeamReceipt(TeamReceiptReq) returns (google.api.HttpBody) {
option (google.api.http) = {get: "/api/games/{gameID}/teams/{teamID}/receipt.png"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
tags : "Игры";
summary: "Предпросмотр чека команды на локальной площадке";
};
}
rpc PrintTeamReceipt(TeamReceiptReq) returns (PrintTeamReceiptRsp) {
option (google.api.http) = {post: "/api/games/{gameID}/teams/{teamID}/receipt/print" body: "*"};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
tags : "Игры";
summary: "Напечатать один чек команды на MXW01 локальной площадки";
};
}
rpc DownloadTeamQR(GetGameReq) returns (google.api.HttpBody) {
option (google.api.http) = {
get: "/api/games/{ID}/teams/qr.pdf"
@@ -2466,3 +2482,10 @@ message WiFiClient {
string band = 3;
optional int32 signal = 4; // dBm; absent when the router does not report it.
}
message TeamReceiptReq {
int32 gameID = 1;
string teamID = 2;
}
message PrintTeamReceiptRsp {}