mirror of
https://github.com/bitwarden/server
synced 2025-12-25 20:53:16 +00:00
12 lines
404 B
C#
12 lines
404 B
C#
using Bit.Core.Entities;
|
|
using Bit.Core.Enums;
|
|
|
|
namespace Bit.Core.Repositories;
|
|
|
|
public interface ITransactionRepository : IRepository<Transaction, Guid>
|
|
{
|
|
Task<ICollection<Transaction>> GetManyByUserIdAsync(Guid userId);
|
|
Task<ICollection<Transaction>> GetManyByOrganizationIdAsync(Guid organizationId);
|
|
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
|
|
}
|