fix(BusinessRecord): Add missing field registrationType to BusinessRecord data

This commit is contained in:
Philipp Kunz 2025-01-02 03:16:02 +01:00
parent 9b2dcd7377
commit bc43e4c44a
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2025-01-02 - 1.2.1 - fix(BusinessRecord)
Add missing field registrationType to BusinessRecord data
- Introduced the 'registrationType' field to the BusinessRecord data schema with possible values 'HRA' or 'HRB'.
## 2025-01-02 - 1.2.0 - feat(core)
Integrate Handelsregister search for company data retrieval

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@fin.cx/opendata',
version: '1.2.0',
version: '1.2.1',
description: 'A TypeScript library for accessing, managing, and updating open business data, focused on German companies and integrating with MongoDB.'
}

View File

@ -18,6 +18,7 @@ export class BusinessRecord extends plugins.smartdata.SmartDataDbDoc<BusinessRec
email?: string,
website?: string,
businessType?: string,
registrationType?: 'HRA' | 'HRB';
registrationNumber?: string,
registrationCourt?: string,
legalForm?: string,