Module: CompaniesHouseGateway::Constants

Defined in:
lib/companies_house_gateway/constants.rb

Constant Summary collapse

SUPPORTED_REQUESTS =

Check types suported by the Companies House XML Gateway

%w(NameSearch NumberSearch CompanyAppointments
CompanyDetails OfficerSearch OfficerDetails
Mortgages FilingHistory DocumentInfo Document)
DATA_SETS =
[
  "LIVE",      # Live companies and those dissolved in the last 12 months
  "DISSOLVED", # Companies that have been dissolved in the last 20 years
  "FORMER",    # All previous company names from the last 20 years
  "PROPOSED",  # Proposed changes to the names of existing companies
].freeze
OFFICER_TYPES =
[
  "DIS",       # Disqualified Directors only
  "LLP",       # Limited Liability Partnerships
  "CUR",       # Current (i.e., not above)
  "EUR",       # SE and ES appointments only
].freeze
ALLOWED_PREFIXES =

White list of allowed prefixes for companies house numbers. 1st line is English and Welsh prefixes 2nd line is Scottish prefixes 3rd line is Northen Irish prefixes dd is the default prefix in regex notation.

%w(AC BR FC GE IP LP OC RC SE ZC
SC SA SF SL SZ SP SO SR
NI NA NF NL NZ NP NO NR NC
\d\d)