using Persistence.Models; using Refit; namespace Persistence.IntegrationTests.Clients; public interface ITimestampedSetClient { private const string baseUrl = "/api/TimestampedSet/{idDiscriminator}"; [Post(baseUrl)] Task> InsertRange(Guid idDiscriminator, IEnumerable sets); [Get(baseUrl)] Task>> Get(Guid idDiscriminator, [Query]DateTimeOffset? geTimestamp, [Query]IEnumerable? props, int skip, int take); [Get($"{baseUrl}/last")] Task>> GetLast(Guid idDiscriminator, [Query] IEnumerable? props, int take); [Get($"{baseUrl}/count")] Task> Count(Guid idDiscriminator); [Get($"{baseUrl}/datesRange")] Task> GetDatesRange(Guid idDiscriminator); }