@firmenakte/api-client 2.44.0 → 2.45.0
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 +2 -2
- package/client.d.ts +10 -170
- package/client.d.ts.map +1 -1
- package/client.js +5 -85
- package/index.d.ts +0 -5
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/v2/generated/index.d.ts +1 -1
- package/v2/generated/index.d.ts.map +1 -1
- package/v2/generated/sdk.gen.d.ts +32 -74
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +50 -150
- package/v2/generated/types.gen.d.ts +441 -985
- package/v2/generated/types.gen.d.ts.map +1 -1
package/README.md
CHANGED
|
@@ -86,8 +86,8 @@ const remaining = response.headers.get("X-Credits-Remaining");
|
|
|
86
86
|
Endpoint responses cost credits even for `400` or `404`. Authentication failures, `401`,
|
|
87
87
|
requests rejected with `429`, and server errors, `5xx`, cost no credits.
|
|
88
88
|
Credit exhaustion returns `429`, an `error` message starting with `Credits aufgebraucht`,
|
|
89
|
-
and `Retry-After` in seconds until
|
|
90
|
-
`Retry-After: 60`. A longer wait means credit exhaustion; near
|
|
89
|
+
and `Retry-After` in seconds until the 1st of the next month, 00:00 Europe/Vienna. The separate burst limit returns
|
|
90
|
+
`Retry-After: 60`. A longer wait means credit exhaustion; near the 1st, check the error
|
|
91
91
|
message because the reset can be 60 seconds or less away.
|
|
92
92
|
|
|
93
93
|
## Documentation
|
package/client.d.ts
CHANGED
|
@@ -902,8 +902,6 @@ export interface ExportBusinessesRequest {
|
|
|
902
902
|
fnrs?: string[] | null;
|
|
903
903
|
/** A Liste of the calling account: its companies, in the order it holds them. Same 1000-company cap as an explicit set, over the FNRs the Liste stores. */
|
|
904
904
|
listId?: string | null;
|
|
905
|
-
/** A saved Abfrage of the calling account: the companies its filters match right now, ordered the way the search orders them. Capped at 1000 rows. */
|
|
906
|
-
queryId?: string | null;
|
|
907
905
|
/** The two files an export can produce. Same columns, same rows — only the serialiser differs. */
|
|
908
906
|
format?: BusinessExportFormat;
|
|
909
907
|
/** The eleven columns an export can carry, each on or off. The first nine are served by the company search, so an export is a projection of rows rather than a detail request per company; the two webscraper columns are read once for the whole export (#1270), never per company. */
|
|
@@ -1886,24 +1884,6 @@ export interface ProblemDetails {
|
|
|
1886
1884
|
/** Validation failures per field; present only on a model validation 400. */
|
|
1887
1885
|
errors?: Record<string, string[]> | null;
|
|
1888
1886
|
}
|
|
1889
|
-
/** A saved Abfrage: one filter set an account kept, to run again later. */
|
|
1890
|
-
export interface QueryResponse {
|
|
1891
|
-
/** Stable id of the Abfrage. */
|
|
1892
|
-
id: string;
|
|
1893
|
-
/** Icon key for the Abfrage, or null where it has none. */
|
|
1894
|
-
icon?: string | null;
|
|
1895
|
-
query: JsonDocument;
|
|
1896
|
-
/**
|
|
1897
|
-
* How many companies matched when the Abfrage was last saved. A snapshot: it is not recomputed on read and may have drifted.
|
|
1898
|
-
* @format int32
|
|
1899
|
-
*/
|
|
1900
|
-
resultCount?: number | null;
|
|
1901
|
-
/**
|
|
1902
|
-
* When the Abfrage was last written, UTC. The Suchverlauf sorts on it.
|
|
1903
|
-
* @format date-time
|
|
1904
|
-
*/
|
|
1905
|
-
updatedAt: string;
|
|
1906
|
-
}
|
|
1907
1887
|
/** Request to resolve company names to FNRs by exact match (1:1). Used for CSV import. */
|
|
1908
1888
|
export interface ResolveBusinessNamesRequest {
|
|
1909
1889
|
/** Company names to resolve (trimmed, distinct, max 500). Order is preserved in the response. */
|
|
@@ -1918,17 +1898,6 @@ export interface ResolveBusinessNamesResultItem {
|
|
|
1918
1898
|
name?: string;
|
|
1919
1899
|
fnr?: string | null;
|
|
1920
1900
|
}
|
|
1921
|
-
/** An Abfrage to keep: the filters, and what they matched when they ran. */
|
|
1922
|
-
export interface SaveQueryRequest {
|
|
1923
|
-
query?: JsonDocument | null;
|
|
1924
|
-
/**
|
|
1925
|
-
* How many companies the filters matched. Omit it where the count could not be determined — a missing count leaves the one the Abfrage already carries alone rather than erasing it.
|
|
1926
|
-
* @format int32
|
|
1927
|
-
*/
|
|
1928
|
-
resultCount?: number | null;
|
|
1929
|
-
/** The Abfrage being edited. Sending it pins the row that is written, so an edit that changes the filters into another Abfrage's still updates this one instead of merging into that. Without it, a save that filters for the same companies as an existing Abfrage updates that one, which is what keeps throwaway searches out of the Suchverlauf. */
|
|
1930
|
-
updateId?: string | null;
|
|
1931
|
-
}
|
|
1932
1901
|
/** One entry from the BMF LSU (Scheinunternehmen) RSS feed. Company entries have Fnr; natural-person entries have PersonId. */
|
|
1933
1902
|
export interface ScheinunternehmenKundmachung {
|
|
1934
1903
|
/** @format int64 */
|
|
@@ -2045,85 +2014,6 @@ export interface ZipCodeResponse {
|
|
|
2045
2014
|
businessCount?: number;
|
|
2046
2015
|
}
|
|
2047
2016
|
export declare namespace Api {
|
|
2048
|
-
/**
|
|
2049
|
-
* @description Every saved Abfrage of the calling account, newest first. Kostet 1 Credit.
|
|
2050
|
-
* @tags Queries
|
|
2051
|
-
* @name V1QueriesList
|
|
2052
|
-
* @summary Your Abfragen
|
|
2053
|
-
* @request GET:/api/v1/queries
|
|
2054
|
-
* @secure
|
|
2055
|
-
*/
|
|
2056
|
-
namespace V1QueriesList {
|
|
2057
|
-
type RequestParams = {};
|
|
2058
|
-
type RequestQuery = {};
|
|
2059
|
-
type RequestBody = never;
|
|
2060
|
-
type RequestHeaders = {};
|
|
2061
|
-
type ResponseBody = QueryResponse[];
|
|
2062
|
-
}
|
|
2063
|
-
/**
|
|
2064
|
-
* @description Keeps a filter set. A save whose filters match an Abfrage the account already has updates that one instead of adding a second — pass updateId to pin the row being edited. Kostet 1 Credit.
|
|
2065
|
-
* @tags Queries
|
|
2066
|
-
* @name V1QueriesCreate
|
|
2067
|
-
* @summary Save an Abfrage
|
|
2068
|
-
* @request POST:/api/v1/queries
|
|
2069
|
-
* @secure
|
|
2070
|
-
*/
|
|
2071
|
-
namespace V1QueriesCreate {
|
|
2072
|
-
type RequestParams = {};
|
|
2073
|
-
type RequestQuery = {};
|
|
2074
|
-
type RequestBody = SaveQueryRequest;
|
|
2075
|
-
type RequestHeaders = {};
|
|
2076
|
-
type ResponseBody = QueryResponse;
|
|
2077
|
-
}
|
|
2078
|
-
/**
|
|
2079
|
-
* @description The saved Abfrage with this id, when it belongs to the calling account. Kostet 1 Credit.
|
|
2080
|
-
* @tags Queries
|
|
2081
|
-
* @name V1QueriesDetail
|
|
2082
|
-
* @summary One Abfrage
|
|
2083
|
-
* @request GET:/api/v1/queries/{id}
|
|
2084
|
-
* @secure
|
|
2085
|
-
*/
|
|
2086
|
-
namespace V1QueriesDetail {
|
|
2087
|
-
type RequestParams = {
|
|
2088
|
-
id: string;
|
|
2089
|
-
};
|
|
2090
|
-
type RequestQuery = {};
|
|
2091
|
-
type RequestBody = never;
|
|
2092
|
-
type RequestHeaders = {};
|
|
2093
|
-
type ResponseBody = QueryResponse;
|
|
2094
|
-
}
|
|
2095
|
-
/**
|
|
2096
|
-
* @description Removes one saved Abfrage from the Suchverlauf. Kostet 1 Credit.
|
|
2097
|
-
* @tags Queries
|
|
2098
|
-
* @name V1QueriesDelete
|
|
2099
|
-
* @summary Delete an Abfrage
|
|
2100
|
-
* @request DELETE:/api/v1/queries/{id}
|
|
2101
|
-
* @secure
|
|
2102
|
-
*/
|
|
2103
|
-
namespace V1QueriesDelete {
|
|
2104
|
-
type RequestParams = {
|
|
2105
|
-
id: string;
|
|
2106
|
-
};
|
|
2107
|
-
type RequestQuery = {};
|
|
2108
|
-
type RequestBody = never;
|
|
2109
|
-
type RequestHeaders = {};
|
|
2110
|
-
type ResponseBody = void;
|
|
2111
|
-
}
|
|
2112
|
-
/**
|
|
2113
|
-
* @description Deletes every saved Abfrage of the calling account. Kostet 1 Credit.
|
|
2114
|
-
* @tags Queries
|
|
2115
|
-
* @name V1QueriesAllDelete
|
|
2116
|
-
* @summary Clear the Suchverlauf
|
|
2117
|
-
* @request DELETE:/api/v1/queries/all
|
|
2118
|
-
* @secure
|
|
2119
|
-
*/
|
|
2120
|
-
namespace V1QueriesAllDelete {
|
|
2121
|
-
type RequestParams = {};
|
|
2122
|
-
type RequestQuery = {};
|
|
2123
|
-
type RequestBody = never;
|
|
2124
|
-
type RequestHeaders = {};
|
|
2125
|
-
type ResponseBody = void;
|
|
2126
|
-
}
|
|
2127
2017
|
/**
|
|
2128
2018
|
* @description Every Liste of the calling account, oldest first. Kostet 1 Credit.
|
|
2129
2019
|
* @tags Lists
|
|
@@ -2240,7 +2130,7 @@ export declare namespace Api {
|
|
|
2240
2130
|
type ResponseBody = ListResponse;
|
|
2241
2131
|
}
|
|
2242
2132
|
/**
|
|
2243
|
-
* @description Builds a CSV or an Excel workbook over the companies you name: an explicit set of FNRs, a Liste, or a saved Abfrage. Nothing is stored and no link is handed back: the CSV is written out as it is produced, the workbook is built in memory first. One export carries at most 1000 companies: a set of FNRs or a Liste that holds more is refused with a 400 rather than cut short, and a saved Abfrage exports its first 1000 matches. An export that would hold no rows answers 204 rather than an empty file. Kostet
|
|
2133
|
+
* @description Builds a CSV or an Excel workbook over the companies you name: an explicit set of FNRs, a Liste, or a saved Abfrage. Nothing is stored and no link is handed back: the CSV is written out as it is produced, the workbook is built in memory first. One export carries at most 1000 companies: a set of FNRs or a Liste that holds more is refused with a 400 rather than cut short, and a saved Abfrage exports its first 1000 matches. An export that would hold no rows answers 204 rather than an empty file. Kostet 1 Credit.
|
|
2244
2134
|
* @tags Exports
|
|
2245
2135
|
* @name V1ExportsBusinessesCreate
|
|
2246
2136
|
* @summary Export companies
|
|
@@ -2255,7 +2145,7 @@ export declare namespace Api {
|
|
|
2255
2145
|
type ResponseBody = FileResult;
|
|
2256
2146
|
}
|
|
2257
2147
|
/**
|
|
2258
|
-
* @description Downloads the signed GISA PDF extract for a license (GISA-Zahl). Language defaults to German (De). Kostet
|
|
2148
|
+
* @description Downloads the signed GISA PDF extract for a license (GISA-Zahl). Language defaults to German (De). Kostet 1 Credit.
|
|
2259
2149
|
* @tags Trades
|
|
2260
2150
|
* @name V1TradesDocumentsDetail
|
|
2261
2151
|
* @summary GISA PDF extract
|
|
@@ -2481,7 +2371,7 @@ export declare namespace Api {
|
|
|
2481
2371
|
type ResponseBody = PagedResponseOfFoerderungChange;
|
|
2482
2372
|
}
|
|
2483
2373
|
/**
|
|
2484
|
-
* @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet
|
|
2374
|
+
* @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 1 Credit.
|
|
2485
2375
|
* @tags Documents
|
|
2486
2376
|
* @name V1DocumentsDownloadDetail
|
|
2487
2377
|
* @summary Firmenbuch document download
|
|
@@ -2643,7 +2533,7 @@ export declare namespace Api {
|
|
|
2643
2533
|
type ResponseBody = SearchResponse;
|
|
2644
2534
|
}
|
|
2645
2535
|
/**
|
|
2646
|
-
* @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet
|
|
2536
|
+
* @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 1 Credit.
|
|
2647
2537
|
* @tags Graph
|
|
2648
2538
|
* @name V1GraphList
|
|
2649
2539
|
* @summary Relationship graph
|
|
@@ -5366,7 +5256,7 @@ export declare namespace Api {
|
|
|
5366
5256
|
type ResponseBody = PagedResponseOfGlobalChange;
|
|
5367
5257
|
}
|
|
5368
5258
|
/**
|
|
5369
|
-
* @description Changes for a watchlist of companies, all four change types in one unpaged response. Built for watchlist polling: pass up to 1000 fnr values (repeat the parameter) and one cursor, and get back four arrays — businessChanges, documentChanges, ediktChanges, globalChanges — each ordered by ascending id and capped at maxResultsPerType. Not paged: raise maxResultsPerType or advance sinceId instead. sinceId is exclusive and since is inclusive, exactly as on the paged feeds, but one sinceId covers all four arrays: an array that comes back full at maxResultsPerType has more behind it and bounds the cursor, so advance sinceId only to the lowest of the full arrays' highest ids, and to the highest id of all four once none comes back full. Passing no fnr returns four empty arrays, not the whole feed. Kostet
|
|
5259
|
+
* @description Changes for a watchlist of companies, all four change types in one unpaged response. Built for watchlist polling: pass up to 1000 fnr values (repeat the parameter) and one cursor, and get back four arrays — businessChanges, documentChanges, ediktChanges, globalChanges — each ordered by ascending id and capped at maxResultsPerType. Not paged: raise maxResultsPerType or advance sinceId instead. sinceId is exclusive and since is inclusive, exactly as on the paged feeds, but one sinceId covers all four arrays: an array that comes back full at maxResultsPerType has more behind it and bounds the cursor, so advance sinceId only to the lowest of the full arrays' highest ids, and to the highest id of all four once none comes back full. Passing no fnr returns four empty arrays, not the whole feed. Kostet 1 Credit.
|
|
5370
5260
|
* @tags GlobalChanges
|
|
5371
5261
|
* @name V1GlobalchangesAggregatedList
|
|
5372
5262
|
* @summary Aggregated watchlist changes
|
|
@@ -5610,56 +5500,6 @@ export declare class HttpClient<SecurityDataType = unknown> {
|
|
|
5610
5500
|
*/
|
|
5611
5501
|
export declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
|
|
5612
5502
|
api: {
|
|
5613
|
-
/**
|
|
5614
|
-
* @description Every saved Abfrage of the calling account, newest first. Kostet 1 Credit.
|
|
5615
|
-
*
|
|
5616
|
-
* @tags Queries
|
|
5617
|
-
* @name V1QueriesList
|
|
5618
|
-
* @summary Your Abfragen
|
|
5619
|
-
* @request GET:/api/v1/queries
|
|
5620
|
-
* @secure
|
|
5621
|
-
*/
|
|
5622
|
-
v1QueriesList: (params?: RequestParams) => Promise<HttpResponse<QueryResponse[], ApiError | ProblemDetails>>;
|
|
5623
|
-
/**
|
|
5624
|
-
* @description Keeps a filter set. A save whose filters match an Abfrage the account already has updates that one instead of adding a second — pass updateId to pin the row being edited. Kostet 1 Credit.
|
|
5625
|
-
*
|
|
5626
|
-
* @tags Queries
|
|
5627
|
-
* @name V1QueriesCreate
|
|
5628
|
-
* @summary Save an Abfrage
|
|
5629
|
-
* @request POST:/api/v1/queries
|
|
5630
|
-
* @secure
|
|
5631
|
-
*/
|
|
5632
|
-
v1QueriesCreate: (data: SaveQueryRequest, params?: RequestParams) => Promise<HttpResponse<QueryResponse, ApiError | ProblemDetails>>;
|
|
5633
|
-
/**
|
|
5634
|
-
* @description The saved Abfrage with this id, when it belongs to the calling account. Kostet 1 Credit.
|
|
5635
|
-
*
|
|
5636
|
-
* @tags Queries
|
|
5637
|
-
* @name V1QueriesDetail
|
|
5638
|
-
* @summary One Abfrage
|
|
5639
|
-
* @request GET:/api/v1/queries/{id}
|
|
5640
|
-
* @secure
|
|
5641
|
-
*/
|
|
5642
|
-
v1QueriesDetail: (id: string, params?: RequestParams) => Promise<HttpResponse<QueryResponse, ApiError | ProblemDetails>>;
|
|
5643
|
-
/**
|
|
5644
|
-
* @description Removes one saved Abfrage from the Suchverlauf. Kostet 1 Credit.
|
|
5645
|
-
*
|
|
5646
|
-
* @tags Queries
|
|
5647
|
-
* @name V1QueriesDelete
|
|
5648
|
-
* @summary Delete an Abfrage
|
|
5649
|
-
* @request DELETE:/api/v1/queries/{id}
|
|
5650
|
-
* @secure
|
|
5651
|
-
*/
|
|
5652
|
-
v1QueriesDelete: (id: string, params?: RequestParams) => Promise<HttpResponse<void, ApiError | ProblemDetails>>;
|
|
5653
|
-
/**
|
|
5654
|
-
* @description Deletes every saved Abfrage of the calling account. Kostet 1 Credit.
|
|
5655
|
-
*
|
|
5656
|
-
* @tags Queries
|
|
5657
|
-
* @name V1QueriesAllDelete
|
|
5658
|
-
* @summary Clear the Suchverlauf
|
|
5659
|
-
* @request DELETE:/api/v1/queries/all
|
|
5660
|
-
* @secure
|
|
5661
|
-
*/
|
|
5662
|
-
v1QueriesAllDelete: (params?: RequestParams) => Promise<HttpResponse<void, ApiError | ProblemDetails>>;
|
|
5663
5503
|
/**
|
|
5664
5504
|
* @description Every Liste of the calling account, oldest first. Kostet 1 Credit.
|
|
5665
5505
|
*
|
|
@@ -5731,7 +5571,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5731
5571
|
*/
|
|
5732
5572
|
v1ListsRemoveCreate: (id: string, data: ListMembersRequest, params?: RequestParams) => Promise<HttpResponse<ListResponse, ApiError | ProblemDetails>>;
|
|
5733
5573
|
/**
|
|
5734
|
-
* @description Builds a CSV or an Excel workbook over the companies you name: an explicit set of FNRs, a Liste, or a saved Abfrage. Nothing is stored and no link is handed back: the CSV is written out as it is produced, the workbook is built in memory first. One export carries at most 1000 companies: a set of FNRs or a Liste that holds more is refused with a 400 rather than cut short, and a saved Abfrage exports its first 1000 matches. An export that would hold no rows answers 204 rather than an empty file. Kostet
|
|
5574
|
+
* @description Builds a CSV or an Excel workbook over the companies you name: an explicit set of FNRs, a Liste, or a saved Abfrage. Nothing is stored and no link is handed back: the CSV is written out as it is produced, the workbook is built in memory first. One export carries at most 1000 companies: a set of FNRs or a Liste that holds more is refused with a 400 rather than cut short, and a saved Abfrage exports its first 1000 matches. An export that would hold no rows answers 204 rather than an empty file. Kostet 1 Credit.
|
|
5735
5575
|
*
|
|
5736
5576
|
* @tags Exports
|
|
5737
5577
|
* @name V1ExportsBusinessesCreate
|
|
@@ -5741,7 +5581,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5741
5581
|
*/
|
|
5742
5582
|
v1ExportsBusinessesCreate: (data: ExportBusinessesRequest, params?: RequestParams) => Promise<HttpResponse<FileResult, ApiError | ProblemDetails>>;
|
|
5743
5583
|
/**
|
|
5744
|
-
* @description Downloads the signed GISA PDF extract for a license (GISA-Zahl). Language defaults to German (De). Kostet
|
|
5584
|
+
* @description Downloads the signed GISA PDF extract for a license (GISA-Zahl). Language defaults to German (De). Kostet 1 Credit.
|
|
5745
5585
|
*
|
|
5746
5586
|
* @tags Trades
|
|
5747
5587
|
* @name V1TradesDocumentsDetail
|
|
@@ -5913,7 +5753,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
5913
5753
|
pageSize?: number;
|
|
5914
5754
|
}, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfFoerderungChange, ApiError | ProblemDetails>>;
|
|
5915
5755
|
/**
|
|
5916
|
-
* @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet
|
|
5756
|
+
* @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 1 Credit.
|
|
5917
5757
|
*
|
|
5918
5758
|
* @tags Documents
|
|
5919
5759
|
* @name V1DocumentsDownloadDetail
|
|
@@ -6037,7 +5877,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
6037
5877
|
pageSize?: number;
|
|
6038
5878
|
}, params?: RequestParams) => Promise<HttpResponse<SearchResponse, ApiError | ProblemDetails>>;
|
|
6039
5879
|
/**
|
|
6040
|
-
* @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet
|
|
5880
|
+
* @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 1 Credit.
|
|
6041
5881
|
*
|
|
6042
5882
|
* @tags Graph
|
|
6043
5883
|
* @name V1GraphList
|
|
@@ -8643,7 +8483,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
|
|
|
8643
8483
|
pageSize?: number;
|
|
8644
8484
|
}, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfGlobalChange, ApiError | ProblemDetails>>;
|
|
8645
8485
|
/**
|
|
8646
|
-
* @description Changes for a watchlist of companies, all four change types in one unpaged response. Built for watchlist polling: pass up to 1000 fnr values (repeat the parameter) and one cursor, and get back four arrays — businessChanges, documentChanges, ediktChanges, globalChanges — each ordered by ascending id and capped at maxResultsPerType. Not paged: raise maxResultsPerType or advance sinceId instead. sinceId is exclusive and since is inclusive, exactly as on the paged feeds, but one sinceId covers all four arrays: an array that comes back full at maxResultsPerType has more behind it and bounds the cursor, so advance sinceId only to the lowest of the full arrays' highest ids, and to the highest id of all four once none comes back full. Passing no fnr returns four empty arrays, not the whole feed. Kostet
|
|
8486
|
+
* @description Changes for a watchlist of companies, all four change types in one unpaged response. Built for watchlist polling: pass up to 1000 fnr values (repeat the parameter) and one cursor, and get back four arrays — businessChanges, documentChanges, ediktChanges, globalChanges — each ordered by ascending id and capped at maxResultsPerType. Not paged: raise maxResultsPerType or advance sinceId instead. sinceId is exclusive and since is inclusive, exactly as on the paged feeds, but one sinceId covers all four arrays: an array that comes back full at maxResultsPerType has more behind it and bounds the cursor, so advance sinceId only to the lowest of the full arrays' highest ids, and to the highest id of all four once none comes back full. Passing no fnr returns four empty arrays, not the whole feed. Kostet 1 Credit.
|
|
8647
8487
|
*
|
|
8648
8488
|
* @tags GlobalChanges
|
|
8649
8489
|
* @name V1GlobalchangesAggregatedList
|