HeraPublicServiceBase constructor
HeraPublicServiceBase()
Implementation
HeraPublicServiceBase() {
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Heartbeat',
heartbeat_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetPublicKeys',
getPublicKeys_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Create',
create_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdatePassword',
updatePassword_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateProfileInformation',
updateProfileInformation_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateContactInformation',
updateContactInformation_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UploadProfileImage',
uploadProfileImage,
true,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UploadCoverImage',
uploadCoverImage,
true,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'AddContact',
addContact_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'RemoveContact',
removeContact_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'AcceptContact',
acceptContact_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Get',
get_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetContacts',
getContacts_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetTokens',
getTokens_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'ValidateToken',
validateToken_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'BlockToken',
blockToken_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SendResetPasswordEmail',
sendResetPasswordEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SendResetPasswordText',
sendResetPasswordText_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SendMagicEmail',
sendMagicEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SendMagicText',
sendMagicText_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'VerifyEmail',
verifyEmail_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'VerifyPhone',
verifyPhone_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'VerifyMagicCode',
verifyMagicCode_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'ResetPassword',
resetPassword_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'InitializeAuth',
initializeAuth_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'ContinueWith',
continueWith_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Logout',
logout_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'Login',
login_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'RefreshToken',
refreshToken_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
}