using System.Threading.Tasks; using Bit.Core.Models.Business; using Bit.Core.Models.Table; using System; using System.Collections.Generic; namespace Bit.Core.Services { public interface IOrganizationService { Task> SignUpAsync(OrganizationSignup organizationSignup); Task InviteUserAsync(Guid organizationId, Guid invitingUserId, string email, Enums.OrganizationUserType type, IEnumerable subvaults); Task ResendInviteAsync(Guid organizationId, Guid invitingUserId, Guid organizationUserId); Task AcceptUserAsync(Guid organizationUserId, User user, string token); Task ConfirmUserAsync(Guid organizationId, Guid organizationUserId, string key, Guid confirmingUserId); Task SaveUserAsync(OrganizationUser user, Guid savingUserId, IEnumerable subvaults); Task DeleteUserAsync(Guid organizationId, Guid organizationUserId, Guid deletingUserId); } }