mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00

* Add Gateway columns to Provider table * Add ProviderId column to Transaction table * Create ProviderPlan table * Matt's feedback * Rui's feedback * Fixed Gateway parameter on Provider
13 lines
482 B
C#
13 lines
482 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<ICollection<Transaction>> GetManyByProviderIdAsync(Guid providerId);
|
|
Task<Transaction> GetByGatewayIdAsync(GatewayType gatewayType, string gatewayId);
|
|
}
|