beteran-protobuf/proto/ss/member_session.proto

40 lines
884 B
Protocol Buffer
Raw Normal View History

2022-08-27 07:55:30 +00:00
syntax = "proto3";
package bet.beteran.ss.member_session;
import "models/core/network.proto";
import "protobuf/rpc.proto";
import "protobuf/pagination.proto";
import "models/member_session.proto";
message GetMemberSessionRequest {
message Request {
}
bet.beteran.core.network.Client client = 1;
Request request = 2;
}
message GetMemberSessionResponse {
message Result {
bet.beteran.member_session.MemberSession member_session = 1;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}
message GetMemberSessionWithRenewalRequest {
message Request {
}
bet.beteran.core.network.Client client = 1;
Request request = 2;
}
message GetMemberSessionWithRenewalResponse {
message Result {
bet.beteran.member_session.MemberSession member_session = 1;
}
optional bet.protobuf.rpc.Error error = 1;
optional Result result = 2;
}