pub struct Companies<'a> { /* private fields */ }Implementations§
Source§impl<'a> Companies<'a>
impl<'a> Companies<'a>
pub async fn list( &self, params: &CompanyListParams, ) -> Result<Response<PagedResponse<Company>>>
pub async fn get(&self, uid: &str) -> Result<Response<Company>>
pub async fn get_full(&self, uid: &str) -> Result<Response<CompanyFullResponse>>
pub async fn count(&self) -> Result<Response<CompanyCount>>
pub async fn events( &self, uid: &str, limit: Option<u32>, ) -> Result<Response<EventListResponse>>
pub async fn statistics(&self) -> Result<Response<CompanyStatistics>>
pub async fn compare( &self, req: &CompareRequest, ) -> Result<Response<CompareResponse>>
pub async fn news(&self, uid: &str) -> Result<Response<Vec<NewsItem>>>
pub async fn reports(&self, uid: &str) -> Result<Response<Vec<CompanyReport>>>
pub async fn relationships( &self, uid: &str, ) -> Result<Response<Vec<Relationship>>>
pub async fn hierarchy(&self, uid: &str) -> Result<Response<HierarchyResponse>>
pub async fn classification( &self, uid: &str, ) -> Result<Response<Classification>>
pub async fn fingerprint(&self, uid: &str) -> Result<Response<Fingerprint>>
pub async fn structure(&self, uid: &str) -> Result<Response<CorporateStructure>>
pub async fn acquisitions( &self, uid: &str, ) -> Result<Response<Vec<Acquisition>>>
pub async fn nearby( &self, params: &NearbyParams, ) -> Result<Response<Vec<NearbyCompany>>>
pub async fn notes(&self, uid: &str) -> Result<Response<Vec<Note>>>
pub async fn create_note( &self, uid: &str, req: &CreateNoteRequest, ) -> Result<Response<Note>>
pub async fn update_note( &self, uid: &str, note_id: &str, req: &UpdateNoteRequest, ) -> Result<Response<Note>>
pub async fn delete_note( &self, uid: &str, note_id: &str, ) -> Result<ResponseMeta>
pub async fn create_tag( &self, uid: &str, req: &CreateTagRequest, ) -> Result<Response<Tag>>
pub async fn delete_tag(&self, uid: &str, tag_id: &str) -> Result<ResponseMeta>
Sourcepub async fn timeline(
&self,
uid: &str,
params: &TimelineParams,
) -> Result<Response<TimelineResponse>>
pub async fn timeline( &self, uid: &str, params: &TimelineParams, ) -> Result<Response<TimelineResponse>>
Get a chronological timeline of a company’s changes.
Sourcepub async fn timeline_summary(
&self,
uid: &str,
params: &TimelineParams,
) -> Result<Response<TimelineSummaryResponse>>
pub async fn timeline_summary( &self, uid: &str, params: &TimelineParams, ) -> Result<Response<TimelineSummaryResponse>>
Get an AI-generated narrative summary of a company timeline.
Sourcepub async fn similar(
&self,
uid: &str,
limit: Option<i64>,
) -> Result<Response<SimilarCompaniesResponse>>
pub async fn similar( &self, uid: &str, limit: Option<i64>, ) -> Result<Response<SimilarCompaniesResponse>>
Find companies scored by similarity (industry, canton, capital, legal form, auditor tier).
Sourcepub async fn ubo(&self, uid: &str) -> Result<Response<UboResponse>>
pub async fn ubo(&self, uid: &str) -> Result<Response<UboResponse>>
Resolve the ultimate beneficial owner(s) of a company.
Sourcepub async fn media(
&self,
uid: &str,
params: &MediaParams,
) -> Result<Response<MediaResponse>>
pub async fn media( &self, uid: &str, params: &MediaParams, ) -> Result<Response<MediaResponse>>
Get media/news items for a company, optionally filtered by sentiment.
params.sentiment is one of positive, neutral, negative.
Sourcepub async fn media_analyze(
&self,
uid: &str,
) -> Result<Response<MediaAnalysisResponse>>
pub async fn media_analyze( &self, uid: &str, ) -> Result<Response<MediaAnalysisResponse>>
Trigger LLM sentiment analysis on unanalyzed media items for a company.
Sourcepub async fn pdf(&self, uid: &str) -> Result<Response<PdfProfileResponse>>
pub async fn pdf(&self, uid: &str) -> Result<Response<PdfProfileResponse>>
Get structured company profile data suitable for PDF rendering.
Sourcepub async fn export_csv(&self, req: &ExcelExportRequest) -> Result<ExportFile>
pub async fn export_csv(&self, req: &ExcelExportRequest) -> Result<ExportFile>
Export companies as CSV.
This is the canonical name; Self::export_excel is kept as a
deprecated alias. The endpoint currently emits text/csv.
Sourcepub async fn export_excel(&self, req: &ExcelExportRequest) -> Result<ExportFile>
👎Deprecated since 2.3.0: use export_csv instead
pub async fn export_excel(&self, req: &ExcelExportRequest) -> Result<ExportFile>
use export_csv instead
Deprecated: use Self::export_csv instead. The server returns CSV,
not Excel.