chore: Remove OpenCorporates integration (requires paid plan for commercial use)
Keep only the genuinely free APIs: - FCA Register (free with registration) - SRA Register (free public API) - GitHub (free tier sufficient) - ORCID (free public API) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
using RealCV.Application.Models;
|
||||
|
||||
namespace RealCV.Application.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// Service for verifying international companies via OpenCorporates
|
||||
/// </summary>
|
||||
public interface IInternationalCompanyVerifierService
|
||||
{
|
||||
/// <summary>
|
||||
/// Verify an international company
|
||||
/// </summary>
|
||||
Task<InternationalCompanyResult> VerifyCompanyAsync(
|
||||
string companyName,
|
||||
string? jurisdiction = null,
|
||||
DateOnly? claimedStartDate = null,
|
||||
DateOnly? claimedEndDate = null);
|
||||
|
||||
/// <summary>
|
||||
/// Search for companies across all jurisdictions
|
||||
/// </summary>
|
||||
Task<List<OpenCorporatesSearchResult>> SearchCompaniesAsync(
|
||||
string query,
|
||||
string? jurisdiction = null);
|
||||
|
||||
/// <summary>
|
||||
/// Get list of supported jurisdictions
|
||||
/// </summary>
|
||||
Task<List<JurisdictionInfo>> GetJurisdictionsAsync();
|
||||
}
|
||||
|
||||
public sealed record OpenCorporatesSearchResult
|
||||
{
|
||||
public required string CompanyName { get; init; }
|
||||
public required string CompanyNumber { get; init; }
|
||||
public required string Jurisdiction { get; init; }
|
||||
public string? JurisdictionCode { get; init; }
|
||||
public string? Status { get; init; }
|
||||
public DateOnly? IncorporationDate { get; init; }
|
||||
public string? OpenCorporatesUrl { get; init; }
|
||||
public double? MatchScore { get; init; }
|
||||
}
|
||||
|
||||
public sealed record JurisdictionInfo
|
||||
{
|
||||
public required string Code { get; init; }
|
||||
public required string Name { get; init; }
|
||||
public string? Country { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user