using GB5Shared.DTO.Framework.Login;
namespace ECPBLL.Shared.Interfaces;
///
/// The "link to a business object" picker used by both the Task modal and the Correspondence
/// wizard's object-picker step (state.objectPickerRegistry in the ECP preview).
///
/// Scoped to object TYPES for now (dynamic, real query against MENTITY — confirmed schema via
/// SqlWorkbench/SwDAL/Script/036_MENTITY_Framework_MinimalTable.sql): every active, registered
/// ObjectType a comment/correspondence/task can be polymorphically attached to (Lead, Purchase
/// Inquiry, Sales Order, Meeting, CollaborationSpace, ...). Searching a SPECIFIC record within a
/// type (e.g. "Purchase Inquiry PI-330") is out of scope here — that needs a per-module search
/// aggregator querying each owning module's own table, a separate, larger design.
///
public interface IObjectRegistryBLL
{
Task GetSelectListObjectRegistryAsync(string? searchKeyword, LoginDTO login, CancellationToken ct);
}