2 Commits

Author SHA1 Message Date
a67a0993d6 1.2.1
Some checks failed
Default (tags) / security (push) Failing after 16s
Default (tags) / test (push) Failing after 12s
Default (tags) / release (push) Has been skipped
Default (tags) / metadata (push) Has been skipped
2025-01-02 03:16:02 +01:00
bc43e4c44a fix(BusinessRecord): Add missing field registrationType to BusinessRecord data 2025-01-02 03:16:02 +01:00
4 changed files with 8 additions and 2 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

@ -1,6 +1,6 @@
{
"name": "@fin.cx/opendata",
"version": "1.2.0",
"version": "1.2.1",
"private": false,
"description": "A TypeScript library for accessing, managing, and updating open business data, focused on German companies and integrating with MongoDB.",
"main": "dist_ts/index.js",

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,