using Newtonsoft.Json.Linq;
using OI.Metrology.Shared.Services;
using System.Net;

namespace OI.Metrology.Shared.Models.Stateless;

public interface IInboundRepository
{

    bool IsIPAddressAllowed(string inboundApiAllowedIPList, IPAddress? remoteIP);
    DataResponse Data(IMetrologyRepository metrologyRepository, IInboundDataService inboundDataService, string tooltype, JToken jsonbody);
    string? AttachFile(IMetrologyRepository metrologyRepository, IAttachmentsService _AttachmentsService, string tooltype, long headerid, string datauniqueid, string fileName, object uploadedFile);

}