using ODMO.Commons.Models.Account; using ODMO.Commons.Models.Security; using ODMO.Commons.DTOs.Account; namespace ODMO.Commons.Interfaces { public interface IAccountCommandsRepository { Task AddAccountAsync(AccountModel account); Task AddAccountBlockAsync(AccountBlockModel account); Task AddLoginTryAsync(LoginTryModel loginTry); Task AddSystemInformationAsync(SystemInformationModel systemInformation); Task UpdateSystemInformationAsync(SystemInformationModel systemInformation); Task CreateOrUpdateSecondaryPasswordByIdAsync(long accountId, string secondaryPassword); Task UpdateAccountWelcomeFlagAsync(long accountId, bool welcomeFlag); Task DeleteAccountAsync(long id); Task UpdateAccountAsync(AccountModel account); Task UpdateAccountMembershipAsync(long accountId, DateTime? expirationDate); Task UpdatePremiumAndSilkByIdAsync(long accountId, int premium, int silk); Task UpdateLastPlayedServerByIdAsync(long accountId, long serverId); Task UpdateLastPlayedCharacterByIdAsync(long accountId, long characterId); Task RemoveActiveQuestAsync(Guid? progressQuestId); } }