40 lines
884 B
Protocol Buffer
40 lines
884 B
Protocol Buffer
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;
|
|
}
|