global update and global fix
This commit is contained in:
@@ -15,6 +15,8 @@ service ProfileService {
|
||||
rpc RequestAccountDeletion (UserProfileRequest) returns (AccountDeletionResponse);
|
||||
rpc CancelAccountDeletion (UserProfileRequest) returns (AccountDeletionCancelResponse);
|
||||
rpc GetAccountDeletionStatus (UserProfileRequest) returns (AccountDeletionStatusResponse);
|
||||
rpc SetE2EPublicKey (SetE2EPublicKeyRequest) returns (E2EPublicKeyResponse);
|
||||
rpc GetE2EPublicKey (UserProfileRequest) returns (E2EPublicKeyResponse);
|
||||
}
|
||||
|
||||
message SetPasswordRequest {
|
||||
@@ -99,6 +101,17 @@ message ProfileResponse {
|
||||
optional string birthDate = 15;
|
||||
bool hasPassword = 16;
|
||||
optional string deletionRequestedAt = 17;
|
||||
optional string e2ePublicKey = 18;
|
||||
}
|
||||
|
||||
message SetE2EPublicKeyRequest {
|
||||
string userId = 1;
|
||||
string publicKey = 2;
|
||||
}
|
||||
|
||||
message E2EPublicKeyResponse {
|
||||
string userId = 1;
|
||||
optional string e2ePublicKey = 2;
|
||||
}
|
||||
|
||||
message AccountDeletionResponse {
|
||||
|
||||
Reference in New Issue
Block a user