mirror of
https://github.com/bitwarden/server
synced 2025-12-24 20:23:21 +00:00
* Move Api files * Move Core files * Move Infrastructure files * Move Sql Files * Move Api Sync files to Vault * Move test vault files * Update Sql.sqlproj paths * Update Codeowners * Fix vault file paths in sqlproj * Update CipherDetails.sql path in sqlproj * Update Core models and entities namespaces * Update namespaces Core Services and Repositories * Missed service namespaces * Update Api namespaces * Update Infrastructure namespaces * Move infrastructure queries that were missed * Tests namespace updates * Admin and Events namespace updates * Remove unused usings * Remove extra CiphersController usings * Rename folder * Fix CipherDetails namespace * Sqlproj fixes * Move stored procs into folders by table * using order fix
29 lines
1.3 KiB
C#
29 lines
1.3 KiB
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Enums;
|
|
using Bit.Core.Vault.Entities;
|
|
|
|
namespace Bit.Core.Services;
|
|
|
|
public interface IPushNotificationService
|
|
{
|
|
Task PushSyncCipherCreateAsync(Cipher cipher, IEnumerable<Guid> collectionIds);
|
|
Task PushSyncCipherUpdateAsync(Cipher cipher, IEnumerable<Guid> collectionIds);
|
|
Task PushSyncCipherDeleteAsync(Cipher cipher);
|
|
Task PushSyncFolderCreateAsync(Folder folder);
|
|
Task PushSyncFolderUpdateAsync(Folder folder);
|
|
Task PushSyncFolderDeleteAsync(Folder folder);
|
|
Task PushSyncCiphersAsync(Guid userId);
|
|
Task PushSyncVaultAsync(Guid userId);
|
|
Task PushSyncOrgKeysAsync(Guid userId);
|
|
Task PushSyncSettingsAsync(Guid userId);
|
|
Task PushLogOutAsync(Guid userId, bool excludeCurrentContextFromPush = false);
|
|
Task PushSyncSendCreateAsync(Send send);
|
|
Task PushSyncSendUpdateAsync(Send send);
|
|
Task PushSyncSendDeleteAsync(Send send);
|
|
Task PushAuthRequestAsync(AuthRequest authRequest);
|
|
Task PushAuthRequestResponseAsync(AuthRequest authRequest);
|
|
Task SendPayloadToUserAsync(string userId, PushType type, object payload, string identifier, string deviceId = null);
|
|
Task SendPayloadToOrganizationAsync(string orgId, PushType type, object payload, string identifier,
|
|
string deviceId = null);
|
|
}
|