feat(GODT-2442): add gRPC interface to send feedback.

This commit is contained in:
Jakub
2023-03-06 16:42:07 +01:00
parent 8c0bb22de3
commit f03688ba72
10 changed files with 1399 additions and 1122 deletions

View File

@ -91,6 +91,7 @@ service Bridge {
rpc GetUserList(google.protobuf.Empty) returns (UserListResponse);
rpc GetUser(google.protobuf.StringValue) returns (User);
rpc SetUserSplitMode(UserSplitModeRequest) returns (google.protobuf.Empty);
rpc SendBadEventUserFeedback(UserBadEventFeedbackRequest) returns (google.protobuf.Empty);
rpc LogoutUser(google.protobuf.StringValue) returns (google.protobuf.Empty);
rpc RemoveUser(google.protobuf.StringValue) returns (google.protobuf.Empty);
rpc ConfigureUserAppleMail(ConfigureAppleMailRequest) returns (google.protobuf.Empty);
@ -203,6 +204,12 @@ message UserSplitModeRequest {
bool active = 2;
}
message UserBadEventFeedbackRequest {
string userID = 1;
bool doResync = 2;
}
message UserListResponse {
repeated User users = 1;
}
@ -479,4 +486,4 @@ enum ErrorCode {
message GenericErrorEvent {
ErrorCode code = 1;
}
}