@firmenakte/api-client 2.31.0 → 2.33.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/client.d.ts +601 -584
- package/client.d.ts.map +1 -1
- package/client.js +211 -195
- package/index.d.ts +46 -46
- 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 +1055 -235
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +1706 -322
- package/v2/generated/types.gen.d.ts +9521 -2200
- package/v2/generated/types.gen.d.ts.map +1 -1
- package/v2/index.d.ts +1 -1
- package/v2/index.js +1 -1
package/v2/generated/sdk.gen.js
CHANGED
|
@@ -29,9 +29,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
29
29
|
FirmenakteApi.__registry.set(this, args.key);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
|
-
* Capture
|
|
32
|
+
* Capture search selection
|
|
33
33
|
*
|
|
34
|
-
* Freeze a complete ordered search selection on the server for a later confirmed save or export. Returns a handle and count, never all IDs. Maximum 100000 IDs, expires after 24 hours. Supply exactly one new companies, people or entries search without cursor. For a list defined by criteria, prefer creating the list with a query rule; capture is for an explicitly fixed snapshot. Ordinary pagination and aggregation do not need a capture.
|
|
34
|
+
* Freeze a complete ordered search selection on the server for a later confirmed save or export. Returns a handle and count, never all IDs. Maximum 100000 IDs, expires after 24 hours. Supply exactly one new companies, people or entries search without cursor. For a list defined by criteria, prefer creating the list with a query rule; capture is for an explicitly fixed snapshot. Ordinary pagination and aggregation do not need a capture.
|
|
35
35
|
*/
|
|
36
36
|
captureSelection(options) {
|
|
37
37
|
return (options.client ?? this.client).post({
|
|
@@ -45,9 +45,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Get stored result
|
|
49
49
|
*
|
|
50
|
-
* Read an unchanged stored result or a specific JSON Pointer section without repeating the source query. Arrays are paginated; large objects expose field paths. Follow nextOffset or choose a field path. References are reader-scoped and expire after 24 hours. This is the stored snapshot, not live data.
|
|
50
|
+
* Read an unchanged stored result or a specific JSON Pointer section without repeating the source query. Arrays are paginated; large objects expose field paths. Follow nextOffset or choose a field path. References are reader-scoped and expire after 24 hours. This is the stored snapshot, not live data.
|
|
51
51
|
*/
|
|
52
52
|
readResult(options) {
|
|
53
53
|
return (options.client ?? this.client).get({
|
|
@@ -59,7 +59,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
59
59
|
/**
|
|
60
60
|
* Clear my search history
|
|
61
61
|
*
|
|
62
|
-
* Delete the current user's personal search history in this workspace.
|
|
62
|
+
* Delete the current user's personal search history in this workspace. Requires a dashboard user session; workspace keys cannot access personal history.
|
|
63
|
+
*
|
|
64
|
+
* Deprecated: use HTTP operation `clearInternalSearchHistory`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#clearSearchHistory). No removal date is scheduled.
|
|
63
65
|
*
|
|
64
66
|
* @deprecated
|
|
65
67
|
*/
|
|
@@ -73,7 +75,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
73
75
|
/**
|
|
74
76
|
* List my search history
|
|
75
77
|
*
|
|
76
|
-
* Return a cursor page of the user's entity and filter searches in this workspace, newest first.
|
|
78
|
+
* Return a cursor page of the user's entity and filter searches in this workspace, newest first. Requires a dashboard user session; workspace keys cannot access personal history.
|
|
79
|
+
*
|
|
80
|
+
* Deprecated: use HTTP operation `listInternalSearchHistory`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listSearchHistory). No removal date is scheduled.
|
|
77
81
|
*
|
|
78
82
|
* @deprecated
|
|
79
83
|
*/
|
|
@@ -87,7 +91,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
87
91
|
/**
|
|
88
92
|
* Delete a search history item
|
|
89
93
|
*
|
|
90
|
-
* Delete one item from the current user's personal search history in this workspace.
|
|
94
|
+
* Delete one item from the current user's personal search history in this workspace. Requires a dashboard user session; workspace keys cannot access personal history.
|
|
95
|
+
*
|
|
96
|
+
* Deprecated: use HTTP operation `deleteInternalSearchHistoryItem`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#deleteSearchHistoryItem). No removal date is scheduled.
|
|
91
97
|
*
|
|
92
98
|
* @deprecated
|
|
93
99
|
*/
|
|
@@ -101,7 +107,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
101
107
|
/**
|
|
102
108
|
* List workspace fields
|
|
103
109
|
*
|
|
104
|
-
* Return a cursor page of workspace field definitions and their stable keys, oldest first. Each field counts the entries holding a value (valueCount; companyCount of them companies), the entries per option (optionCounts), and names the lists showing it as a column. A field without values remains until it is deleted. Optional listId restricts the result to that list's columns.
|
|
110
|
+
* Return a cursor page of workspace field definitions and their stable keys, oldest first. Each field counts the entries holding a value (valueCount; companyCount of them companies), the entries per option (optionCounts), and names the lists showing it as a column. A field without values remains until it is deleted. Optional listId restricts the result to that list's columns.
|
|
105
111
|
*/
|
|
106
112
|
listFields(options) {
|
|
107
113
|
return (options?.client ?? this.client).get({
|
|
@@ -111,9 +117,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
111
117
|
});
|
|
112
118
|
}
|
|
113
119
|
/**
|
|
114
|
-
* Create
|
|
120
|
+
* Create workspace field
|
|
115
121
|
*
|
|
116
|
-
* Create a typed workspace field with a key derived from its label. Key collisions receive a suffix.
|
|
122
|
+
* Create a typed workspace field with a key derived from its label. Key collisions receive a suffix.
|
|
117
123
|
*/
|
|
118
124
|
createField(options) {
|
|
119
125
|
return (options.client ?? this.client).post({
|
|
@@ -127,9 +133,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
127
133
|
});
|
|
128
134
|
}
|
|
129
135
|
/**
|
|
130
|
-
* Delete
|
|
136
|
+
* Delete workspace field
|
|
131
137
|
*
|
|
132
|
-
* Delete a workspace field with all of its values and every list column that shows it. This cannot be undone;
|
|
138
|
+
* Delete a workspace field with all of its values and every list column that shows it. This cannot be undone; *List workspace fields* reports beforehand how many entries hold a value and which lists lose the column.
|
|
133
139
|
*/
|
|
134
140
|
deleteField(options) {
|
|
135
141
|
return (options.client ?? this.client).delete({
|
|
@@ -139,9 +145,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
139
145
|
});
|
|
140
146
|
}
|
|
141
147
|
/**
|
|
142
|
-
* Update
|
|
148
|
+
* Update workspace field
|
|
143
149
|
*
|
|
144
|
-
* Update a workspace field's label, type or options without changing its key. Option renames update stored values together. Invalid conversions require clearInvalid.
|
|
150
|
+
* Update a workspace field's label, type or options without changing its key. Option renames update stored values together. Invalid conversions require clearInvalid.
|
|
145
151
|
*/
|
|
146
152
|
updateField(options) {
|
|
147
153
|
return (options.client ?? this.client).patch({
|
|
@@ -155,9 +161,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
155
161
|
});
|
|
156
162
|
}
|
|
157
163
|
/**
|
|
158
|
-
*
|
|
164
|
+
* Create list import
|
|
159
165
|
*
|
|
160
|
-
* Create a 24-hour review draft and match report from browser-parsed CSV rows for a workspace list. Entries, own records, options and values are not written until confirmation.
|
|
166
|
+
* Create a 24-hour review draft and match report from browser-parsed CSV rows for a workspace list. Entries, own records, options and values are not written until confirmation.
|
|
161
167
|
*/
|
|
162
168
|
createImport(options) {
|
|
163
169
|
return (options.client ?? this.client).post({
|
|
@@ -171,9 +177,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
171
177
|
});
|
|
172
178
|
}
|
|
173
179
|
/**
|
|
174
|
-
* Get
|
|
180
|
+
* Get list import
|
|
175
181
|
*
|
|
176
|
-
* Return an import draft's summary, field conversion warnings and cursor-paged rows. Rows can be filtered by match status; expired drafts return 410 import_expired.
|
|
182
|
+
* Return an import draft's summary, field conversion warnings and cursor-paged rows. Rows can be filtered by match status; expired drafts return 410 import_expired.
|
|
177
183
|
*/
|
|
178
184
|
getImport(options) {
|
|
179
185
|
return (options.client ?? this.client).get({
|
|
@@ -183,9 +189,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
183
189
|
});
|
|
184
190
|
}
|
|
185
191
|
/**
|
|
186
|
-
* Choose import matches
|
|
192
|
+
* Choose list import matches
|
|
187
193
|
*
|
|
188
|
-
* Update review draft rows with a register akteId or keepOwn choice. This does not add list entries or own records.
|
|
194
|
+
* Update review draft rows with a register akteId or keepOwn choice. This does not add list entries or own records.
|
|
189
195
|
*/
|
|
190
196
|
updateImport(options) {
|
|
191
197
|
return (options.client ?? this.client).patch({
|
|
@@ -199,9 +205,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
199
205
|
});
|
|
200
206
|
}
|
|
201
207
|
/**
|
|
202
|
-
* Confirm
|
|
208
|
+
* Confirm list import
|
|
203
209
|
*
|
|
204
|
-
* Add matched register records and reused or new own records to the list, together with field values and new options. Unresolved ambiguous rows retain candidate IDs. Confirmation is retry-safe without an Idempotency-Key; over 500 rows returns a durable job.
|
|
210
|
+
* Add matched register records and reused or new own records to the list, together with field values and new options. Unresolved ambiguous rows retain candidate IDs. Confirmation is retry-safe without an Idempotency-Key; over 500 rows returns a durable job.
|
|
205
211
|
*/
|
|
206
212
|
confirmImport(options) {
|
|
207
213
|
return (options.client ?? this.client).post({
|
|
@@ -211,9 +217,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
211
217
|
});
|
|
212
218
|
}
|
|
213
219
|
/**
|
|
214
|
-
* Get
|
|
220
|
+
* Get list job
|
|
215
221
|
*
|
|
216
|
-
* Return the status and durable progress of a bulk list write job in this workspace.
|
|
222
|
+
* Return the status and durable progress of a bulk list write job in this workspace.
|
|
217
223
|
*/
|
|
218
224
|
getJob(options) {
|
|
219
225
|
return (options.client ?? this.client).get({
|
|
@@ -223,9 +229,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
223
229
|
});
|
|
224
230
|
}
|
|
225
231
|
/**
|
|
226
|
-
* Preview
|
|
232
|
+
* Preview rule for a new list
|
|
227
233
|
*
|
|
228
|
-
* Validate a rule before creating a list. Returns the same price, next run, match count and bounded sample as
|
|
234
|
+
* Validate a rule before creating a list. Returns the same price, next run, match count and bounded sample as *Preview list rule*, without requiring or creating a list. Does not save, execute or charge.
|
|
229
235
|
*/
|
|
230
236
|
previewNewListRule(options) {
|
|
231
237
|
return (options.client ?? this.client).post({
|
|
@@ -239,9 +245,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
239
245
|
});
|
|
240
246
|
}
|
|
241
247
|
/**
|
|
242
|
-
* Preview
|
|
248
|
+
* Preview list rule
|
|
243
249
|
*
|
|
244
|
-
* Validate a typed rule for an existing list identified by id, before saving it to that list. Creating a new list with rules uses
|
|
250
|
+
* Validate a typed rule for an existing list identified by id, before saving it to that list. Creating a new list with rules uses *Create list* and does not require this existing-list preview. Query rules return credits per execution, nextRunAt, matches (how many companies a run would newly add now, counted up to 10000) and at most five of them as a sample; neither is a reserved selection. Notification rules return zero credits, no matches and no sample. Does not save or execute.
|
|
245
251
|
*/
|
|
246
252
|
previewRule(options) {
|
|
247
253
|
return (options.client ?? this.client).post({
|
|
@@ -255,9 +261,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
255
261
|
});
|
|
256
262
|
}
|
|
257
263
|
/**
|
|
258
|
-
* List rules
|
|
264
|
+
* List list rules
|
|
259
265
|
*
|
|
260
|
-
* Read cursor-paged rules with typed rule configuration, revision, credits per execution and latest query run. Filter operationId to applyListQuery or notifyListEntries; keep this filter unchanged when paging.
|
|
266
|
+
* Read cursor-paged rules with typed rule configuration, revision, credits per execution and latest query run. Filter operationId to applyListQuery or notifyListEntries; keep this filter unchanged when paging.
|
|
261
267
|
*/
|
|
262
268
|
listRules(options) {
|
|
263
269
|
return (options.client ?? this.client).get({
|
|
@@ -267,9 +273,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
267
273
|
});
|
|
268
274
|
}
|
|
269
275
|
/**
|
|
270
|
-
* Create
|
|
276
|
+
* Create list rule
|
|
271
277
|
*
|
|
272
|
-
* Save one typed rule: applyListQuery for company queries, or notifyListEntries for one inApp/email channel. runNow optionally starts an enabled query at the quoted list-update price; recurrence is controlled separately by its trigger. Notification channels are unique per list. Creation is free; scheduled and manual executions charge the server list-update price.
|
|
278
|
+
* Save one typed rule: applyListQuery for company queries, or notifyListEntries for one inApp/email channel. runNow optionally starts an enabled query at the quoted list-update price; recurrence is controlled separately by its trigger. Notification channels are unique per list. Creation is free; scheduled and manual executions charge the server list-update price.
|
|
273
279
|
*/
|
|
274
280
|
createRule(options) {
|
|
275
281
|
return (options.client ?? this.client).post({
|
|
@@ -283,9 +289,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
283
289
|
});
|
|
284
290
|
}
|
|
285
291
|
/**
|
|
286
|
-
* Delete
|
|
292
|
+
* Delete list rule
|
|
287
293
|
*
|
|
288
|
-
* Delete one rule while keeping entries, values and historical runs. Copy its revision string from
|
|
294
|
+
* Delete one rule while keeping entries, values and historical runs. Copy its revision string from *List list rules* unchanged. Pause instead with *Update list rule*.
|
|
289
295
|
*/
|
|
290
296
|
deleteRule(options) {
|
|
291
297
|
return (options.client ?? this.client).delete({
|
|
@@ -295,9 +301,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
295
301
|
});
|
|
296
302
|
}
|
|
297
303
|
/**
|
|
298
|
-
* Update
|
|
304
|
+
* Update list rule
|
|
299
305
|
*
|
|
300
|
-
* Replace a rule configuration using its unchanged revision from
|
|
306
|
+
* Replace a rule configuration using its unchanged revision from *List list rules*. Function and notification channel stay fixed. enabled:false pauses it; entries and values remain. Re-enabling notifications starts at the current event horizon. Changes fence older executions.
|
|
301
307
|
*/
|
|
302
308
|
updateRule(options) {
|
|
303
309
|
return (options.client ?? this.client).patch({
|
|
@@ -311,9 +317,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
311
317
|
});
|
|
312
318
|
}
|
|
313
319
|
/**
|
|
314
|
-
*
|
|
320
|
+
* Run list rule
|
|
315
321
|
*
|
|
316
|
-
* Run an enabled applyListQuery rule using its unchanged revision from
|
|
322
|
+
* Run an enabled applyListQuery rule using its unchanged revision from *List list rules*. dryRun previews; execution charges the list-update price, adds matches and preserves entries/exclusions. Notification rules run only from events. Read status with *List rule runs* and additions with *List list entries* with runId. Additions respect list-wide exclusions and never remove members.
|
|
317
323
|
*/
|
|
318
324
|
runRule(options) {
|
|
319
325
|
return (options.client ?? this.client).post({
|
|
@@ -327,9 +333,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
327
333
|
});
|
|
328
334
|
}
|
|
329
335
|
/**
|
|
330
|
-
* List
|
|
336
|
+
* List lists
|
|
331
337
|
*
|
|
332
|
-
* Return a cursor page of workspace lists with membership counts.
|
|
338
|
+
* Return a cursor page of workspace lists with membership counts.
|
|
333
339
|
*/
|
|
334
340
|
listLists(options) {
|
|
335
341
|
return (options?.client ?? this.client).get({
|
|
@@ -339,9 +345,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
339
345
|
});
|
|
340
346
|
}
|
|
341
347
|
/**
|
|
342
|
-
* Create
|
|
348
|
+
* Create list
|
|
343
349
|
*
|
|
344
|
-
* Create a list atomically with optional items (up to 500) and rules (up to 100). Each rule contains its typed rule configuration and runNow flag. Use applyListQuery for reusable queries instead of enumerating matches. At most one enabled query may runNow; trigger manual is one-time, trigger schedule adds independent recurrence. Notification rules use notifyListEntries with one channel each.
|
|
350
|
+
* Create a list atomically with optional items (up to 500) and rules (up to 100). Each rule contains its typed rule configuration and runNow flag. Use applyListQuery for reusable queries instead of enumerating matches. At most one enabled query may runNow; trigger manual is one-time, trigger schedule adds independent recurrence. Notification rules use notifyListEntries with one channel each.
|
|
345
351
|
*/
|
|
346
352
|
createList(options) {
|
|
347
353
|
return (options.client ?? this.client).post({
|
|
@@ -355,9 +361,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
355
361
|
});
|
|
356
362
|
}
|
|
357
363
|
/**
|
|
358
|
-
* Delete
|
|
364
|
+
* Delete list
|
|
359
365
|
*
|
|
360
|
-
* Delete a workspace list, its rules and entries while keeping workspace own records.
|
|
366
|
+
* Delete a workspace list, its rules and entries while keeping workspace own records.
|
|
361
367
|
*/
|
|
362
368
|
deleteList(options) {
|
|
363
369
|
return (options.client ?? this.client).delete({
|
|
@@ -367,9 +373,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
367
373
|
});
|
|
368
374
|
}
|
|
369
375
|
/**
|
|
370
|
-
* Get
|
|
376
|
+
* Get list
|
|
371
377
|
*
|
|
372
|
-
* Read list metadata, statistics, latest run and rev_ revision for
|
|
378
|
+
* Read list metadata, statistics, latest run and rev_ revision for *Update list*. Independent rules and their revision strings: *List list rules*.
|
|
373
379
|
*/
|
|
374
380
|
getList(options) {
|
|
375
381
|
return (options.client ?? this.client).get({
|
|
@@ -379,9 +385,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
379
385
|
});
|
|
380
386
|
}
|
|
381
387
|
/**
|
|
382
|
-
* Update
|
|
388
|
+
* Update list
|
|
383
389
|
*
|
|
384
|
-
* Rename a list or change its color. Add independent rules with
|
|
390
|
+
* Rename a list or change its color. Add independent rules with *Create list rule*; edit or pause with *Update list rule*. Optional If-Match checks the revision and returns 412 revision_conflict without saving if it changed.
|
|
385
391
|
*/
|
|
386
392
|
updateList(options) {
|
|
387
393
|
return (options.client ?? this.client).patch({
|
|
@@ -395,9 +401,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
395
401
|
});
|
|
396
402
|
}
|
|
397
403
|
/**
|
|
398
|
-
* List entries
|
|
404
|
+
* List list entries
|
|
399
405
|
*
|
|
400
|
-
* Return a filtered cursor page of visible list entries with their column values. Sort by a column or addedAt; empty values sort last.
|
|
406
|
+
* Return a filtered cursor page of visible list entries with their column values. Sort by a column or addedAt; empty values sort last.
|
|
401
407
|
*/
|
|
402
408
|
listEntries(options) {
|
|
403
409
|
return (options.client ?? this.client).get({
|
|
@@ -409,7 +415,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
409
415
|
/**
|
|
410
416
|
* Add list entries
|
|
411
417
|
*
|
|
412
|
-
* Add register records, workspace own records or inline own records to a list. Re-adding a subject lifts its exclusion; existing subjects report alreadyPresent.
|
|
418
|
+
* Add register records, workspace own records or inline own records to a list. Re-adding a subject lifts its exclusion; existing subjects report alreadyPresent.
|
|
413
419
|
*/
|
|
414
420
|
addEntries(options) {
|
|
415
421
|
return (options.client ?? this.client).post({
|
|
@@ -423,9 +429,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
423
429
|
});
|
|
424
430
|
}
|
|
425
431
|
/**
|
|
426
|
-
* Update
|
|
432
|
+
* Update list entry
|
|
427
433
|
*
|
|
428
|
-
* Set a list entry's excluded state or its typed field values. Values belong to the subject and appear on every list; exclusion prevents dynamic re-addition until lifted.
|
|
434
|
+
* Set a list entry's excluded state or its typed field values. Values belong to the subject and appear on every list; exclusion prevents dynamic re-addition until lifted.
|
|
429
435
|
*/
|
|
430
436
|
updateEntry(options) {
|
|
431
437
|
return (options.client ?? this.client).patch({
|
|
@@ -441,7 +447,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
441
447
|
/**
|
|
442
448
|
* Remove list entries
|
|
443
449
|
*
|
|
444
|
-
* Exclude selected list entries by entry IDs, register IDs or a bulk selection. Excluded members do not return until explicitly re-added.
|
|
450
|
+
* Exclude selected list entries by entry IDs, register IDs or a bulk selection. Excluded members do not return until explicitly re-added.
|
|
445
451
|
*/
|
|
446
452
|
removeEntries(options) {
|
|
447
453
|
return (options.client ?? this.client).post({
|
|
@@ -455,9 +461,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
455
461
|
});
|
|
456
462
|
}
|
|
457
463
|
/**
|
|
458
|
-
* List
|
|
464
|
+
* List list columns
|
|
459
465
|
*
|
|
460
|
-
* Return the list's ordered register and workspace-field columns. Name stays first.
|
|
466
|
+
* Return the list's ordered register and workspace-field columns. Name stays first.
|
|
461
467
|
*/
|
|
462
468
|
listColumns(options) {
|
|
463
469
|
return (options.client ?? this.client).get({
|
|
@@ -467,9 +473,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
467
473
|
});
|
|
468
474
|
}
|
|
469
475
|
/**
|
|
470
|
-
* Replace
|
|
476
|
+
* Replace list columns
|
|
471
477
|
*
|
|
472
|
-
* Replace a list's column order, labels and visibility. Public paths must be columnable and own fields must belong to this workspace; name remains first and visible.
|
|
478
|
+
* Replace a list's column order, labels and visibility. Public paths must be columnable and own fields must belong to this workspace; name remains first and visible.
|
|
473
479
|
*/
|
|
474
480
|
replaceColumns(options) {
|
|
475
481
|
return (options.client ?? this.client).put({
|
|
@@ -485,7 +491,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
485
491
|
/**
|
|
486
492
|
* Search list entries
|
|
487
493
|
*
|
|
488
|
-
* Filter a list's entries with the shared filter compiler, including workspace-field and list predicates. Results use keyset paging with empty values last; limit 0 counts for free.
|
|
494
|
+
* Filter a list's entries with the shared filter compiler, including workspace-field and list predicates. Results use keyset paging with empty values last; limit 0 counts for free.
|
|
489
495
|
*/
|
|
490
496
|
searchEntries(options) {
|
|
491
497
|
return (options.client ?? this.client).post({
|
|
@@ -499,9 +505,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
499
505
|
});
|
|
500
506
|
}
|
|
501
507
|
/**
|
|
502
|
-
* List
|
|
508
|
+
* List rule runs
|
|
503
509
|
*
|
|
504
|
-
* Return a newest-first cursor page of a list's update runs with counts, evaluation date, credits and status. Optional trigger and status filters narrow the result.
|
|
510
|
+
* Return a newest-first cursor page of a list's update runs with counts, evaluation date, credits and status. Optional trigger and status filters narrow the result.
|
|
505
511
|
*/
|
|
506
512
|
listRuns(options) {
|
|
507
513
|
return (options.client ?? this.client).get({
|
|
@@ -513,7 +519,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
513
519
|
/**
|
|
514
520
|
* List list events
|
|
515
521
|
*
|
|
516
|
-
* Return a list's membership, identity-correction and skipped-update events in ascending sequence order. The after sequence never expires; type and runId can narrow the events.
|
|
522
|
+
* Return a list's membership, identity-correction and skipped-update events in ascending sequence order. The after sequence never expires; type and runId can narrow the events.
|
|
517
523
|
*/
|
|
518
524
|
listListEvents(options) {
|
|
519
525
|
return (options.client ?? this.client).get({
|
|
@@ -523,9 +529,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
523
529
|
});
|
|
524
530
|
}
|
|
525
531
|
/**
|
|
526
|
-
*
|
|
532
|
+
* Search workspace on a map
|
|
527
533
|
*
|
|
528
|
-
* Use listId or query; together they filter only existing list members. q narrows the result further. bbox is [minLng,minLat,maxLng,maxLat], zoom 0–20. Dense cells are SQL clusters; singleton cells become points from zoom 10. noLocation counts every match without visible coordinates, regardless of bbox. entries and withoutLocation are bounded cursor pages.
|
|
534
|
+
* Use listId or query; together they filter only existing list members. q narrows the result further. bbox is [minLng,minLat,maxLng,maxLat], zoom 0–20. Dense cells are SQL clusters; singleton cells become points from zoom 10. noLocation counts every match without visible coordinates, regardless of bbox. entries and withoutLocation are bounded cursor pages.
|
|
529
535
|
*/
|
|
530
536
|
searchMineGeo(options) {
|
|
531
537
|
return (options.client ?? this.client).post({
|
|
@@ -539,9 +545,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
539
545
|
});
|
|
540
546
|
}
|
|
541
547
|
/**
|
|
542
|
-
* Search
|
|
548
|
+
* Search workspace
|
|
543
549
|
*
|
|
544
|
-
* Search a workspace list or a company query using public, workspace-field and list predicates. Optional ownRecords includes workspace own records; columns selects public column values. Results use keyset paging with empty values last; limit 0 counts for free.
|
|
550
|
+
* Search a workspace list or a company query using public, workspace-field and list predicates. Optional ownRecords includes workspace own records; columns selects public column values. Results use keyset paging with empty values last; limit 0 counts for free.
|
|
545
551
|
*/
|
|
546
552
|
searchMine(options) {
|
|
547
553
|
return (options.client ?? this.client).post({
|
|
@@ -555,9 +561,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
555
561
|
});
|
|
556
562
|
}
|
|
557
563
|
/**
|
|
558
|
-
* Get
|
|
564
|
+
* Get entity data
|
|
559
565
|
*
|
|
560
|
-
* Resolve a register ID, alias or workspace own-record ID and return its workspace field values, with the first 25 memberships and activity items. resolveSourceValues defaults to true; false returns saved custom and Firmenakte fields without projecting current register values. Continuation cursors use the corresponding collection paths.
|
|
566
|
+
* Resolve a register ID, alias or workspace own-record ID and return its workspace field values, with the first 25 memberships and activity items. resolveSourceValues defaults to true; false returns saved custom and Firmenakte fields without projecting current register values. Continuation cursors use the corresponding collection paths.
|
|
561
567
|
*/
|
|
562
568
|
getMyEntity(options) {
|
|
563
569
|
return (options.client ?? this.client).get({
|
|
@@ -567,9 +573,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
567
573
|
});
|
|
568
574
|
}
|
|
569
575
|
/**
|
|
570
|
-
* Update
|
|
576
|
+
* Update entity data
|
|
571
577
|
*
|
|
572
|
-
* Set an entity's workspace-wide typed field values, even without list membership. Null clears a value. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
578
|
+
* Set an entity's workspace-wide typed field values, even without list membership. Null clears a value. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
573
579
|
*/
|
|
574
580
|
updateMyEntity(options) {
|
|
575
581
|
return (options.client ?? this.client).patch({
|
|
@@ -583,9 +589,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
583
589
|
});
|
|
584
590
|
}
|
|
585
591
|
/**
|
|
586
|
-
* List
|
|
592
|
+
* List entity lists
|
|
587
593
|
*
|
|
588
|
-
* Return a cursor page of an entity's workspace list memberships, including excluded lists. Memberships include exclusion state and the membership origin.
|
|
594
|
+
* Return a cursor page of an entity's workspace list memberships, including excluded lists. Memberships include exclusion state and the membership origin.
|
|
589
595
|
*/
|
|
590
596
|
listEntityLists(options) {
|
|
591
597
|
return (options.client ?? this.client).get({
|
|
@@ -595,9 +601,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
595
601
|
});
|
|
596
602
|
}
|
|
597
603
|
/**
|
|
598
|
-
* List
|
|
604
|
+
* List entity activity
|
|
599
605
|
*
|
|
600
|
-
* Return a newest-first cursor page of an entity's workspace activity with readable summaries.
|
|
606
|
+
* Return a newest-first cursor page of an entity's workspace activity with readable summaries.
|
|
601
607
|
*/
|
|
602
608
|
listEntityActivity(options) {
|
|
603
609
|
return (options.client ?? this.client).get({
|
|
@@ -607,9 +613,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
607
613
|
});
|
|
608
614
|
}
|
|
609
615
|
/**
|
|
610
|
-
* List
|
|
616
|
+
* List own records
|
|
611
617
|
*
|
|
612
|
-
* Return a cursor page of workspace own records ordered by name. Ambiguous records retain their candidate IDs.
|
|
618
|
+
* Return a cursor page of workspace own records ordered by name. Ambiguous records retain their candidate IDs.
|
|
613
619
|
*/
|
|
614
620
|
listOwnRecords(options) {
|
|
615
621
|
return (options?.client ?? this.client).get({
|
|
@@ -619,9 +625,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
619
625
|
});
|
|
620
626
|
}
|
|
621
627
|
/**
|
|
622
|
-
* Create
|
|
628
|
+
* Create own record
|
|
623
629
|
*
|
|
624
|
-
* Create a workspace own record with its supplied details, or reuse one with the same normalized name. Ambiguous register candidates are retained.
|
|
630
|
+
* Create a workspace own record with its supplied details, or reuse one with the same normalized name. Ambiguous register candidates are retained.
|
|
625
631
|
*/
|
|
626
632
|
createOwnRecord(options) {
|
|
627
633
|
return (options.client ?? this.client).post({
|
|
@@ -635,9 +641,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
635
641
|
});
|
|
636
642
|
}
|
|
637
643
|
/**
|
|
638
|
-
* Delete
|
|
644
|
+
* Delete own record
|
|
639
645
|
*
|
|
640
|
-
* Delete a workspace own record and remove it from every list. Register records are not deleted.
|
|
646
|
+
* Delete a workspace own record and remove it from every list. Register records are not deleted.
|
|
641
647
|
*/
|
|
642
648
|
deleteOwnRecord(options) {
|
|
643
649
|
return (options.client ?? this.client).delete({
|
|
@@ -647,9 +653,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
647
653
|
});
|
|
648
654
|
}
|
|
649
655
|
/**
|
|
650
|
-
* Get
|
|
656
|
+
* Get own record
|
|
651
657
|
*
|
|
652
|
-
* Return an own record in the caller's workspace. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
658
|
+
* Return an own record in the caller's workspace. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
653
659
|
*/
|
|
654
660
|
getOwnRecord(options) {
|
|
655
661
|
return (options.client ?? this.client).get({
|
|
@@ -659,9 +665,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
659
665
|
});
|
|
660
666
|
}
|
|
661
667
|
/**
|
|
662
|
-
* Update
|
|
668
|
+
* Update own record
|
|
663
669
|
*
|
|
664
|
-
* Update a workspace own record's name, note, workspace field values and Firmenakte field values (sourceValues). Omitted values keep theirs; changes are visible on every list. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
670
|
+
* Update a workspace own record's name, note, workspace field values and Firmenakte field values (sourceValues). Omitted values keep theirs; changes are visible on every list. resolveSourceValues defaults to true; false returns saved source-field values without projecting current register values.
|
|
665
671
|
*/
|
|
666
672
|
updateOwnRecord(options) {
|
|
667
673
|
return (options.client ?? this.client).patch({
|
|
@@ -677,7 +683,7 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
677
683
|
/**
|
|
678
684
|
* List exports
|
|
679
685
|
*
|
|
680
|
-
*
|
|
686
|
+
* This workspace's export jobs, newest first.
|
|
681
687
|
*/
|
|
682
688
|
listExports(options) {
|
|
683
689
|
return (options?.client ?? this.client).get({
|
|
@@ -687,9 +693,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
687
693
|
});
|
|
688
694
|
}
|
|
689
695
|
/**
|
|
690
|
-
*
|
|
696
|
+
* Create export
|
|
691
697
|
*
|
|
692
|
-
* Freeze a list or query selection now and write its values in the background. All entries, including workspace own records, are exported in bounded pages without a row cap. Defaults to the list's columns or name, city, industry and registration date. people exports one row per person of a query with subject person and no listId.
|
|
698
|
+
* Freeze a list or query selection now and write its values in the background. All entries, including workspace own records, are exported in bounded pages without a row cap. Defaults to the list's columns or name, city, industry and registration date. people exports one row per person of a query with subject person and no listId. Costs prices.exportRows per begun 1,000 frozen rows, at least prices.exportMinimum (both in GET /api/v2/me/credits); failed jobs are refunded. Poll Location for rowsDone of rows; completed files expire after 24 hours.
|
|
693
699
|
*/
|
|
694
700
|
createExport(options) {
|
|
695
701
|
return (options.client ?? this.client).post({
|
|
@@ -703,9 +709,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
703
709
|
});
|
|
704
710
|
}
|
|
705
711
|
/**
|
|
706
|
-
* Get
|
|
712
|
+
* Get export
|
|
707
713
|
*
|
|
708
|
-
*
|
|
714
|
+
* One export job with its status and progress (rowsDone of rows).
|
|
709
715
|
*/
|
|
710
716
|
getExport(options) {
|
|
711
717
|
return (options.client ?? this.client).get({
|
|
@@ -715,9 +721,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
715
721
|
});
|
|
716
722
|
}
|
|
717
723
|
/**
|
|
718
|
-
* Download
|
|
724
|
+
* Download export file
|
|
719
725
|
*
|
|
720
|
-
* Stream the immutable CSV or XLSX
|
|
726
|
+
* Stream the immutable CSV or XLSX within 24 hours of completion. Errors remain problem JSON.
|
|
721
727
|
*/
|
|
722
728
|
getExportFile(options) {
|
|
723
729
|
return (options.client ?? this.client).get({
|
|
@@ -727,9 +733,173 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
727
733
|
});
|
|
728
734
|
}
|
|
729
735
|
/**
|
|
730
|
-
*
|
|
736
|
+
* Check an EU or XI VAT number
|
|
737
|
+
*
|
|
738
|
+
* Checks an EU or Northern Ireland (XI) VAT number (UID) through VIES. Returns verification with status valid or invalid, source and original verifiedAt; a definitive result is reused for five minutes and charged like a fresh check. Company matching is independent: no match does not mean invalid. Technical failures return 503, never invalid or a historical result as current. Use a new Idempotency-Key for each new check.
|
|
739
|
+
*
|
|
740
|
+
* Deprecated: use HTTP operation `checkPublicUid`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#checkUid). No removal date is scheduled.
|
|
741
|
+
*
|
|
742
|
+
* @deprecated
|
|
743
|
+
*/
|
|
744
|
+
checkUid(options) {
|
|
745
|
+
return (options.client ?? this.client).post({
|
|
746
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
747
|
+
url: '/api/v2/uid-checks',
|
|
748
|
+
...options,
|
|
749
|
+
headers: {
|
|
750
|
+
'Content-Type': 'application/json',
|
|
751
|
+
...options.headers
|
|
752
|
+
}
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
* Check VAT number
|
|
757
|
+
*
|
|
758
|
+
* Checks an EU or Northern Ireland (XI) VAT number (UID) through VIES. Returns verification with status valid or invalid, source and original verifiedAt; a definitive result is reused for five minutes and charged like a fresh check. Company matching is independent: no match does not mean invalid. Technical failures return 503, never invalid or a historical result as current. Use a new Idempotency-Key for each new check.
|
|
759
|
+
*/
|
|
760
|
+
checkPublicUid(options) {
|
|
761
|
+
return (options.client ?? this.client).post({
|
|
762
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
763
|
+
url: '/api/v2/public/sources/vies/checks',
|
|
764
|
+
...options,
|
|
765
|
+
headers: {
|
|
766
|
+
'Content-Type': 'application/json',
|
|
767
|
+
...options.headers
|
|
768
|
+
}
|
|
769
|
+
});
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* List source records
|
|
773
|
+
*
|
|
774
|
+
* Read bounded source-record metadata. Content versions have stable IDs; raw bodies, hashes and source subject keys are not exposed. Idempotency-Key is not supported (422).
|
|
775
|
+
*/
|
|
776
|
+
listSourceRecords(options) {
|
|
777
|
+
return (options.client ?? this.client).get({
|
|
778
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
779
|
+
url: '/api/v2/public/sources/{source}/records',
|
|
780
|
+
...options
|
|
781
|
+
});
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* List source record changes
|
|
785
|
+
*
|
|
786
|
+
* Read durable publication and availability events. Identical content refetches add no version event. Expiry and erasure do not mean the source withdrew a claim. Save nextCursor even on an empty page; it remains usable for this source and dataset. Idempotency-Key is not supported (422).
|
|
787
|
+
*/
|
|
788
|
+
listSourceRecordChanges(options) {
|
|
789
|
+
return (options.client ?? this.client).get({
|
|
790
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
791
|
+
url: '/api/v2/public/sources/{source}/records/changes',
|
|
792
|
+
...options
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
/**
|
|
796
|
+
* Get source record
|
|
797
|
+
*
|
|
798
|
+
* Read one visible source content version by ID. fetchedAt is receipt time, never a substituted source-effective date. Idempotency-Key is not supported (422).
|
|
799
|
+
*/
|
|
800
|
+
getSourceRecord(options) {
|
|
801
|
+
return (options.client ?? this.client).get({
|
|
802
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
803
|
+
url: '/api/v2/public/sources/{source}/records/{id}',
|
|
804
|
+
...options
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* List record observations
|
|
809
|
+
*
|
|
810
|
+
* Read current, publishable typed claims referencing this record. Observations can move to a newer content version; this is not a historical transcript. Source capabilities list the supported claim kinds. Idempotency-Key is not supported (422).
|
|
811
|
+
*/
|
|
812
|
+
listRecordObservations(options) {
|
|
813
|
+
return (options.client ?? this.client).get({
|
|
814
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
815
|
+
url: '/api/v2/public/sources/{source}/records/{id}/observations',
|
|
816
|
+
...options
|
|
817
|
+
});
|
|
818
|
+
}
|
|
819
|
+
/**
|
|
820
|
+
* Download a Firmenbuch document
|
|
821
|
+
*
|
|
822
|
+
* The Firmenbuch document as PDF or XML. A failed read is free; errors remain problem JSON.
|
|
823
|
+
*
|
|
824
|
+
* Deprecated: use HTTP operation `getPublicDocumentContent`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getDocumentContent). No removal date is scheduled.
|
|
825
|
+
*
|
|
826
|
+
* @deprecated
|
|
827
|
+
*/
|
|
828
|
+
getDocumentContent(options) {
|
|
829
|
+
return (options.client ?? this.client).get({
|
|
830
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
831
|
+
url: '/api/v2/documents/{key}/content',
|
|
832
|
+
...options
|
|
833
|
+
});
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* Download Firmenbuch document
|
|
837
|
+
*
|
|
838
|
+
* The Firmenbuch document as PDF or XML. A failed read is free; errors remain problem JSON.
|
|
839
|
+
*/
|
|
840
|
+
getPublicDocumentContent(options) {
|
|
841
|
+
return (options.client ?? this.client).get({
|
|
842
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
843
|
+
url: '/api/v2/public/sources/firmenbuch/documents/{key}/content',
|
|
844
|
+
...options
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Download a GISA extract
|
|
849
|
+
*
|
|
850
|
+
* The GISA extract as a signed PDF, in German or English. A failed read is free; errors remain problem JSON.
|
|
851
|
+
*
|
|
852
|
+
* Deprecated: use HTTP operation `getPublicLicenseExtract`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getLicenseExtract). No removal date is scheduled.
|
|
853
|
+
*
|
|
854
|
+
* @deprecated
|
|
855
|
+
*/
|
|
856
|
+
getLicenseExtract(options) {
|
|
857
|
+
return (options.client ?? this.client).get({
|
|
858
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
859
|
+
url: '/api/v2/licenses/{gisaNumber}/extract',
|
|
860
|
+
...options
|
|
861
|
+
});
|
|
862
|
+
}
|
|
863
|
+
/**
|
|
864
|
+
* Download GISA extract
|
|
865
|
+
*
|
|
866
|
+
* The GISA extract as a signed PDF, in German or English. A failed read is free; errors remain problem JSON.
|
|
867
|
+
*/
|
|
868
|
+
getPublicLicenseExtract(options) {
|
|
869
|
+
return (options.client ?? this.client).get({
|
|
870
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
871
|
+
url: '/api/v2/public/sources/gisa/extracts/{gisaNumber}',
|
|
872
|
+
...options
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* List sources
|
|
877
|
+
*
|
|
878
|
+
* Read source definitions, required attribution, retention and the public records, observation kinds, checks and download capabilities supported by each source.
|
|
879
|
+
*/
|
|
880
|
+
listPublicSources(options) {
|
|
881
|
+
return (options?.client ?? this.client).get({
|
|
882
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
883
|
+
url: '/api/v2/public/sources/catalogue',
|
|
884
|
+
...options
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* Get source
|
|
889
|
+
*
|
|
890
|
+
* Read one source's public metadata and capabilities. Attribution and disclaimer retain the exact source wording. A capability does not expose raw stored payloads.
|
|
891
|
+
*/
|
|
892
|
+
getPublicSource(options) {
|
|
893
|
+
return (options.client ?? this.client).get({
|
|
894
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
895
|
+
url: '/api/v2/public/sources/{source}',
|
|
896
|
+
...options
|
|
897
|
+
});
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Set list notifications
|
|
731
901
|
*
|
|
732
|
-
* Save both channel settings atomically using reviewed rule IDs and revisions, or explicit nulls for absent channels. A concurrent change returns 409. Re-enabling starts at the current event horizon.
|
|
902
|
+
* Save both channel settings atomically using reviewed rule IDs and revisions, or explicit nulls for absent channels. A concurrent change returns 409. Re-enabling starts at the current event horizon.
|
|
733
903
|
*/
|
|
734
904
|
setNotificationRules(options) {
|
|
735
905
|
return (options.client ?? this.client).put({
|
|
@@ -745,7 +915,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
745
915
|
/**
|
|
746
916
|
* List my notifications
|
|
747
917
|
*
|
|
748
|
-
* Personal notifications and read status, scoped to the dashboard session and workspace. Summarised per list run; skipped-credit warnings need no action. Cursor-paged with unread and all counters; suppressed subjects stay hidden. Free.
|
|
918
|
+
* Personal notifications and read status, scoped to the dashboard session and workspace. Summarised per list run; skipped-credit warnings need no action. Cursor-paged with unread and all counters; suppressed subjects stay hidden. Free.
|
|
919
|
+
*
|
|
920
|
+
* Deprecated: use HTTP operation `listInternalNotifications`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listNotifications). No removal date is scheduled.
|
|
749
921
|
*
|
|
750
922
|
* @deprecated
|
|
751
923
|
*/
|
|
@@ -759,7 +931,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
759
931
|
/**
|
|
760
932
|
* Mark my notifications read
|
|
761
933
|
*
|
|
762
|
-
* Personal notifications and read status, scoped to the dashboard session and workspace. Summarised per list run; skipped-credit warnings need no action. Cursor-paged with unread and all counters; suppressed subjects stay hidden. Free.
|
|
934
|
+
* Personal notifications and read status, scoped to the dashboard session and workspace. Summarised per list run; skipped-credit warnings need no action. Cursor-paged with unread and all counters; suppressed subjects stay hidden. Free.
|
|
935
|
+
*
|
|
936
|
+
* Deprecated: use HTTP operation `markInternalNotificationsRead`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#markNotificationsRead). No removal date is scheduled.
|
|
763
937
|
*
|
|
764
938
|
* @deprecated
|
|
765
939
|
*/
|
|
@@ -777,7 +951,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
777
951
|
/**
|
|
778
952
|
* Get my daily digest settings
|
|
779
953
|
*
|
|
780
|
-
* Dashboard-session digest settings: enabled, at (HH:mm), timezone and to (the user's own address). Defaults: enabled, 07:00 Europe/Vienna. next contains the distinct-subject count and cursor-paged list totals. Disabling discards pending entries. A sent email costs one workspace credit.
|
|
954
|
+
* Dashboard-session digest settings: enabled, at (HH:mm), timezone and to (the user's own address). Defaults: enabled, 07:00 Europe/Vienna. next contains the distinct-subject count and cursor-paged list totals. Disabling discards pending entries. A sent email costs one workspace credit.
|
|
955
|
+
*
|
|
956
|
+
* Deprecated: use HTTP operation `getInternalDigestSettings`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getDigestSettings). No removal date is scheduled.
|
|
781
957
|
*
|
|
782
958
|
* @deprecated
|
|
783
959
|
*/
|
|
@@ -791,7 +967,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
791
967
|
/**
|
|
792
968
|
* Update my daily digest settings
|
|
793
969
|
*
|
|
794
|
-
* Dashboard-session digest settings: enabled, at (HH:mm), timezone and to (the user's own address). Defaults: enabled, 07:00 Europe/Vienna. next contains the distinct-subject count and cursor-paged list totals. Disabling discards pending entries. A sent email costs one workspace credit.
|
|
970
|
+
* Dashboard-session digest settings: enabled, at (HH:mm), timezone and to (the user's own address). Defaults: enabled, 07:00 Europe/Vienna. next contains the distinct-subject count and cursor-paged list totals. Disabling discards pending entries. A sent email costs one workspace credit.
|
|
971
|
+
*
|
|
972
|
+
* Deprecated: use HTTP operation `updateInternalDigestSettings`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#updateDigestSettings). No removal date is scheduled.
|
|
795
973
|
*
|
|
796
974
|
* @deprecated
|
|
797
975
|
*/
|
|
@@ -807,9 +985,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
807
985
|
});
|
|
808
986
|
}
|
|
809
987
|
/**
|
|
810
|
-
* Get
|
|
988
|
+
* Get account
|
|
811
989
|
*
|
|
812
|
-
*
|
|
990
|
+
* The workspace, plan and role this request acts for, and the API key it used, if any.
|
|
813
991
|
*/
|
|
814
992
|
getMe(options) {
|
|
815
993
|
return (options?.client ?? this.client).get({
|
|
@@ -819,9 +997,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
819
997
|
});
|
|
820
998
|
}
|
|
821
999
|
/**
|
|
822
|
-
* Get
|
|
1000
|
+
* Get credits
|
|
823
1001
|
*
|
|
824
|
-
*
|
|
1002
|
+
* This week's allowance, the credits used and topped up, the balance, when it resets and the current prices.
|
|
825
1003
|
*/
|
|
826
1004
|
getCredits(options) {
|
|
827
1005
|
return (options?.client ?? this.client).get({
|
|
@@ -833,7 +1011,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
833
1011
|
/**
|
|
834
1012
|
* List my API keys
|
|
835
1013
|
*
|
|
836
|
-
*
|
|
1014
|
+
* Manage the workspace's API keys. Needs a dashboard session; an API key receives session_required.
|
|
1015
|
+
*
|
|
1016
|
+
* Deprecated: use HTTP operation `listInternalApiKeys`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listApiKeys). No removal date is scheduled.
|
|
837
1017
|
*
|
|
838
1018
|
* @deprecated
|
|
839
1019
|
*/
|
|
@@ -847,7 +1027,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
847
1027
|
/**
|
|
848
1028
|
* Create an API key
|
|
849
1029
|
*
|
|
850
|
-
*
|
|
1030
|
+
* Manage the workspace's API keys. Needs a dashboard session; an API key receives session_required.
|
|
1031
|
+
*
|
|
1032
|
+
* Deprecated: use HTTP operation `createInternalApiKey`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#createApiKey). No removal date is scheduled.
|
|
851
1033
|
*
|
|
852
1034
|
* @deprecated
|
|
853
1035
|
*/
|
|
@@ -865,7 +1047,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
865
1047
|
/**
|
|
866
1048
|
* Delete an API key
|
|
867
1049
|
*
|
|
868
|
-
*
|
|
1050
|
+
* Manage the workspace's API keys. Needs a dashboard session; an API key receives session_required.
|
|
1051
|
+
*
|
|
1052
|
+
* Deprecated: use HTTP operation `deleteInternalApiKey`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#deleteApiKey). No removal date is scheduled.
|
|
869
1053
|
*
|
|
870
1054
|
* @deprecated
|
|
871
1055
|
*/
|
|
@@ -877,42 +1061,66 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
877
1061
|
});
|
|
878
1062
|
}
|
|
879
1063
|
/**
|
|
880
|
-
*
|
|
1064
|
+
* List company timeline
|
|
881
1065
|
*
|
|
882
|
-
*
|
|
1066
|
+
* Read a company by Firmenakte-ID or register alias. Aliases and merged identities resolve without redirects.
|
|
883
1067
|
*/
|
|
884
|
-
|
|
885
|
-
return (options.client ?? this.client).
|
|
1068
|
+
listPublicCompanyTimeline(options) {
|
|
1069
|
+
return (options.client ?? this.client).get({
|
|
886
1070
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
887
|
-
url: '/api/v2/
|
|
888
|
-
...options
|
|
889
|
-
headers: {
|
|
890
|
-
'Content-Type': 'application/json',
|
|
891
|
-
...options.headers
|
|
892
|
-
}
|
|
1071
|
+
url: '/api/v2/public/entities/companies/{id}/timeline',
|
|
1072
|
+
...options
|
|
893
1073
|
});
|
|
894
1074
|
}
|
|
895
1075
|
/**
|
|
896
|
-
* List
|
|
1076
|
+
* List person timeline
|
|
897
1077
|
*
|
|
898
|
-
* Read
|
|
1078
|
+
* Read a company or person by Firmenakte-ID or register alias. A person answer carries no birth date, birth year or age.
|
|
899
1079
|
*/
|
|
900
|
-
|
|
1080
|
+
listPublicPersonTimeline(options) {
|
|
1081
|
+
return (options.client ?? this.client).get({
|
|
1082
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1083
|
+
url: '/api/v2/public/entities/people/{id}/timeline',
|
|
1084
|
+
...options
|
|
1085
|
+
});
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Search entities
|
|
1089
|
+
*
|
|
1090
|
+
* Find companies and people, and the references they point to, whose name or code contains q: places (geography) and the reference vocabularies legalForm, court, industry, trade, functionType and keyFigure. Vocabularies also match by code, such as GmbH, 62.10 or GF; a postcode finds its place. types narrows the search to the listed types; addresses are searched only when types names address, by street, house number, postcode and town. Results rank by where q sits in the name, then name length, then companies, people, places, vocabularies and addresses, then name and ID.
|
|
1091
|
+
*
|
|
1092
|
+
* Deprecated: use HTTP operation `searchPublicEntities`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#search). No removal date is scheduled.
|
|
1093
|
+
*
|
|
1094
|
+
* @deprecated
|
|
1095
|
+
*/
|
|
1096
|
+
search(options) {
|
|
901
1097
|
return (options?.client ?? this.client).get({
|
|
902
1098
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
903
|
-
url: '/api/v2/
|
|
1099
|
+
url: '/api/v2/search',
|
|
904
1100
|
...options
|
|
905
1101
|
});
|
|
906
1102
|
}
|
|
907
1103
|
/**
|
|
908
|
-
* Search
|
|
1104
|
+
* Search entities
|
|
909
1105
|
*
|
|
910
|
-
*
|
|
1106
|
+
* Find companies and people, and the references they point to, whose name or code contains q: places (geography) and the reference vocabularies legalForm, court, industry, trade, functionType and keyFigure. Vocabularies also match by code, such as GmbH, 62.10 or GF; a postcode finds its place. types narrows the search to the listed types; addresses are searched only when types names address, by street, house number, postcode and town. Results rank by where q sits in the name, then name length, then companies, people, places, vocabularies and addresses, then name and ID.
|
|
911
1107
|
*/
|
|
912
|
-
|
|
1108
|
+
searchPublicEntities(options) {
|
|
1109
|
+
return (options?.client ?? this.client).get({
|
|
1110
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1111
|
+
url: '/api/v2/public/entities/search',
|
|
1112
|
+
...options
|
|
1113
|
+
});
|
|
1114
|
+
}
|
|
1115
|
+
/**
|
|
1116
|
+
* Search entities (POST)
|
|
1117
|
+
*
|
|
1118
|
+
* Find companies and people, and the references they point to, whose name or code contains q: places (geography) and the reference vocabularies legalForm, court, industry, trade, functionType and keyFigure. Vocabularies also match by code, such as GmbH, 62.10 or GF; a postcode finds its place. types narrows the search to the listed types; addresses are searched only when types names address, by street, house number, postcode and town. Results rank by where q sits in the name, then name length, then companies, people, places, vocabularies and addresses, then name and ID.
|
|
1119
|
+
*/
|
|
1120
|
+
searchPublicEntitiesQuery(options) {
|
|
913
1121
|
return (options.client ?? this.client).post({
|
|
914
1122
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
915
|
-
url: '/api/v2/
|
|
1123
|
+
url: '/api/v2/public/entities/search',
|
|
916
1124
|
...options,
|
|
917
1125
|
headers: {
|
|
918
1126
|
'Content-Type': 'application/json',
|
|
@@ -921,326 +1129,382 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
921
1129
|
});
|
|
922
1130
|
}
|
|
923
1131
|
/**
|
|
924
|
-
*
|
|
1132
|
+
* list Legal Forms
|
|
1133
|
+
*
|
|
1134
|
+
* Austrian legal forms such as GmbH, AG and KG, as refs legal-form:<code>. q searches their codes and German labels.
|
|
925
1135
|
*
|
|
926
|
-
*
|
|
1136
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listLegalForms). It stops answering on 2027-06-30.
|
|
1137
|
+
*
|
|
1138
|
+
* @deprecated
|
|
927
1139
|
*/
|
|
928
|
-
|
|
1140
|
+
listLegalForms(options) {
|
|
929
1141
|
return (options?.client ?? this.client).get({
|
|
930
1142
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
931
|
-
url: '/api/v2/
|
|
1143
|
+
url: '/api/v2/public/entities/legal-forms',
|
|
932
1144
|
...options
|
|
933
1145
|
});
|
|
934
1146
|
}
|
|
935
1147
|
/**
|
|
936
|
-
*
|
|
1148
|
+
* get Legal Form
|
|
1149
|
+
*
|
|
1150
|
+
* One legal form by its code (gmbh), its ref ID (legal-form:gmbh) or its old Firmenakte-ID, with its German label.
|
|
937
1151
|
*
|
|
938
|
-
*
|
|
1152
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getLegalForm). It stops answering on 2027-06-30.
|
|
1153
|
+
*
|
|
1154
|
+
* @deprecated
|
|
939
1155
|
*/
|
|
940
|
-
|
|
1156
|
+
getLegalForm(options) {
|
|
941
1157
|
return (options.client ?? this.client).get({
|
|
942
1158
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
943
|
-
url: '/api/v2/
|
|
1159
|
+
url: '/api/v2/public/entities/legal-forms/{id}',
|
|
944
1160
|
...options
|
|
945
1161
|
});
|
|
946
1162
|
}
|
|
947
1163
|
/**
|
|
948
|
-
*
|
|
1164
|
+
* list Courts
|
|
1165
|
+
*
|
|
1166
|
+
* The register courts that keep the Firmenbuch, as refs court:<code>. q searches their codes and German labels.
|
|
949
1167
|
*
|
|
950
|
-
*
|
|
1168
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCourts). It stops answering on 2027-06-30.
|
|
1169
|
+
*
|
|
1170
|
+
* @deprecated
|
|
951
1171
|
*/
|
|
952
|
-
|
|
953
|
-
return (options
|
|
1172
|
+
listCourts(options) {
|
|
1173
|
+
return (options?.client ?? this.client).get({
|
|
954
1174
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
955
|
-
url: '/api/v2/
|
|
1175
|
+
url: '/api/v2/public/entities/courts',
|
|
956
1176
|
...options
|
|
957
1177
|
});
|
|
958
1178
|
}
|
|
959
1179
|
/**
|
|
960
|
-
*
|
|
1180
|
+
* get Court
|
|
1181
|
+
*
|
|
1182
|
+
* One court by its code (007), its ref ID (court:007) or its old Firmenakte-ID, with its German label.
|
|
961
1183
|
*
|
|
962
|
-
*
|
|
1184
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getCourt). It stops answering on 2027-06-30.
|
|
1185
|
+
*
|
|
1186
|
+
* @deprecated
|
|
963
1187
|
*/
|
|
964
|
-
|
|
1188
|
+
getCourt(options) {
|
|
965
1189
|
return (options.client ?? this.client).get({
|
|
966
1190
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
967
|
-
url: '/api/v2/
|
|
1191
|
+
url: '/api/v2/public/entities/courts/{id}',
|
|
968
1192
|
...options
|
|
969
1193
|
});
|
|
970
1194
|
}
|
|
971
1195
|
/**
|
|
972
|
-
*
|
|
1196
|
+
* list Industries
|
|
1197
|
+
*
|
|
1198
|
+
* ÖNACE 2025 classes, as refs oenace-2025:<code>, with their hierarchy. q searches their codes and German labels.
|
|
973
1199
|
*
|
|
974
|
-
*
|
|
1200
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listIndustries). It stops answering on 2027-06-30.
|
|
1201
|
+
*
|
|
1202
|
+
* @deprecated
|
|
975
1203
|
*/
|
|
976
|
-
|
|
977
|
-
return (options
|
|
1204
|
+
listIndustries(options) {
|
|
1205
|
+
return (options?.client ?? this.client).get({
|
|
978
1206
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
979
|
-
url: '/api/v2/
|
|
1207
|
+
url: '/api/v2/public/entities/industries',
|
|
980
1208
|
...options
|
|
981
1209
|
});
|
|
982
1210
|
}
|
|
983
1211
|
/**
|
|
984
|
-
*
|
|
1212
|
+
* get Industry
|
|
1213
|
+
*
|
|
1214
|
+
* One ÖNACE class by its code (62.01), its ref ID (oenace-2025:62.01), its EDV code or its old Firmenakte-ID, with its German label.
|
|
985
1215
|
*
|
|
986
|
-
*
|
|
1216
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getIndustry). It stops answering on 2027-06-30.
|
|
1217
|
+
*
|
|
1218
|
+
* @deprecated
|
|
987
1219
|
*/
|
|
988
|
-
|
|
1220
|
+
getIndustry(options) {
|
|
989
1221
|
return (options.client ?? this.client).get({
|
|
990
1222
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
991
|
-
url: '/api/v2/
|
|
1223
|
+
url: '/api/v2/public/entities/industries/{id}',
|
|
992
1224
|
...options
|
|
993
1225
|
});
|
|
994
1226
|
}
|
|
995
1227
|
/**
|
|
996
|
-
*
|
|
1228
|
+
* list Trades
|
|
1229
|
+
*
|
|
1230
|
+
* GISA trades (Gewerbe) that licences are issued for, as refs trade:<key>. q searches their codes and German labels.
|
|
997
1231
|
*
|
|
998
|
-
*
|
|
1232
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listTrades). It stops answering on 2027-06-30.
|
|
1233
|
+
*
|
|
1234
|
+
* @deprecated
|
|
999
1235
|
*/
|
|
1000
|
-
|
|
1001
|
-
return (options
|
|
1236
|
+
listTrades(options) {
|
|
1237
|
+
return (options?.client ?? this.client).get({
|
|
1002
1238
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1003
|
-
url: '/api/v2/
|
|
1239
|
+
url: '/api/v2/public/entities/trades',
|
|
1004
1240
|
...options
|
|
1005
1241
|
});
|
|
1006
1242
|
}
|
|
1007
1243
|
/**
|
|
1008
|
-
*
|
|
1244
|
+
* get Trade
|
|
1245
|
+
*
|
|
1246
|
+
* One trade by its GISA key, its ref ID (trade:<key>) or its old Firmenakte-ID, with its German label.
|
|
1009
1247
|
*
|
|
1010
|
-
*
|
|
1248
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getTrade). It stops answering on 2027-06-30.
|
|
1249
|
+
*
|
|
1250
|
+
* @deprecated
|
|
1011
1251
|
*/
|
|
1012
|
-
|
|
1252
|
+
getTrade(options) {
|
|
1013
1253
|
return (options.client ?? this.client).get({
|
|
1014
1254
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1015
|
-
url: '/api/v2/entities/{id}',
|
|
1255
|
+
url: '/api/v2/public/entities/trades/{id}',
|
|
1016
1256
|
...options
|
|
1017
1257
|
});
|
|
1018
1258
|
}
|
|
1019
1259
|
/**
|
|
1020
|
-
*
|
|
1260
|
+
* list Function Types
|
|
1261
|
+
*
|
|
1262
|
+
* The functions people hold in companies, such as managing director, as refs function:<code>. q searches their codes and German labels.
|
|
1021
1263
|
*
|
|
1022
|
-
*
|
|
1264
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listFunctionTypes). It stops answering on 2027-06-30.
|
|
1265
|
+
*
|
|
1266
|
+
* @deprecated
|
|
1023
1267
|
*/
|
|
1024
|
-
|
|
1025
|
-
return (options
|
|
1268
|
+
listFunctionTypes(options) {
|
|
1269
|
+
return (options?.client ?? this.client).get({
|
|
1026
1270
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1027
|
-
url: '/api/v2/
|
|
1028
|
-
...options
|
|
1029
|
-
headers: {
|
|
1030
|
-
'Content-Type': 'application/json',
|
|
1031
|
-
...options.headers
|
|
1032
|
-
}
|
|
1271
|
+
url: '/api/v2/public/entities/function-types',
|
|
1272
|
+
...options
|
|
1033
1273
|
});
|
|
1034
1274
|
}
|
|
1035
1275
|
/**
|
|
1036
|
-
*
|
|
1276
|
+
* get Function Type
|
|
1277
|
+
*
|
|
1278
|
+
* One function type by its code (gf), its ref ID (function:gf) or its old Firmenakte-ID, with its German label.
|
|
1037
1279
|
*
|
|
1038
|
-
*
|
|
1280
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getFunctionType). It stops answering on 2027-06-30.
|
|
1281
|
+
*
|
|
1282
|
+
* @deprecated
|
|
1039
1283
|
*/
|
|
1040
|
-
|
|
1041
|
-
return (options
|
|
1284
|
+
getFunctionType(options) {
|
|
1285
|
+
return (options.client ?? this.client).get({
|
|
1042
1286
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1043
|
-
url: '/api/v2/
|
|
1287
|
+
url: '/api/v2/public/entities/function-types/{id}',
|
|
1044
1288
|
...options
|
|
1045
1289
|
});
|
|
1046
1290
|
}
|
|
1047
1291
|
/**
|
|
1048
|
-
*
|
|
1292
|
+
* list Key Figures
|
|
1293
|
+
*
|
|
1294
|
+
* The financial key figures read from annual accounts, as refs key-figure:<code>. q searches their codes and German labels.
|
|
1049
1295
|
*
|
|
1050
|
-
*
|
|
1296
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listKeyFigures). It stops answering on 2027-06-30.
|
|
1297
|
+
*
|
|
1298
|
+
* @deprecated
|
|
1051
1299
|
*/
|
|
1052
|
-
|
|
1053
|
-
return (options
|
|
1300
|
+
listKeyFigures(options) {
|
|
1301
|
+
return (options?.client ?? this.client).get({
|
|
1054
1302
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1055
|
-
url: '/api/v2/
|
|
1056
|
-
...options
|
|
1057
|
-
headers: {
|
|
1058
|
-
'Content-Type': 'application/json',
|
|
1059
|
-
...options.headers
|
|
1060
|
-
}
|
|
1303
|
+
url: '/api/v2/public/entities/key-figures',
|
|
1304
|
+
...options
|
|
1061
1305
|
});
|
|
1062
1306
|
}
|
|
1063
1307
|
/**
|
|
1064
|
-
*
|
|
1308
|
+
* get Key Figure
|
|
1309
|
+
*
|
|
1310
|
+
* One key figure by its code (fixed-assets), its ref ID (key-figure:fixed-assets) or its old Firmenakte-ID, with its German label.
|
|
1065
1311
|
*
|
|
1066
|
-
*
|
|
1312
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getKeyFigure). It stops answering on 2027-06-30.
|
|
1313
|
+
*
|
|
1314
|
+
* @deprecated
|
|
1067
1315
|
*/
|
|
1068
|
-
|
|
1069
|
-
return (options.client ?? this.client).
|
|
1316
|
+
getKeyFigure(options) {
|
|
1317
|
+
return (options.client ?? this.client).get({
|
|
1070
1318
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1071
|
-
url: '/api/v2/
|
|
1072
|
-
...options
|
|
1073
|
-
headers: {
|
|
1074
|
-
'Content-Type': 'application/json',
|
|
1075
|
-
...options.headers
|
|
1076
|
-
}
|
|
1319
|
+
url: '/api/v2/public/entities/key-figures/{id}',
|
|
1320
|
+
...options
|
|
1077
1321
|
});
|
|
1078
1322
|
}
|
|
1079
1323
|
/**
|
|
1080
|
-
*
|
|
1324
|
+
* List reference namespaces
|
|
1081
1325
|
*
|
|
1082
|
-
*
|
|
1326
|
+
* Every reference namespace: legal forms, courts, ÖNACE classes, trades, functions, key figures, document types, places and addresses. A reference ID is namespace:code.
|
|
1083
1327
|
*/
|
|
1084
|
-
|
|
1085
|
-
return (options
|
|
1328
|
+
listPublicRefNamespaces(options) {
|
|
1329
|
+
return (options?.client ?? this.client).get({
|
|
1086
1330
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1087
|
-
url: '/api/v2/
|
|
1331
|
+
url: '/api/v2/public/refs',
|
|
1088
1332
|
...options
|
|
1089
1333
|
});
|
|
1090
1334
|
}
|
|
1091
1335
|
/**
|
|
1092
1336
|
* Search places
|
|
1093
1337
|
*
|
|
1094
|
-
* Search
|
|
1338
|
+
* Search published BEV places. Returns their references (gemeinde:10101, postal-code:1010 …) and typed parent relations without an automatic total.
|
|
1095
1339
|
*/
|
|
1096
|
-
|
|
1340
|
+
searchPublicRefPlaces(options) {
|
|
1097
1341
|
return (options?.client ?? this.client).get({
|
|
1098
1342
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1099
|
-
url: '/api/v2/places',
|
|
1343
|
+
url: '/api/v2/public/refs/places',
|
|
1100
1344
|
...options
|
|
1101
1345
|
});
|
|
1102
1346
|
}
|
|
1103
1347
|
/**
|
|
1104
|
-
* List
|
|
1348
|
+
* List place children
|
|
1105
1349
|
*
|
|
1106
|
-
*
|
|
1350
|
+
* List immediate administrative children. Postal coverage, streets and localities are relationships, not administrative child ownership.
|
|
1107
1351
|
*/
|
|
1108
|
-
|
|
1109
|
-
return (options
|
|
1352
|
+
listPublicRefChildren(options) {
|
|
1353
|
+
return (options.client ?? this.client).get({
|
|
1110
1354
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1111
|
-
url: '/api/v2/
|
|
1355
|
+
url: '/api/v2/public/refs/{namespace}/{code}/children',
|
|
1112
1356
|
...options
|
|
1113
1357
|
});
|
|
1114
1358
|
}
|
|
1115
1359
|
/**
|
|
1116
|
-
* List
|
|
1360
|
+
* List place addresses
|
|
1117
1361
|
*
|
|
1118
|
-
*
|
|
1362
|
+
* Browse or search the published addresses covered by a geographic identity. Postal coverage may overlap; no company or private address relationships are exposed.
|
|
1119
1363
|
*/
|
|
1120
|
-
|
|
1364
|
+
listPublicRefAddresses(options) {
|
|
1121
1365
|
return (options.client ?? this.client).get({
|
|
1122
1366
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1123
|
-
url: '/api/v2/
|
|
1367
|
+
url: '/api/v2/public/refs/{namespace}/{code}/addresses',
|
|
1124
1368
|
...options
|
|
1125
1369
|
});
|
|
1126
1370
|
}
|
|
1127
1371
|
/**
|
|
1128
|
-
*
|
|
1372
|
+
* Validate address
|
|
1129
1373
|
*
|
|
1130
|
-
*
|
|
1374
|
+
* Compare one address with the active Austrian BEV snapshot without storing it. Returns exact, normalized, ambiguous, not_found, unsupported_country or unavailable. A match confirms only the snapshot base address; units, deliverability, people and company occupancy remain unverified. International addresses may still be stored in own entries.
|
|
1131
1375
|
*/
|
|
1132
|
-
|
|
1133
|
-
return (options.client ?? this.client).
|
|
1376
|
+
checkPublicRefAddress(options) {
|
|
1377
|
+
return (options.client ?? this.client).post({
|
|
1134
1378
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1135
|
-
url: '/api/v2/
|
|
1136
|
-
...options
|
|
1379
|
+
url: '/api/v2/public/refs/address/validate',
|
|
1380
|
+
...options,
|
|
1381
|
+
headers: {
|
|
1382
|
+
'Content-Type': 'application/json',
|
|
1383
|
+
...options.headers
|
|
1384
|
+
}
|
|
1137
1385
|
});
|
|
1138
1386
|
}
|
|
1139
1387
|
/**
|
|
1140
|
-
*
|
|
1388
|
+
* Get address snapshot status
|
|
1141
1389
|
*
|
|
1142
|
-
* Read
|
|
1390
|
+
* Read snapshot date, availability and refresh health. Validation covers Austrian snapshot base addresses; worldwide address storage remains available independently.
|
|
1143
1391
|
*/
|
|
1144
|
-
|
|
1145
|
-
return (options
|
|
1392
|
+
getPublicRefAddressStatus(options) {
|
|
1393
|
+
return (options?.client ?? this.client).get({
|
|
1146
1394
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1147
|
-
url: '/api/v2/
|
|
1395
|
+
url: '/api/v2/public/refs/address/status',
|
|
1148
1396
|
...options
|
|
1149
1397
|
});
|
|
1150
1398
|
}
|
|
1151
1399
|
/**
|
|
1152
|
-
*
|
|
1400
|
+
* Search addresses
|
|
1153
1401
|
*
|
|
1154
|
-
*
|
|
1402
|
+
* BEV addresses by an address search q of 2–200 characters. One basic credit.
|
|
1155
1403
|
*/
|
|
1156
|
-
|
|
1157
|
-
return (options
|
|
1404
|
+
listAddressRefs(options) {
|
|
1405
|
+
return (options?.client ?? this.client).get({
|
|
1158
1406
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1159
|
-
url: '/api/v2/
|
|
1407
|
+
url: '/api/v2/public/refs/address',
|
|
1160
1408
|
...options
|
|
1161
1409
|
});
|
|
1162
1410
|
}
|
|
1163
1411
|
/**
|
|
1164
|
-
*
|
|
1412
|
+
* Get address
|
|
1165
1413
|
*
|
|
1166
|
-
*
|
|
1414
|
+
* One BEV address by its code, such as 5151833. Its old Firmenakte-ID (A-…) and the source alias bev:5151833 resolve too; the response names the current reference ID. One basic credit.
|
|
1167
1415
|
*/
|
|
1168
|
-
|
|
1416
|
+
getAddressRef(options) {
|
|
1169
1417
|
return (options.client ?? this.client).get({
|
|
1170
1418
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1171
|
-
url: '/api/v2/
|
|
1419
|
+
url: '/api/v2/public/refs/address/{code}',
|
|
1172
1420
|
...options
|
|
1173
1421
|
});
|
|
1174
1422
|
}
|
|
1175
1423
|
/**
|
|
1176
|
-
* List
|
|
1424
|
+
* List references
|
|
1177
1425
|
*
|
|
1178
|
-
*
|
|
1426
|
+
* The references of one browsable namespace, such as legal-form, court, oenace-2025, trade, function, key-figure, document-type, state, district or gemeinde, ordered by label; q searches codes and labels. Free. Addresses are searched with *Search addresses*.
|
|
1179
1427
|
*/
|
|
1180
|
-
|
|
1428
|
+
listPublicRefs(options) {
|
|
1181
1429
|
return (options.client ?? this.client).get({
|
|
1182
1430
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1183
|
-
url: '/api/v2/
|
|
1431
|
+
url: '/api/v2/public/refs/{namespace}',
|
|
1184
1432
|
...options
|
|
1185
1433
|
});
|
|
1186
1434
|
}
|
|
1187
1435
|
/**
|
|
1188
|
-
*
|
|
1436
|
+
* Get reference
|
|
1189
1437
|
*
|
|
1190
|
-
*
|
|
1438
|
+
* One reference by its namespace and code, such as legal-form/gmbh, court/007, oenace-2025/62.01 or gemeinde/90101. Old Firmenakte-IDs of references (R-, J-, N-, T-, F-, K-, G-) resolve too; the response names the current reference ID. Free. Addresses are read with *Get address*.
|
|
1191
1439
|
*/
|
|
1192
|
-
|
|
1440
|
+
getPublicRef(options) {
|
|
1193
1441
|
return (options.client ?? this.client).get({
|
|
1194
1442
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1195
|
-
url: '/api/v2/
|
|
1443
|
+
url: '/api/v2/public/refs/{namespace}/{code}',
|
|
1196
1444
|
...options
|
|
1197
1445
|
});
|
|
1198
1446
|
}
|
|
1199
1447
|
/**
|
|
1200
|
-
*
|
|
1448
|
+
* Referenzen eines Namensraums lesen
|
|
1201
1449
|
*
|
|
1202
|
-
*
|
|
1450
|
+
* The references of one browsable namespace, such as legal-form, court, oenace-2025, trade, function, key-figure, document-type, state, district or gemeinde, ordered by label; q searches codes and labels. Free. Addresses are searched with *Search addresses*.
|
|
1451
|
+
*
|
|
1452
|
+
* Deprecated: use HTTP operation `listPublicRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listRefs). It stops answering on 2027-06-30.
|
|
1453
|
+
*
|
|
1454
|
+
* @deprecated
|
|
1203
1455
|
*/
|
|
1204
|
-
|
|
1456
|
+
listRefs(options) {
|
|
1205
1457
|
return (options.client ?? this.client).get({
|
|
1206
1458
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1207
|
-
url: '/api/v2/
|
|
1459
|
+
url: '/api/v2/refs/{namespace}',
|
|
1208
1460
|
...options
|
|
1209
1461
|
});
|
|
1210
1462
|
}
|
|
1211
1463
|
/**
|
|
1212
|
-
*
|
|
1464
|
+
* Referenz lesen
|
|
1465
|
+
*
|
|
1466
|
+
* One reference by its namespace and code, such as legal-form/gmbh, court/007, oenace-2025/62.01 or gemeinde/90101. Old Firmenakte-IDs of references (R-, J-, N-, T-, F-, K-, G-) resolve too; the response names the current reference ID. Free. Addresses are read with *Get address*.
|
|
1467
|
+
*
|
|
1468
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getRef). It stops answering on 2027-06-30.
|
|
1213
1469
|
*
|
|
1214
|
-
*
|
|
1470
|
+
* @deprecated
|
|
1215
1471
|
*/
|
|
1216
|
-
|
|
1472
|
+
getRef(options) {
|
|
1217
1473
|
return (options.client ?? this.client).get({
|
|
1218
1474
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1219
|
-
url: '/api/v2/
|
|
1475
|
+
url: '/api/v2/refs/{namespace}/{code}',
|
|
1220
1476
|
...options
|
|
1221
1477
|
});
|
|
1222
1478
|
}
|
|
1223
1479
|
/**
|
|
1224
|
-
*
|
|
1480
|
+
* Geografische Identitäten suchen
|
|
1225
1481
|
*
|
|
1226
|
-
*
|
|
1482
|
+
* Search published BEV places. Returns their references (gemeinde:10101, postal-code:1010 …) and typed parent relations without an automatic total.
|
|
1483
|
+
*
|
|
1484
|
+
* Deprecated: use HTTP operation `searchPublicRefPlaces`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPublicPlaces). It stops answering on 2027-06-30.
|
|
1485
|
+
*
|
|
1486
|
+
* @deprecated
|
|
1227
1487
|
*/
|
|
1228
|
-
|
|
1488
|
+
searchPublicPlaces(options) {
|
|
1229
1489
|
return (options?.client ?? this.client).get({
|
|
1230
1490
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1231
|
-
url: '/api/v2/
|
|
1491
|
+
url: '/api/v2/public/entities/places',
|
|
1232
1492
|
...options
|
|
1233
1493
|
});
|
|
1234
1494
|
}
|
|
1235
1495
|
/**
|
|
1236
|
-
*
|
|
1496
|
+
* Geografische Identitäten suchen
|
|
1497
|
+
*
|
|
1498
|
+
* Search published BEV places. Returns their references (gemeinde:10101, postal-code:1010 …) and typed parent relations without an automatic total.
|
|
1499
|
+
*
|
|
1500
|
+
* Deprecated: use HTTP operation `searchPublicRefPlaces`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPublicPlacesQuery). It stops answering on 2027-06-30.
|
|
1237
1501
|
*
|
|
1238
|
-
*
|
|
1502
|
+
* @deprecated
|
|
1239
1503
|
*/
|
|
1240
|
-
|
|
1504
|
+
searchPublicPlacesQuery(options) {
|
|
1241
1505
|
return (options.client ?? this.client).post({
|
|
1242
1506
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1243
|
-
url: '/api/v2/
|
|
1507
|
+
url: '/api/v2/public/entities/places/search',
|
|
1244
1508
|
...options,
|
|
1245
1509
|
headers: {
|
|
1246
1510
|
'Content-Type': 'application/json',
|
|
@@ -1249,78 +1513,130 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
1249
1513
|
});
|
|
1250
1514
|
}
|
|
1251
1515
|
/**
|
|
1252
|
-
*
|
|
1516
|
+
* Geografische Typen lesen
|
|
1253
1517
|
*
|
|
1254
|
-
*
|
|
1518
|
+
* Discover supported geographic types, administrative child types and whether addresses can be browsed for each type.
|
|
1519
|
+
*
|
|
1520
|
+
* Deprecated: use HTTP operation `listPublicRefNamespaces`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPublicPlaceTypes). It stops answering on 2027-06-30.
|
|
1521
|
+
*
|
|
1522
|
+
* @deprecated
|
|
1255
1523
|
*/
|
|
1256
|
-
|
|
1257
|
-
return (options
|
|
1524
|
+
listPublicPlaceTypes(options) {
|
|
1525
|
+
return (options?.client ?? this.client).get({
|
|
1258
1526
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1259
|
-
url: '/api/v2/
|
|
1260
|
-
...options
|
|
1261
|
-
headers: {
|
|
1262
|
-
'Content-Type': 'application/json',
|
|
1263
|
-
...options.headers
|
|
1264
|
-
}
|
|
1527
|
+
url: '/api/v2/public/entities/places/catalogue',
|
|
1528
|
+
...options
|
|
1265
1529
|
});
|
|
1266
1530
|
}
|
|
1267
1531
|
/**
|
|
1268
|
-
*
|
|
1532
|
+
* Geografische Identität lesen
|
|
1533
|
+
*
|
|
1534
|
+
* Read a published or retired place by its ref (gemeinde:10101), an old G Firmenakte-ID or a source alias (gkz:10101). asOf is the source snapshot date; recordedAt is the time Firmenakte imported that snapshot.
|
|
1535
|
+
*
|
|
1536
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPublicPlace). It stops answering on 2027-06-30.
|
|
1269
1537
|
*
|
|
1270
|
-
*
|
|
1538
|
+
* @deprecated
|
|
1271
1539
|
*/
|
|
1272
|
-
|
|
1540
|
+
getPublicPlace(options) {
|
|
1273
1541
|
return (options.client ?? this.client).get({
|
|
1274
1542
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1275
|
-
url: '/api/v2/
|
|
1543
|
+
url: '/api/v2/public/entities/places/{id}',
|
|
1276
1544
|
...options
|
|
1277
1545
|
});
|
|
1278
1546
|
}
|
|
1279
1547
|
/**
|
|
1280
|
-
*
|
|
1548
|
+
* Verwaltungsgebiete lesen
|
|
1281
1549
|
*
|
|
1282
|
-
*
|
|
1550
|
+
* List immediate administrative children. Postal coverage, streets and localities are relationships, not administrative child ownership.
|
|
1551
|
+
*
|
|
1552
|
+
* Deprecated: use HTTP operation `listPublicRefChildren`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPublicPlaceChildren). It stops answering on 2027-06-30.
|
|
1553
|
+
*
|
|
1554
|
+
* @deprecated
|
|
1283
1555
|
*/
|
|
1284
|
-
|
|
1556
|
+
listPublicPlaceChildren(options) {
|
|
1285
1557
|
return (options.client ?? this.client).get({
|
|
1286
1558
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1287
|
-
url: '/api/v2/
|
|
1559
|
+
url: '/api/v2/public/entities/places/{id}/children',
|
|
1288
1560
|
...options
|
|
1289
1561
|
});
|
|
1290
1562
|
}
|
|
1291
1563
|
/**
|
|
1292
|
-
*
|
|
1564
|
+
* Adressen eines Gebiets lesen
|
|
1565
|
+
*
|
|
1566
|
+
* Browse or search the published addresses covered by a geographic identity. Postal coverage may overlap; no company or private address relationships are exposed.
|
|
1567
|
+
*
|
|
1568
|
+
* Deprecated: use HTTP operation `listPublicRefAddresses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPublicPlaceAddresses). It stops answering on 2027-06-30.
|
|
1293
1569
|
*
|
|
1294
|
-
*
|
|
1570
|
+
* @deprecated
|
|
1295
1571
|
*/
|
|
1296
|
-
|
|
1572
|
+
listPublicPlaceAddresses(options) {
|
|
1573
|
+
return (options.client ?? this.client).get({
|
|
1574
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1575
|
+
url: '/api/v2/public/entities/places/{id}/addresses',
|
|
1576
|
+
...options
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
/**
|
|
1580
|
+
* Adressen eines Gebiets lesen
|
|
1581
|
+
*
|
|
1582
|
+
* Browse or search the published addresses covered by a geographic identity. Postal coverage may overlap; no company or private address relationships are exposed.
|
|
1583
|
+
*
|
|
1584
|
+
* Deprecated: use HTTP operation `listPublicRefAddresses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPublicPlaceAddresses). It stops answering on 2027-06-30.
|
|
1585
|
+
*
|
|
1586
|
+
* @deprecated
|
|
1587
|
+
*/
|
|
1588
|
+
searchPublicPlaceAddresses(options) {
|
|
1589
|
+
return (options.client ?? this.client).post({
|
|
1590
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1591
|
+
url: '/api/v2/public/entities/places/{id}/addresses/search',
|
|
1592
|
+
...options,
|
|
1593
|
+
headers: {
|
|
1594
|
+
'Content-Type': 'application/json',
|
|
1595
|
+
...options.headers
|
|
1596
|
+
}
|
|
1597
|
+
});
|
|
1598
|
+
}
|
|
1599
|
+
/**
|
|
1600
|
+
* List people
|
|
1601
|
+
*
|
|
1602
|
+
* List people by name, function, company or residence city.
|
|
1603
|
+
*
|
|
1604
|
+
* Deprecated: use HTTP operation `listPublicPeople`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPeople). No removal date is scheduled.
|
|
1605
|
+
*
|
|
1606
|
+
* @deprecated
|
|
1607
|
+
*/
|
|
1608
|
+
listPeople(options) {
|
|
1297
1609
|
return (options?.client ?? this.client).get({
|
|
1298
1610
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1299
|
-
url: '/api/v2/
|
|
1611
|
+
url: '/api/v2/people',
|
|
1300
1612
|
...options
|
|
1301
1613
|
});
|
|
1302
1614
|
}
|
|
1303
1615
|
/**
|
|
1304
|
-
*
|
|
1616
|
+
* List people
|
|
1305
1617
|
*
|
|
1306
|
-
*
|
|
1618
|
+
* List people by name, function, company or residence city.
|
|
1307
1619
|
*/
|
|
1308
|
-
|
|
1620
|
+
listPublicPeople(options) {
|
|
1309
1621
|
return (options?.client ?? this.client).get({
|
|
1310
1622
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1311
|
-
url: '/api/v2/
|
|
1623
|
+
url: '/api/v2/public/entities/people',
|
|
1312
1624
|
...options
|
|
1313
1625
|
});
|
|
1314
1626
|
}
|
|
1315
1627
|
/**
|
|
1316
|
-
*
|
|
1628
|
+
* Search people
|
|
1629
|
+
*
|
|
1630
|
+
* Search people with a filter tree on name, residence city, function count and functions.
|
|
1631
|
+
*
|
|
1632
|
+
* Deprecated: use HTTP operation `searchPublicPeople`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPeople). No removal date is scheduled.
|
|
1317
1633
|
*
|
|
1318
|
-
*
|
|
1634
|
+
* @deprecated
|
|
1319
1635
|
*/
|
|
1320
|
-
|
|
1636
|
+
searchPeople(options) {
|
|
1321
1637
|
return (options.client ?? this.client).post({
|
|
1322
1638
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1323
|
-
url: '/api/v2/
|
|
1639
|
+
url: '/api/v2/people/search',
|
|
1324
1640
|
...options,
|
|
1325
1641
|
headers: {
|
|
1326
1642
|
'Content-Type': 'application/json',
|
|
@@ -1329,110 +1645,1178 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
1329
1645
|
});
|
|
1330
1646
|
}
|
|
1331
1647
|
/**
|
|
1332
|
-
*
|
|
1648
|
+
* Search people
|
|
1333
1649
|
*
|
|
1334
|
-
*
|
|
1650
|
+
* Search people with a filter tree on name, residence city, function count and functions.
|
|
1335
1651
|
*/
|
|
1336
|
-
|
|
1337
|
-
return (options.client ?? this.client).
|
|
1652
|
+
searchPublicPeople(options) {
|
|
1653
|
+
return (options.client ?? this.client).post({
|
|
1338
1654
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1339
|
-
url: '/api/v2/
|
|
1655
|
+
url: '/api/v2/public/entities/people/search',
|
|
1656
|
+
...options,
|
|
1657
|
+
headers: {
|
|
1658
|
+
'Content-Type': 'application/json',
|
|
1659
|
+
...options.headers
|
|
1660
|
+
}
|
|
1661
|
+
});
|
|
1662
|
+
}
|
|
1663
|
+
/**
|
|
1664
|
+
* List person names
|
|
1665
|
+
*
|
|
1666
|
+
* An index of person IDs and display names.
|
|
1667
|
+
*
|
|
1668
|
+
* Deprecated: use HTTP operation `listPublicPersonNames`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonNames). No removal date is scheduled.
|
|
1669
|
+
*
|
|
1670
|
+
* @deprecated
|
|
1671
|
+
*/
|
|
1672
|
+
listPersonNames(options) {
|
|
1673
|
+
return (options?.client ?? this.client).get({
|
|
1674
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1675
|
+
url: '/api/v2/people/names',
|
|
1340
1676
|
...options
|
|
1341
1677
|
});
|
|
1342
1678
|
}
|
|
1343
1679
|
/**
|
|
1344
|
-
*
|
|
1680
|
+
* List person names
|
|
1345
1681
|
*
|
|
1346
|
-
*
|
|
1682
|
+
* An index of person IDs and display names.
|
|
1347
1683
|
*/
|
|
1348
|
-
|
|
1684
|
+
listPublicPersonNames(options) {
|
|
1685
|
+
return (options?.client ?? this.client).get({
|
|
1686
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1687
|
+
url: '/api/v2/public/entities/people/names',
|
|
1688
|
+
...options
|
|
1689
|
+
});
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
* Get a person
|
|
1693
|
+
*
|
|
1694
|
+
* Read a person, optionally with functions, licenses, notices and registrations.
|
|
1695
|
+
*
|
|
1696
|
+
* Deprecated: use HTTP operation `getPublicPerson`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPerson). No removal date is scheduled.
|
|
1697
|
+
*
|
|
1698
|
+
* @deprecated
|
|
1699
|
+
*/
|
|
1700
|
+
getPerson(options) {
|
|
1349
1701
|
return (options.client ?? this.client).get({
|
|
1350
1702
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1351
|
-
url: '/api/v2/
|
|
1703
|
+
url: '/api/v2/people/{id}',
|
|
1352
1704
|
...options
|
|
1353
1705
|
});
|
|
1354
1706
|
}
|
|
1355
1707
|
/**
|
|
1356
|
-
*
|
|
1708
|
+
* List person functions
|
|
1709
|
+
*
|
|
1710
|
+
* A person's functions in companies, current ones first, with EVI ownership percentages where supported.
|
|
1357
1711
|
*
|
|
1358
|
-
*
|
|
1712
|
+
* Deprecated: use HTTP operation `listPublicPersonFunctions`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonFunctions). No removal date is scheduled.
|
|
1713
|
+
*
|
|
1714
|
+
* @deprecated
|
|
1359
1715
|
*/
|
|
1360
|
-
|
|
1716
|
+
listPersonFunctions(options) {
|
|
1361
1717
|
return (options.client ?? this.client).get({
|
|
1362
1718
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1363
|
-
url: '/api/v2/
|
|
1719
|
+
url: '/api/v2/people/{id}/functions',
|
|
1364
1720
|
...options
|
|
1365
1721
|
});
|
|
1366
1722
|
}
|
|
1367
1723
|
/**
|
|
1368
|
-
*
|
|
1724
|
+
* List person licenses
|
|
1725
|
+
*
|
|
1726
|
+
* GISA licenses naming the person as managing director, with the company that holds each.
|
|
1727
|
+
*
|
|
1728
|
+
* Deprecated: use HTTP operation `listPublicPersonLicenses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonLicenses). No removal date is scheduled.
|
|
1369
1729
|
*
|
|
1370
|
-
*
|
|
1730
|
+
* @deprecated
|
|
1371
1731
|
*/
|
|
1372
|
-
|
|
1732
|
+
listPersonLicenses(options) {
|
|
1373
1733
|
return (options.client ?? this.client).get({
|
|
1374
1734
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1375
|
-
url: '/api/v2/
|
|
1735
|
+
url: '/api/v2/people/{id}/licenses',
|
|
1376
1736
|
...options
|
|
1377
1737
|
});
|
|
1378
1738
|
}
|
|
1379
1739
|
/**
|
|
1380
|
-
*
|
|
1740
|
+
* List person notices
|
|
1741
|
+
*
|
|
1742
|
+
* Notices naming the person or one of their companies. A notice published for one of the person's companies names that company in company; a notice without it is the person's own.
|
|
1743
|
+
*
|
|
1744
|
+
* Deprecated: use HTTP operation `listPublicPersonNotices`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonNotices). No removal date is scheduled.
|
|
1381
1745
|
*
|
|
1382
|
-
*
|
|
1746
|
+
* @deprecated
|
|
1383
1747
|
*/
|
|
1384
|
-
|
|
1385
|
-
return (options
|
|
1748
|
+
listPersonNotices(options) {
|
|
1749
|
+
return (options.client ?? this.client).get({
|
|
1386
1750
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1387
|
-
url: '/api/v2/
|
|
1751
|
+
url: '/api/v2/people/{id}/notices',
|
|
1388
1752
|
...options
|
|
1389
1753
|
});
|
|
1390
1754
|
}
|
|
1391
1755
|
/**
|
|
1392
|
-
* List
|
|
1756
|
+
* List person notices
|
|
1393
1757
|
*
|
|
1394
|
-
*
|
|
1758
|
+
* Notices naming the person or one of their companies. A notice published for one of the person's companies names that company in company; a notice without it is the person's own.
|
|
1395
1759
|
*/
|
|
1396
|
-
|
|
1397
|
-
return (options
|
|
1760
|
+
listPublicPersonNotices(options) {
|
|
1761
|
+
return (options.client ?? this.client).get({
|
|
1398
1762
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1399
|
-
url: '/api/v2/
|
|
1763
|
+
url: '/api/v2/public/entities/people/{id}/notices',
|
|
1400
1764
|
...options
|
|
1401
1765
|
});
|
|
1402
1766
|
}
|
|
1403
1767
|
/**
|
|
1404
|
-
*
|
|
1768
|
+
* List professional registrations
|
|
1769
|
+
*
|
|
1770
|
+
* Professional registrations: register, profession, status and practice address.
|
|
1405
1771
|
*
|
|
1406
|
-
*
|
|
1772
|
+
* Deprecated: use HTTP operation `listPublicPersonRegistrations`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonRegistrations). No removal date is scheduled.
|
|
1773
|
+
*
|
|
1774
|
+
* @deprecated
|
|
1407
1775
|
*/
|
|
1408
|
-
|
|
1776
|
+
listPersonRegistrations(options) {
|
|
1409
1777
|
return (options.client ?? this.client).get({
|
|
1410
1778
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1411
|
-
url: '/api/v2/
|
|
1779
|
+
url: '/api/v2/people/{id}/registrations',
|
|
1412
1780
|
...options
|
|
1413
1781
|
});
|
|
1414
1782
|
}
|
|
1415
1783
|
/**
|
|
1416
|
-
* List
|
|
1784
|
+
* List person registrations
|
|
1417
1785
|
*
|
|
1418
|
-
*
|
|
1786
|
+
* Professional registrations: register, profession, status and practice address.
|
|
1419
1787
|
*/
|
|
1420
|
-
|
|
1788
|
+
listPublicPersonRegistrations(options) {
|
|
1421
1789
|
return (options.client ?? this.client).get({
|
|
1422
1790
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1423
|
-
url: '/api/v2/
|
|
1791
|
+
url: '/api/v2/public/entities/people/{id}/registrations',
|
|
1424
1792
|
...options
|
|
1425
1793
|
});
|
|
1426
1794
|
}
|
|
1427
1795
|
/**
|
|
1428
|
-
*
|
|
1796
|
+
* Get a person's network
|
|
1797
|
+
*
|
|
1798
|
+
* The shared Firmenbuch and EVI network around a person, in the shape of a company's network: canonical company/person node IDs with the person as central node, and assignment, ownership and address edges. Depth 1 is the person, their companies and those companies' people, as the existing person graph; depths 2 and 3 read further layers, preserving node limits. Includes supported shares and provenance.
|
|
1799
|
+
*
|
|
1800
|
+
* Deprecated: use HTTP operation `getPublicPersonNetwork`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPersonNetwork). No removal date is scheduled.
|
|
1429
1801
|
*
|
|
1430
|
-
*
|
|
1802
|
+
* @deprecated
|
|
1431
1803
|
*/
|
|
1432
|
-
|
|
1804
|
+
getPersonNetwork(options) {
|
|
1433
1805
|
return (options.client ?? this.client).get({
|
|
1434
1806
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1435
|
-
url: '/api/v2/people/{id}/
|
|
1807
|
+
url: '/api/v2/people/{id}/network',
|
|
1808
|
+
...options
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1811
|
+
/**
|
|
1812
|
+
* Get person
|
|
1813
|
+
*
|
|
1814
|
+
* Read a person, optionally with functions, licenses, notices and registrations.
|
|
1815
|
+
*/
|
|
1816
|
+
getPublicPerson(options) {
|
|
1817
|
+
return (options.client ?? this.client).get({
|
|
1818
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1819
|
+
url: '/api/v2/public/entities/people/{id}',
|
|
1820
|
+
...options
|
|
1821
|
+
});
|
|
1822
|
+
}
|
|
1823
|
+
/**
|
|
1824
|
+
* List person functions
|
|
1825
|
+
*
|
|
1826
|
+
* A person's functions in companies, current ones first, with EVI ownership percentages where supported.
|
|
1827
|
+
*/
|
|
1828
|
+
listPublicPersonFunctions(options) {
|
|
1829
|
+
return (options.client ?? this.client).get({
|
|
1830
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1831
|
+
url: '/api/v2/public/entities/people/{id}/functions',
|
|
1832
|
+
...options
|
|
1833
|
+
});
|
|
1834
|
+
}
|
|
1835
|
+
/**
|
|
1836
|
+
* List person licenses
|
|
1837
|
+
*
|
|
1838
|
+
* GISA licenses naming the person as managing director, with the company that holds each.
|
|
1839
|
+
*/
|
|
1840
|
+
listPublicPersonLicenses(options) {
|
|
1841
|
+
return (options.client ?? this.client).get({
|
|
1842
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1843
|
+
url: '/api/v2/public/entities/people/{id}/licenses',
|
|
1844
|
+
...options
|
|
1845
|
+
});
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* Get person network
|
|
1849
|
+
*
|
|
1850
|
+
* The shared Firmenbuch and EVI network around a person, in the shape of a company's network: canonical company/person node IDs with the person as central node, and assignment, ownership and address edges. Depth 1 is the person, their companies and those companies' people, as the existing person graph; depths 2 and 3 read further layers, preserving node limits. Includes supported shares and provenance.
|
|
1851
|
+
*/
|
|
1852
|
+
getPublicPersonNetwork(options) {
|
|
1853
|
+
return (options.client ?? this.client).get({
|
|
1854
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1855
|
+
url: '/api/v2/public/entities/people/{id}/network',
|
|
1856
|
+
...options
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
/**
|
|
1860
|
+
* Get a company
|
|
1861
|
+
*
|
|
1862
|
+
* Read a company by Firmenakte-ID or register alias. Aliases and merged identities resolve without redirects. figures summarises the latest annual accounts (Jahresabschluss): year, revenue, totalAssets, equity and employees. include=accounts embeds every year's annual accounts with all key figures; List accounts pages through them.
|
|
1863
|
+
*
|
|
1864
|
+
* Deprecated: use HTTP operation `getPublicCompany`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getCompany). No removal date is scheduled.
|
|
1865
|
+
*
|
|
1866
|
+
* @deprecated
|
|
1867
|
+
*/
|
|
1868
|
+
getCompany(options) {
|
|
1869
|
+
return (options.client ?? this.client).get({
|
|
1870
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1871
|
+
url: '/api/v2/companies/{id}',
|
|
1872
|
+
...options
|
|
1873
|
+
});
|
|
1874
|
+
}
|
|
1875
|
+
/**
|
|
1876
|
+
* Get an entity
|
|
1877
|
+
*
|
|
1878
|
+
* Read a company or person by Firmenakte-ID or register alias. A person answer carries no birth date, birth year or age.
|
|
1879
|
+
*
|
|
1880
|
+
* Deprecated: use HTTP operation `getPublicEntity`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getEntity). No removal date is scheduled.
|
|
1881
|
+
*
|
|
1882
|
+
* @deprecated
|
|
1883
|
+
*/
|
|
1884
|
+
getEntity(options) {
|
|
1885
|
+
return (options.client ?? this.client).get({
|
|
1886
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1887
|
+
url: '/api/v2/entities/{id}',
|
|
1888
|
+
...options
|
|
1889
|
+
});
|
|
1890
|
+
}
|
|
1891
|
+
/**
|
|
1892
|
+
* Get entity
|
|
1893
|
+
*
|
|
1894
|
+
* Read a company or person by Firmenakte ID or scoped source alias. The response matches its typed collection and costs one basic credit. References (legal forms, courts, places, addresses …) are not entities; they are read at /api/v2/public/refs/{namespace}/{code}.
|
|
1895
|
+
*/
|
|
1896
|
+
getPublicEntity(options) {
|
|
1897
|
+
return (options.client ?? this.client).get({
|
|
1898
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1899
|
+
url: '/api/v2/public/entities/{id}',
|
|
1900
|
+
...options
|
|
1901
|
+
});
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* List entity types
|
|
1905
|
+
*
|
|
1906
|
+
* Discover the entity collections (companies, people), their identity fields and supported operations. References such as legal forms, courts, places and addresses are listed per namespace at /api/v2/public/refs/{namespace}.
|
|
1907
|
+
*/
|
|
1908
|
+
listPublicEntityTypes(options) {
|
|
1909
|
+
return (options?.client ?? this.client).get({
|
|
1910
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1911
|
+
url: '/api/v2/public/entities/catalogue',
|
|
1912
|
+
...options
|
|
1913
|
+
});
|
|
1914
|
+
}
|
|
1915
|
+
/**
|
|
1916
|
+
* List entity fields
|
|
1917
|
+
*
|
|
1918
|
+
* Returns a page of field definitions with German labels, groups, capabilities, operators and options. Use filterable=true and scope=public for the fields that company and people searches and aggregations accept; display-only columns have filterable=false. Browse group=figures for financial metrics or q=seat. for company location fields. Select subject person for person filters. q searches field metadata, not company names or location values: places and reference values such as industries have their own collections. Account fields describe templates, not workspace definitions.
|
|
1919
|
+
*/
|
|
1920
|
+
listPublicFieldCatalog(options) {
|
|
1921
|
+
return (options?.client ?? this.client).get({
|
|
1922
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1923
|
+
url: '/api/v2/public/entities/catalogue/fields',
|
|
1924
|
+
...options
|
|
1925
|
+
});
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Search companies
|
|
1929
|
+
*
|
|
1930
|
+
* Search companies using a nested filter tree. Set includeSummary:true to include the total match count.
|
|
1931
|
+
*
|
|
1932
|
+
* Deprecated: use HTTP operation `searchPublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchCompanies). No removal date is scheduled.
|
|
1933
|
+
*
|
|
1934
|
+
* @deprecated
|
|
1935
|
+
*/
|
|
1936
|
+
searchCompanies(options) {
|
|
1937
|
+
return (options.client ?? this.client).post({
|
|
1938
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1939
|
+
url: '/api/v2/companies/search',
|
|
1940
|
+
...options,
|
|
1941
|
+
headers: {
|
|
1942
|
+
'Content-Type': 'application/json',
|
|
1943
|
+
...options.headers
|
|
1944
|
+
}
|
|
1945
|
+
});
|
|
1946
|
+
}
|
|
1947
|
+
/**
|
|
1948
|
+
* Search companies
|
|
1949
|
+
*
|
|
1950
|
+
* Search companies using a nested filter tree. Set includeSummary:true to include the total match count.
|
|
1951
|
+
*/
|
|
1952
|
+
searchPublicCompanies(options) {
|
|
1953
|
+
return (options.client ?? this.client).post({
|
|
1954
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1955
|
+
url: '/api/v2/public/entities/companies/search',
|
|
1956
|
+
...options,
|
|
1957
|
+
headers: {
|
|
1958
|
+
'Content-Type': 'application/json',
|
|
1959
|
+
...options.headers
|
|
1960
|
+
}
|
|
1961
|
+
});
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* List companies
|
|
1965
|
+
*
|
|
1966
|
+
* The same operation as POST companies/search with q, place, isDeleted, legalForm, industry, trade and court as query parameters. No where or figures query parameters. Sort -revenue means descending figures.revenue.
|
|
1967
|
+
*
|
|
1968
|
+
* Deprecated: use HTTP operation `listPublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanies). No removal date is scheduled.
|
|
1969
|
+
*
|
|
1970
|
+
* @deprecated
|
|
1971
|
+
*/
|
|
1972
|
+
listCompanies(options) {
|
|
1973
|
+
return (options?.client ?? this.client).get({
|
|
1974
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1975
|
+
url: '/api/v2/companies',
|
|
1976
|
+
...options
|
|
1977
|
+
});
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* List companies
|
|
1981
|
+
*
|
|
1982
|
+
* The same operation as POST companies/search with q, place, isDeleted, legalForm, industry, trade and court as query parameters. No where or figures query parameters. Sort -revenue means descending figures.revenue.
|
|
1983
|
+
*/
|
|
1984
|
+
listPublicCompanies(options) {
|
|
1985
|
+
return (options?.client ?? this.client).get({
|
|
1986
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1987
|
+
url: '/api/v2/public/entities/companies',
|
|
1988
|
+
...options
|
|
1989
|
+
});
|
|
1990
|
+
}
|
|
1991
|
+
/**
|
|
1992
|
+
* Aggregate companies
|
|
1993
|
+
*
|
|
1994
|
+
* Count the complete filtered company set. Omit groupBy and metrics, or use empty arrays, for total with groups: []. An empty request counts all visible companies. Optional grouping uses legalForm, industry, city, zip, state or court; each group includes total, ungrouped and buckets. Optional metrics sum, average, min or max a catalog key figure across the complete filter, with known/missing counts; latest figure dates may differ. excludeOwnFilter removes each dimension's filters for facet counts. Short fields compile into the same filter tree. Account filters return 422.
|
|
1995
|
+
*
|
|
1996
|
+
* Deprecated: use HTTP operation `aggregatePublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#aggregateCompanies). No removal date is scheduled.
|
|
1997
|
+
*
|
|
1998
|
+
* @deprecated
|
|
1999
|
+
*/
|
|
2000
|
+
aggregateCompanies(options) {
|
|
2001
|
+
return (options.client ?? this.client).post({
|
|
2002
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2003
|
+
url: '/api/v2/companies/aggregate',
|
|
2004
|
+
...options,
|
|
2005
|
+
headers: {
|
|
2006
|
+
'Content-Type': 'application/json',
|
|
2007
|
+
...options.headers
|
|
2008
|
+
}
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Aggregate companies
|
|
2013
|
+
*
|
|
2014
|
+
* Count the complete filtered company set. Omit groupBy and metrics, or use empty arrays, for total with groups: []. An empty request counts all visible companies. Optional grouping uses legalForm, industry, city, zip, state or court; each group includes total, ungrouped and buckets. Optional metrics sum, average, min or max a catalog key figure across the complete filter, with known/missing counts; latest figure dates may differ. excludeOwnFilter removes each dimension's filters for facet counts. Short fields compile into the same filter tree. Account filters return 422.
|
|
2015
|
+
*/
|
|
2016
|
+
aggregatePublicCompanies(options) {
|
|
2017
|
+
return (options.client ?? this.client).post({
|
|
2018
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2019
|
+
url: '/api/v2/public/entities/companies/aggregate',
|
|
2020
|
+
...options,
|
|
2021
|
+
headers: {
|
|
2022
|
+
'Content-Type': 'application/json',
|
|
2023
|
+
...options.headers
|
|
2024
|
+
}
|
|
2025
|
+
});
|
|
2026
|
+
}
|
|
2027
|
+
/**
|
|
2028
|
+
* Find the leading company per place
|
|
2029
|
+
*
|
|
2030
|
+
* Find the leader per state or city by a figures field, with a map location and the metric year. City groups are capped to the sixteen largest by company count. Short fields compile into the same filter tree. Account filters return 422.
|
|
2031
|
+
*
|
|
2032
|
+
* Deprecated: use HTTP operation `topPublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#topCompanies). No removal date is scheduled.
|
|
2033
|
+
*
|
|
2034
|
+
* @deprecated
|
|
2035
|
+
*/
|
|
2036
|
+
topCompanies(options) {
|
|
2037
|
+
return (options.client ?? this.client).post({
|
|
2038
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2039
|
+
url: '/api/v2/companies/top',
|
|
2040
|
+
...options,
|
|
2041
|
+
headers: {
|
|
2042
|
+
'Content-Type': 'application/json',
|
|
2043
|
+
...options.headers
|
|
2044
|
+
}
|
|
2045
|
+
});
|
|
2046
|
+
}
|
|
2047
|
+
/**
|
|
2048
|
+
* Get top company per place
|
|
2049
|
+
*
|
|
2050
|
+
* Find the leader per state or city by a figures field, with a map location and the metric year. City groups are capped to the sixteen largest by company count. Short fields compile into the same filter tree. Account filters return 422.
|
|
2051
|
+
*/
|
|
2052
|
+
topPublicCompanies(options) {
|
|
2053
|
+
return (options.client ?? this.client).post({
|
|
2054
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2055
|
+
url: '/api/v2/public/entities/companies/top',
|
|
2056
|
+
...options,
|
|
2057
|
+
headers: {
|
|
2058
|
+
'Content-Type': 'application/json',
|
|
2059
|
+
...options.headers
|
|
2060
|
+
}
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
/**
|
|
2064
|
+
* Get a catalog
|
|
2065
|
+
*
|
|
2066
|
+
* Read legal-forms, oenace, trades, courts, functions, key-figures, registers, change-types, places or sources. Every entry carries its parentCode, level, childCount and ancestor path; parent= reads one node's children and level= one level. refCount counts the visible companies under a value (current assignments for functions) as of the last refresh; static catalogues carry none. Without q, entries are ordered by refCount, then code. Register entries document field-detail coverage and unknown historical starts; change types carry German labels; sources carry publisher, licence, the attribution to show verbatim, disclaimer, retention and access rule. Entries contain codes and German labels, never storage fields.
|
|
2067
|
+
*
|
|
2068
|
+
* Deprecated: each name moved to its own collection, listed in `x-replaced-by-name` (the vocabularies to *List refs* with their namespace, legal-form, oenace-2025 …; places to *Search places*). [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getCatalog). No removal date is scheduled.
|
|
2069
|
+
*
|
|
2070
|
+
* @deprecated
|
|
2071
|
+
*/
|
|
2072
|
+
getCatalog(options) {
|
|
2073
|
+
return (options.client ?? this.client).get({
|
|
2074
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2075
|
+
url: '/api/v2/catalogs/{name}',
|
|
2076
|
+
...options
|
|
2077
|
+
});
|
|
2078
|
+
}
|
|
2079
|
+
/**
|
|
2080
|
+
* Get a source
|
|
2081
|
+
*
|
|
2082
|
+
* One entry of the sources catalogue by its key, the value every v2 source field carries: publisher, licence or terms, the attribution to show with its data verbatim, disclaimer, retention, access rule and its section on firmenakte.at/registerdaten.
|
|
2083
|
+
*
|
|
2084
|
+
* Deprecated: use HTTP operation `getPublicSource`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getSource). No removal date is scheduled.
|
|
2085
|
+
*
|
|
2086
|
+
* @deprecated
|
|
2087
|
+
*/
|
|
2088
|
+
getSource(options) {
|
|
2089
|
+
return (options.client ?? this.client).get({
|
|
2090
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2091
|
+
url: '/api/v2/catalogs/sources/{key}',
|
|
2092
|
+
...options
|
|
2093
|
+
});
|
|
2094
|
+
}
|
|
2095
|
+
/**
|
|
2096
|
+
* Search place vocabulary
|
|
2097
|
+
*
|
|
2098
|
+
* Search state, municipality, city and zip vocabulary by code, label or slug. States, municipalities and Austrian zip codes carry their place in the places catalogue (parentCode, level, childCount, path); every entry carries its company count as refCount.
|
|
2099
|
+
*
|
|
2100
|
+
* Deprecated: use HTTP operation `searchPublicRefPlaces`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPlaces). It stops answering on 2027-06-30.
|
|
2101
|
+
*
|
|
2102
|
+
* @deprecated
|
|
2103
|
+
*/
|
|
2104
|
+
searchPlaces(options) {
|
|
2105
|
+
return (options?.client ?? this.client).get({
|
|
2106
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2107
|
+
url: '/api/v2/places',
|
|
2108
|
+
...options
|
|
2109
|
+
});
|
|
2110
|
+
}
|
|
2111
|
+
/**
|
|
2112
|
+
* List the field catalog
|
|
2113
|
+
*
|
|
2114
|
+
* Returns a page of field definitions with German labels, groups, capabilities, operators and options. Use filterable=true and scope=public for the fields that company and people searches and aggregations accept; display-only columns have filterable=false. Browse group=figures for financial metrics or q=seat. for company location fields. Select subject person for person filters. q searches field metadata, not company names or location values: places and reference values such as industries have their own collections. Account fields describe templates, not workspace definitions.
|
|
2115
|
+
*
|
|
2116
|
+
* Deprecated: use HTTP operation `listPublicFieldCatalog`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listFieldCatalog). No removal date is scheduled.
|
|
2117
|
+
*
|
|
2118
|
+
* @deprecated
|
|
2119
|
+
*/
|
|
2120
|
+
listFieldCatalog(options) {
|
|
2121
|
+
return (options?.client ?? this.client).get({
|
|
2122
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2123
|
+
url: '/api/v2/catalogs/fields',
|
|
2124
|
+
...options
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
/**
|
|
2128
|
+
* Get company
|
|
2129
|
+
*
|
|
2130
|
+
* Read a company by Firmenakte-ID or register alias. Aliases and merged identities resolve without redirects. figures summarises the latest annual accounts (Jahresabschluss): year, revenue, totalAssets, equity and employees. include=accounts embeds every year's annual accounts with all key figures; List accounts pages through them.
|
|
2131
|
+
*/
|
|
2132
|
+
getPublicCompany(options) {
|
|
2133
|
+
return (options.client ?? this.client).get({
|
|
2134
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2135
|
+
url: '/api/v2/public/entities/companies/{id}',
|
|
2136
|
+
...options
|
|
2137
|
+
});
|
|
2138
|
+
}
|
|
2139
|
+
/**
|
|
2140
|
+
* Get companies in batch
|
|
2141
|
+
*
|
|
2142
|
+
* Read up to 100 company IDs or aliases in request order. Each ok or merged item costs one credit; ambiguous and notFound items are free.
|
|
2143
|
+
*/
|
|
2144
|
+
batchGetPublicCompanies(options) {
|
|
2145
|
+
return (options.client ?? this.client).post({
|
|
2146
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2147
|
+
url: '/api/v2/public/entities/companies/batch-get',
|
|
2148
|
+
...options,
|
|
2149
|
+
headers: {
|
|
2150
|
+
'Content-Type': 'application/json',
|
|
2151
|
+
...options.headers
|
|
2152
|
+
}
|
|
2153
|
+
});
|
|
2154
|
+
}
|
|
2155
|
+
/**
|
|
2156
|
+
* List company accounts
|
|
2157
|
+
*
|
|
2158
|
+
* Annual accounts (Jahresabschlüsse) filed with the Firmenbuch, one item per fiscal year, newest first. figures holds every key figure parsed from the filing, keyed by key figure code (*List references* (namespace key-figure)); figures not found in the filing are omitted. document.key names the source filing. include=accounts on Get embeds the first page.
|
|
2159
|
+
*/
|
|
2160
|
+
listPublicCompanyAccounts(options) {
|
|
2161
|
+
return (options.client ?? this.client).get({
|
|
2162
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2163
|
+
url: '/api/v2/public/entities/companies/{id}/accounts',
|
|
2164
|
+
...options
|
|
2165
|
+
});
|
|
2166
|
+
}
|
|
2167
|
+
/**
|
|
2168
|
+
* List company people
|
|
2169
|
+
*
|
|
2170
|
+
* Functions that have not ended come first, on the Vienna calendar day. current=true returns functions that have started and not ended (inclusive dates; absent bounds are open). Firmenbuch and EVI relationships reconcile distinct roles and subscribed capital, supported sharePercent and source-owned evidence. Unknown percentages are omitted. include=people on Get embeds the first page.
|
|
2171
|
+
*/
|
|
2172
|
+
listPublicCompanyPeople(options) {
|
|
2173
|
+
return (options.client ?? this.client).get({
|
|
2174
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2175
|
+
url: '/api/v2/public/entities/companies/{id}/people',
|
|
2176
|
+
...options
|
|
2177
|
+
});
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* List company licenses
|
|
2181
|
+
*
|
|
2182
|
+
* All of the company's licenses, paged; include=licenses on Get embeds the first page.
|
|
2183
|
+
*/
|
|
2184
|
+
listPublicCompanyLicenses(options) {
|
|
2185
|
+
return (options.client ?? this.client).get({
|
|
2186
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2187
|
+
url: '/api/v2/public/entities/companies/{id}/licenses',
|
|
2188
|
+
...options
|
|
2189
|
+
});
|
|
2190
|
+
}
|
|
2191
|
+
/**
|
|
2192
|
+
* List company filings
|
|
2193
|
+
*
|
|
2194
|
+
* All of the company's filings, paged; include=filings on Get embeds the first page.
|
|
2195
|
+
*/
|
|
2196
|
+
listPublicCompanyFilings(options) {
|
|
2197
|
+
return (options.client ?? this.client).get({
|
|
2198
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2199
|
+
url: '/api/v2/public/entities/companies/{id}/filings',
|
|
2200
|
+
...options
|
|
2201
|
+
});
|
|
2202
|
+
}
|
|
2203
|
+
/**
|
|
2204
|
+
* List company addresses
|
|
2205
|
+
*
|
|
2206
|
+
* All of the company's addresses, paged; include=addresses on Get embeds the first page.
|
|
2207
|
+
*/
|
|
2208
|
+
listPublicCompanyAddresses(options) {
|
|
2209
|
+
return (options.client ?? this.client).get({
|
|
2210
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2211
|
+
url: '/api/v2/public/entities/companies/{id}/addresses',
|
|
2212
|
+
...options
|
|
2213
|
+
});
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* List company industries
|
|
2217
|
+
*
|
|
2218
|
+
* All of the company's industries, paged; include=industries on Get embeds the first page.
|
|
2219
|
+
*/
|
|
2220
|
+
listPublicCompanyIndustries(options) {
|
|
2221
|
+
return (options.client ?? this.client).get({
|
|
2222
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2223
|
+
url: '/api/v2/public/entities/companies/{id}/industries',
|
|
2224
|
+
...options
|
|
2225
|
+
});
|
|
2226
|
+
}
|
|
2227
|
+
/**
|
|
2228
|
+
* Get company network
|
|
2229
|
+
*
|
|
2230
|
+
* The shared Firmenbuch and EVI network, with canonical company/person node IDs and assignment, ownership and address edges. Depth 1 matches the existing graph, depths 2 and 3 read further layers, preserving node limits. Includes supported shares and provenance.
|
|
2231
|
+
*/
|
|
2232
|
+
getPublicCompanyNetwork(options) {
|
|
2233
|
+
return (options.client ?? this.client).get({
|
|
2234
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2235
|
+
url: '/api/v2/public/entities/companies/{id}/network',
|
|
2236
|
+
...options
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
/**
|
|
2240
|
+
* List annual accounts
|
|
2241
|
+
*
|
|
2242
|
+
* Annual accounts (Jahresabschlüsse) filed with the Firmenbuch, one item per fiscal year, newest first. figures holds every key figure parsed from the filing, keyed by key figure code (*List references* (namespace key-figure)); figures not found in the filing are omitted. document.key names the source filing. include=accounts on Get embeds the first page.
|
|
2243
|
+
*
|
|
2244
|
+
* Deprecated: use HTTP operation `listPublicCompanyAccounts`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyAccounts). No removal date is scheduled.
|
|
2245
|
+
*
|
|
2246
|
+
* @deprecated
|
|
2247
|
+
*/
|
|
2248
|
+
listCompanyAccounts(options) {
|
|
2249
|
+
return (options.client ?? this.client).get({
|
|
2250
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2251
|
+
url: '/api/v2/companies/{id}/accounts',
|
|
2252
|
+
...options
|
|
2253
|
+
});
|
|
2254
|
+
}
|
|
2255
|
+
/**
|
|
2256
|
+
* List company people
|
|
2257
|
+
*
|
|
2258
|
+
* Functions that have not ended come first, on the Vienna calendar day. current=true returns functions that have started and not ended (inclusive dates; absent bounds are open). Firmenbuch and EVI relationships reconcile distinct roles and subscribed capital, supported sharePercent and source-owned evidence. Unknown percentages are omitted. include=people on Get embeds the first page.
|
|
2259
|
+
*
|
|
2260
|
+
* Deprecated: use HTTP operation `listPublicCompanyPeople`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyPeople). No removal date is scheduled.
|
|
2261
|
+
*
|
|
2262
|
+
* @deprecated
|
|
2263
|
+
*/
|
|
2264
|
+
listCompanyPeople(options) {
|
|
2265
|
+
return (options.client ?? this.client).get({
|
|
2266
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2267
|
+
url: '/api/v2/companies/{id}/people',
|
|
2268
|
+
...options
|
|
2269
|
+
});
|
|
2270
|
+
}
|
|
2271
|
+
/**
|
|
2272
|
+
* List company licenses
|
|
2273
|
+
*
|
|
2274
|
+
* All of the company's licenses, paged; include=licenses on Get embeds the first page.
|
|
2275
|
+
*
|
|
2276
|
+
* Deprecated: use HTTP operation `listPublicCompanyLicenses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyLicenses). No removal date is scheduled.
|
|
2277
|
+
*
|
|
2278
|
+
* @deprecated
|
|
2279
|
+
*/
|
|
2280
|
+
listCompanyLicenses(options) {
|
|
2281
|
+
return (options.client ?? this.client).get({
|
|
2282
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2283
|
+
url: '/api/v2/companies/{id}/licenses',
|
|
2284
|
+
...options
|
|
2285
|
+
});
|
|
2286
|
+
}
|
|
2287
|
+
/**
|
|
2288
|
+
* List company notices
|
|
2289
|
+
*
|
|
2290
|
+
* All of the company's notices, paged; include=notices on Get embeds the first page.
|
|
2291
|
+
*
|
|
2292
|
+
* Deprecated: use HTTP operation `listPublicCompanyNotices`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyNotices). No removal date is scheduled.
|
|
2293
|
+
*
|
|
2294
|
+
* @deprecated
|
|
2295
|
+
*/
|
|
2296
|
+
listCompanyNotices(options) {
|
|
2297
|
+
return (options.client ?? this.client).get({
|
|
2298
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2299
|
+
url: '/api/v2/companies/{id}/notices',
|
|
2300
|
+
...options
|
|
2301
|
+
});
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
* List company notices
|
|
2305
|
+
*
|
|
2306
|
+
* All of the company's notices, paged; include=notices on Get embeds the first page.
|
|
2307
|
+
*/
|
|
2308
|
+
listPublicCompanyNotices(options) {
|
|
2309
|
+
return (options.client ?? this.client).get({
|
|
2310
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2311
|
+
url: '/api/v2/public/entities/companies/{id}/notices',
|
|
2312
|
+
...options
|
|
2313
|
+
});
|
|
2314
|
+
}
|
|
2315
|
+
/**
|
|
2316
|
+
* List company documents
|
|
2317
|
+
*
|
|
2318
|
+
* All of the company's documents, paged; include=documents on Get embeds the first page.
|
|
2319
|
+
*
|
|
2320
|
+
* Deprecated: use HTTP operation `listPublicCompanyDocuments`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyDocuments). No removal date is scheduled.
|
|
2321
|
+
*
|
|
2322
|
+
* @deprecated
|
|
2323
|
+
*/
|
|
2324
|
+
listCompanyDocuments(options) {
|
|
2325
|
+
return (options.client ?? this.client).get({
|
|
2326
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2327
|
+
url: '/api/v2/companies/{id}/documents',
|
|
2328
|
+
...options
|
|
2329
|
+
});
|
|
2330
|
+
}
|
|
2331
|
+
/**
|
|
2332
|
+
* List company documents
|
|
2333
|
+
*
|
|
2334
|
+
* All of the company's documents, paged; include=documents on Get embeds the first page.
|
|
2335
|
+
*/
|
|
2336
|
+
listPublicCompanyDocuments(options) {
|
|
2337
|
+
return (options.client ?? this.client).get({
|
|
2338
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2339
|
+
url: '/api/v2/public/entities/companies/{id}/documents',
|
|
2340
|
+
...options
|
|
2341
|
+
});
|
|
2342
|
+
}
|
|
2343
|
+
/**
|
|
2344
|
+
* List company filings
|
|
2345
|
+
*
|
|
2346
|
+
* All of the company's filings, paged; include=filings on Get embeds the first page.
|
|
2347
|
+
*
|
|
2348
|
+
* Deprecated: use HTTP operation `listPublicCompanyFilings`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyFilings). No removal date is scheduled.
|
|
2349
|
+
*
|
|
2350
|
+
* @deprecated
|
|
2351
|
+
*/
|
|
2352
|
+
listCompanyFilings(options) {
|
|
2353
|
+
return (options.client ?? this.client).get({
|
|
2354
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2355
|
+
url: '/api/v2/companies/{id}/filings',
|
|
2356
|
+
...options
|
|
2357
|
+
});
|
|
2358
|
+
}
|
|
2359
|
+
/**
|
|
2360
|
+
* List company addresses
|
|
2361
|
+
*
|
|
2362
|
+
* All of the company's addresses, paged; include=addresses on Get embeds the first page.
|
|
2363
|
+
*
|
|
2364
|
+
* Deprecated: use HTTP operation `listPublicCompanyAddresses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyAddresses). No removal date is scheduled.
|
|
2365
|
+
*
|
|
2366
|
+
* @deprecated
|
|
2367
|
+
*/
|
|
2368
|
+
listCompanyAddresses(options) {
|
|
2369
|
+
return (options.client ?? this.client).get({
|
|
2370
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2371
|
+
url: '/api/v2/companies/{id}/addresses',
|
|
2372
|
+
...options
|
|
2373
|
+
});
|
|
2374
|
+
}
|
|
2375
|
+
/**
|
|
2376
|
+
* List company industries
|
|
2377
|
+
*
|
|
2378
|
+
* All of the company's industries, paged; include=industries on Get embeds the first page.
|
|
2379
|
+
*
|
|
2380
|
+
* Deprecated: use HTTP operation `listPublicCompanyIndustries`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyIndustries). No removal date is scheduled.
|
|
2381
|
+
*
|
|
2382
|
+
* @deprecated
|
|
2383
|
+
*/
|
|
2384
|
+
listCompanyIndustries(options) {
|
|
2385
|
+
return (options.client ?? this.client).get({
|
|
2386
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2387
|
+
url: '/api/v2/companies/{id}/industries',
|
|
2388
|
+
...options
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
/**
|
|
2392
|
+
* List company funding
|
|
2393
|
+
*
|
|
2394
|
+
* All of the company's funding, paged; include=funding on Get embeds the first page.
|
|
2395
|
+
*
|
|
2396
|
+
* Deprecated: use HTTP operation `listPublicCompanyFunding`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyFunding). No removal date is scheduled.
|
|
2397
|
+
*
|
|
2398
|
+
* @deprecated
|
|
2399
|
+
*/
|
|
2400
|
+
listCompanyFunding(options) {
|
|
2401
|
+
return (options.client ?? this.client).get({
|
|
2402
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2403
|
+
url: '/api/v2/companies/{id}/funding',
|
|
2404
|
+
...options
|
|
2405
|
+
});
|
|
2406
|
+
}
|
|
2407
|
+
/**
|
|
2408
|
+
* List company funding
|
|
2409
|
+
*
|
|
2410
|
+
* All of the company's funding, paged; include=funding on Get embeds the first page.
|
|
2411
|
+
*/
|
|
2412
|
+
listPublicCompanyFunding(options) {
|
|
2413
|
+
return (options.client ?? this.client).get({
|
|
2414
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2415
|
+
url: '/api/v2/public/entities/companies/{id}/funding',
|
|
2416
|
+
...options
|
|
2417
|
+
});
|
|
2418
|
+
}
|
|
2419
|
+
/**
|
|
2420
|
+
* List company names
|
|
2421
|
+
*
|
|
2422
|
+
* An index of canonical company IDs, Firmenbuchnummern and names.
|
|
2423
|
+
*
|
|
2424
|
+
* Deprecated: use HTTP operation `listPublicCompanyNames`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyNames). No removal date is scheduled.
|
|
2425
|
+
*
|
|
2426
|
+
* @deprecated
|
|
2427
|
+
*/
|
|
2428
|
+
listCompanyNames(options) {
|
|
2429
|
+
return (options?.client ?? this.client).get({
|
|
2430
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2431
|
+
url: '/api/v2/companies/names',
|
|
2432
|
+
...options
|
|
2433
|
+
});
|
|
2434
|
+
}
|
|
2435
|
+
/**
|
|
2436
|
+
* List company names
|
|
2437
|
+
*
|
|
2438
|
+
* An index of canonical company IDs, Firmenbuchnummern and names.
|
|
2439
|
+
*/
|
|
2440
|
+
listPublicCompanyNames(options) {
|
|
2441
|
+
return (options?.client ?? this.client).get({
|
|
2442
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2443
|
+
url: '/api/v2/public/entities/companies/names',
|
|
2444
|
+
...options
|
|
2445
|
+
});
|
|
2446
|
+
}
|
|
2447
|
+
/**
|
|
2448
|
+
* Get a batch of companies
|
|
2449
|
+
*
|
|
2450
|
+
* Read up to 100 company IDs or aliases in request order. Each ok or merged item costs one credit; ambiguous and notFound items are free.
|
|
2451
|
+
*
|
|
2452
|
+
* Deprecated: use HTTP operation `batchGetPublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#batchGetCompanies). No removal date is scheduled.
|
|
2453
|
+
*
|
|
2454
|
+
* @deprecated
|
|
2455
|
+
*/
|
|
2456
|
+
batchGetCompanies(options) {
|
|
2457
|
+
return (options.client ?? this.client).post({
|
|
2458
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2459
|
+
url: '/api/v2/companies/batch-get',
|
|
2460
|
+
...options,
|
|
2461
|
+
headers: {
|
|
2462
|
+
'Content-Type': 'application/json',
|
|
2463
|
+
...options.headers
|
|
2464
|
+
}
|
|
2465
|
+
});
|
|
2466
|
+
}
|
|
2467
|
+
/**
|
|
2468
|
+
* Resolve company names
|
|
2469
|
+
*
|
|
2470
|
+
* Resolve up to 100 company/person inputs with name, address, country, UID, registry, fnr or akteId. Identifiers and unique exact names match automatically; search candidates are always ambiguous, never auto-linked. Foreign companies and people without an akteId are unmatched. minConfidence is retained for compatibility but does not auto-link fuzzy candidates. CSV import and form suggestions use this same operation.
|
|
2471
|
+
*
|
|
2472
|
+
* Deprecated: use HTTP operation `resolvePublicCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#resolveCompanies). No removal date is scheduled.
|
|
2473
|
+
*
|
|
2474
|
+
* @deprecated
|
|
2475
|
+
*/
|
|
2476
|
+
resolveCompanies(options) {
|
|
2477
|
+
return (options.client ?? this.client).post({
|
|
2478
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2479
|
+
url: '/api/v2/companies/resolve',
|
|
2480
|
+
...options,
|
|
2481
|
+
headers: {
|
|
2482
|
+
'Content-Type': 'application/json',
|
|
2483
|
+
...options.headers
|
|
2484
|
+
}
|
|
2485
|
+
});
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* Resolve company names
|
|
2489
|
+
*
|
|
2490
|
+
* Resolve up to 100 company/person inputs with name, address, country, UID, registry, fnr or akteId. Identifiers and unique exact names match automatically; search candidates are always ambiguous, never auto-linked. Foreign companies and people without an akteId are unmatched. minConfidence is retained for compatibility but does not auto-link fuzzy candidates. CSV import and form suggestions use this same operation.
|
|
2491
|
+
*/
|
|
2492
|
+
resolvePublicCompanies(options) {
|
|
2493
|
+
return (options.client ?? this.client).post({
|
|
2494
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2495
|
+
url: '/api/v2/public/entities/companies/resolve',
|
|
2496
|
+
...options,
|
|
2497
|
+
headers: {
|
|
2498
|
+
'Content-Type': 'application/json',
|
|
2499
|
+
...options.headers
|
|
2500
|
+
}
|
|
2501
|
+
});
|
|
2502
|
+
}
|
|
2503
|
+
/**
|
|
2504
|
+
* Get a company's network
|
|
2505
|
+
*
|
|
2506
|
+
* The shared Firmenbuch and EVI network, with canonical company/person node IDs and assignment, ownership and address edges. Depth 1 matches the existing graph, depths 2 and 3 read further layers, preserving node limits. Includes supported shares and provenance.
|
|
2507
|
+
*
|
|
2508
|
+
* Deprecated: use HTTP operation `getPublicCompanyNetwork`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getCompanyNetwork). No removal date is scheduled.
|
|
2509
|
+
*
|
|
2510
|
+
* @deprecated
|
|
2511
|
+
*/
|
|
2512
|
+
getCompanyNetwork(options) {
|
|
2513
|
+
return (options.client ?? this.client).get({
|
|
2514
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2515
|
+
url: '/api/v2/companies/{id}/network',
|
|
2516
|
+
...options
|
|
2517
|
+
});
|
|
2518
|
+
}
|
|
2519
|
+
/**
|
|
2520
|
+
* List similar companies
|
|
2521
|
+
*
|
|
2522
|
+
* The similarity neighbourhood, best first with reasons where the company has a vector, otherwise the bounded network, industry and location matcher with empty reasons.
|
|
2523
|
+
*
|
|
2524
|
+
* Deprecated: use HTTP operation `listPublicSimilarCompanies`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listSimilarCompanies). No removal date is scheduled.
|
|
2525
|
+
*
|
|
2526
|
+
* @deprecated
|
|
2527
|
+
*/
|
|
2528
|
+
listSimilarCompanies(options) {
|
|
2529
|
+
return (options.client ?? this.client).get({
|
|
2530
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2531
|
+
url: '/api/v2/companies/{id}/similar',
|
|
2532
|
+
...options
|
|
2533
|
+
});
|
|
2534
|
+
}
|
|
2535
|
+
/**
|
|
2536
|
+
* List similar companies
|
|
2537
|
+
*
|
|
2538
|
+
* The similarity neighbourhood, best first with reasons where the company has a vector, otherwise the bounded network, industry and location matcher with empty reasons.
|
|
2539
|
+
*/
|
|
2540
|
+
listPublicSimilarCompanies(options) {
|
|
2541
|
+
return (options.client ?? this.client).get({
|
|
2542
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2543
|
+
url: '/api/v2/public/entities/companies/{id}/similar',
|
|
2544
|
+
...options
|
|
2545
|
+
});
|
|
2546
|
+
}
|
|
2547
|
+
/**
|
|
2548
|
+
* List all register changes
|
|
2549
|
+
*
|
|
2550
|
+
* Commit-ordered durable feed. after is the last processed non-negative sequence and never expires. The safe horizon waits for all earlier writes to finish, so a later commit cannot appear behind the returned cursor. Only entries at or below the horizon are served. Delivery is at least once: deduplicate on stable id. nextCursor advances through the horizon even if no entries match. Omit after to read retained history. Filters: register, type and subject ID or alias; person subjects also match referenced people. Detail is full, partial or none, with typed data per register.
|
|
2551
|
+
*
|
|
2552
|
+
* Deprecated: use HTTP operation `listPublicChanges`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listChanges). No removal date is scheduled.
|
|
2553
|
+
*
|
|
2554
|
+
* @deprecated
|
|
2555
|
+
*/
|
|
2556
|
+
listChanges(options) {
|
|
2557
|
+
return (options?.client ?? this.client).get({
|
|
2558
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2559
|
+
url: '/api/v2/changes',
|
|
2560
|
+
...options
|
|
2561
|
+
});
|
|
2562
|
+
}
|
|
2563
|
+
/**
|
|
2564
|
+
* Get a register change
|
|
2565
|
+
*
|
|
2566
|
+
* Commit-ordered durable feed. after is the last processed non-negative sequence and never expires. The safe horizon waits for all earlier writes to finish, so a later commit cannot appear behind the returned cursor. Only entries at or below the horizon are served. Delivery is at least once: deduplicate on stable id. nextCursor advances through the horizon even if no entries match. Omit after to read retained history. Filters: register, type and subject ID or alias; person subjects also match referenced people. Detail is full, partial or none, with typed data per register.
|
|
2567
|
+
*
|
|
2568
|
+
* Deprecated: use HTTP operation `getPublicChange`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getChange). No removal date is scheduled.
|
|
2569
|
+
*
|
|
2570
|
+
* @deprecated
|
|
2571
|
+
*/
|
|
2572
|
+
getChange(options) {
|
|
2573
|
+
return (options.client ?? this.client).get({
|
|
2574
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2575
|
+
url: '/api/v2/changes/{id}',
|
|
2576
|
+
...options
|
|
2577
|
+
});
|
|
2578
|
+
}
|
|
2579
|
+
/**
|
|
2580
|
+
* Get change
|
|
2581
|
+
*
|
|
2582
|
+
* One change by its stable ID, with typed data per register and its detail level: full, partial or none.
|
|
2583
|
+
*/
|
|
2584
|
+
getPublicChange(options) {
|
|
2585
|
+
return (options.client ?? this.client).get({
|
|
2586
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2587
|
+
url: '/api/v2/public/entities/changes/{id}',
|
|
2588
|
+
...options
|
|
2589
|
+
});
|
|
2590
|
+
}
|
|
2591
|
+
/**
|
|
2592
|
+
* List change types
|
|
2593
|
+
*
|
|
2594
|
+
* Discover entity-feed channels and event kinds, including detail coverage. Channels such as identity and documents are feed metadata, not upstream sources or identity-bearing entities.
|
|
2595
|
+
*/
|
|
2596
|
+
listPublicChangeDefinitions(options) {
|
|
2597
|
+
return (options?.client ?? this.client).get({
|
|
2598
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2599
|
+
url: '/api/v2/public/entities/changes/catalogue',
|
|
2600
|
+
...options
|
|
2601
|
+
});
|
|
2602
|
+
}
|
|
2603
|
+
/**
|
|
2604
|
+
* List changes
|
|
2605
|
+
*
|
|
2606
|
+
* Register changes in commit order. The cursor is durable and bound to this subject and these filters: persist nextCursor even after an empty page, and deduplicate on id, since delivery is at least once. Omit cursor for retained history. Event kinds are listed in GET /api/v2/public/entities/changes/catalogue.
|
|
2607
|
+
*/
|
|
2608
|
+
listPublicChanges(options) {
|
|
2609
|
+
return (options?.client ?? this.client).get({
|
|
2610
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2611
|
+
url: '/api/v2/public/entities/changes',
|
|
2612
|
+
...options
|
|
2613
|
+
});
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* List company changes
|
|
2617
|
+
*
|
|
2618
|
+
* Register changes in commit order. The cursor is durable and bound to this subject and these filters: persist nextCursor even after an empty page, and deduplicate on id, since delivery is at least once. Omit cursor for retained history. Event kinds are listed in GET /api/v2/public/entities/changes/catalogue.
|
|
2619
|
+
*/
|
|
2620
|
+
listPublicCompanyChanges(options) {
|
|
2621
|
+
return (options.client ?? this.client).get({
|
|
2622
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2623
|
+
url: '/api/v2/public/entities/companies/{id}/changes',
|
|
2624
|
+
...options
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
/**
|
|
2628
|
+
* List person changes
|
|
2629
|
+
*
|
|
2630
|
+
* Register changes in commit order. The cursor is durable and bound to this subject and these filters: persist nextCursor even after an empty page, and deduplicate on id, since delivery is at least once. Omit cursor for retained history. Event kinds are listed in GET /api/v2/public/entities/changes/catalogue.
|
|
2631
|
+
*/
|
|
2632
|
+
listPublicPersonChanges(options) {
|
|
2633
|
+
return (options.client ?? this.client).get({
|
|
2634
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2635
|
+
url: '/api/v2/public/entities/people/{id}/changes',
|
|
2636
|
+
...options
|
|
2637
|
+
});
|
|
2638
|
+
}
|
|
2639
|
+
/**
|
|
2640
|
+
* List a company's register changes
|
|
2641
|
+
*
|
|
2642
|
+
* Commit-ordered durable feed. after is the last processed non-negative sequence and never expires. The safe horizon waits for all earlier writes to finish, so a later commit cannot appear behind the returned cursor. Only entries at or below the horizon are served. Delivery is at least once: deduplicate on stable id. nextCursor advances through the horizon even if no entries match. Omit after to read retained history. Filters: register, type and subject ID or alias; person subjects also match referenced people. Detail is full, partial or none, with typed data per register.
|
|
2643
|
+
*
|
|
2644
|
+
* Deprecated: use HTTP operation `listPublicCompanyChanges`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listCompanyChanges). No removal date is scheduled.
|
|
2645
|
+
*
|
|
2646
|
+
* @deprecated
|
|
2647
|
+
*/
|
|
2648
|
+
listCompanyChanges(options) {
|
|
2649
|
+
return (options.client ?? this.client).get({
|
|
2650
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2651
|
+
url: '/api/v2/companies/{id}/changes',
|
|
2652
|
+
...options
|
|
2653
|
+
});
|
|
2654
|
+
}
|
|
2655
|
+
/**
|
|
2656
|
+
* List a person's register changes
|
|
2657
|
+
*
|
|
2658
|
+
* Commit-ordered durable feed. after is the last processed non-negative sequence and never expires. The safe horizon waits for all earlier writes to finish, so a later commit cannot appear behind the returned cursor. Only entries at or below the horizon are served. Delivery is at least once: deduplicate on stable id. nextCursor advances through the horizon even if no entries match. Omit after to read retained history. Filters: register, type and subject ID or alias; person subjects also match referenced people. Detail is full, partial or none, with typed data per register.
|
|
2659
|
+
*
|
|
2660
|
+
* Deprecated: use HTTP operation `listPublicPersonChanges`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonChanges). No removal date is scheduled.
|
|
2661
|
+
*
|
|
2662
|
+
* @deprecated
|
|
2663
|
+
*/
|
|
2664
|
+
listPersonChanges(options) {
|
|
2665
|
+
return (options.client ?? this.client).get({
|
|
2666
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2667
|
+
url: '/api/v2/people/{id}/changes',
|
|
2668
|
+
...options
|
|
2669
|
+
});
|
|
2670
|
+
}
|
|
2671
|
+
/**
|
|
2672
|
+
* Read address snapshot status
|
|
2673
|
+
*
|
|
2674
|
+
* Read snapshot date, availability and refresh health. Validation covers Austrian snapshot base addresses; worldwide address storage remains available independently.
|
|
2675
|
+
*
|
|
2676
|
+
* Deprecated: use HTTP operation `getPublicRefAddressStatus`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getAddressStatus). It stops answering on 2027-06-30.
|
|
2677
|
+
*
|
|
2678
|
+
* @deprecated
|
|
2679
|
+
*/
|
|
2680
|
+
getAddressStatus(options) {
|
|
2681
|
+
return (options?.client ?? this.client).get({
|
|
2682
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2683
|
+
url: '/api/v2/addresses/status',
|
|
2684
|
+
...options
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2687
|
+
/**
|
|
2688
|
+
* Read address snapshot status
|
|
2689
|
+
*
|
|
2690
|
+
* Read snapshot date, availability and refresh health. Validation covers Austrian snapshot base addresses; worldwide address storage remains available independently.
|
|
2691
|
+
*
|
|
2692
|
+
* Deprecated: use HTTP operation `getPublicRefAddressStatus`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPublicAddressStatus). It stops answering on 2027-06-30.
|
|
2693
|
+
*
|
|
2694
|
+
* @deprecated
|
|
2695
|
+
*/
|
|
2696
|
+
getPublicAddressStatus(options) {
|
|
2697
|
+
return (options?.client ?? this.client).get({
|
|
2698
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2699
|
+
url: '/api/v2/public/entities/addresses/status',
|
|
2700
|
+
...options
|
|
2701
|
+
});
|
|
2702
|
+
}
|
|
2703
|
+
/**
|
|
2704
|
+
* Search Austrian reference addresses
|
|
2705
|
+
*
|
|
2706
|
+
* Search the Austrian BEV snapshot with bounded autocomplete results. Suggestions are not confirmed matches. Returns address refs (address:<BEV Adresscode>) with their place refs, source date and attribution; never searches private inputs.
|
|
2707
|
+
*
|
|
2708
|
+
* Deprecated: use HTTP operation `listAddressRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchAddresses). It stops answering on 2027-06-30.
|
|
2709
|
+
*
|
|
2710
|
+
* @deprecated
|
|
2711
|
+
*/
|
|
2712
|
+
searchAddresses(options) {
|
|
2713
|
+
return (options?.client ?? this.client).get({
|
|
2714
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2715
|
+
url: '/api/v2/addresses',
|
|
2716
|
+
...options
|
|
2717
|
+
});
|
|
2718
|
+
}
|
|
2719
|
+
/**
|
|
2720
|
+
* Check an address against the Austrian snapshot
|
|
2721
|
+
*
|
|
2722
|
+
* Compare one address with the active Austrian BEV snapshot without storing it. Returns exact, normalized, ambiguous, not_found, unsupported_country or unavailable. A match confirms only the snapshot base address; units, deliverability, people and company occupancy remain unverified. International addresses may still be stored in own entries.
|
|
2723
|
+
*
|
|
2724
|
+
* Deprecated: use HTTP operation `checkPublicRefAddress`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#checkAddress). It stops answering on 2027-06-30.
|
|
2725
|
+
*
|
|
2726
|
+
* @deprecated
|
|
2727
|
+
*/
|
|
2728
|
+
checkAddress(options) {
|
|
2729
|
+
return (options.client ?? this.client).post({
|
|
2730
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2731
|
+
url: '/api/v2/addresses/validate',
|
|
2732
|
+
...options,
|
|
2733
|
+
headers: {
|
|
2734
|
+
'Content-Type': 'application/json',
|
|
2735
|
+
...options.headers
|
|
2736
|
+
}
|
|
2737
|
+
});
|
|
2738
|
+
}
|
|
2739
|
+
/**
|
|
2740
|
+
* Get a reference address
|
|
2741
|
+
*
|
|
2742
|
+
* Resolve an address ref (address:<BEV Adresscode>), including inactive historical addresses; an old A Firmenakte-ID or bev:<code> resolves too. Returns BEV provenance and source date, geographic identities and transformed coordinates without any reverse company or private-entry relationship.
|
|
2743
|
+
*
|
|
2744
|
+
* Deprecated: use HTTP operation `getAddressRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getAddress). It stops answering on 2027-06-30.
|
|
2745
|
+
*
|
|
2746
|
+
* @deprecated
|
|
2747
|
+
*/
|
|
2748
|
+
getAddress(options) {
|
|
2749
|
+
return (options.client ?? this.client).get({
|
|
2750
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2751
|
+
url: '/api/v2/addresses/{id}',
|
|
2752
|
+
...options
|
|
2753
|
+
});
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Get a geographic place
|
|
2757
|
+
*
|
|
2758
|
+
* Resolve a place ref (gemeinde:10101, postal-code:1010 …), an old G Firmenakte-ID or a source alias, including retired geography. Returns the typed source code, snapshot date and all parent refs. Postal coverage can have several municipalities; cities, municipalities and districts are distinct types.
|
|
2759
|
+
*
|
|
2760
|
+
* Deprecated: use HTTP operation `getPublicRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPlace). It stops answering on 2027-06-30.
|
|
2761
|
+
*
|
|
2762
|
+
* @deprecated
|
|
2763
|
+
*/
|
|
2764
|
+
getPlace(options) {
|
|
2765
|
+
return (options.client ?? this.client).get({
|
|
2766
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2767
|
+
url: '/api/v2/places/{id}',
|
|
2768
|
+
...options
|
|
2769
|
+
});
|
|
2770
|
+
}
|
|
2771
|
+
/**
|
|
2772
|
+
* Search Austrian reference addresses
|
|
2773
|
+
*
|
|
2774
|
+
* Search the Austrian BEV snapshot with bounded autocomplete results. Suggestions are not confirmed matches. Returns address refs (address:<BEV Adresscode>) with their place refs, source date and attribution; never searches private inputs.
|
|
2775
|
+
*
|
|
2776
|
+
* Deprecated: use HTTP operation `listAddressRefs`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#searchPublicAddresses). It stops answering on 2027-06-30.
|
|
2777
|
+
*
|
|
2778
|
+
* @deprecated
|
|
2779
|
+
*/
|
|
2780
|
+
searchPublicAddresses(options) {
|
|
2781
|
+
return (options?.client ?? this.client).get({
|
|
2782
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2783
|
+
url: '/api/v2/public/entities/addresses',
|
|
2784
|
+
...options
|
|
2785
|
+
});
|
|
2786
|
+
}
|
|
2787
|
+
/**
|
|
2788
|
+
* Check an address against the Austrian snapshot
|
|
2789
|
+
*
|
|
2790
|
+
* Compare one address with the active Austrian BEV snapshot without storing it. Returns exact, normalized, ambiguous, not_found, unsupported_country or unavailable. A match confirms only the snapshot base address; units, deliverability, people and company occupancy remain unverified. International addresses may still be stored in own entries.
|
|
2791
|
+
*
|
|
2792
|
+
* Deprecated: use HTTP operation `checkPublicRefAddress`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#checkPublicAddress). It stops answering on 2027-06-30.
|
|
2793
|
+
*
|
|
2794
|
+
* @deprecated
|
|
2795
|
+
*/
|
|
2796
|
+
checkPublicAddress(options) {
|
|
2797
|
+
return (options.client ?? this.client).post({
|
|
2798
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2799
|
+
url: '/api/v2/public/entities/addresses/validate',
|
|
2800
|
+
...options,
|
|
2801
|
+
headers: {
|
|
2802
|
+
'Content-Type': 'application/json',
|
|
2803
|
+
...options.headers
|
|
2804
|
+
}
|
|
2805
|
+
});
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* Get a reference address
|
|
2809
|
+
*
|
|
2810
|
+
* Resolve an address ref (address:<BEV Adresscode>), including inactive historical addresses; an old A Firmenakte-ID or bev:<code> resolves too. Returns BEV provenance and source date, geographic identities and transformed coordinates without any reverse company or private-entry relationship.
|
|
2811
|
+
*
|
|
2812
|
+
* Deprecated: use HTTP operation `getAddressRef`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#getPublicAddress). It stops answering on 2027-06-30.
|
|
2813
|
+
*
|
|
2814
|
+
* @deprecated
|
|
2815
|
+
*/
|
|
2816
|
+
getPublicAddress(options) {
|
|
2817
|
+
return (options.client ?? this.client).get({
|
|
2818
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
2819
|
+
url: '/api/v2/public/entities/addresses/{id}',
|
|
1436
2820
|
...options
|
|
1437
2821
|
});
|
|
1438
2822
|
}
|