2025-02-02 21:03:58 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = ".;proto";
|
|
|
|
|
|
|
|
package proto;
|
|
|
|
|
|
|
|
service ThirdClientService {
|
|
|
|
rpc GetThirdClient(GetThirdClientRequest) returns (GetThirdClientResponse) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
message ThirdClientInfo {
|
|
|
|
uint64 id = 1;
|
2025-02-02 21:13:55 +08:00
|
|
|
string alias = 2;
|
|
|
|
string name = 3;
|
|
|
|
string description = 4;
|
|
|
|
bool is_draft = 5;
|
|
|
|
optional uint64 account_id = 6;
|
2025-02-02 21:03:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetThirdClientRequest {
|
2025-02-02 21:22:53 +08:00
|
|
|
optional uint64 id = 1;
|
|
|
|
optional string alias = 2;
|
|
|
|
optional string secret = 3;
|
2025-02-02 21:03:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetThirdClientResponse {
|
|
|
|
ThirdClientInfo info = 1;
|
2025-02-02 21:13:55 +08:00
|
|
|
}
|