using ERPCore.Common.Http;
using ERPCore.Dtos.Config;

namespace ERPCore.Services.Interfaces;

/// <summary>Product configuration business logic (docs/11-BACKEND-PHASE1.md §2.8). Singleton.</summary>
public interface IProductConfigService
{
    Task<ETagged<ProductConfigDto>> GetAsync(CancellationToken ct = default);

    Task<ETagged<ProductConfigDto>> UpdateAsync(
        UpdateProductConfigRequest request, uint expectedRowVersion, CancellationToken ct = default);
}
