2016-06-29 07:15:37 +02:00
|
|
|
|
using System;
|
|
|
|
|
using System.Threading.Tasks;
|
2017-03-09 03:45:08 +01:00
|
|
|
|
using Bit.Core.Models.Table;
|
2016-06-29 07:15:37 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.Core.Services
|
2016-06-18 21:08:21 +02:00
|
|
|
|
{
|
2017-05-26 15:44:54 +02:00
|
|
|
|
public interface IPushNotificationService
|
2016-06-18 21:08:21 +02:00
|
|
|
|
{
|
2016-06-29 07:15:37 +02:00
|
|
|
|
Task PushSyncCipherCreateAsync(Cipher cipher);
|
|
|
|
|
Task PushSyncCipherUpdateAsync(Cipher cipher);
|
|
|
|
|
Task PushSyncCipherDeleteAsync(Cipher cipher);
|
2017-04-21 20:22:32 +02:00
|
|
|
|
Task PushSyncFolderCreateAsync(Folder folder);
|
|
|
|
|
Task PushSyncFolderUpdateAsync(Folder folder);
|
|
|
|
|
Task PushSyncFolderDeleteAsync(Folder folder);
|
2016-06-29 07:15:37 +02:00
|
|
|
|
Task PushSyncCiphersAsync(Guid userId);
|
2017-04-21 20:22:32 +02:00
|
|
|
|
Task PushSyncVaultAsync(Guid userId);
|
|
|
|
|
Task PushSyncOrgKeysAsync(Guid userId);
|
|
|
|
|
Task PushSyncSettingsAsync(Guid userId);
|
2016-06-18 21:08:21 +02:00
|
|
|
|
}
|
|
|
|
|
}
|