using AsbCloudApp.Data.ProcessMapPlan; using AsbCloudApp.Requests; using Microsoft.AspNetCore.Mvc; using Refit; namespace AsbCloudWebApi.IntegrationTests.Clients; public interface IProcessMapPlanDrillingClient { private const string BaseRoute = "/api/well/{idWell}/ProcessMapPlanDrilling"; [Post(BaseRoute)] Task> InsertRangeAsync(int idWell, IEnumerable dtos); [Post($"{BaseRoute}/replace")] Task> ClearAndInsertRangeAsync(int idWell, IEnumerable dtos); [Delete(BaseRoute)] Task> DeleteRangeAsync(int idWell, IEnumerable ids); [Get(BaseRoute)] Task>> GetAsync(int idWell, [FromQuery] ProcessMapPlanBaseRequest request); [Get($"{BaseRoute}/changeLog")] Task>> GetChangeLogAsync(int idWell, [FromQuery] DateOnly? date); [Get($"{BaseRoute}/dates")] Task>> GetDatesChangeAsync(int idWell); [Put(BaseRoute)] Task> UpdateRangeAsync(int idWell, IEnumerable dtos); }