using System; using System.Collections.Generic; using System.Threading.Tasks; using webapi.Infractructure.Model; namespace webapi.Infractructure.Services { public interface ISPService { Task> GetUserCondos(Guid userId); Task> GetPMCUserList(Guid pmcId, Guid condoId); Guid GetUserByEmail(string username); Task GetUserEmail(Guid taloyhtioUserId); Task GetUserName(Guid taloyhtioUserId); Task AddUserToCondo(Guid pmcId, string condoUrl, Guid? userId, int groupId, string groupName, string displayName); Task CheckUserPMCAccess(Guid userId, Guid pmcId); //Guid RegisterUser(string fbaCurrentUserName, Guid pmcId, Guid webId, string webUrl, string email, string displayName, out string password); //IEmailSettings GetEmailSettings(); //IEnumerable GetApprovers(Guid pmcId); //IEnumerable> GetTaylohtioCondoNames(IEnumerable taylohtioCondoIds, Guid pmcId); //IEnumerable> GetCondos(Guid pmcId); //string GetPMCLang(Guid pmcId); //string GetTaylohtioPMCUrl(Guid pmcId); //string GetTaylohtioPMCTitle(Guid pmcId); //IEnumerable> GetPMCList(Guid pmcId); //string GetTaylohtioPMCCondoTitle(Guid pmcId, Guid condoId); //void ResolveFolderPath(Guid pMCId, Guid condoId, ListType listType, IEnumerable folderIds, out string listUrl, out string folderPath); //void CreateFlatFolders(string taloyhtioCondoUrl, Flat flat); //void GetIdsByCondoUrl(string taloyhtioCondoUrl, out Guid PMSId, out Guid PMSCondoId); //IEnumerable GetFlatDocsFoldersList(Guid pmcId, Guid condoId, IEnumerable userFlats, string rootFlatFolderTitle, IEnumerable folderIds); //IEnumerable GetMaterialRepairHistoryList(Guid pmcId, Guid condoId, IEnumerable userFlats, string rootFlatFolderTitle, IEnumerable folderIds); } }