Initial version

This commit is contained in:
Lol3rrr
2024-09-15 05:09:15 +02:00
commit c7aa4dbe8c
489 changed files with 124650 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import "common_base.proto";
message CAccountLinking_GetLinkedAccountInfo_Request {
optional int32 account_type = 1 [(.description) = "enum"];
optional uint64 account_id = 2;
optional int32 filter = 3 [(.description) = "enum"];
optional bool return_access_token = 4;
}
message CAccountLinking_GetLinkedAccountInfo_Response {
repeated .CAccountLinking_GetLinkedAccountInfo_Response_CExternalAccountTuple_Response external_accounts = 1;
}
message CAccountLinking_GetLinkedAccountInfo_Response_CExternalAccountTuple_Response {
optional int32 external_type = 1 [(.description) = "enum"];
optional string external_id = 2;
optional string external_user_name = 3;
optional string external_url = 4;
optional string access_token = 5;
optional string access_token_secret = 6;
optional bool is_valid = 7;
}
service AccountLinking {
rpc GetLinkedAccountInfo (.CAccountLinking_GetLinkedAccountInfo_Request) returns (.CAccountLinking_GetLinkedAccountInfo_Response);
}