@firmenakte/api-client 2.30.0 → 2.32.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 +605 -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 -259
- package/v2/generated/sdk.gen.d.ts.map +1 -1
- package/v2/generated/sdk.gen.js +1696 -368
- package/v2/generated/types.gen.d.ts +9282 -2242
- 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.
|
|
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
|
-
*
|
|
136
|
+
* Delete workspace field
|
|
131
137
|
*
|
|
132
|
-
*
|
|
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
|
|
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,26 +613,26 @@ 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
|
|
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({
|
|
616
622
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
617
|
-
url: '/api/v2/me/
|
|
623
|
+
url: '/api/v2/me/own-records',
|
|
618
624
|
...options
|
|
619
625
|
});
|
|
620
626
|
}
|
|
621
627
|
/**
|
|
622
|
-
* Create
|
|
628
|
+
* Create own record
|
|
623
629
|
*
|
|
624
|
-
* Create a workspace
|
|
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({
|
|
628
634
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
629
|
-
url: '/api/v2/me/
|
|
635
|
+
url: '/api/v2/me/own-records',
|
|
630
636
|
...options,
|
|
631
637
|
headers: {
|
|
632
638
|
'Content-Type': 'application/json',
|
|
@@ -635,26 +641,38 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
635
641
|
});
|
|
636
642
|
}
|
|
637
643
|
/**
|
|
638
|
-
* Delete
|
|
644
|
+
* Delete own record
|
|
639
645
|
*
|
|
640
|
-
* Delete a workspace
|
|
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({
|
|
644
650
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
645
|
-
url: '/api/v2/me/
|
|
651
|
+
url: '/api/v2/me/own-records/{id}',
|
|
652
|
+
...options
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Get own record
|
|
657
|
+
*
|
|
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.
|
|
659
|
+
*/
|
|
660
|
+
getOwnRecord(options) {
|
|
661
|
+
return (options.client ?? this.client).get({
|
|
662
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
663
|
+
url: '/api/v2/me/own-records/{id}',
|
|
646
664
|
...options
|
|
647
665
|
});
|
|
648
666
|
}
|
|
649
667
|
/**
|
|
650
|
-
* Update
|
|
668
|
+
* Update own record
|
|
651
669
|
*
|
|
652
|
-
* Update
|
|
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.
|
|
653
671
|
*/
|
|
654
|
-
|
|
672
|
+
updateOwnRecord(options) {
|
|
655
673
|
return (options.client ?? this.client).patch({
|
|
656
674
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
657
|
-
url: '/api/v2/me/
|
|
675
|
+
url: '/api/v2/me/own-records/{id}',
|
|
658
676
|
...options,
|
|
659
677
|
headers: {
|
|
660
678
|
'Content-Type': 'application/json',
|
|
@@ -663,26 +681,26 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
663
681
|
});
|
|
664
682
|
}
|
|
665
683
|
/**
|
|
666
|
-
* List
|
|
684
|
+
* List exports
|
|
667
685
|
*
|
|
668
|
-
*
|
|
686
|
+
* This workspace's export jobs, newest first.
|
|
669
687
|
*/
|
|
670
|
-
|
|
688
|
+
listExports(options) {
|
|
671
689
|
return (options?.client ?? this.client).get({
|
|
672
690
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
673
|
-
url: '/api/v2/me/
|
|
691
|
+
url: '/api/v2/me/exports',
|
|
674
692
|
...options
|
|
675
693
|
});
|
|
676
694
|
}
|
|
677
695
|
/**
|
|
678
|
-
* Create
|
|
696
|
+
* Create export
|
|
679
697
|
*
|
|
680
|
-
*
|
|
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.
|
|
681
699
|
*/
|
|
682
|
-
|
|
700
|
+
createExport(options) {
|
|
683
701
|
return (options.client ?? this.client).post({
|
|
684
702
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
685
|
-
url: '/api/v2/me/
|
|
703
|
+
url: '/api/v2/me/exports',
|
|
686
704
|
...options,
|
|
687
705
|
headers: {
|
|
688
706
|
'Content-Type': 'application/json',
|
|
@@ -691,38 +709,42 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
691
709
|
});
|
|
692
710
|
}
|
|
693
711
|
/**
|
|
694
|
-
*
|
|
712
|
+
* Get export
|
|
695
713
|
*
|
|
696
|
-
*
|
|
714
|
+
* One export job with its status and progress (rowsDone of rows).
|
|
697
715
|
*/
|
|
698
|
-
|
|
699
|
-
return (options.client ?? this.client).
|
|
716
|
+
getExport(options) {
|
|
717
|
+
return (options.client ?? this.client).get({
|
|
700
718
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
701
|
-
url: '/api/v2/me/
|
|
719
|
+
url: '/api/v2/me/exports/{id}',
|
|
702
720
|
...options
|
|
703
721
|
});
|
|
704
722
|
}
|
|
705
723
|
/**
|
|
706
|
-
*
|
|
724
|
+
* Download export file
|
|
707
725
|
*
|
|
708
|
-
*
|
|
726
|
+
* Stream the immutable CSV or XLSX within 24 hours of completion. Errors remain problem JSON.
|
|
709
727
|
*/
|
|
710
|
-
|
|
728
|
+
getExportFile(options) {
|
|
711
729
|
return (options.client ?? this.client).get({
|
|
712
730
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
713
|
-
url: '/api/v2/me/
|
|
731
|
+
url: '/api/v2/me/exports/{id}/file',
|
|
714
732
|
...options
|
|
715
733
|
});
|
|
716
734
|
}
|
|
717
735
|
/**
|
|
718
|
-
*
|
|
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.
|
|
719
739
|
*
|
|
720
|
-
*
|
|
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
|
|
721
743
|
*/
|
|
722
|
-
|
|
723
|
-
return (options.client ?? this.client).
|
|
744
|
+
checkUid(options) {
|
|
745
|
+
return (options.client ?? this.client).post({
|
|
724
746
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
725
|
-
url: '/api/v2/
|
|
747
|
+
url: '/api/v2/uid-checks',
|
|
726
748
|
...options,
|
|
727
749
|
headers: {
|
|
728
750
|
'Content-Type': 'application/json',
|
|
@@ -731,61 +753,153 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
731
753
|
});
|
|
732
754
|
}
|
|
733
755
|
/**
|
|
734
|
-
*
|
|
756
|
+
* Check VAT number
|
|
735
757
|
*
|
|
736
|
-
*
|
|
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.
|
|
737
759
|
*/
|
|
738
|
-
|
|
739
|
-
return (options
|
|
760
|
+
checkPublicUid(options) {
|
|
761
|
+
return (options.client ?? this.client).post({
|
|
740
762
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
741
|
-
url: '/api/v2/
|
|
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',
|
|
742
780
|
...options
|
|
743
781
|
});
|
|
744
782
|
}
|
|
745
783
|
/**
|
|
746
|
-
*
|
|
784
|
+
* List source record changes
|
|
747
785
|
*
|
|
748
|
-
*
|
|
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).
|
|
749
787
|
*/
|
|
750
|
-
|
|
751
|
-
return (options.client ?? this.client).
|
|
788
|
+
listSourceRecordChanges(options) {
|
|
789
|
+
return (options.client ?? this.client).get({
|
|
752
790
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
753
|
-
url: '/api/v2/
|
|
754
|
-
...options
|
|
755
|
-
headers: {
|
|
756
|
-
'Content-Type': 'application/json',
|
|
757
|
-
...options.headers
|
|
758
|
-
}
|
|
791
|
+
url: '/api/v2/public/sources/{source}/records/changes',
|
|
792
|
+
...options
|
|
759
793
|
});
|
|
760
794
|
}
|
|
761
795
|
/**
|
|
762
|
-
* Get
|
|
796
|
+
* Get source record
|
|
763
797
|
*
|
|
764
|
-
* Read
|
|
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).
|
|
765
799
|
*/
|
|
766
|
-
|
|
800
|
+
getSourceRecord(options) {
|
|
767
801
|
return (options.client ?? this.client).get({
|
|
768
802
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
769
|
-
url: '/api/v2/
|
|
803
|
+
url: '/api/v2/public/sources/{source}/records/{id}',
|
|
770
804
|
...options
|
|
771
805
|
});
|
|
772
806
|
}
|
|
773
807
|
/**
|
|
774
|
-
*
|
|
808
|
+
* List record observations
|
|
775
809
|
*
|
|
776
|
-
*
|
|
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).
|
|
777
811
|
*/
|
|
778
|
-
|
|
812
|
+
listRecordObservations(options) {
|
|
779
813
|
return (options.client ?? this.client).get({
|
|
780
814
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
781
|
-
url: '/api/v2/
|
|
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}',
|
|
782
896
|
...options
|
|
783
897
|
});
|
|
784
898
|
}
|
|
785
899
|
/**
|
|
786
|
-
* Set
|
|
900
|
+
* Set list notifications
|
|
787
901
|
*
|
|
788
|
-
* 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.
|
|
789
903
|
*/
|
|
790
904
|
setNotificationRules(options) {
|
|
791
905
|
return (options.client ?? this.client).put({
|
|
@@ -801,7 +915,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
801
915
|
/**
|
|
802
916
|
* List my notifications
|
|
803
917
|
*
|
|
804
|
-
* 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.
|
|
805
921
|
*
|
|
806
922
|
* @deprecated
|
|
807
923
|
*/
|
|
@@ -815,7 +931,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
815
931
|
/**
|
|
816
932
|
* Mark my notifications read
|
|
817
933
|
*
|
|
818
|
-
* 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.
|
|
819
937
|
*
|
|
820
938
|
* @deprecated
|
|
821
939
|
*/
|
|
@@ -833,7 +951,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
833
951
|
/**
|
|
834
952
|
* Get my daily digest settings
|
|
835
953
|
*
|
|
836
|
-
* 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.
|
|
837
957
|
*
|
|
838
958
|
* @deprecated
|
|
839
959
|
*/
|
|
@@ -847,7 +967,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
847
967
|
/**
|
|
848
968
|
* Update my daily digest settings
|
|
849
969
|
*
|
|
850
|
-
* 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.
|
|
851
973
|
*
|
|
852
974
|
* @deprecated
|
|
853
975
|
*/
|
|
@@ -863,9 +985,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
863
985
|
});
|
|
864
986
|
}
|
|
865
987
|
/**
|
|
866
|
-
* Get
|
|
988
|
+
* Get account
|
|
867
989
|
*
|
|
868
|
-
*
|
|
990
|
+
* The workspace, plan and role this request acts for, and the API key it used, if any.
|
|
869
991
|
*/
|
|
870
992
|
getMe(options) {
|
|
871
993
|
return (options?.client ?? this.client).get({
|
|
@@ -875,9 +997,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
875
997
|
});
|
|
876
998
|
}
|
|
877
999
|
/**
|
|
878
|
-
* Get
|
|
1000
|
+
* Get credits
|
|
879
1001
|
*
|
|
880
|
-
*
|
|
1002
|
+
* This week's allowance, the credits used and topped up, the balance, when it resets and the current prices.
|
|
881
1003
|
*/
|
|
882
1004
|
getCredits(options) {
|
|
883
1005
|
return (options?.client ?? this.client).get({
|
|
@@ -889,7 +1011,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
889
1011
|
/**
|
|
890
1012
|
* List my API keys
|
|
891
1013
|
*
|
|
892
|
-
*
|
|
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.
|
|
893
1017
|
*
|
|
894
1018
|
* @deprecated
|
|
895
1019
|
*/
|
|
@@ -903,7 +1027,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
903
1027
|
/**
|
|
904
1028
|
* Create an API key
|
|
905
1029
|
*
|
|
906
|
-
*
|
|
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.
|
|
907
1033
|
*
|
|
908
1034
|
* @deprecated
|
|
909
1035
|
*/
|
|
@@ -921,7 +1047,9 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
921
1047
|
/**
|
|
922
1048
|
* Delete an API key
|
|
923
1049
|
*
|
|
924
|
-
*
|
|
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.
|
|
925
1053
|
*
|
|
926
1054
|
* @deprecated
|
|
927
1055
|
*/
|
|
@@ -933,42 +1061,66 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
933
1061
|
});
|
|
934
1062
|
}
|
|
935
1063
|
/**
|
|
936
|
-
*
|
|
1064
|
+
* List company timeline
|
|
937
1065
|
*
|
|
938
|
-
*
|
|
1066
|
+
* Read a company by Firmenakte-ID or register alias. Aliases and merged identities resolve without redirects.
|
|
939
1067
|
*/
|
|
940
|
-
|
|
941
|
-
return (options.client ?? this.client).
|
|
1068
|
+
listPublicCompanyTimeline(options) {
|
|
1069
|
+
return (options.client ?? this.client).get({
|
|
942
1070
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
943
|
-
url: '/api/v2/
|
|
944
|
-
...options
|
|
945
|
-
headers: {
|
|
946
|
-
'Content-Type': 'application/json',
|
|
947
|
-
...options.headers
|
|
948
|
-
}
|
|
1071
|
+
url: '/api/v2/public/entities/companies/{id}/timeline',
|
|
1072
|
+
...options
|
|
949
1073
|
});
|
|
950
1074
|
}
|
|
951
1075
|
/**
|
|
952
|
-
* List
|
|
1076
|
+
* List person timeline
|
|
953
1077
|
*
|
|
954
|
-
* Read
|
|
1078
|
+
* Read a company or person by Firmenakte-ID or register alias. A person answer carries no birth date, birth year or age.
|
|
955
1079
|
*/
|
|
956
|
-
|
|
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 entities whose name or code contains q: companies, people, 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) {
|
|
957
1097
|
return (options?.client ?? this.client).get({
|
|
958
1098
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
959
|
-
url: '/api/v2/
|
|
1099
|
+
url: '/api/v2/search',
|
|
960
1100
|
...options
|
|
961
1101
|
});
|
|
962
1102
|
}
|
|
963
1103
|
/**
|
|
964
|
-
* Search
|
|
1104
|
+
* Search entities
|
|
965
1105
|
*
|
|
966
|
-
*
|
|
1106
|
+
* Find entities whose name or code contains q: companies, people, 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.
|
|
967
1107
|
*/
|
|
968
|
-
|
|
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 entities whose name or code contains q: companies, people, 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) {
|
|
969
1121
|
return (options.client ?? this.client).post({
|
|
970
1122
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
971
|
-
url: '/api/v2/
|
|
1123
|
+
url: '/api/v2/public/entities/search',
|
|
972
1124
|
...options,
|
|
973
1125
|
headers: {
|
|
974
1126
|
'Content-Type': 'application/json',
|
|
@@ -977,326 +1129,382 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
977
1129
|
});
|
|
978
1130
|
}
|
|
979
1131
|
/**
|
|
980
|
-
*
|
|
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.
|
|
981
1135
|
*
|
|
982
|
-
*
|
|
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
|
|
983
1139
|
*/
|
|
984
|
-
|
|
1140
|
+
listLegalForms(options) {
|
|
985
1141
|
return (options?.client ?? this.client).get({
|
|
986
1142
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
987
|
-
url: '/api/v2/
|
|
1143
|
+
url: '/api/v2/public/entities/legal-forms',
|
|
988
1144
|
...options
|
|
989
1145
|
});
|
|
990
1146
|
}
|
|
991
1147
|
/**
|
|
992
|
-
*
|
|
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.
|
|
993
1151
|
*
|
|
994
|
-
*
|
|
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
|
|
995
1155
|
*/
|
|
996
|
-
|
|
1156
|
+
getLegalForm(options) {
|
|
997
1157
|
return (options.client ?? this.client).get({
|
|
998
1158
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
999
|
-
url: '/api/v2/
|
|
1159
|
+
url: '/api/v2/public/entities/legal-forms/{id}',
|
|
1000
1160
|
...options
|
|
1001
1161
|
});
|
|
1002
1162
|
}
|
|
1003
1163
|
/**
|
|
1004
|
-
*
|
|
1164
|
+
* list Courts
|
|
1165
|
+
*
|
|
1166
|
+
* The register courts that keep the Firmenbuch, as refs court:<code>. q searches their codes and German labels.
|
|
1005
1167
|
*
|
|
1006
|
-
*
|
|
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
|
|
1007
1171
|
*/
|
|
1008
|
-
|
|
1009
|
-
return (options
|
|
1172
|
+
listCourts(options) {
|
|
1173
|
+
return (options?.client ?? this.client).get({
|
|
1010
1174
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1011
|
-
url: '/api/v2/
|
|
1175
|
+
url: '/api/v2/public/entities/courts',
|
|
1012
1176
|
...options
|
|
1013
1177
|
});
|
|
1014
1178
|
}
|
|
1015
1179
|
/**
|
|
1016
|
-
*
|
|
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.
|
|
1017
1183
|
*
|
|
1018
|
-
*
|
|
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
|
|
1019
1187
|
*/
|
|
1020
|
-
|
|
1188
|
+
getCourt(options) {
|
|
1021
1189
|
return (options.client ?? this.client).get({
|
|
1022
1190
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1023
|
-
url: '/api/v2/
|
|
1191
|
+
url: '/api/v2/public/entities/courts/{id}',
|
|
1024
1192
|
...options
|
|
1025
1193
|
});
|
|
1026
1194
|
}
|
|
1027
1195
|
/**
|
|
1028
|
-
*
|
|
1196
|
+
* list Industries
|
|
1197
|
+
*
|
|
1198
|
+
* ÖNACE 2025 classes, as refs oenace-2025:<code>, with their hierarchy. q searches their codes and German labels.
|
|
1029
1199
|
*
|
|
1030
|
-
*
|
|
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
|
|
1031
1203
|
*/
|
|
1032
|
-
|
|
1033
|
-
return (options
|
|
1204
|
+
listIndustries(options) {
|
|
1205
|
+
return (options?.client ?? this.client).get({
|
|
1034
1206
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1035
|
-
url: '/api/v2/
|
|
1207
|
+
url: '/api/v2/public/entities/industries',
|
|
1036
1208
|
...options
|
|
1037
1209
|
});
|
|
1038
1210
|
}
|
|
1039
1211
|
/**
|
|
1040
|
-
*
|
|
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.
|
|
1041
1215
|
*
|
|
1042
|
-
*
|
|
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
|
|
1043
1219
|
*/
|
|
1044
|
-
|
|
1220
|
+
getIndustry(options) {
|
|
1045
1221
|
return (options.client ?? this.client).get({
|
|
1046
1222
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1047
|
-
url: '/api/v2/
|
|
1223
|
+
url: '/api/v2/public/entities/industries/{id}',
|
|
1048
1224
|
...options
|
|
1049
1225
|
});
|
|
1050
1226
|
}
|
|
1051
1227
|
/**
|
|
1052
|
-
*
|
|
1228
|
+
* list Trades
|
|
1229
|
+
*
|
|
1230
|
+
* GISA trades (Gewerbe) that licences are issued for, as refs trade:<key>. q searches their codes and German labels.
|
|
1053
1231
|
*
|
|
1054
|
-
*
|
|
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
|
|
1055
1235
|
*/
|
|
1056
|
-
|
|
1057
|
-
return (options
|
|
1236
|
+
listTrades(options) {
|
|
1237
|
+
return (options?.client ?? this.client).get({
|
|
1058
1238
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1059
|
-
url: '/api/v2/
|
|
1239
|
+
url: '/api/v2/public/entities/trades',
|
|
1060
1240
|
...options
|
|
1061
1241
|
});
|
|
1062
1242
|
}
|
|
1063
1243
|
/**
|
|
1064
|
-
*
|
|
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.
|
|
1065
1247
|
*
|
|
1066
|
-
*
|
|
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
|
|
1067
1251
|
*/
|
|
1068
|
-
|
|
1252
|
+
getTrade(options) {
|
|
1069
1253
|
return (options.client ?? this.client).get({
|
|
1070
1254
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1071
|
-
url: '/api/v2/entities/{id}',
|
|
1255
|
+
url: '/api/v2/public/entities/trades/{id}',
|
|
1072
1256
|
...options
|
|
1073
1257
|
});
|
|
1074
1258
|
}
|
|
1075
1259
|
/**
|
|
1076
|
-
*
|
|
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.
|
|
1077
1263
|
*
|
|
1078
|
-
*
|
|
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
|
|
1079
1267
|
*/
|
|
1080
|
-
|
|
1081
|
-
return (options
|
|
1268
|
+
listFunctionTypes(options) {
|
|
1269
|
+
return (options?.client ?? this.client).get({
|
|
1082
1270
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1083
|
-
url: '/api/v2/
|
|
1084
|
-
...options
|
|
1085
|
-
headers: {
|
|
1086
|
-
'Content-Type': 'application/json',
|
|
1087
|
-
...options.headers
|
|
1088
|
-
}
|
|
1271
|
+
url: '/api/v2/public/entities/function-types',
|
|
1272
|
+
...options
|
|
1089
1273
|
});
|
|
1090
1274
|
}
|
|
1091
1275
|
/**
|
|
1092
|
-
*
|
|
1276
|
+
* get Function Type
|
|
1093
1277
|
*
|
|
1094
|
-
*
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1278
|
+
* One function type by its code (gf), its ref ID (function:gf) or its old Firmenakte-ID, with its German label.
|
|
1279
|
+
*
|
|
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
|
|
1283
|
+
*/
|
|
1284
|
+
getFunctionType(options) {
|
|
1285
|
+
return (options.client ?? this.client).get({
|
|
1098
1286
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1099
|
-
url: '/api/v2/
|
|
1287
|
+
url: '/api/v2/public/entities/function-types/{id}',
|
|
1100
1288
|
...options
|
|
1101
1289
|
});
|
|
1102
1290
|
}
|
|
1103
1291
|
/**
|
|
1104
|
-
*
|
|
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.
|
|
1105
1295
|
*
|
|
1106
|
-
*
|
|
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
|
|
1107
1299
|
*/
|
|
1108
|
-
|
|
1109
|
-
return (options
|
|
1300
|
+
listKeyFigures(options) {
|
|
1301
|
+
return (options?.client ?? this.client).get({
|
|
1110
1302
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1111
|
-
url: '/api/v2/
|
|
1112
|
-
...options
|
|
1113
|
-
headers: {
|
|
1114
|
-
'Content-Type': 'application/json',
|
|
1115
|
-
...options.headers
|
|
1116
|
-
}
|
|
1303
|
+
url: '/api/v2/public/entities/key-figures',
|
|
1304
|
+
...options
|
|
1117
1305
|
});
|
|
1118
1306
|
}
|
|
1119
1307
|
/**
|
|
1120
|
-
*
|
|
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.
|
|
1121
1311
|
*
|
|
1122
|
-
*
|
|
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
|
|
1123
1315
|
*/
|
|
1124
|
-
|
|
1125
|
-
return (options.client ?? this.client).
|
|
1316
|
+
getKeyFigure(options) {
|
|
1317
|
+
return (options.client ?? this.client).get({
|
|
1126
1318
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1127
|
-
url: '/api/v2/
|
|
1128
|
-
...options
|
|
1129
|
-
headers: {
|
|
1130
|
-
'Content-Type': 'application/json',
|
|
1131
|
-
...options.headers
|
|
1132
|
-
}
|
|
1319
|
+
url: '/api/v2/public/entities/key-figures/{id}',
|
|
1320
|
+
...options
|
|
1133
1321
|
});
|
|
1134
1322
|
}
|
|
1135
1323
|
/**
|
|
1136
|
-
*
|
|
1324
|
+
* List reference namespaces
|
|
1137
1325
|
*
|
|
1138
|
-
*
|
|
1326
|
+
* Every ref namespace: legal forms, courts, ÖNACE classes, trades, functions, key figures, document types, places and addresses. A ref ID is namespace:code.
|
|
1139
1327
|
*/
|
|
1140
|
-
|
|
1141
|
-
return (options
|
|
1328
|
+
listPublicRefNamespaces(options) {
|
|
1329
|
+
return (options?.client ?? this.client).get({
|
|
1142
1330
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1143
|
-
url: '/api/v2/
|
|
1331
|
+
url: '/api/v2/public/refs',
|
|
1144
1332
|
...options
|
|
1145
1333
|
});
|
|
1146
1334
|
}
|
|
1147
1335
|
/**
|
|
1148
1336
|
* Search places
|
|
1149
1337
|
*
|
|
1150
|
-
* Search
|
|
1338
|
+
* Search published BEV places. Returns their refs (gemeinde:10101, postal-code:1010 …) and typed parent relations without an automatic total.
|
|
1151
1339
|
*/
|
|
1152
|
-
|
|
1340
|
+
searchPublicRefPlaces(options) {
|
|
1153
1341
|
return (options?.client ?? this.client).get({
|
|
1154
1342
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1155
|
-
url: '/api/v2/places',
|
|
1343
|
+
url: '/api/v2/public/refs/places',
|
|
1156
1344
|
...options
|
|
1157
1345
|
});
|
|
1158
1346
|
}
|
|
1159
1347
|
/**
|
|
1160
|
-
* List
|
|
1348
|
+
* List place children
|
|
1161
1349
|
*
|
|
1162
|
-
*
|
|
1350
|
+
* List immediate administrative children. Postal coverage, streets and localities are relationships, not administrative child ownership.
|
|
1163
1351
|
*/
|
|
1164
|
-
|
|
1165
|
-
return (options
|
|
1352
|
+
listPublicRefChildren(options) {
|
|
1353
|
+
return (options.client ?? this.client).get({
|
|
1166
1354
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1167
|
-
url: '/api/v2/
|
|
1355
|
+
url: '/api/v2/public/refs/{namespace}/{code}/children',
|
|
1168
1356
|
...options
|
|
1169
1357
|
});
|
|
1170
1358
|
}
|
|
1171
1359
|
/**
|
|
1172
|
-
* List
|
|
1360
|
+
* List place addresses
|
|
1173
1361
|
*
|
|
1174
|
-
*
|
|
1362
|
+
* Browse or search the published addresses covered by a geographic identity. Postal coverage may overlap; no company or private address relationships are exposed.
|
|
1175
1363
|
*/
|
|
1176
|
-
|
|
1364
|
+
listPublicRefAddresses(options) {
|
|
1177
1365
|
return (options.client ?? this.client).get({
|
|
1178
1366
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1179
|
-
url: '/api/v2/
|
|
1367
|
+
url: '/api/v2/public/refs/{namespace}/{code}/addresses',
|
|
1180
1368
|
...options
|
|
1181
1369
|
});
|
|
1182
1370
|
}
|
|
1183
1371
|
/**
|
|
1184
|
-
*
|
|
1372
|
+
* Validate address
|
|
1185
1373
|
*
|
|
1186
|
-
*
|
|
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.
|
|
1187
1375
|
*/
|
|
1188
|
-
|
|
1189
|
-
return (options.client ?? this.client).
|
|
1376
|
+
checkPublicRefAddress(options) {
|
|
1377
|
+
return (options.client ?? this.client).post({
|
|
1190
1378
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1191
|
-
url: '/api/v2/
|
|
1192
|
-
...options
|
|
1379
|
+
url: '/api/v2/public/refs/address/validate',
|
|
1380
|
+
...options,
|
|
1381
|
+
headers: {
|
|
1382
|
+
'Content-Type': 'application/json',
|
|
1383
|
+
...options.headers
|
|
1384
|
+
}
|
|
1193
1385
|
});
|
|
1194
1386
|
}
|
|
1195
1387
|
/**
|
|
1196
|
-
*
|
|
1388
|
+
* Get address snapshot status
|
|
1197
1389
|
*
|
|
1198
|
-
* Read
|
|
1390
|
+
* Read snapshot date, availability and refresh health. Validation covers Austrian snapshot base addresses; worldwide address storage remains available independently.
|
|
1199
1391
|
*/
|
|
1200
|
-
|
|
1201
|
-
return (options
|
|
1392
|
+
getPublicRefAddressStatus(options) {
|
|
1393
|
+
return (options?.client ?? this.client).get({
|
|
1202
1394
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1203
|
-
url: '/api/v2/
|
|
1395
|
+
url: '/api/v2/public/refs/address/status',
|
|
1204
1396
|
...options
|
|
1205
1397
|
});
|
|
1206
1398
|
}
|
|
1207
1399
|
/**
|
|
1208
|
-
*
|
|
1400
|
+
* Search addresses
|
|
1209
1401
|
*
|
|
1210
|
-
*
|
|
1402
|
+
* BEV addresses by an address search q of 2–200 characters. One basic credit.
|
|
1211
1403
|
*/
|
|
1212
|
-
|
|
1213
|
-
return (options
|
|
1404
|
+
listAddressRefs(options) {
|
|
1405
|
+
return (options?.client ?? this.client).get({
|
|
1214
1406
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1215
|
-
url: '/api/v2/
|
|
1407
|
+
url: '/api/v2/public/refs/address',
|
|
1216
1408
|
...options
|
|
1217
1409
|
});
|
|
1218
1410
|
}
|
|
1219
1411
|
/**
|
|
1220
|
-
*
|
|
1412
|
+
* Get address
|
|
1221
1413
|
*
|
|
1222
|
-
*
|
|
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 ref ID. One basic credit.
|
|
1223
1415
|
*/
|
|
1224
|
-
|
|
1416
|
+
getAddressRef(options) {
|
|
1225
1417
|
return (options.client ?? this.client).get({
|
|
1226
1418
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1227
|
-
url: '/api/v2/
|
|
1419
|
+
url: '/api/v2/public/refs/address/{code}',
|
|
1228
1420
|
...options
|
|
1229
1421
|
});
|
|
1230
1422
|
}
|
|
1231
1423
|
/**
|
|
1232
|
-
* List
|
|
1424
|
+
* List references
|
|
1233
1425
|
*
|
|
1234
|
-
*
|
|
1426
|
+
* The refs 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*.
|
|
1235
1427
|
*/
|
|
1236
|
-
|
|
1428
|
+
listPublicRefs(options) {
|
|
1237
1429
|
return (options.client ?? this.client).get({
|
|
1238
1430
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1239
|
-
url: '/api/v2/
|
|
1431
|
+
url: '/api/v2/public/refs/{namespace}',
|
|
1240
1432
|
...options
|
|
1241
1433
|
});
|
|
1242
1434
|
}
|
|
1243
1435
|
/**
|
|
1244
|
-
*
|
|
1436
|
+
* Get reference
|
|
1245
1437
|
*
|
|
1246
|
-
*
|
|
1438
|
+
* One ref by its namespace and code, such as legal-form/gmbh, court/007, oenace-2025/62.01 or gemeinde/90101. Old Firmenakte-IDs of refs (R-, J-, N-, T-, F-, K-, G-) resolve too; the response names the current ref ID. Free. Addresses are read with *Get address*.
|
|
1247
1439
|
*/
|
|
1248
|
-
|
|
1440
|
+
getPublicRef(options) {
|
|
1249
1441
|
return (options.client ?? this.client).get({
|
|
1250
1442
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1251
|
-
url: '/api/v2/
|
|
1443
|
+
url: '/api/v2/public/refs/{namespace}/{code}',
|
|
1252
1444
|
...options
|
|
1253
1445
|
});
|
|
1254
1446
|
}
|
|
1255
1447
|
/**
|
|
1256
|
-
*
|
|
1448
|
+
* Referenzen eines Namensraums lesen
|
|
1449
|
+
*
|
|
1450
|
+
* The refs 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.
|
|
1257
1453
|
*
|
|
1258
|
-
*
|
|
1454
|
+
* @deprecated
|
|
1259
1455
|
*/
|
|
1260
|
-
|
|
1456
|
+
listRefs(options) {
|
|
1261
1457
|
return (options.client ?? this.client).get({
|
|
1262
1458
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1263
|
-
url: '/api/v2/
|
|
1459
|
+
url: '/api/v2/refs/{namespace}',
|
|
1264
1460
|
...options
|
|
1265
1461
|
});
|
|
1266
1462
|
}
|
|
1267
1463
|
/**
|
|
1268
|
-
*
|
|
1464
|
+
* Referenz lesen
|
|
1269
1465
|
*
|
|
1270
|
-
*
|
|
1466
|
+
* One ref by its namespace and code, such as legal-form/gmbh, court/007, oenace-2025/62.01 or gemeinde/90101. Old Firmenakte-IDs of refs (R-, J-, N-, T-, F-, K-, G-) resolve too; the response names the current ref 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.
|
|
1469
|
+
*
|
|
1470
|
+
* @deprecated
|
|
1271
1471
|
*/
|
|
1272
|
-
|
|
1472
|
+
getRef(options) {
|
|
1273
1473
|
return (options.client ?? this.client).get({
|
|
1274
1474
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1275
|
-
url: '/api/v2/
|
|
1475
|
+
url: '/api/v2/refs/{namespace}/{code}',
|
|
1276
1476
|
...options
|
|
1277
1477
|
});
|
|
1278
1478
|
}
|
|
1279
1479
|
/**
|
|
1280
|
-
*
|
|
1480
|
+
* Geografische Identitäten suchen
|
|
1481
|
+
*
|
|
1482
|
+
* Search published BEV places. Returns their refs (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.
|
|
1281
1485
|
*
|
|
1282
|
-
*
|
|
1486
|
+
* @deprecated
|
|
1283
1487
|
*/
|
|
1284
|
-
|
|
1488
|
+
searchPublicPlaces(options) {
|
|
1285
1489
|
return (options?.client ?? this.client).get({
|
|
1286
1490
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1287
|
-
url: '/api/v2/
|
|
1491
|
+
url: '/api/v2/public/entities/places',
|
|
1288
1492
|
...options
|
|
1289
1493
|
});
|
|
1290
1494
|
}
|
|
1291
1495
|
/**
|
|
1292
|
-
*
|
|
1496
|
+
* Geografische Identitäten suchen
|
|
1293
1497
|
*
|
|
1294
|
-
*
|
|
1498
|
+
* Search published BEV places. Returns their refs (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.
|
|
1501
|
+
*
|
|
1502
|
+
* @deprecated
|
|
1295
1503
|
*/
|
|
1296
|
-
|
|
1504
|
+
searchPublicPlacesQuery(options) {
|
|
1297
1505
|
return (options.client ?? this.client).post({
|
|
1298
1506
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1299
|
-
url: '/api/v2/
|
|
1507
|
+
url: '/api/v2/public/entities/places/search',
|
|
1300
1508
|
...options,
|
|
1301
1509
|
headers: {
|
|
1302
1510
|
'Content-Type': 'application/json',
|
|
@@ -1305,78 +1513,130 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
1305
1513
|
});
|
|
1306
1514
|
}
|
|
1307
1515
|
/**
|
|
1308
|
-
*
|
|
1516
|
+
* Geografische Typen lesen
|
|
1517
|
+
*
|
|
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.
|
|
1309
1521
|
*
|
|
1310
|
-
*
|
|
1522
|
+
* @deprecated
|
|
1311
1523
|
*/
|
|
1312
|
-
|
|
1313
|
-
return (options
|
|
1524
|
+
listPublicPlaceTypes(options) {
|
|
1525
|
+
return (options?.client ?? this.client).get({
|
|
1314
1526
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1315
|
-
url: '/api/v2/
|
|
1316
|
-
...options
|
|
1317
|
-
headers: {
|
|
1318
|
-
'Content-Type': 'application/json',
|
|
1319
|
-
...options.headers
|
|
1320
|
-
}
|
|
1527
|
+
url: '/api/v2/public/entities/places/catalogue',
|
|
1528
|
+
...options
|
|
1321
1529
|
});
|
|
1322
1530
|
}
|
|
1323
1531
|
/**
|
|
1324
|
-
*
|
|
1532
|
+
* Geografische Identität lesen
|
|
1325
1533
|
*
|
|
1326
|
-
*
|
|
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.
|
|
1537
|
+
*
|
|
1538
|
+
* @deprecated
|
|
1327
1539
|
*/
|
|
1328
|
-
|
|
1540
|
+
getPublicPlace(options) {
|
|
1329
1541
|
return (options.client ?? this.client).get({
|
|
1330
1542
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1331
|
-
url: '/api/v2/
|
|
1543
|
+
url: '/api/v2/public/entities/places/{id}',
|
|
1332
1544
|
...options
|
|
1333
1545
|
});
|
|
1334
1546
|
}
|
|
1335
1547
|
/**
|
|
1336
|
-
*
|
|
1548
|
+
* Verwaltungsgebiete lesen
|
|
1549
|
+
*
|
|
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.
|
|
1337
1553
|
*
|
|
1338
|
-
*
|
|
1554
|
+
* @deprecated
|
|
1339
1555
|
*/
|
|
1340
|
-
|
|
1556
|
+
listPublicPlaceChildren(options) {
|
|
1341
1557
|
return (options.client ?? this.client).get({
|
|
1342
1558
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1343
|
-
url: '/api/v2/
|
|
1559
|
+
url: '/api/v2/public/entities/places/{id}/children',
|
|
1344
1560
|
...options
|
|
1345
1561
|
});
|
|
1346
1562
|
}
|
|
1347
1563
|
/**
|
|
1348
|
-
*
|
|
1564
|
+
* Adressen eines Gebiets lesen
|
|
1349
1565
|
*
|
|
1350
|
-
*
|
|
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.
|
|
1569
|
+
*
|
|
1570
|
+
* @deprecated
|
|
1351
1571
|
*/
|
|
1352
|
-
|
|
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) {
|
|
1353
1609
|
return (options?.client ?? this.client).get({
|
|
1354
1610
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1355
|
-
url: '/api/v2/
|
|
1611
|
+
url: '/api/v2/people',
|
|
1356
1612
|
...options
|
|
1357
1613
|
});
|
|
1358
1614
|
}
|
|
1359
1615
|
/**
|
|
1360
|
-
*
|
|
1616
|
+
* List people
|
|
1361
1617
|
*
|
|
1362
|
-
*
|
|
1618
|
+
* List people by name, function, company or residence city.
|
|
1363
1619
|
*/
|
|
1364
|
-
|
|
1620
|
+
listPublicPeople(options) {
|
|
1365
1621
|
return (options?.client ?? this.client).get({
|
|
1366
1622
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1367
|
-
url: '/api/v2/
|
|
1623
|
+
url: '/api/v2/public/entities/people',
|
|
1368
1624
|
...options
|
|
1369
1625
|
});
|
|
1370
1626
|
}
|
|
1371
1627
|
/**
|
|
1372
|
-
*
|
|
1628
|
+
* Search people
|
|
1373
1629
|
*
|
|
1374
|
-
*
|
|
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.
|
|
1633
|
+
*
|
|
1634
|
+
* @deprecated
|
|
1375
1635
|
*/
|
|
1376
|
-
|
|
1636
|
+
searchPeople(options) {
|
|
1377
1637
|
return (options.client ?? this.client).post({
|
|
1378
1638
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1379
|
-
url: '/api/v2/
|
|
1639
|
+
url: '/api/v2/people/search',
|
|
1380
1640
|
...options,
|
|
1381
1641
|
headers: {
|
|
1382
1642
|
'Content-Type': 'application/json',
|
|
@@ -1385,105 +1645,1021 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
1385
1645
|
});
|
|
1386
1646
|
}
|
|
1387
1647
|
/**
|
|
1388
|
-
*
|
|
1648
|
+
* Search people
|
|
1389
1649
|
*
|
|
1390
|
-
*
|
|
1650
|
+
* Search people with a filter tree on name, residence city, function count and functions.
|
|
1391
1651
|
*/
|
|
1392
|
-
|
|
1393
|
-
return (options.client ?? this.client).
|
|
1652
|
+
searchPublicPeople(options) {
|
|
1653
|
+
return (options.client ?? this.client).post({
|
|
1394
1654
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1395
|
-
url: '/api/v2/
|
|
1396
|
-
...options
|
|
1655
|
+
url: '/api/v2/public/entities/people/search',
|
|
1656
|
+
...options,
|
|
1657
|
+
headers: {
|
|
1658
|
+
'Content-Type': 'application/json',
|
|
1659
|
+
...options.headers
|
|
1660
|
+
}
|
|
1397
1661
|
});
|
|
1398
1662
|
}
|
|
1399
1663
|
/**
|
|
1400
|
-
*
|
|
1664
|
+
* List person names
|
|
1665
|
+
*
|
|
1666
|
+
* An index of person IDs and display names.
|
|
1401
1667
|
*
|
|
1402
|
-
*
|
|
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
|
|
1403
1671
|
*/
|
|
1404
|
-
|
|
1405
|
-
return (options
|
|
1672
|
+
listPersonNames(options) {
|
|
1673
|
+
return (options?.client ?? this.client).get({
|
|
1406
1674
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1407
|
-
url: '/api/v2/
|
|
1675
|
+
url: '/api/v2/people/names',
|
|
1408
1676
|
...options
|
|
1409
1677
|
});
|
|
1410
1678
|
}
|
|
1411
1679
|
/**
|
|
1412
|
-
*
|
|
1680
|
+
* List person names
|
|
1413
1681
|
*
|
|
1414
|
-
*
|
|
1682
|
+
* An index of person IDs and display names.
|
|
1415
1683
|
*/
|
|
1416
|
-
|
|
1417
|
-
return (options
|
|
1684
|
+
listPublicPersonNames(options) {
|
|
1685
|
+
return (options?.client ?? this.client).get({
|
|
1418
1686
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1419
|
-
url: '/api/v2/
|
|
1687
|
+
url: '/api/v2/public/entities/people/names',
|
|
1420
1688
|
...options
|
|
1421
1689
|
});
|
|
1422
1690
|
}
|
|
1423
1691
|
/**
|
|
1424
|
-
*
|
|
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.
|
|
1425
1697
|
*
|
|
1426
|
-
*
|
|
1698
|
+
* @deprecated
|
|
1427
1699
|
*/
|
|
1428
|
-
|
|
1700
|
+
getPerson(options) {
|
|
1429
1701
|
return (options.client ?? this.client).get({
|
|
1430
1702
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1431
|
-
url: '/api/v2/
|
|
1703
|
+
url: '/api/v2/people/{id}',
|
|
1432
1704
|
...options
|
|
1433
1705
|
});
|
|
1434
1706
|
}
|
|
1435
1707
|
/**
|
|
1436
|
-
*
|
|
1708
|
+
* List person functions
|
|
1709
|
+
*
|
|
1710
|
+
* A person's functions in companies, current ones first, with EVI ownership percentages where supported.
|
|
1711
|
+
*
|
|
1712
|
+
* Deprecated: use HTTP operation `listPublicPersonFunctions`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonFunctions). No removal date is scheduled.
|
|
1437
1713
|
*
|
|
1438
|
-
*
|
|
1714
|
+
* @deprecated
|
|
1439
1715
|
*/
|
|
1440
|
-
|
|
1441
|
-
return (options
|
|
1716
|
+
listPersonFunctions(options) {
|
|
1717
|
+
return (options.client ?? this.client).get({
|
|
1442
1718
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1443
|
-
url: '/api/v2/
|
|
1719
|
+
url: '/api/v2/people/{id}/functions',
|
|
1444
1720
|
...options
|
|
1445
1721
|
});
|
|
1446
1722
|
}
|
|
1447
1723
|
/**
|
|
1448
|
-
* List
|
|
1724
|
+
* List person licenses
|
|
1725
|
+
*
|
|
1726
|
+
* GISA licenses naming the person as managing director, with the company that holds each.
|
|
1449
1727
|
*
|
|
1450
|
-
*
|
|
1728
|
+
* Deprecated: use HTTP operation `listPublicPersonLicenses`. [Migration guide](https://docs.firmenakte.at/migrations/v2-structure.html#listPersonLicenses). No removal date is scheduled.
|
|
1729
|
+
*
|
|
1730
|
+
* @deprecated
|
|
1451
1731
|
*/
|
|
1452
|
-
|
|
1453
|
-
return (options
|
|
1732
|
+
listPersonLicenses(options) {
|
|
1733
|
+
return (options.client ?? this.client).get({
|
|
1454
1734
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1455
|
-
url: '/api/v2/
|
|
1735
|
+
url: '/api/v2/people/{id}/licenses',
|
|
1456
1736
|
...options
|
|
1457
1737
|
});
|
|
1458
1738
|
}
|
|
1459
1739
|
/**
|
|
1460
|
-
*
|
|
1740
|
+
* List person notices
|
|
1461
1741
|
*
|
|
1462
|
-
*
|
|
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.
|
|
1745
|
+
*
|
|
1746
|
+
* @deprecated
|
|
1463
1747
|
*/
|
|
1464
|
-
|
|
1748
|
+
listPersonNotices(options) {
|
|
1465
1749
|
return (options.client ?? this.client).get({
|
|
1466
1750
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1467
|
-
url: '/api/v2/
|
|
1751
|
+
url: '/api/v2/people/{id}/notices',
|
|
1468
1752
|
...options
|
|
1469
1753
|
});
|
|
1470
1754
|
}
|
|
1471
1755
|
/**
|
|
1472
|
-
* List
|
|
1756
|
+
* List person notices
|
|
1473
1757
|
*
|
|
1474
|
-
*
|
|
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.
|
|
1475
1759
|
*/
|
|
1476
|
-
|
|
1760
|
+
listPublicPersonNotices(options) {
|
|
1477
1761
|
return (options.client ?? this.client).get({
|
|
1478
1762
|
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1479
|
-
url: '/api/v2/
|
|
1763
|
+
url: '/api/v2/public/entities/people/{id}/notices',
|
|
1480
1764
|
...options
|
|
1481
1765
|
});
|
|
1482
1766
|
}
|
|
1483
1767
|
/**
|
|
1484
|
-
* List
|
|
1768
|
+
* List professional registrations
|
|
1769
|
+
*
|
|
1770
|
+
* Professional registrations: register, profession, status and practice address.
|
|
1485
1771
|
*
|
|
1486
|
-
*
|
|
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
|
|
1775
|
+
*/
|
|
1776
|
+
listPersonRegistrations(options) {
|
|
1777
|
+
return (options.client ?? this.client).get({
|
|
1778
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1779
|
+
url: '/api/v2/people/{id}/registrations',
|
|
1780
|
+
...options
|
|
1781
|
+
});
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* List person registrations
|
|
1785
|
+
*
|
|
1786
|
+
* Professional registrations: register, profession, status and practice address.
|
|
1787
|
+
*/
|
|
1788
|
+
listPublicPersonRegistrations(options) {
|
|
1789
|
+
return (options.client ?? this.client).get({
|
|
1790
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
1791
|
+
url: '/api/v2/public/entities/people/{id}/registrations',
|
|
1792
|
+
...options
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
/**
|
|
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.
|
|
1801
|
+
*
|
|
1802
|
+
* @deprecated
|
|
1803
|
+
*/
|
|
1804
|
+
getPersonNetwork(options) {
|
|
1805
|
+
return (options.client ?? this.client).get({
|
|
1806
|
+
security: [{ name: 'x-api-key', type: 'apiKey' }],
|
|
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. Refs (legal forms, courts, places, addresses …) 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. Refs 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
|
|
1487
2663
|
*/
|
|
1488
2664
|
listPersonChanges(options) {
|
|
1489
2665
|
return (options.client ?? this.client).get({
|
|
@@ -1492,6 +2668,158 @@ class FirmenakteApi extends HeyApiClient {
|
|
|
1492
2668
|
...options
|
|
1493
2669
|
});
|
|
1494
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}',
|
|
2820
|
+
...options
|
|
2821
|
+
});
|
|
2822
|
+
}
|
|
1495
2823
|
}
|
|
1496
2824
|
exports.FirmenakteApi = FirmenakteApi;
|
|
1497
2825
|
FirmenakteApi.__registry = new HeyApiRegistry();
|