ServiceBase constructor
ServiceBase()
Implementation
ServiceBase() {
$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>(
'CreateUser',
createUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateUserMetadata',
updateUserMetadata_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateUserProfile',
updateUserProfile_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateUserContact',
updateUserContact_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateUserPassword',
updateUserPassword_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SearchForUser',
searchForUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetUser',
getUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetUsers',
getUsers_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'ListUsers',
listUsers_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'ValidateCredentials',
validateCredentials_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>(
'DeleteUser',
deleteUser_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'DeleteUsers',
deleteUsers_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'CreateTokenPair',
createTokenPair_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>(
'RefreshToken',
refreshToken_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>(
'PublicKeys',
publicKeys_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'SendVerificationEmail',
sendVerificationEmail_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>(
'SendVerificationText',
sendVerificationText_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>(
'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>(
'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>(
'DeleteNamespace',
deleteNamespace_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'CreateNamespace',
createNamespace_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'RegisterRsaKey',
registerRsaKey_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'RemovePublicKey',
removePublicKey_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'GetConfig',
getConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'UpdateConfig',
updateConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.HeraRequest, $0.HeraResponse>(
'DeleteConfig',
deleteConfig_Pre,
false,
false,
($core.List<$core.int> value) => $0.HeraRequest.fromBuffer(value),
($0.HeraResponse value) => value.writeToBuffer()));
}