Gusex.Search (gusex v1.3.0)

Copy Markdown View Source

Implementation module for entity search operations using cached sessions.

Delegates BIR service calls to Gusex.Client, wrapped in Gusex.SessionCache.run_with_session/1 so that session expiry and retry-on-failure are handled transparently by the cache.

find_by_nip/1 is internal — callers should use Gusex.find_by_nip/1.

Summary

Functions

Finds a business entity by NIP using a cached session.

Functions

find_by_nip(nip)

@spec find_by_nip(String.t()) :: {:ok, [Gusex.Types.Podmiot.t()]} | {:error, term()}

Finds a business entity by NIP using a cached session.

Internal implementation for Gusex.find_by_nip/1. See Gusex.find_by_nip/1 for full documentation.