using AsbCloudApp.Data.SAUB; using Refit; namespace AsbCloudWebApi.IntegrationTests.Clients; public interface ITelemetryControllerClient { private const string BaseRoute = "/api/telemetry"; [Get($"{BaseRoute}/Active")] Task GetTelemetriesInfoByLastData(CancellationToken token); [Post($"{BaseRoute}/{{uid}}/info")] Task PostInfoAsync(string uid, [Body] TelemetryInfoDto info, CancellationToken token); [Post($"{BaseRoute}/{{uid}}/message")] Task PostMessagesAsync(string uid, [Body] IEnumerable dtos, CancellationToken token); [Post($"{BaseRoute}/{{uid}}/event")] Task PostEventsAsync(string uid, [Body] IEnumerable dtos, CancellationToken token); [Post($"{BaseRoute}/{{uid}}/user")] Task PostUsersAsync(string uid, [Body] IEnumerable dtos, CancellationToken token); }