using System; using System.Threading.Tasks; using Bit.Core.Models.Response; namespace Bit.Core.Abstractions { public interface ISyncService { bool SyncInProgress { get; set; } Task FullSyncAsync(bool forceSync); Task GetLastSyncAsync(); Task SetLastSyncAsync(DateTime date); Task SyncDeleteCipherAsync(SyncCipherNotification notification); Task SyncDeleteFolderAsync(SyncFolderNotification notification); Task SyncUpsertCipherAsync(SyncCipherNotification notification, bool isEdit); Task SyncUpsertFolderAsync(SyncFolderNotification notification, bool isEdit); } }