@vepler/sdk 6.66.0 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/commonjs/funcs/companiesGetCompaniesByLocation.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetCompaniesByLocation.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompaniesByLocation.js +1 -1
- package/dist/commonjs/funcs/companiesGetCompaniesByLocation.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompany.d.ts +2 -2
- package/dist/commonjs/funcs/companiesGetCompany.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompany.js +2 -2
- package/dist/commonjs/funcs/companiesGetCompany.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyOfficers.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyOfficers.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyOfficers.js +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyOfficers.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyPscs.d.ts +2 -2
- package/dist/commonjs/funcs/companiesGetCompanyPscs.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetCompanyPscs.js +2 -2
- package/dist/commonjs/funcs/companiesGetCompanyPscs.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetOfficer.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetOfficer.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetOfficer.js +1 -1
- package/dist/commonjs/funcs/companiesGetOfficer.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetPerson.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetPerson.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetPerson.js +1 -1
- package/dist/commonjs/funcs/companiesGetPerson.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetPersonAppointments.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetPersonAppointments.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetPersonAppointments.js +2 -1
- package/dist/commonjs/funcs/companiesGetPersonAppointments.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetPersonCluster.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetPersonCluster.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetPersonCluster.js +1 -1
- package/dist/commonjs/funcs/companiesGetPersonCluster.js.map +1 -1
- package/dist/commonjs/funcs/companiesGetPsc.d.ts +1 -1
- package/dist/commonjs/funcs/companiesGetPsc.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesGetPsc.js +1 -1
- package/dist/commonjs/funcs/companiesGetPsc.js.map +1 -1
- package/dist/commonjs/funcs/companiesQueryCompanies.d.ts +2 -2
- package/dist/commonjs/funcs/companiesQueryCompanies.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesQueryCompanies.js +4 -6
- package/dist/commonjs/funcs/companiesQueryCompanies.js.map +1 -1
- package/dist/commonjs/funcs/companiesQueryPersons.d.ts +1 -1
- package/dist/commonjs/funcs/companiesQueryPersons.d.ts.map +1 -1
- package/dist/commonjs/funcs/companiesQueryPersons.js +1 -1
- package/dist/commonjs/funcs/companiesQueryPersons.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/sdk/companies.d.ts +4 -4
- package/dist/commonjs/sdk/companies.d.ts.map +1 -1
- package/dist/commonjs/sdk/companies.js +3 -3
- package/dist/commonjs/sdk/companies.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompaniesbylocation.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getcompaniesbylocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompaniesbylocation.js +57 -1
- package/dist/commonjs/sdk/models/errors/getcompaniesbylocation.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompany.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getcompany.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompany.js +57 -1
- package/dist/commonjs/sdk/models/errors/getcompany.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompanyofficers.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getcompanyofficers.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompanyofficers.js +57 -1
- package/dist/commonjs/sdk/models/errors/getcompanyofficers.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompanypscs.d.ts +130 -0
- package/dist/commonjs/sdk/models/errors/getcompanypscs.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getcompanypscs.js +113 -1
- package/dist/commonjs/sdk/models/errors/getcompanypscs.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getofficer.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getofficer.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getofficer.js +57 -1
- package/dist/commonjs/sdk/models/errors/getofficer.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getperson.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getperson.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getperson.js +57 -1
- package/dist/commonjs/sdk/models/errors/getperson.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpersonappointments.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getpersonappointments.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpersonappointments.js +57 -1
- package/dist/commonjs/sdk/models/errors/getpersonappointments.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpersoncluster.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getpersoncluster.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpersoncluster.js +57 -1
- package/dist/commonjs/sdk/models/errors/getpersoncluster.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpsc.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/getpsc.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/getpsc.js +57 -1
- package/dist/commonjs/sdk/models/errors/getpsc.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/querycompanies.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/querycompanies.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/querycompanies.js +57 -1
- package/dist/commonjs/sdk/models/errors/querycompanies.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/querypersons.d.ts +65 -0
- package/dist/commonjs/sdk/models/errors/querypersons.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/querypersons.js +57 -1
- package/dist/commonjs/sdk/models/errors/querypersons.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcompany.d.ts +2 -2
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts +4 -4
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.js +6 -7
- package/dist/commonjs/sdk/models/shared/airqualityinstallations.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/appointmentsresponse.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/appointmentsresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/appointmentsresponse.js +1 -0
- package/dist/commonjs/sdk/models/shared/appointmentsresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/company.d.ts +19 -88
- package/dist/commonjs/sdk/models/shared/company.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/company.js +9 -52
- package/dist/commonjs/sdk/models/shared/company.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/companyqueryrequest.d.ts +5 -33
- package/dist/commonjs/sdk/models/shared/companyqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/companyqueryrequest.js +3 -19
- package/dist/commonjs/sdk/models/shared/companyqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/companyresponse.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/companyresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/companyresponse.js +1 -0
- package/dist/commonjs/sdk/models/shared/companyresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/companysummary.d.ts +18 -35
- package/dist/commonjs/sdk/models/shared/companysummary.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/companysummary.js +9 -22
- package/dist/commonjs/sdk/models/shared/companysummary.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +3 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/psc.d.ts +8 -4
- package/dist/commonjs/sdk/models/shared/psc.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/psc.js +3 -2
- package/dist/commonjs/sdk/models/shared/psc.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/pscexemption.d.ts +33 -0
- package/dist/commonjs/sdk/models/shared/pscexemption.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/pscexemption.js +61 -0
- package/dist/commonjs/sdk/models/shared/pscexemption.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/psclistresponse.d.ts +19 -1
- package/dist/commonjs/sdk/models/shared/psclistresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/psclistresponse.js +6 -0
- package/dist/commonjs/sdk/models/shared/psclistresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/pscresponse.d.ts +4 -0
- package/dist/commonjs/sdk/models/shared/pscresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/pscresponse.js +1 -0
- package/dist/commonjs/sdk/models/shared/pscresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/pscstatement.d.ts +32 -0
- package/dist/commonjs/sdk/models/shared/pscstatement.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/pscstatement.js +54 -0
- package/dist/commonjs/sdk/models/shared/pscstatement.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/pscsummary.d.ts +8 -4
- package/dist/commonjs/sdk/models/shared/pscsummary.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/pscsummary.js +3 -2
- package/dist/commonjs/sdk/models/shared/pscsummary.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/site.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/siteplanningapplicationlink.d.ts +56 -0
- package/dist/commonjs/sdk/models/shared/siteplanningapplicationlink.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/siteplanningapplicationlink.js +73 -0
- package/dist/commonjs/sdk/models/shared/siteplanningapplicationlink.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/siteplanningstats.d.ts +19 -14
- package/dist/commonjs/sdk/models/shared/siteplanningstats.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/siteplanningstats.js +3 -1
- package/dist/commonjs/sdk/models/shared/siteplanningstats.js.map +1 -1
- package/dist/esm/funcs/companiesGetCompaniesByLocation.d.ts +1 -1
- package/dist/esm/funcs/companiesGetCompaniesByLocation.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetCompaniesByLocation.js +1 -1
- package/dist/esm/funcs/companiesGetCompaniesByLocation.js.map +1 -1
- package/dist/esm/funcs/companiesGetCompany.d.ts +2 -2
- package/dist/esm/funcs/companiesGetCompany.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetCompany.js +2 -2
- package/dist/esm/funcs/companiesGetCompany.js.map +1 -1
- package/dist/esm/funcs/companiesGetCompanyOfficers.d.ts +1 -1
- package/dist/esm/funcs/companiesGetCompanyOfficers.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetCompanyOfficers.js +1 -1
- package/dist/esm/funcs/companiesGetCompanyOfficers.js.map +1 -1
- package/dist/esm/funcs/companiesGetCompanyPscs.d.ts +2 -2
- package/dist/esm/funcs/companiesGetCompanyPscs.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetCompanyPscs.js +2 -2
- package/dist/esm/funcs/companiesGetCompanyPscs.js.map +1 -1
- package/dist/esm/funcs/companiesGetOfficer.d.ts +1 -1
- package/dist/esm/funcs/companiesGetOfficer.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetOfficer.js +1 -1
- package/dist/esm/funcs/companiesGetOfficer.js.map +1 -1
- package/dist/esm/funcs/companiesGetPerson.d.ts +1 -1
- package/dist/esm/funcs/companiesGetPerson.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetPerson.js +1 -1
- package/dist/esm/funcs/companiesGetPerson.js.map +1 -1
- package/dist/esm/funcs/companiesGetPersonAppointments.d.ts +1 -1
- package/dist/esm/funcs/companiesGetPersonAppointments.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetPersonAppointments.js +2 -1
- package/dist/esm/funcs/companiesGetPersonAppointments.js.map +1 -1
- package/dist/esm/funcs/companiesGetPersonCluster.d.ts +1 -1
- package/dist/esm/funcs/companiesGetPersonCluster.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetPersonCluster.js +1 -1
- package/dist/esm/funcs/companiesGetPersonCluster.js.map +1 -1
- package/dist/esm/funcs/companiesGetPsc.d.ts +1 -1
- package/dist/esm/funcs/companiesGetPsc.d.ts.map +1 -1
- package/dist/esm/funcs/companiesGetPsc.js +1 -1
- package/dist/esm/funcs/companiesGetPsc.js.map +1 -1
- package/dist/esm/funcs/companiesQueryCompanies.d.ts +2 -2
- package/dist/esm/funcs/companiesQueryCompanies.d.ts.map +1 -1
- package/dist/esm/funcs/companiesQueryCompanies.js +4 -6
- package/dist/esm/funcs/companiesQueryCompanies.js.map +1 -1
- package/dist/esm/funcs/companiesQueryPersons.d.ts +1 -1
- package/dist/esm/funcs/companiesQueryPersons.d.ts.map +1 -1
- package/dist/esm/funcs/companiesQueryPersons.js +1 -1
- package/dist/esm/funcs/companiesQueryPersons.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/sdk/companies.d.ts +4 -4
- package/dist/esm/sdk/companies.d.ts.map +1 -1
- package/dist/esm/sdk/companies.js +3 -3
- package/dist/esm/sdk/companies.js.map +1 -1
- package/dist/esm/sdk/models/errors/getcompaniesbylocation.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getcompaniesbylocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getcompaniesbylocation.js +54 -0
- package/dist/esm/sdk/models/errors/getcompaniesbylocation.js.map +1 -1
- package/dist/esm/sdk/models/errors/getcompany.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getcompany.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getcompany.js +54 -0
- package/dist/esm/sdk/models/errors/getcompany.js.map +1 -1
- package/dist/esm/sdk/models/errors/getcompanyofficers.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getcompanyofficers.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getcompanyofficers.js +54 -0
- package/dist/esm/sdk/models/errors/getcompanyofficers.js.map +1 -1
- package/dist/esm/sdk/models/errors/getcompanypscs.d.ts +130 -0
- package/dist/esm/sdk/models/errors/getcompanypscs.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getcompanypscs.js +108 -0
- package/dist/esm/sdk/models/errors/getcompanypscs.js.map +1 -1
- package/dist/esm/sdk/models/errors/getofficer.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getofficer.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getofficer.js +54 -0
- package/dist/esm/sdk/models/errors/getofficer.js.map +1 -1
- package/dist/esm/sdk/models/errors/getperson.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getperson.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getperson.js +54 -0
- package/dist/esm/sdk/models/errors/getperson.js.map +1 -1
- package/dist/esm/sdk/models/errors/getpersonappointments.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getpersonappointments.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getpersonappointments.js +54 -0
- package/dist/esm/sdk/models/errors/getpersonappointments.js.map +1 -1
- package/dist/esm/sdk/models/errors/getpersoncluster.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getpersoncluster.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getpersoncluster.js +54 -0
- package/dist/esm/sdk/models/errors/getpersoncluster.js.map +1 -1
- package/dist/esm/sdk/models/errors/getpsc.d.ts +65 -0
- package/dist/esm/sdk/models/errors/getpsc.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/getpsc.js +54 -0
- package/dist/esm/sdk/models/errors/getpsc.js.map +1 -1
- package/dist/esm/sdk/models/errors/querycompanies.d.ts +65 -0
- package/dist/esm/sdk/models/errors/querycompanies.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/querycompanies.js +54 -0
- package/dist/esm/sdk/models/errors/querycompanies.js.map +1 -1
- package/dist/esm/sdk/models/errors/querypersons.d.ts +65 -0
- package/dist/esm/sdk/models/errors/querypersons.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/querypersons.js +54 -0
- package/dist/esm/sdk/models/errors/querypersons.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcompany.d.ts +2 -2
- package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts +4 -4
- package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/airqualityinstallations.js +4 -5
- package/dist/esm/sdk/models/shared/airqualityinstallations.js.map +1 -1
- package/dist/esm/sdk/models/shared/appointmentsresponse.d.ts +1 -0
- package/dist/esm/sdk/models/shared/appointmentsresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/appointmentsresponse.js +1 -0
- package/dist/esm/sdk/models/shared/appointmentsresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/company.d.ts +19 -88
- package/dist/esm/sdk/models/shared/company.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/company.js +8 -51
- package/dist/esm/sdk/models/shared/company.js.map +1 -1
- package/dist/esm/sdk/models/shared/companyqueryrequest.d.ts +5 -33
- package/dist/esm/sdk/models/shared/companyqueryrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/companyqueryrequest.js +2 -18
- package/dist/esm/sdk/models/shared/companyqueryrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/companyresponse.d.ts +4 -0
- package/dist/esm/sdk/models/shared/companyresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/companyresponse.js +1 -0
- package/dist/esm/sdk/models/shared/companyresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/companysummary.d.ts +18 -35
- package/dist/esm/sdk/models/shared/companysummary.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/companysummary.js +8 -21
- package/dist/esm/sdk/models/shared/companysummary.js.map +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +3 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +3 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/psc.d.ts +8 -4
- package/dist/esm/sdk/models/shared/psc.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/psc.js +3 -2
- package/dist/esm/sdk/models/shared/psc.js.map +1 -1
- package/dist/esm/sdk/models/shared/pscexemption.d.ts +33 -0
- package/dist/esm/sdk/models/shared/pscexemption.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/pscexemption.js +23 -0
- package/dist/esm/sdk/models/shared/pscexemption.js.map +1 -0
- package/dist/esm/sdk/models/shared/psclistresponse.d.ts +19 -1
- package/dist/esm/sdk/models/shared/psclistresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/psclistresponse.js +6 -0
- package/dist/esm/sdk/models/shared/psclistresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/pscresponse.d.ts +4 -0
- package/dist/esm/sdk/models/shared/pscresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/pscresponse.js +1 -0
- package/dist/esm/sdk/models/shared/pscresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/pscstatement.d.ts +32 -0
- package/dist/esm/sdk/models/shared/pscstatement.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/pscstatement.js +17 -0
- package/dist/esm/sdk/models/shared/pscstatement.js.map +1 -0
- package/dist/esm/sdk/models/shared/pscsummary.d.ts +8 -4
- package/dist/esm/sdk/models/shared/pscsummary.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/pscsummary.js +3 -2
- package/dist/esm/sdk/models/shared/pscsummary.js.map +1 -1
- package/dist/esm/sdk/models/shared/site.d.ts +1 -1
- package/dist/esm/sdk/models/shared/siteplanningapplicationlink.d.ts +56 -0
- package/dist/esm/sdk/models/shared/siteplanningapplicationlink.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/siteplanningapplicationlink.js +36 -0
- package/dist/esm/sdk/models/shared/siteplanningapplicationlink.js.map +1 -0
- package/dist/esm/sdk/models/shared/siteplanningstats.d.ts +19 -14
- package/dist/esm/sdk/models/shared/siteplanningstats.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/siteplanningstats.js +3 -1
- package/dist/esm/sdk/models/shared/siteplanningstats.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/companiesGetCompaniesByLocation.ts +7 -0
- package/src/funcs/companiesGetCompany.ts +8 -1
- package/src/funcs/companiesGetCompanyOfficers.ts +7 -0
- package/src/funcs/companiesGetCompanyPscs.ts +16 -2
- package/src/funcs/companiesGetOfficer.ts +7 -0
- package/src/funcs/companiesGetPerson.ts +7 -0
- package/src/funcs/companiesGetPersonAppointments.ts +8 -0
- package/src/funcs/companiesGetPersonCluster.ts +7 -0
- package/src/funcs/companiesGetPsc.ts +4 -0
- package/src/funcs/companiesQueryCompanies.ts +12 -8
- package/src/funcs/companiesQueryPersons.ts +7 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/companies.ts +4 -4
- package/src/sdk/models/errors/getcompaniesbylocation.ts +140 -0
- package/src/sdk/models/errors/getcompany.ts +126 -0
- package/src/sdk/models/errors/getcompanyofficers.ts +136 -0
- package/src/sdk/models/errors/getcompanypscs.ts +265 -0
- package/src/sdk/models/errors/getofficer.ts +126 -0
- package/src/sdk/models/errors/getperson.ts +128 -0
- package/src/sdk/models/errors/getpersonappointments.ts +140 -0
- package/src/sdk/models/errors/getpersoncluster.ts +138 -0
- package/src/sdk/models/errors/getpsc.ts +127 -0
- package/src/sdk/models/errors/querycompanies.ts +129 -0
- package/src/sdk/models/errors/querypersons.ts +128 -0
- package/src/sdk/models/operations/getcompany.ts +2 -2
- package/src/sdk/models/shared/airqualityinstallations.ts +20 -17
- package/src/sdk/models/shared/appointmentsresponse.ts +1 -0
- package/src/sdk/models/shared/company.ts +25 -114
- package/src/sdk/models/shared/companyqueryrequest.ts +5 -39
- package/src/sdk/models/shared/companyresponse.ts +5 -0
- package/src/sdk/models/shared/companysummary.ts +24 -47
- package/src/sdk/models/shared/index.ts +3 -0
- package/src/sdk/models/shared/psc.ts +11 -6
- package/src/sdk/models/shared/pscexemption.ts +70 -0
- package/src/sdk/models/shared/psclistresponse.ts +23 -1
- package/src/sdk/models/shared/pscresponse.ts +5 -0
- package/src/sdk/models/shared/pscstatement.ts +57 -0
- package/src/sdk/models/shared/pscsummary.ts +11 -6
- package/src/sdk/models/shared/site.ts +1 -1
- package/src/sdk/models/shared/siteplanningapplicationlink.ts +92 -0
- package/src/sdk/models/shared/siteplanningstats.ts +24 -15
|
@@ -1,37 +1,12 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
4
5
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
6
|
import { PreviousName } from "./previousname.js";
|
|
6
7
|
import { SicCode } from "./siccode.js";
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare const AccountsType: {
|
|
11
|
-
readonly Null: "null";
|
|
12
|
-
readonly Full: "full";
|
|
13
|
-
readonly Small: "small";
|
|
14
|
-
readonly Medium: "medium";
|
|
15
|
-
readonly Group: "group";
|
|
16
|
-
readonly Dormant: "dormant";
|
|
17
|
-
readonly Interim: "interim";
|
|
18
|
-
readonly Initial: "initial";
|
|
19
|
-
readonly TotalExemptionFull: "total-exemption-full";
|
|
20
|
-
readonly TotalExemptionSmall: "total-exemption-small";
|
|
21
|
-
readonly PartialExemption: "partial-exemption";
|
|
22
|
-
readonly AuditExemptionSubsidiary: "audit-exemption-subsidiary";
|
|
23
|
-
readonly FilingExemptionSubsidiary: "filing-exemption-subsidiary";
|
|
24
|
-
readonly MicroEntity: "micro-entity";
|
|
25
|
-
readonly NoAccountsTypeAvailable: "no-accounts-type-available";
|
|
26
|
-
readonly AuditedAbridged: "audited-abridged";
|
|
27
|
-
readonly UnauditedAbridged: "unaudited-abridged";
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* The kind of annual accounts the company files, which follows from its size. Null when the register does not record one.
|
|
31
|
-
*/
|
|
32
|
-
export type AccountsType = OpenEnum<typeof AccountsType>;
|
|
33
|
-
/**
|
|
34
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
9
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from. Null when the register records no status for the company.
|
|
35
10
|
*/
|
|
36
11
|
export declare const CompanyStatus: {
|
|
37
12
|
readonly Active: "active";
|
|
@@ -46,9 +21,10 @@ export declare const CompanyStatus: {
|
|
|
46
21
|
readonly Closed: "closed";
|
|
47
22
|
readonly Registered: "registered";
|
|
48
23
|
readonly Removed: "removed";
|
|
24
|
+
readonly NotInLatestRegister: "not-in-latest-register";
|
|
49
25
|
};
|
|
50
26
|
/**
|
|
51
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
27
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from. Null when the register records no status for the company.
|
|
52
28
|
*/
|
|
53
29
|
export type CompanyStatus = OpenEnum<typeof CompanyStatus>;
|
|
54
30
|
/**
|
|
@@ -66,7 +42,7 @@ export declare const CompanySubtype: {
|
|
|
66
42
|
*/
|
|
67
43
|
export type CompanySubtype = OpenEnum<typeof CompanySubtype>;
|
|
68
44
|
/**
|
|
69
|
-
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types.
|
|
45
|
+
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types. Null when the register records no type for the company.
|
|
70
46
|
*/
|
|
71
47
|
export declare const CompanyType: {
|
|
72
48
|
readonly PrivateUnlimited: "private-unlimited";
|
|
@@ -107,26 +83,9 @@ export declare const CompanyType: {
|
|
|
107
83
|
readonly RegisteredOverseasEntity: "registered-overseas-entity";
|
|
108
84
|
};
|
|
109
85
|
/**
|
|
110
|
-
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types.
|
|
86
|
+
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types. Null when the register records no type for the company.
|
|
111
87
|
*/
|
|
112
88
|
export type CompanyType = OpenEnum<typeof CompanyType>;
|
|
113
|
-
/**
|
|
114
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
115
|
-
*/
|
|
116
|
-
export declare const Jurisdiction: {
|
|
117
|
-
readonly EnglandWales: "england-wales";
|
|
118
|
-
readonly Wales: "wales";
|
|
119
|
-
readonly Scotland: "scotland";
|
|
120
|
-
readonly NorthernIreland: "northern-ireland";
|
|
121
|
-
readonly EuropeanUnion: "european-union";
|
|
122
|
-
readonly UnitedKingdom: "united-kingdom";
|
|
123
|
-
readonly England: "england";
|
|
124
|
-
readonly Noneu: "noneu";
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
128
|
-
*/
|
|
129
|
-
export type Jurisdiction = OpenEnum<typeof Jurisdiction>;
|
|
130
89
|
/**
|
|
131
90
|
* The company's registered office, the official address for serving legal documents and for correspondence from Companies House. Every UK company must have one.
|
|
132
91
|
*/
|
|
@@ -184,14 +143,6 @@ export type Company = {
|
|
|
184
143
|
* The deadline for filing the next set of annual accounts, as an ISO 8601 date.
|
|
185
144
|
*/
|
|
186
145
|
accountsNextDueDate?: Date | null | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* The kind of annual accounts the company files, which follows from its size. Null when the register does not record one.
|
|
189
|
-
*/
|
|
190
|
-
accountsType?: AccountsType | null | undefined;
|
|
191
|
-
/**
|
|
192
|
-
* True when the company can still file documents with Companies House. It is false once a company has been dissolved, and in some insolvency states.
|
|
193
|
-
*/
|
|
194
|
-
canFile: boolean;
|
|
195
146
|
/**
|
|
196
147
|
* The company's registered name as it appears on the register, normally in capitals. It includes the legal suffix, such as `LTD`, `PLC` or `LLP`, unless the company is exempt from using one.
|
|
197
148
|
*/
|
|
@@ -201,17 +152,17 @@ export type Company = {
|
|
|
201
152
|
*/
|
|
202
153
|
companyNumber: string;
|
|
203
154
|
/**
|
|
204
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
155
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from. Null when the register records no status for the company.
|
|
205
156
|
*/
|
|
206
|
-
companyStatus: CompanyStatus;
|
|
157
|
+
companyStatus: CompanyStatus | null;
|
|
207
158
|
/**
|
|
208
159
|
* A further classification on top of the company type, such as `community-interest-company`. Null for most companies.
|
|
209
160
|
*/
|
|
210
161
|
companySubtype?: CompanySubtype | null | undefined;
|
|
211
162
|
/**
|
|
212
|
-
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types.
|
|
163
|
+
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types. Null when the register records no type for the company.
|
|
213
164
|
*/
|
|
214
|
-
companyType: CompanyType;
|
|
165
|
+
companyType: CompanyType | null;
|
|
215
166
|
/**
|
|
216
167
|
* The date the most recent confirmation statement was made up to, as an ISO 8601 date.
|
|
217
168
|
*/
|
|
@@ -221,53 +172,37 @@ export type Company = {
|
|
|
221
172
|
*/
|
|
222
173
|
confirmationStatementNextDueDate?: Date | null | undefined;
|
|
223
174
|
/**
|
|
224
|
-
*
|
|
175
|
+
* The country of origin exactly as the register publishes it. For a UK-incorporated company it is normally `United Kingdom`; for an entity incorporated elsewhere it names that country. Null when the register gives none.
|
|
225
176
|
*/
|
|
226
177
|
countryOfOrigin?: string | null | undefined;
|
|
227
178
|
/**
|
|
228
179
|
* When this record first appeared in the API, as an ISO 8601 timestamp.
|
|
229
180
|
*/
|
|
230
181
|
createdAt: Date;
|
|
231
|
-
/**
|
|
232
|
-
* When the company was dissolved and struck off the register, as an ISO 8601 date. Null for companies that have not been dissolved.
|
|
233
|
-
*/
|
|
234
|
-
dissolutionDate?: Date | null | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* For an overseas entity, its registration number in its home jurisdiction. Null for UK-incorporated companies.
|
|
237
|
-
*/
|
|
238
|
-
externalRegistrationNumber?: string | null | undefined;
|
|
239
182
|
/**
|
|
240
183
|
* True when the company has charges registered against it, such as mortgages, debentures or other security interests. Charges are registered under Part 25 of the Companies Act 2006.
|
|
241
184
|
*/
|
|
242
185
|
hasCharges: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* True when the register holds insolvency events for the company, such as a winding-up petition, an administration order, a company voluntary arrangement or liquidation proceedings.
|
|
245
|
-
*/
|
|
246
|
-
hasInsolvencyHistory: boolean;
|
|
247
186
|
/**
|
|
248
187
|
* When the company came into legal existence, as an ISO 8601 date. Null when the register does not record one.
|
|
249
188
|
*/
|
|
250
189
|
incorporationDate?: Date | null | undefined;
|
|
251
|
-
/**
|
|
252
|
-
* For an overseas entity, true when it is still registered in its home jurisdiction. Null for UK-incorporated companies.
|
|
253
|
-
*/
|
|
254
|
-
isOnRegisterInJurisdiction?: boolean | null | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
257
|
-
*/
|
|
258
|
-
jurisdiction: Jurisdiction;
|
|
259
|
-
/**
|
|
260
|
-
* The date of the most recent annual return or confirmation statement, as an ISO 8601 date. The confirmation statement replaced the annual return in June 2016.
|
|
261
|
-
*/
|
|
262
|
-
lastMembersListDate?: Date | null | undefined;
|
|
263
190
|
/**
|
|
264
191
|
* Identifier for a single addressable location. In Great Britain this is the Unique Property Reference Number (UPRN). It is the location of the registered office, and is null when that address could not be matched to one.
|
|
265
192
|
*/
|
|
266
193
|
locationId?: string | null | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* The release date of the first monthly release of the register that no longer listed the company, as an ISO 8601 date. The release lists live companies only, so this marks when the company stopped being listed; it is not a dissolution date. Null while the latest release lists the company, and companyStatus is `not-in-latest-register` whenever it is set.
|
|
196
|
+
*/
|
|
197
|
+
notInLatestRegisterSince?: RFCDate | null | undefined;
|
|
267
198
|
/**
|
|
268
199
|
* Names the company was registered under before its current one, each with the dates it was in use. Up to 10 entries, which lets you trace a company across a rename.
|
|
269
200
|
*/
|
|
270
201
|
previousNames?: Array<PreviousName> | undefined;
|
|
202
|
+
/**
|
|
203
|
+
* The company's status exactly as Companies House published it in the latest monthly release of the register that listed the company, such as `Active - Proposal to Strike off`. It keeps detail that companyStatus groups together. Null when no published status is held for the company.
|
|
204
|
+
*/
|
|
205
|
+
registerStatus?: string | null | undefined;
|
|
271
206
|
/**
|
|
272
207
|
* The company's registered office, the official address for serving legal documents and for correspondence from Companies House. Every UK company must have one.
|
|
273
208
|
*/
|
|
@@ -282,16 +217,12 @@ export type Company = {
|
|
|
282
217
|
updatedAt: Date;
|
|
283
218
|
};
|
|
284
219
|
/** @internal */
|
|
285
|
-
export declare const AccountsType$inboundSchema: z.ZodType<AccountsType, z.ZodTypeDef, unknown>;
|
|
286
|
-
/** @internal */
|
|
287
220
|
export declare const CompanyStatus$inboundSchema: z.ZodType<CompanyStatus, z.ZodTypeDef, unknown>;
|
|
288
221
|
/** @internal */
|
|
289
222
|
export declare const CompanySubtype$inboundSchema: z.ZodType<CompanySubtype, z.ZodTypeDef, unknown>;
|
|
290
223
|
/** @internal */
|
|
291
224
|
export declare const CompanyType$inboundSchema: z.ZodType<CompanyType, z.ZodTypeDef, unknown>;
|
|
292
225
|
/** @internal */
|
|
293
|
-
export declare const Jurisdiction$inboundSchema: z.ZodType<Jurisdiction, z.ZodTypeDef, unknown>;
|
|
294
|
-
/** @internal */
|
|
295
226
|
export declare const RegisteredOfficeAddress$inboundSchema: z.ZodType<RegisteredOfficeAddress, z.ZodTypeDef, unknown>;
|
|
296
227
|
export declare function registeredOfficeAddressFromJSON(jsonString: string): SafeParseResult<RegisteredOfficeAddress, SDKValidationError>;
|
|
297
228
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/company.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"company.d.ts","sourceRoot":"","sources":["../../../../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E,CAAC;AAEL,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAM9C"}
|
|
@@ -4,32 +4,11 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { safeParse } from "../../../lib/schemas.js";
|
|
6
6
|
import * as openEnums from "../../types/enums.js";
|
|
7
|
+
import { RFCDate } from "../../types/rfcdate.js";
|
|
7
8
|
import { PreviousName$inboundSchema } from "./previousname.js";
|
|
8
9
|
import { SicCode$inboundSchema } from "./siccode.js";
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
-
*/
|
|
12
|
-
export const AccountsType = {
|
|
13
|
-
Null: "null",
|
|
14
|
-
Full: "full",
|
|
15
|
-
Small: "small",
|
|
16
|
-
Medium: "medium",
|
|
17
|
-
Group: "group",
|
|
18
|
-
Dormant: "dormant",
|
|
19
|
-
Interim: "interim",
|
|
20
|
-
Initial: "initial",
|
|
21
|
-
TotalExemptionFull: "total-exemption-full",
|
|
22
|
-
TotalExemptionSmall: "total-exemption-small",
|
|
23
|
-
PartialExemption: "partial-exemption",
|
|
24
|
-
AuditExemptionSubsidiary: "audit-exemption-subsidiary",
|
|
25
|
-
FilingExemptionSubsidiary: "filing-exemption-subsidiary",
|
|
26
|
-
MicroEntity: "micro-entity",
|
|
27
|
-
NoAccountsTypeAvailable: "no-accounts-type-available",
|
|
28
|
-
AuditedAbridged: "audited-abridged",
|
|
29
|
-
UnauditedAbridged: "unaudited-abridged",
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
11
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from. Null when the register records no status for the company.
|
|
33
12
|
*/
|
|
34
13
|
export const CompanyStatus = {
|
|
35
14
|
Active: "active",
|
|
@@ -44,6 +23,7 @@ export const CompanyStatus = {
|
|
|
44
23
|
Closed: "closed",
|
|
45
24
|
Registered: "registered",
|
|
46
25
|
Removed: "removed",
|
|
26
|
+
NotInLatestRegister: "not-in-latest-register",
|
|
47
27
|
};
|
|
48
28
|
/**
|
|
49
29
|
* A further classification on top of the company type, such as `community-interest-company`. Null for most companies.
|
|
@@ -56,7 +36,7 @@ export const CompanySubtype = {
|
|
|
56
36
|
Spflp: "spflp",
|
|
57
37
|
};
|
|
58
38
|
/**
|
|
59
|
-
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types.
|
|
39
|
+
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types. Null when the register records no type for the company.
|
|
60
40
|
*/
|
|
61
41
|
export const CompanyType = {
|
|
62
42
|
PrivateUnlimited: "private-unlimited",
|
|
@@ -96,21 +76,6 @@ export const CompanyType = {
|
|
|
96
76
|
Ukeig: "ukeig",
|
|
97
77
|
RegisteredOverseasEntity: "registered-overseas-entity",
|
|
98
78
|
};
|
|
99
|
-
/**
|
|
100
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
101
|
-
*/
|
|
102
|
-
export const Jurisdiction = {
|
|
103
|
-
EnglandWales: "england-wales",
|
|
104
|
-
Wales: "wales",
|
|
105
|
-
Scotland: "scotland",
|
|
106
|
-
NorthernIreland: "northern-ireland",
|
|
107
|
-
EuropeanUnion: "european-union",
|
|
108
|
-
UnitedKingdom: "united-kingdom",
|
|
109
|
-
England: "england",
|
|
110
|
-
Noneu: "noneu",
|
|
111
|
-
};
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const AccountsType$inboundSchema = openEnums.inboundSchema(AccountsType);
|
|
114
79
|
/** @internal */
|
|
115
80
|
export const CompanyStatus$inboundSchema = openEnums.inboundSchema(CompanyStatus);
|
|
116
81
|
/** @internal */
|
|
@@ -118,8 +83,6 @@ export const CompanySubtype$inboundSchema = openEnums.inboundSchema(CompanySubty
|
|
|
118
83
|
/** @internal */
|
|
119
84
|
export const CompanyType$inboundSchema = openEnums.inboundSchema(CompanyType);
|
|
120
85
|
/** @internal */
|
|
121
|
-
export const Jurisdiction$inboundSchema = openEnums.inboundSchema(Jurisdiction);
|
|
122
|
-
/** @internal */
|
|
123
86
|
export const RegisteredOfficeAddress$inboundSchema = z.object({
|
|
124
87
|
addressLine1: z.nullable(z.string()).optional(),
|
|
125
88
|
addressLine2: z.nullable(z.string()).optional(),
|
|
@@ -139,27 +102,21 @@ export function registeredOfficeAddressFromJSON(jsonString) {
|
|
|
139
102
|
export const Company$inboundSchema = z.object({
|
|
140
103
|
accountsLastMadeUpToDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
141
104
|
accountsNextDueDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
142
|
-
accountsType: z.nullable(AccountsType$inboundSchema).optional(),
|
|
143
|
-
canFile: z.boolean(),
|
|
144
105
|
companyName: z.string(),
|
|
145
106
|
companyNumber: z.string(),
|
|
146
|
-
companyStatus: CompanyStatus$inboundSchema,
|
|
107
|
+
companyStatus: z.nullable(CompanyStatus$inboundSchema),
|
|
147
108
|
companySubtype: z.nullable(CompanySubtype$inboundSchema).optional(),
|
|
148
|
-
companyType: CompanyType$inboundSchema,
|
|
109
|
+
companyType: z.nullable(CompanyType$inboundSchema),
|
|
149
110
|
confirmationStatementLastMadeUpToDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
150
111
|
confirmationStatementNextDueDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
151
112
|
countryOfOrigin: z.nullable(z.string()).optional(),
|
|
152
113
|
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
153
|
-
dissolutionDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
154
|
-
externalRegistrationNumber: z.nullable(z.string()).optional(),
|
|
155
114
|
hasCharges: z.boolean(),
|
|
156
|
-
hasInsolvencyHistory: z.boolean(),
|
|
157
115
|
incorporationDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
158
|
-
isOnRegisterInJurisdiction: z.nullable(z.boolean()).optional(),
|
|
159
|
-
jurisdiction: Jurisdiction$inboundSchema,
|
|
160
|
-
lastMembersListDate: z.nullable(z.string().datetime({ offset: true }).transform(v => new Date(v))).optional(),
|
|
161
116
|
locationId: z.nullable(z.string()).optional(),
|
|
117
|
+
notInLatestRegisterSince: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
|
|
162
118
|
previousNames: z.array(PreviousName$inboundSchema).optional(),
|
|
119
|
+
registerStatus: z.nullable(z.string()).optional(),
|
|
163
120
|
registeredOfficeAddress: z.nullable(z.lazy(() => RegisteredOfficeAddress$inboundSchema)).optional(),
|
|
164
121
|
sicCodes: z.array(SicCode$inboundSchema),
|
|
165
122
|
updatedAt: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"company.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/company.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,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CAAC,CAAC,CAAC,EAAE,CAC7D,IAAI,IAAI,CAAC,CAAC,CAAC,CACZ;CACF,CAAC,CAAC;AAEL,MAAM,UAAU,eAAe,CAC7B,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
import * as z from "zod/v3";
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
5
|
-
*/
|
|
6
|
-
export declare const Jurisdictions: {
|
|
7
|
-
readonly EnglandWales: "england-wales";
|
|
8
|
-
readonly Wales: "wales";
|
|
9
|
-
readonly Scotland: "scotland";
|
|
10
|
-
readonly NorthernIreland: "northern-ireland";
|
|
11
|
-
readonly EuropeanUnion: "european-union";
|
|
12
|
-
readonly UnitedKingdom: "united-kingdom";
|
|
13
|
-
readonly England: "england";
|
|
14
|
-
readonly Noneu: "noneu";
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
18
|
-
*/
|
|
19
|
-
export type Jurisdictions = ClosedEnum<typeof Jurisdictions>;
|
|
20
3
|
/**
|
|
21
4
|
* Which field orders the results: `companyName` alphabetically, `incorporationDate` by age, `updatedAt` by when the record last changed. Defaults to `companyName`.
|
|
22
5
|
*/
|
|
@@ -41,7 +24,7 @@ export declare const SortOrder: {
|
|
|
41
24
|
*/
|
|
42
25
|
export type SortOrder = ClosedEnum<typeof SortOrder>;
|
|
43
26
|
/**
|
|
44
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
27
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from.
|
|
45
28
|
*/
|
|
46
29
|
export declare const Statuses: {
|
|
47
30
|
readonly Active: "active";
|
|
@@ -56,9 +39,10 @@ export declare const Statuses: {
|
|
|
56
39
|
readonly Closed: "closed";
|
|
57
40
|
readonly Registered: "registered";
|
|
58
41
|
readonly Removed: "removed";
|
|
42
|
+
readonly NotInLatestRegister: "not-in-latest-register";
|
|
59
43
|
};
|
|
60
44
|
/**
|
|
61
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
45
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from.
|
|
62
46
|
*/
|
|
63
47
|
export type Statuses = ClosedEnum<typeof Statuses>;
|
|
64
48
|
/**
|
|
@@ -118,10 +102,6 @@ export type CompanyQueryRequest = {
|
|
|
118
102
|
* Set to true for companies that have charges registered against them, false for those that have none. Leave it out to include both.
|
|
119
103
|
*/
|
|
120
104
|
hasCharges?: boolean | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* Set to true for companies with insolvency events on the register, false for those with none. Leave it out to include both.
|
|
123
|
-
*/
|
|
124
|
-
hasInsolvencyHistory?: boolean | undefined;
|
|
125
105
|
/**
|
|
126
106
|
* The registered office address is not part of a company search result. Read the full company record from /companies/{companyNumber} to get it.
|
|
127
107
|
*/
|
|
@@ -142,16 +122,12 @@ export type CompanyQueryRequest = {
|
|
|
142
122
|
* Return only companies incorporated on or before this date. Send an ISO 8601 timestamp.
|
|
143
123
|
*/
|
|
144
124
|
incorporatedBefore?: Date | undefined;
|
|
145
|
-
/**
|
|
146
|
-
* Return only companies registered in one of these UK jurisdictions, such as `england-wales`, `scotland` or `northern-ireland`.
|
|
147
|
-
*/
|
|
148
|
-
jurisdictions?: Array<Jurisdictions> | undefined;
|
|
149
125
|
/**
|
|
150
126
|
* Maximum number of items to return. Defaults to 25. Minimum 1, maximum 100.
|
|
151
127
|
*/
|
|
152
128
|
limit?: number | undefined;
|
|
153
129
|
/**
|
|
154
|
-
* Identifier for a single addressable location. In Great Britain this is the Unique Property Reference Number (UPRN). Returns only companies whose registered office is at that location.
|
|
130
|
+
* Identifier for a single addressable location. In Great Britain this is the Unique Property Reference Number (UPRN). Returns only companies whose registered office is at that location. While registered-office locations are not available, a search with this filter returns 503.
|
|
155
131
|
*/
|
|
156
132
|
locationId?: string | undefined;
|
|
157
133
|
/**
|
|
@@ -183,7 +159,7 @@ export type CompanyQueryRequest = {
|
|
|
183
159
|
*/
|
|
184
160
|
sortOrder?: SortOrder | undefined;
|
|
185
161
|
/**
|
|
186
|
-
* Return only companies whose
|
|
162
|
+
* Return only companies whose companyStatus is one of these values, such as `active` or `dissolved`. The values match the companyStatus each result carries, so `active` never returns a company that is `not-in-latest-register`.
|
|
187
163
|
*/
|
|
188
164
|
statuses?: Array<Statuses> | undefined;
|
|
189
165
|
/**
|
|
@@ -192,8 +168,6 @@ export type CompanyQueryRequest = {
|
|
|
192
168
|
types?: Array<Types> | undefined;
|
|
193
169
|
};
|
|
194
170
|
/** @internal */
|
|
195
|
-
export declare const Jurisdictions$outboundSchema: z.ZodNativeEnum<typeof Jurisdictions>;
|
|
196
|
-
/** @internal */
|
|
197
171
|
export declare const SortBy$outboundSchema: z.ZodNativeEnum<typeof SortBy>;
|
|
198
172
|
/** @internal */
|
|
199
173
|
export declare const SortOrder$outboundSchema: z.ZodNativeEnum<typeof SortOrder>;
|
|
@@ -205,13 +179,11 @@ export declare const Types$outboundSchema: z.ZodNativeEnum<typeof Types>;
|
|
|
205
179
|
export type CompanyQueryRequest$Outbound = {
|
|
206
180
|
companyNumber?: string | undefined;
|
|
207
181
|
hasCharges?: boolean | undefined;
|
|
208
|
-
hasInsolvencyHistory?: boolean | undefined;
|
|
209
182
|
includeAddress: boolean;
|
|
210
183
|
includeOfficers: boolean;
|
|
211
184
|
includePscs: boolean;
|
|
212
185
|
incorporatedAfter?: string | undefined;
|
|
213
186
|
incorporatedBefore?: string | undefined;
|
|
214
|
-
jurisdictions?: Array<string> | undefined;
|
|
215
187
|
limit: number;
|
|
216
188
|
locationId?: string | undefined;
|
|
217
189
|
name?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companyqueryrequest.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyqueryrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"companyqueryrequest.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyqueryrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,MAAM;;;;CAIT,CAAC;AACX;;GAEG;AACH,MAA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;IACd,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAoBnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -2,19 +2,6 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
|
-
/**
|
|
6
|
-
* The UK jurisdiction the company is registered in, which sets the legal framework that applies to it and the Companies House office that holds the record. Most companies are `england-wales`.
|
|
7
|
-
*/
|
|
8
|
-
export const Jurisdictions = {
|
|
9
|
-
EnglandWales: "england-wales",
|
|
10
|
-
Wales: "wales",
|
|
11
|
-
Scotland: "scotland",
|
|
12
|
-
NorthernIreland: "northern-ireland",
|
|
13
|
-
EuropeanUnion: "european-union",
|
|
14
|
-
UnitedKingdom: "united-kingdom",
|
|
15
|
-
England: "england",
|
|
16
|
-
Noneu: "noneu",
|
|
17
|
-
};
|
|
18
5
|
/**
|
|
19
6
|
* Which field orders the results: `companyName` alphabetically, `incorporationDate` by age, `updatedAt` by when the record last changed. Defaults to `companyName`.
|
|
20
7
|
*/
|
|
@@ -31,7 +18,7 @@ export const SortOrder = {
|
|
|
31
18
|
Desc: "desc",
|
|
32
19
|
};
|
|
33
20
|
/**
|
|
34
|
-
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`.
|
|
21
|
+
* Where the company stands on the Companies House register. `active` and `registered` are live, `dissolved` and `removed` have left the register, and `liquidation`, `receivership`, `administration`, `voluntary-arrangement` and `insolvency-proceedings` are stages of insolvency. Overseas entities use `open` and `closed` rather than `active` and `dissolved`. `not-in-latest-register` means the latest monthly release of the register, which lists live companies only, no longer lists the company; the status it last carried no longer applies, and notInLatestRegisterSince gives the release it first went missing from.
|
|
35
22
|
*/
|
|
36
23
|
export const Statuses = {
|
|
37
24
|
Active: "active",
|
|
@@ -46,6 +33,7 @@ export const Statuses = {
|
|
|
46
33
|
Closed: "closed",
|
|
47
34
|
Registered: "registered",
|
|
48
35
|
Removed: "removed",
|
|
36
|
+
NotInLatestRegister: "not-in-latest-register",
|
|
49
37
|
};
|
|
50
38
|
/**
|
|
51
39
|
* The legal structure the entity is registered under. Most companies are `ltd` (private company limited by shares), `plc` (public limited company) or `llp` (limited liability partnership); the remaining values cover overseas entities, investment vehicles, charitable forms and older company types.
|
|
@@ -89,8 +77,6 @@ export const Types = {
|
|
|
89
77
|
RegisteredOverseasEntity: "registered-overseas-entity",
|
|
90
78
|
};
|
|
91
79
|
/** @internal */
|
|
92
|
-
export const Jurisdictions$outboundSchema = z.nativeEnum(Jurisdictions);
|
|
93
|
-
/** @internal */
|
|
94
80
|
export const SortBy$outboundSchema = z
|
|
95
81
|
.nativeEnum(SortBy);
|
|
96
82
|
/** @internal */
|
|
@@ -105,13 +91,11 @@ export const Types$outboundSchema = z.nativeEnum(Types);
|
|
|
105
91
|
export const CompanyQueryRequest$outboundSchema = z.object({
|
|
106
92
|
companyNumber: z.string().optional(),
|
|
107
93
|
hasCharges: z.boolean().optional(),
|
|
108
|
-
hasInsolvencyHistory: z.boolean().optional(),
|
|
109
94
|
includeAddress: z.boolean().default(true),
|
|
110
95
|
includeOfficers: z.boolean().default(false),
|
|
111
96
|
includePscs: z.boolean().default(false),
|
|
112
97
|
incorporatedAfter: z.date().transform(v => v.toISOString()).optional(),
|
|
113
98
|
incorporatedBefore: z.date().transform(v => v.toISOString()).optional(),
|
|
114
|
-
jurisdictions: z.array(Jurisdictions$outboundSchema).optional(),
|
|
115
99
|
limit: z.number().int().default(25),
|
|
116
100
|
locationId: z.string().optional(),
|
|
117
101
|
name: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companyqueryrequest.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyqueryrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"companyqueryrequest.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyqueryrequest.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,WAAW;CACd,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC;AAMX;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;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GAAG,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACrC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,MAAM,EAAE,qBAAqB,CAAC,OAAO,CAAC,aAAa,CAAC;IACpD,SAAS,EAAE,wBAAwB,CAAC,OAAO,CAAC,KAAK,CAAC;IAClD,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,EAAE;IACrD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,kCAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC"}
|
|
@@ -12,6 +12,10 @@ export type CompanyResponse = {
|
|
|
12
12
|
* Active officer appointments at this company, up to 50 of them. Present only when the request sets includeOfficers=true.
|
|
13
13
|
*/
|
|
14
14
|
officers?: Array<OfficerSummary> | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* The date of the Companies House PSC data the pscs summaries were read from, as YYYY-MM-DD. Present only when the request sets includePscs=true.
|
|
17
|
+
*/
|
|
18
|
+
pscDataAsOf?: string | undefined;
|
|
15
19
|
/**
|
|
16
20
|
* Active PSC notifications for this company, up to 50 of them. Present only when the request sets includePscs=true.
|
|
17
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companyresponse.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"companyresponse.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAA4B,MAAM,iBAAiB,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -9,6 +9,7 @@ import { PscSummary$inboundSchema } from "./pscsummary.js";
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const CompanyResponse$inboundSchema = z.object({
|
|
11
11
|
officers: z.array(OfficerSummary$inboundSchema).optional(),
|
|
12
|
+
pscDataAsOf: z.string().optional(),
|
|
12
13
|
pscs: z.array(PscSummary$inboundSchema).optional(),
|
|
13
14
|
result: Company$inboundSchema,
|
|
14
15
|
success: z.literal(true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"companyresponse.js","sourceRoot":"","sources":["../../../../../src/sdk/models/shared/companyresponse.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,OAAO,EAAW,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC9D,O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