@firmenakte/api-client 2.31.0 → 2.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client.d.ts CHANGED
@@ -1,3 +1,18 @@
1
+ /** Where a value comes from: the key of its entry in GET /api/v2/catalogs/sources. Every source field of API v2 takes one of these; the catalogue says under which terms it is shown. */
2
+ export declare enum SourceKey {
3
+ Firmenbuch = "firmenbuch",
4
+ Ediktsdatei = "ediktsdatei",
5
+ Evi = "evi",
6
+ Gisa = "gisa",
7
+ BmfScheinunternehmen = "bmf-scheinunternehmen",
8
+ Transparenzportal = "transparenzportal",
9
+ Ama = "ama",
10
+ Bev = "bev",
11
+ StatistikAustria = "statistik-austria",
12
+ Vies = "vies",
13
+ Websites = "websites",
14
+ Openstreetmap = "openstreetmap"
15
+ }
1
16
  /** The standard Passiva position a WeitererPassivposten follows in the filing. */
2
17
  export declare enum PassivpostenNach {
3
18
  Eigenkapital = "eigenkapital",
@@ -814,6 +829,7 @@ export interface DocumentMetadata {
814
829
  createdAt?: string;
815
830
  /** @format date-time */
816
831
  updatedAt?: string;
832
+ /** The DOKUMENTART.CODE of the document type, read off its ref ID; the v1 answers carry it. */
817
833
  documentTypeCode?: string | null;
818
834
  /** @format date-time */
819
835
  documentDate?: string | null;
@@ -938,7 +954,7 @@ export interface FoerderungDto {
938
954
  /** Municipality. Only the Energiekrise and ARF reports carry one. */
939
955
  gemeinde?: string | null;
940
956
  /**
941
- * The year the payment is reported for.
957
+ * The year the payment is reported for; 0 where the source reports none (the ARF report's amounts are cumulative).
942
958
  * @format int32
943
959
  */
944
960
  jahr?: number;
@@ -1233,7 +1249,8 @@ export interface InsolvencyProceeding {
1233
1249
  courtEvent: InsolvencyCourtEvidence | null;
1234
1250
  /** An unambiguous company-level court event selected from Firmenbuch evidence. Source wording and case fields are retained; personal birth dates in text are redacted. */
1235
1251
  typeEvidence: InsolvencyCourtEvidence | null;
1236
- source?: string | null;
1252
+ /** Where a value comes from: the key of its entry in GET /api/v2/catalogs/sources. Every source field of API v2 takes one of these; the catalogue says under which terms it is shown. */
1253
+ source?: SourceKey;
1237
1254
  }
1238
1255
  export type JsonDocument = any;
1239
1256
  /** A company's legal form (Rechtsform), as the Firmenbuch's code and its German label. Filter by it with legalFormCode on /businesses; the full catalogue is GET /legalforms. */
@@ -2452,6 +2469,83 @@ export declare namespace Api {
2452
2469
  type RequestHeaders = {};
2453
2470
  type ResponseBody = PagedResponseOfFoerderungChange;
2454
2471
  }
2472
+ /**
2473
+ * @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 3 Credits.
2474
+ * @tags Documents
2475
+ * @name V1DocumentsDownloadDetail
2476
+ * @summary Firmenbuch document download
2477
+ * @request GET:/api/v1/documents/download/{documentKey}
2478
+ * @secure
2479
+ */
2480
+ namespace V1DocumentsDownloadDetail {
2481
+ type RequestParams = {
2482
+ documentKey: string;
2483
+ };
2484
+ type RequestQuery = {};
2485
+ type RequestBody = never;
2486
+ type RequestHeaders = {};
2487
+ type ResponseBody = void;
2488
+ }
2489
+ /**
2490
+ * @description Returns one document change by id, with the document's metadata. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "document" answers 404 here. Kostet 1 Credit.
2491
+ * @tags Documents
2492
+ * @name V1DocumentsChangesDetail
2493
+ * @summary Document change by id
2494
+ * @request GET:/api/v1/documents/changes/{id}
2495
+ * @secure
2496
+ */
2497
+ namespace V1DocumentsChangesDetail {
2498
+ type RequestParams = {
2499
+ /** @format int64 */
2500
+ id: number;
2501
+ };
2502
+ type RequestQuery = {};
2503
+ type RequestBody = never;
2504
+ type RequestHeaders = {};
2505
+ type ResponseBody = DocumentChange;
2506
+ }
2507
+ /**
2508
+ * @description Feed of newly filed Firmenbuch documents — this is how you learn that a company has published a new Jahresabschluss. Each entry names a documentKey; fetch the file itself with GET /documents/download/{documentKey}. Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on the document date, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Kostet 1 Credit.
2509
+ * @tags Documents
2510
+ * @name V1DocumentsChangesList
2511
+ * @summary Document change feed
2512
+ * @request GET:/api/v1/documents/changes
2513
+ * @secure
2514
+ */
2515
+ namespace V1DocumentsChangesList {
2516
+ type RequestParams = {};
2517
+ type RequestQuery = {
2518
+ /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
2519
+ fnr?: string;
2520
+ /**
2521
+ * Only changes we recorded at or after this instant — inclusive, and ANDed with sinceId when both are sent. A timestamp is not a cursor: poll on sinceId.
2522
+ * @format date-time
2523
+ */
2524
+ since?: string;
2525
+ /**
2526
+ * Only changes with a higher id than this — exclusive, so pass back the highest id you have stored. This is the cursor to poll the feed on.
2527
+ * @format int64
2528
+ */
2529
+ sinceId?: number;
2530
+ /**
2531
+ * 1-based page number; defaults to 1 when omitted. Walk it upwards within one poll, holding sinceId fixed, until a page comes back with fewer than pageSize rows.
2532
+ * @format int32
2533
+ * @min 1
2534
+ * @max 1000
2535
+ */
2536
+ page?: number;
2537
+ /**
2538
+ * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
2539
+ * @format int32
2540
+ * @min 1
2541
+ * @max 100
2542
+ */
2543
+ pageSize?: number;
2544
+ };
2545
+ type RequestBody = never;
2546
+ type RequestHeaders = {};
2547
+ type ResponseBody = PagedResponseOfDocumentChange;
2548
+ }
2455
2549
  /**
2456
2550
  * @description Returns one Ediktsdatei change by id. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "edikt" answers 404 here. Kostet 1 Credit.
2457
2551
  * @tags Edikte
@@ -2512,6 +2606,51 @@ export declare namespace Api {
2512
2606
  type RequestHeaders = {};
2513
2607
  type ResponseBody = PagedResponseOfEdiktChange;
2514
2608
  }
2609
+ /**
2610
+ * @description The autocomplete read: /businesses and /people for one term, ranked together, so a search field costs one request per keystroke rather than two and does not have to merge two orders itself. Each row carries either business or person, whichever type names. Ordered by where the term sits in the name, then by the shorter name, then companies before people. pageSize is per side, so the answer holds up to twice as many rows. An empty search answers an empty list; use /businesses to page through the whole dataset. Kostet 1 Credit.
2611
+ * @tags Search
2612
+ * @name V1SearchList
2613
+ * @summary Companies and people in one ranked list
2614
+ * @request GET:/api/v1/search
2615
+ * @secure
2616
+ */
2617
+ namespace V1SearchList {
2618
+ type RequestParams = {};
2619
+ type RequestQuery = {
2620
+ /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
2621
+ search?: string;
2622
+ /**
2623
+ * How many rows to take from each side before they are ranked together, so the answer holds at most twice this many; defaults to 10 when omitted.
2624
+ * @format int32
2625
+ * @min 1
2626
+ * @max 100
2627
+ */
2628
+ pageSize?: number;
2629
+ };
2630
+ type RequestBody = never;
2631
+ type RequestHeaders = {};
2632
+ type ResponseBody = SearchResponse;
2633
+ }
2634
+ /**
2635
+ * @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 3 Credits.
2636
+ * @tags Graph
2637
+ * @name V1GraphList
2638
+ * @summary Relationship graph
2639
+ * @request GET:/api/v1/graph
2640
+ * @secure
2641
+ */
2642
+ namespace V1GraphList {
2643
+ type RequestParams = {};
2644
+ type RequestQuery = {
2645
+ /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
2646
+ personId?: string;
2647
+ /** Start from this company. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company; case is not folded. Mutually exclusive with personId. */
2648
+ fnr?: string;
2649
+ };
2650
+ type RequestBody = never;
2651
+ type RequestHeaders = {};
2652
+ type ResponseBody = GraphResponse;
2653
+ }
2515
2654
  /**
2516
2655
  * @description Returns (id, name) pairs for all people with at least one business assignment. For client-side name index. id is the person's Firmenakte-ID, e.g. "P-7K3M-QX91". Kostet 1 Credit.
2517
2656
  * @tags People
@@ -2593,6 +2732,123 @@ export declare namespace Api {
2593
2732
  type RequestHeaders = {};
2594
2733
  type ResponseBody = PersonDetailResponse;
2595
2734
  }
2735
+ /**
2736
+ * @description Returns all legal forms with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
2737
+ * @tags LegalForms
2738
+ * @name V1LegalformsList
2739
+ * @summary Legal form catalog
2740
+ * @request GET:/api/v1/legalforms
2741
+ * @secure
2742
+ */
2743
+ namespace V1LegalformsList {
2744
+ type RequestParams = {};
2745
+ type RequestQuery = {
2746
+ /** @maxLength 200 */
2747
+ search?: string;
2748
+ /**
2749
+ * 1-based page number; defaults to 1 when omitted.
2750
+ * @format int32
2751
+ * @min 1
2752
+ * @max 1000
2753
+ */
2754
+ page?: number;
2755
+ /**
2756
+ * Number of items per page; defaults to 10 when omitted.
2757
+ * @format int32
2758
+ * @min 1
2759
+ * @max 100
2760
+ */
2761
+ pageSize?: number;
2762
+ };
2763
+ type RequestBody = never;
2764
+ type RequestHeaders = {};
2765
+ type ResponseBody = PagedResponseOfLegalFormCatalogItemResponse;
2766
+ }
2767
+ /**
2768
+ * @description Returns the OeNACE classification catalog with company counts. Results are ordered by company count descending — most used first. Kostet 1 Credit.
2769
+ * @tags Oenace
2770
+ * @name V1OenaceList
2771
+ * @summary OeNACE classification catalog
2772
+ * @request GET:/api/v1/oenace
2773
+ * @secure
2774
+ */
2775
+ namespace V1OenaceList {
2776
+ type RequestParams = {};
2777
+ type RequestQuery = {
2778
+ search?: string;
2779
+ /**
2780
+ * Filter by hierarchy level (1–5). Omit to return all levels.
2781
+ * @format int32
2782
+ */
2783
+ ebene?: number;
2784
+ /** @format int32 */
2785
+ minCompanyCount?: number;
2786
+ /**
2787
+ * 1-based page number; defaults to 1 when omitted.
2788
+ * @format int32
2789
+ * @min 1
2790
+ * @max 1000
2791
+ */
2792
+ page?: number;
2793
+ /**
2794
+ * Number of items per page; defaults to 10 when omitted.
2795
+ * @format int32
2796
+ * @min 1
2797
+ * @max 100
2798
+ */
2799
+ pageSize?: number;
2800
+ };
2801
+ type RequestBody = never;
2802
+ type RequestHeaders = {};
2803
+ type ResponseBody = PagedResponseOfOenaceCatalogItemResponse;
2804
+ }
2805
+ /**
2806
+ * @description Returns all assignment functions (code/text lookup) for display. Cached for at most one minute. Kostet 1 Credit.
2807
+ * @tags AssignmentFunctions
2808
+ * @name V1AssignmentfunctionsList
2809
+ * @summary Assignment function catalog
2810
+ * @request GET:/api/v1/assignmentfunctions
2811
+ * @secure
2812
+ */
2813
+ namespace V1AssignmentfunctionsList {
2814
+ type RequestParams = {};
2815
+ type RequestQuery = {};
2816
+ type RequestBody = never;
2817
+ type RequestHeaders = {};
2818
+ type ResponseBody = AssignmentFunctionItemResponse[];
2819
+ }
2820
+ /**
2821
+ * @description Returns all courts with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
2822
+ * @tags Courts
2823
+ * @name V1CourtsList
2824
+ * @summary Court catalog
2825
+ * @request GET:/api/v1/courts
2826
+ * @secure
2827
+ */
2828
+ namespace V1CourtsList {
2829
+ type RequestParams = {};
2830
+ type RequestQuery = {
2831
+ /** @maxLength 200 */
2832
+ search?: string;
2833
+ /**
2834
+ * 1-based page number; defaults to 1 when omitted.
2835
+ * @format int32
2836
+ * @min 1
2837
+ * @max 1000
2838
+ */
2839
+ page?: number;
2840
+ /**
2841
+ * Number of items per page; defaults to 10 when omitted.
2842
+ * @format int32
2843
+ * @min 1
2844
+ * @max 100
2845
+ */
2846
+ pageSize?: number;
2847
+ };
2848
+ type RequestBody = never;
2849
+ type RequestHeaders = {};
2850
+ type ResponseBody = PagedResponseOfCourtCatalogItemResponse;
2851
+ }
2596
2852
  /**
2597
2853
  * @description Resolve company names to FNRs by exact name match (1:1). Used for CSV import. Kostet 1 Credit.
2598
2854
  * @tags Businesses
@@ -5074,271 +5330,18 @@ export declare namespace Api {
5074
5330
  type ResponseBody = PagedResponseOfBusinessChange;
5075
5331
  }
5076
5332
  /**
5077
- * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
5078
- * @tags Addresses
5079
- * @name V1AddressesLocationsList
5080
- * @summary City and ZIP combinations
5081
- * @request GET:/api/v1/addresses/locations
5333
+ * @description The single feed of every change across all registers — Firmenbuch, GISA, Ediktsdatei and the BMF Scheinunternehmen list — as lightweight reference rows. Each row carries only id, fnr, changeType and the dates; fetch the payload with GET /globalchanges/{id}, or poll one register's typed feed instead (/businesses/changes, /documents/changes, /edikte/changes, /trades/changes). Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on changedDate, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. Kostet 1 Credit.
5334
+ * @tags GlobalChanges
5335
+ * @name V1GlobalchangesList
5336
+ * @summary All-register change feed
5337
+ * @request GET:/api/v1/globalchanges
5082
5338
  * @secure
5083
5339
  */
5084
- namespace V1AddressesLocationsList {
5340
+ namespace V1GlobalchangesList {
5085
5341
  type RequestParams = {};
5086
5342
  type RequestQuery = {
5087
- search?: string;
5088
- /**
5089
- * 1-based page number; defaults to 1 when omitted.
5090
- * @format int32
5091
- * @min 1
5092
- * @max 1000
5093
- */
5094
- page?: number;
5095
- /**
5096
- * Number of items per page; defaults to 10 when omitted.
5097
- * @format int32
5098
- * @min 1
5099
- * @max 100
5100
- */
5101
- pageSize?: number;
5102
- };
5103
- type RequestBody = never;
5104
- type RequestHeaders = {};
5105
- type ResponseBody = PagedResponseOfAddressLocationResponse;
5106
- }
5107
- /**
5108
- * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
5109
- * @tags Addresses
5110
- * @name V1AddressesCitiesList
5111
- * @summary Cities
5112
- * @request GET:/api/v1/addresses/cities
5113
- * @secure
5114
- */
5115
- namespace V1AddressesCitiesList {
5116
- type RequestParams = {};
5117
- type RequestQuery = {
5118
- search?: string;
5119
- /**
5120
- * 1-based page number; defaults to 1 when omitted.
5121
- * @format int32
5122
- * @min 1
5123
- * @max 1000
5124
- */
5125
- page?: number;
5126
- /**
5127
- * Number of items per page; defaults to 10 when omitted.
5128
- * @format int32
5129
- * @min 1
5130
- * @max 100
5131
- */
5132
- pageSize?: number;
5133
- };
5134
- type RequestBody = never;
5135
- type RequestHeaders = {};
5136
- type ResponseBody = PagedResponseOfCityResponse;
5137
- }
5138
- /**
5139
- * @description Ranks cities and City+ZipCode combinations against one term and answers the best few of both, as one ranking split into two lists — what a location filter's type-ahead needs, where /addresses/locations and /addresses/cities are the paged catalogues behind it. Ordered by where the term sits in the label, then by the shorter label, then by company count, so "wien" answers Wien before Wiener Neustadt and before every 1xxx ZIP that carries it. A term shorter than two characters is ignored and the biggest groups come back instead. top caps both lists together, not each. Kostet 1 Credit.
5140
- * @tags Addresses
5141
- * @name V1AddressesSuggestList
5142
- * @summary Location autocomplete
5143
- * @request GET:/api/v1/addresses/suggest
5144
- * @secure
5145
- */
5146
- namespace V1AddressesSuggestList {
5147
- type RequestParams = {};
5148
- type RequestQuery = {
5149
- /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
5150
- search?: string;
5151
- /**
5152
- * How many suggestions to answer, across both lists; defaults to 10 when omitted.
5153
- * @format int32
5154
- */
5155
- top?: number;
5156
- };
5157
- type RequestBody = never;
5158
- type RequestHeaders = {};
5159
- type ResponseBody = LocationSuggestionsResponse;
5160
- }
5161
- /**
5162
- * @description Returns unique zip codes from addresses with pagination and optional search. Kostet 1 Credit.
5163
- * @tags Addresses
5164
- * @name V1AddressesZipcodesList
5165
- * @summary ZIP codes
5166
- * @request GET:/api/v1/addresses/zipcodes
5167
- * @secure
5168
- */
5169
- namespace V1AddressesZipcodesList {
5170
- type RequestParams = {};
5171
- type RequestQuery = {
5172
- search?: string;
5173
- /**
5174
- * 1-based page number; defaults to 1 when omitted.
5175
- * @format int32
5176
- * @min 1
5177
- * @max 1000
5178
- */
5179
- page?: number;
5180
- /**
5181
- * Number of items per page; defaults to 10 when omitted.
5182
- * @format int32
5183
- * @min 1
5184
- * @max 100
5185
- */
5186
- pageSize?: number;
5187
- };
5188
- type RequestBody = never;
5189
- type RequestHeaders = {};
5190
- type ResponseBody = PagedResponseOfZipCodeResponse;
5191
- }
5192
- /**
5193
- * @description The Gemeinde catalogue: one row per Austrian Gemeinde the register can address, with its official name, its URL slug, its Bundesland and that Land's slug, the PLZ that resolve to it, the alias slugs that name it and, for Wien, its Bezirke. This is the one source for a place's identity. The city column of an address is Firmenbuch free text and carries "Klagenfurt am Wörthersee", "Klagenfurt", "Klagenfurt-Viktring" and "Klagenfurt-Wölfnitz" side by side, so it cannot be a key; a Gemeinde is derived from the PLZ of the Geschäftsanschrift instead, and GET /businesses?gemeinde=<slug> answers every one of those spellings at once. Fold the zipCode buckets of GET /businesses/aggregate through zipCodes to count companies per Gemeinde. Unpaged and without a filter on purpose: 1.893 rows that change only with a new Gebietsstand, so one cacheable answer is cheaper for every caller than paging a list they all want whole. Companies with a foreign or unusable PLZ resolve to no Gemeinde and appear under none. Kostet 1 Credit.
5194
- * @tags Addresses
5195
- * @name V1AddressesGemeindenList
5196
- * @summary Gemeinden
5197
- * @request GET:/api/v1/addresses/gemeinden
5198
- * @secure
5199
- */
5200
- namespace V1AddressesGemeindenList {
5201
- type RequestParams = {};
5202
- type RequestQuery = {};
5203
- type RequestBody = never;
5204
- type RequestHeaders = {};
5205
- type ResponseBody = GemeindeResponse[];
5206
- }
5207
- /**
5208
- * @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 3 Credits.
5209
- * @tags Documents
5210
- * @name V1DocumentsDownloadDetail
5211
- * @summary Firmenbuch document download
5212
- * @request GET:/api/v1/documents/download/{documentKey}
5213
- * @secure
5214
- */
5215
- namespace V1DocumentsDownloadDetail {
5216
- type RequestParams = {
5217
- documentKey: string;
5218
- };
5219
- type RequestQuery = {};
5220
- type RequestBody = never;
5221
- type RequestHeaders = {};
5222
- type ResponseBody = void;
5223
- }
5224
- /**
5225
- * @description Returns one document change by id, with the document's metadata. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "document" answers 404 here. Kostet 1 Credit.
5226
- * @tags Documents
5227
- * @name V1DocumentsChangesDetail
5228
- * @summary Document change by id
5229
- * @request GET:/api/v1/documents/changes/{id}
5230
- * @secure
5231
- */
5232
- namespace V1DocumentsChangesDetail {
5233
- type RequestParams = {
5234
- /** @format int64 */
5235
- id: number;
5236
- };
5237
- type RequestQuery = {};
5238
- type RequestBody = never;
5239
- type RequestHeaders = {};
5240
- type ResponseBody = DocumentChange;
5241
- }
5242
- /**
5243
- * @description Feed of newly filed Firmenbuch documents — this is how you learn that a company has published a new Jahresabschluss. Each entry names a documentKey; fetch the file itself with GET /documents/download/{documentKey}. Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on the document date, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Kostet 1 Credit.
5244
- * @tags Documents
5245
- * @name V1DocumentsChangesList
5246
- * @summary Document change feed
5247
- * @request GET:/api/v1/documents/changes
5248
- * @secure
5249
- */
5250
- namespace V1DocumentsChangesList {
5251
- type RequestParams = {};
5252
- type RequestQuery = {
5253
- /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
5254
- fnr?: string;
5255
- /**
5256
- * Only changes we recorded at or after this instant — inclusive, and ANDed with sinceId when both are sent. A timestamp is not a cursor: poll on sinceId.
5257
- * @format date-time
5258
- */
5259
- since?: string;
5260
- /**
5261
- * Only changes with a higher id than this — exclusive, so pass back the highest id you have stored. This is the cursor to poll the feed on.
5262
- * @format int64
5263
- */
5264
- sinceId?: number;
5265
- /**
5266
- * 1-based page number; defaults to 1 when omitted. Walk it upwards within one poll, holding sinceId fixed, until a page comes back with fewer than pageSize rows.
5267
- * @format int32
5268
- * @min 1
5269
- * @max 1000
5270
- */
5271
- page?: number;
5272
- /**
5273
- * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
5274
- * @format int32
5275
- * @min 1
5276
- * @max 100
5277
- */
5278
- pageSize?: number;
5279
- };
5280
- type RequestBody = never;
5281
- type RequestHeaders = {};
5282
- type ResponseBody = PagedResponseOfDocumentChange;
5283
- }
5284
- /**
5285
- * @description The autocomplete read: /businesses and /people for one term, ranked together, so a search field costs one request per keystroke rather than two and does not have to merge two orders itself. Each row carries either business or person, whichever type names. Ordered by where the term sits in the name, then by the shorter name, then companies before people. pageSize is per side, so the answer holds up to twice as many rows. An empty search answers an empty list; use /businesses to page through the whole dataset. Kostet 1 Credit.
5286
- * @tags Search
5287
- * @name V1SearchList
5288
- * @summary Companies and people in one ranked list
5289
- * @request GET:/api/v1/search
5290
- * @secure
5291
- */
5292
- namespace V1SearchList {
5293
- type RequestParams = {};
5294
- type RequestQuery = {
5295
- /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
5296
- search?: string;
5297
- /**
5298
- * How many rows to take from each side before they are ranked together, so the answer holds at most twice this many; defaults to 10 when omitted.
5299
- * @format int32
5300
- * @min 1
5301
- * @max 100
5302
- */
5303
- pageSize?: number;
5304
- };
5305
- type RequestBody = never;
5306
- type RequestHeaders = {};
5307
- type ResponseBody = SearchResponse;
5308
- }
5309
- /**
5310
- * @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 3 Credits.
5311
- * @tags Graph
5312
- * @name V1GraphList
5313
- * @summary Relationship graph
5314
- * @request GET:/api/v1/graph
5315
- * @secure
5316
- */
5317
- namespace V1GraphList {
5318
- type RequestParams = {};
5319
- type RequestQuery = {
5320
- /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
5321
- personId?: string;
5322
- /** Start from this company. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company; case is not folded. Mutually exclusive with personId. */
5323
- fnr?: string;
5324
- };
5325
- type RequestBody = never;
5326
- type RequestHeaders = {};
5327
- type ResponseBody = GraphResponse;
5328
- }
5329
- /**
5330
- * @description The single feed of every change across all registers — Firmenbuch, GISA, Ediktsdatei and the BMF Scheinunternehmen list — as lightweight reference rows. Each row carries only id, fnr, changeType and the dates; fetch the payload with GET /globalchanges/{id}, or poll one register's typed feed instead (/businesses/changes, /documents/changes, /edikte/changes, /trades/changes). Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on changedDate, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. Kostet 1 Credit.
5331
- * @tags GlobalChanges
5332
- * @name V1GlobalchangesList
5333
- * @summary All-register change feed
5334
- * @request GET:/api/v1/globalchanges
5335
- * @secure
5336
- */
5337
- namespace V1GlobalchangesList {
5338
- type RequestParams = {};
5339
- type RequestQuery = {
5340
- /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
5341
- fnr?: string;
5343
+ /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
5344
+ fnr?: string;
5342
5345
  /**
5343
5346
  * Only changes we recorded at or after this instant — inclusive, and ANDed with sinceId when both are sent. A timestamp is not a cursor: poll on sinceId.
5344
5347
  * @format date-time
@@ -5416,24 +5419,17 @@ export declare namespace Api {
5416
5419
  type ResponseBody = ChangeDetailResponse;
5417
5420
  }
5418
5421
  /**
5419
- * @description Returns the OeNACE classification catalog with company counts. Results are ordered by company count descending — most used first. Kostet 1 Credit.
5420
- * @tags Oenace
5421
- * @name V1OenaceList
5422
- * @summary OeNACE classification catalog
5423
- * @request GET:/api/v1/oenace
5422
+ * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
5423
+ * @tags Addresses
5424
+ * @name V1AddressesLocationsList
5425
+ * @summary City and ZIP combinations
5426
+ * @request GET:/api/v1/addresses/locations
5424
5427
  * @secure
5425
5428
  */
5426
- namespace V1OenaceList {
5429
+ namespace V1AddressesLocationsList {
5427
5430
  type RequestParams = {};
5428
5431
  type RequestQuery = {
5429
5432
  search?: string;
5430
- /**
5431
- * Filter by hierarchy level (1–5). Omit to return all levels.
5432
- * @format int32
5433
- */
5434
- ebene?: number;
5435
- /** @format int32 */
5436
- minCompanyCount?: number;
5437
5433
  /**
5438
5434
  * 1-based page number; defaults to 1 when omitted.
5439
5435
  * @format int32
@@ -5451,20 +5447,19 @@ export declare namespace Api {
5451
5447
  };
5452
5448
  type RequestBody = never;
5453
5449
  type RequestHeaders = {};
5454
- type ResponseBody = PagedResponseOfOenaceCatalogItemResponse;
5450
+ type ResponseBody = PagedResponseOfAddressLocationResponse;
5455
5451
  }
5456
5452
  /**
5457
- * @description Returns all legal forms with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
5458
- * @tags LegalForms
5459
- * @name V1LegalformsList
5460
- * @summary Legal form catalog
5461
- * @request GET:/api/v1/legalforms
5453
+ * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
5454
+ * @tags Addresses
5455
+ * @name V1AddressesCitiesList
5456
+ * @summary Cities
5457
+ * @request GET:/api/v1/addresses/cities
5462
5458
  * @secure
5463
5459
  */
5464
- namespace V1LegalformsList {
5460
+ namespace V1AddressesCitiesList {
5465
5461
  type RequestParams = {};
5466
5462
  type RequestQuery = {
5467
- /** @maxLength 200 */
5468
5463
  search?: string;
5469
5464
  /**
5470
5465
  * 1-based page number; defaults to 1 when omitted.
@@ -5483,20 +5478,42 @@ export declare namespace Api {
5483
5478
  };
5484
5479
  type RequestBody = never;
5485
5480
  type RequestHeaders = {};
5486
- type ResponseBody = PagedResponseOfLegalFormCatalogItemResponse;
5481
+ type ResponseBody = PagedResponseOfCityResponse;
5487
5482
  }
5488
5483
  /**
5489
- * @description Returns all courts with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
5490
- * @tags Courts
5491
- * @name V1CourtsList
5492
- * @summary Court catalog
5493
- * @request GET:/api/v1/courts
5484
+ * @description Ranks cities and City+ZipCode combinations against one term and answers the best few of both, as one ranking split into two lists — what a location filter's type-ahead needs, where /addresses/locations and /addresses/cities are the paged catalogues behind it. Ordered by where the term sits in the label, then by the shorter label, then by company count, so "wien" answers Wien before Wiener Neustadt and before every 1xxx ZIP that carries it. A term shorter than two characters is ignored and the biggest groups come back instead. top caps both lists together, not each. Kostet 1 Credit.
5485
+ * @tags Addresses
5486
+ * @name V1AddressesSuggestList
5487
+ * @summary Location autocomplete
5488
+ * @request GET:/api/v1/addresses/suggest
5494
5489
  * @secure
5495
5490
  */
5496
- namespace V1CourtsList {
5491
+ namespace V1AddressesSuggestList {
5492
+ type RequestParams = {};
5493
+ type RequestQuery = {
5494
+ /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
5495
+ search?: string;
5496
+ /**
5497
+ * How many suggestions to answer, across both lists; defaults to 10 when omitted.
5498
+ * @format int32
5499
+ */
5500
+ top?: number;
5501
+ };
5502
+ type RequestBody = never;
5503
+ type RequestHeaders = {};
5504
+ type ResponseBody = LocationSuggestionsResponse;
5505
+ }
5506
+ /**
5507
+ * @description Returns unique zip codes from addresses with pagination and optional search. Kostet 1 Credit.
5508
+ * @tags Addresses
5509
+ * @name V1AddressesZipcodesList
5510
+ * @summary ZIP codes
5511
+ * @request GET:/api/v1/addresses/zipcodes
5512
+ * @secure
5513
+ */
5514
+ namespace V1AddressesZipcodesList {
5497
5515
  type RequestParams = {};
5498
5516
  type RequestQuery = {
5499
- /** @maxLength 200 */
5500
5517
  search?: string;
5501
5518
  /**
5502
5519
  * 1-based page number; defaults to 1 when omitted.
@@ -5515,22 +5532,22 @@ export declare namespace Api {
5515
5532
  };
5516
5533
  type RequestBody = never;
5517
5534
  type RequestHeaders = {};
5518
- type ResponseBody = PagedResponseOfCourtCatalogItemResponse;
5535
+ type ResponseBody = PagedResponseOfZipCodeResponse;
5519
5536
  }
5520
5537
  /**
5521
- * @description Returns all assignment functions (code/text lookup) for display. Cached for at most one minute. Kostet 1 Credit.
5522
- * @tags AssignmentFunctions
5523
- * @name V1AssignmentfunctionsList
5524
- * @summary Assignment function catalog
5525
- * @request GET:/api/v1/assignmentfunctions
5538
+ * @description The Gemeinde catalogue: one row per Austrian Gemeinde the register can address, with its official name, its URL slug, its Bundesland and that Land's slug, the PLZ that resolve to it, the alias slugs that name it and, for Wien, its Bezirke. This is the one source for a place's identity. The city column of an address is Firmenbuch free text and carries "Klagenfurt am Wörthersee", "Klagenfurt", "Klagenfurt-Viktring" and "Klagenfurt-Wölfnitz" side by side, so it cannot be a key; a Gemeinde is derived from the PLZ of the Geschäftsanschrift instead, and GET /businesses?gemeinde=<slug> answers every one of those spellings at once. Fold the zipCode buckets of GET /businesses/aggregate through zipCodes to count companies per Gemeinde. Unpaged and without a filter on purpose: 1.893 rows that change only with a new Gebietsstand, so one cacheable answer is cheaper for every caller than paging a list they all want whole. Companies with a foreign or unusable PLZ resolve to no Gemeinde and appear under none. Kostet 1 Credit.
5539
+ * @tags Addresses
5540
+ * @name V1AddressesGemeindenList
5541
+ * @summary Gemeinden
5542
+ * @request GET:/api/v1/addresses/gemeinden
5526
5543
  * @secure
5527
5544
  */
5528
- namespace V1AssignmentfunctionsList {
5545
+ namespace V1AddressesGemeindenList {
5529
5546
  type RequestParams = {};
5530
5547
  type RequestQuery = {};
5531
5548
  type RequestBody = never;
5532
5549
  type RequestHeaders = {};
5533
- type ResponseBody = AssignmentFunctionItemResponse[];
5550
+ type ResponseBody = GemeindeResponse[];
5534
5551
  }
5535
5552
  }
5536
5553
  export type QueryParamsType = Record<string | number, any>;
@@ -5901,6 +5918,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5901
5918
  */
5902
5919
  pageSize?: number;
5903
5920
  }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfFoerderungChange, ApiError | ProblemDetails>>;
5921
+ /**
5922
+ * @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 3 Credits.
5923
+ *
5924
+ * @tags Documents
5925
+ * @name V1DocumentsDownloadDetail
5926
+ * @summary Firmenbuch document download
5927
+ * @request GET:/api/v1/documents/download/{documentKey}
5928
+ * @secure
5929
+ */
5930
+ v1DocumentsDownloadDetail: (documentKey: string, params?: RequestParams) => Promise<HttpResponse<void, string | ApiError | ProblemDetails>>;
5931
+ /**
5932
+ * @description Returns one document change by id, with the document's metadata. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "document" answers 404 here. Kostet 1 Credit.
5933
+ *
5934
+ * @tags Documents
5935
+ * @name V1DocumentsChangesDetail
5936
+ * @summary Document change by id
5937
+ * @request GET:/api/v1/documents/changes/{id}
5938
+ * @secure
5939
+ */
5940
+ v1DocumentsChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<DocumentChange, ApiError | ProblemDetails>>;
5941
+ /**
5942
+ * @description Feed of newly filed Firmenbuch documents — this is how you learn that a company has published a new Jahresabschluss. Each entry names a documentKey; fetch the file itself with GET /documents/download/{documentKey}. Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on the document date, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Kostet 1 Credit.
5943
+ *
5944
+ * @tags Documents
5945
+ * @name V1DocumentsChangesList
5946
+ * @summary Document change feed
5947
+ * @request GET:/api/v1/documents/changes
5948
+ * @secure
5949
+ */
5950
+ v1DocumentsChangesList: (query?: {
5951
+ /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
5952
+ fnr?: string;
5953
+ /**
5954
+ * Only changes we recorded at or after this instant — inclusive, and ANDed with sinceId when both are sent. A timestamp is not a cursor: poll on sinceId.
5955
+ * @format date-time
5956
+ */
5957
+ since?: string;
5958
+ /**
5959
+ * Only changes with a higher id than this — exclusive, so pass back the highest id you have stored. This is the cursor to poll the feed on.
5960
+ * @format int64
5961
+ */
5962
+ sinceId?: number;
5963
+ /**
5964
+ * 1-based page number; defaults to 1 when omitted. Walk it upwards within one poll, holding sinceId fixed, until a page comes back with fewer than pageSize rows.
5965
+ * @format int32
5966
+ * @min 1
5967
+ * @max 1000
5968
+ */
5969
+ page?: number;
5970
+ /**
5971
+ * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
5972
+ * @format int32
5973
+ * @min 1
5974
+ * @max 100
5975
+ */
5976
+ pageSize?: number;
5977
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfDocumentChange, ApiError | ProblemDetails>>;
5904
5978
  /**
5905
5979
  * @description Returns one Ediktsdatei change by id. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "edikt" answers 404 here. Kostet 1 Credit.
5906
5980
  *
@@ -5948,6 +6022,41 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5948
6022
  */
5949
6023
  pageSize?: number;
5950
6024
  }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfEdiktChange, ApiError | ProblemDetails>>;
6025
+ /**
6026
+ * @description The autocomplete read: /businesses and /people for one term, ranked together, so a search field costs one request per keystroke rather than two and does not have to merge two orders itself. Each row carries either business or person, whichever type names. Ordered by where the term sits in the name, then by the shorter name, then companies before people. pageSize is per side, so the answer holds up to twice as many rows. An empty search answers an empty list; use /businesses to page through the whole dataset. Kostet 1 Credit.
6027
+ *
6028
+ * @tags Search
6029
+ * @name V1SearchList
6030
+ * @summary Companies and people in one ranked list
6031
+ * @request GET:/api/v1/search
6032
+ * @secure
6033
+ */
6034
+ v1SearchList: (query?: {
6035
+ /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
6036
+ search?: string;
6037
+ /**
6038
+ * How many rows to take from each side before they are ranked together, so the answer holds at most twice this many; defaults to 10 when omitted.
6039
+ * @format int32
6040
+ * @min 1
6041
+ * @max 100
6042
+ */
6043
+ pageSize?: number;
6044
+ }, params?: RequestParams) => Promise<HttpResponse<SearchResponse, ApiError | ProblemDetails>>;
6045
+ /**
6046
+ * @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 3 Credits.
6047
+ *
6048
+ * @tags Graph
6049
+ * @name V1GraphList
6050
+ * @summary Relationship graph
6051
+ * @request GET:/api/v1/graph
6052
+ * @secure
6053
+ */
6054
+ v1GraphList: (query?: {
6055
+ /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
6056
+ personId?: string;
6057
+ /** Start from this company. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company; case is not folded. Mutually exclusive with personId. */
6058
+ fnr?: string;
6059
+ }, params?: RequestParams) => Promise<HttpResponse<GraphResponse, ApiError | ProblemDetails>>;
5951
6060
  /**
5952
6061
  * @description Returns (id, name) pairs for all people with at least one business assignment. For client-side name index. id is the person's Firmenakte-ID, e.g. "P-7K3M-QX91". Kostet 1 Credit.
5953
6062
  *
@@ -6011,6 +6120,103 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6011
6120
  * @secure
6012
6121
  */
6013
6122
  v1PeopleDetail: (personId: string, params?: RequestParams) => Promise<HttpResponse<PersonDetailResponse, ApiError | ProblemDetails>>;
6123
+ /**
6124
+ * @description Returns all legal forms with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
6125
+ *
6126
+ * @tags LegalForms
6127
+ * @name V1LegalformsList
6128
+ * @summary Legal form catalog
6129
+ * @request GET:/api/v1/legalforms
6130
+ * @secure
6131
+ */
6132
+ v1LegalformsList: (query?: {
6133
+ /** @maxLength 200 */
6134
+ search?: string;
6135
+ /**
6136
+ * 1-based page number; defaults to 1 when omitted.
6137
+ * @format int32
6138
+ * @min 1
6139
+ * @max 1000
6140
+ */
6141
+ page?: number;
6142
+ /**
6143
+ * Number of items per page; defaults to 10 when omitted.
6144
+ * @format int32
6145
+ * @min 1
6146
+ * @max 100
6147
+ */
6148
+ pageSize?: number;
6149
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfLegalFormCatalogItemResponse, ApiError | ProblemDetails>>;
6150
+ /**
6151
+ * @description Returns the OeNACE classification catalog with company counts. Results are ordered by company count descending — most used first. Kostet 1 Credit.
6152
+ *
6153
+ * @tags Oenace
6154
+ * @name V1OenaceList
6155
+ * @summary OeNACE classification catalog
6156
+ * @request GET:/api/v1/oenace
6157
+ * @secure
6158
+ */
6159
+ v1OenaceList: (query?: {
6160
+ search?: string;
6161
+ /**
6162
+ * Filter by hierarchy level (1–5). Omit to return all levels.
6163
+ * @format int32
6164
+ */
6165
+ ebene?: number;
6166
+ /** @format int32 */
6167
+ minCompanyCount?: number;
6168
+ /**
6169
+ * 1-based page number; defaults to 1 when omitted.
6170
+ * @format int32
6171
+ * @min 1
6172
+ * @max 1000
6173
+ */
6174
+ page?: number;
6175
+ /**
6176
+ * Number of items per page; defaults to 10 when omitted.
6177
+ * @format int32
6178
+ * @min 1
6179
+ * @max 100
6180
+ */
6181
+ pageSize?: number;
6182
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfOenaceCatalogItemResponse, ApiError | ProblemDetails>>;
6183
+ /**
6184
+ * @description Returns all assignment functions (code/text lookup) for display. Cached for at most one minute. Kostet 1 Credit.
6185
+ *
6186
+ * @tags AssignmentFunctions
6187
+ * @name V1AssignmentfunctionsList
6188
+ * @summary Assignment function catalog
6189
+ * @request GET:/api/v1/assignmentfunctions
6190
+ * @secure
6191
+ */
6192
+ v1AssignmentfunctionsList: (params?: RequestParams) => Promise<HttpResponse<AssignmentFunctionItemResponse[], ApiError | ProblemDetails>>;
6193
+ /**
6194
+ * @description Returns all courts with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
6195
+ *
6196
+ * @tags Courts
6197
+ * @name V1CourtsList
6198
+ * @summary Court catalog
6199
+ * @request GET:/api/v1/courts
6200
+ * @secure
6201
+ */
6202
+ v1CourtsList: (query?: {
6203
+ /** @maxLength 200 */
6204
+ search?: string;
6205
+ /**
6206
+ * 1-based page number; defaults to 1 when omitted.
6207
+ * @format int32
6208
+ * @min 1
6209
+ * @max 1000
6210
+ */
6211
+ page?: number;
6212
+ /**
6213
+ * Number of items per page; defaults to 10 when omitted.
6214
+ * @format int32
6215
+ * @min 1
6216
+ * @max 100
6217
+ */
6218
+ pageSize?: number;
6219
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCourtCatalogItemResponse, ApiError | ProblemDetails>>;
6014
6220
  /**
6015
6221
  * @description Resolve company names to FNRs by exact name match (1:1). Used for CSV import. Kostet 1 Credit.
6016
6222
  *
@@ -8308,249 +8514,86 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8308
8514
  */
8309
8515
  "guv.Umsatzerloese_lte"?: number | null;
8310
8516
  /**
8311
- * Lower bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8312
- * @format decimal
8313
- */
8314
- "guv.WarenUndMaterialeinkauf_gte"?: number | null;
8315
- /**
8316
- * Upper bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8317
- * @format decimal
8318
- */
8319
- "guv.WarenUndMaterialeinkauf_lte"?: number | null;
8320
- /**
8321
- * Lower bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8322
- * @format decimal
8323
- */
8324
- "guv.ZinsenUndAehnlicheAufwendungen_gte"?: number | null;
8325
- /**
8326
- * Upper bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8327
- * @format decimal
8328
- */
8329
- "guv.ZinsenUndAehnlicheAufwendungen_lte"?: number | null;
8330
- }, params?: RequestParams) => Promise<HttpResponse<BusinessMapTopItem[], ApiError | ProblemDetails>>;
8331
- /**
8332
- * @description Similar companies without confirmed deletion (same OeNACE branch, same region preferred). Kostet 3 Credits.
8333
- *
8334
- * @tags Businesses
8335
- * @name V1BusinessesSimilarList
8336
- * @summary Similar companies
8337
- * @request GET:/api/v1/businesses/{fnr}/similar
8338
- * @secure
8339
- */
8340
- v1BusinessesSimilarList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessListResponse[], ApiError | ProblemDetails>>;
8341
- /**
8342
- * @description Returns the whole Firmenakte of one company: master data, addresses, people, GISA licences, Edikte, documents and the parsed annual accounts. fnr is matched exactly against the stored, normalised Firmenbuchnummer — lower case, no spaces, no leading zeros and no "FN" prefix, e.g. 34853f. Nothing is normalised on the way in, so "FN 34853 f" answers 404 rather than the company. 404 also means the company is not in the dataset yet. Kostet 1 Credit.
8343
- *
8344
- * @tags Businesses
8345
- * @name V1BusinessesDetail
8346
- * @summary Company Firmenakte
8347
- * @request GET:/api/v1/businesses/{fnr}
8348
- * @secure
8349
- */
8350
- v1BusinessesDetail: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessDetailResponse, ApiError | ProblemDetails>>;
8351
- /**
8352
- * @description Every parsed Jahresabschluss of one company, one entry per fiscal closing date, newest first. The Firmenakte itself (GET /businesses/{fnr}) carries only the last five periods. 404 only where the company itself is unknown, exactly as on GET /businesses/{fnr}. Kostet 1 Credit.
8353
- *
8354
- * @tags Businesses
8355
- * @name V1BusinessesJahresabschluesseList
8356
- * @summary Company annual accounts
8357
- * @request GET:/api/v1/businesses/{fnr}/jahresabschluesse
8358
- * @secure
8359
- */
8360
- v1BusinessesJahresabschluesseList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<ParsedJahresabschlussDto[], ApiError | ProblemDetails>>;
8361
- /**
8362
- * @description The state aid published for one company by the Transparenzportal des BMF (§ 40k TDBG), newest year first and the largest amount first within a year, plus a summary of count, sum, the years and the freshest Stichtag. Published are Leistungen from 1.500 € per calendar year to non-natural persons; the COVID-19 reports start at 10.000 €. So an empty list means "nothing published for this company", never "this company received nothing" — and a company the portal names but that could not be matched to a Firmenbuchnummer is not here either. 404 only where the company itself is unknown, exactly as on GET /businesses/{fnr}. Kostet 1 Credit.
8363
- *
8364
- * @tags Businesses
8365
- * @name V1BusinessesFoerderungenList
8366
- * @summary Company Foerderungen
8367
- * @request GET:/api/v1/businesses/{fnr}/foerderungen
8368
- * @secure
8369
- */
8370
- v1BusinessesFoerderungenList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessFoerderungenResponse, ApiError | ProblemDetails>>;
8371
- /**
8372
- * @description Returns one Firmenbuch change by id. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "business" answers 404 here. Kostet 1 Credit.
8373
- *
8374
- * @tags Businesses
8375
- * @name V1BusinessesChangesDetail
8376
- * @summary Firmenbuch change by id
8377
- * @request GET:/api/v1/businesses/changes/{id}
8378
- * @secure
8379
- */
8380
- v1BusinessesChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<BusinessChange, ApiError | ProblemDetails>>;
8381
- /**
8382
- * @description Feed of Firmenbuch changes — one entry per new legal record (Eintragung). Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on changedDate — so a back-dated entry is not missed — and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Use GET /globalchanges for the same feed across all four registers. Kostet 1 Credit.
8383
- *
8384
- * @tags Businesses
8385
- * @name V1BusinessesChangesList
8386
- * @summary Firmenbuch change feed
8387
- * @request GET:/api/v1/businesses/changes
8388
- * @secure
8389
- */
8390
- v1BusinessesChangesList: (query?: {
8391
- /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
8392
- fnr?: string;
8393
- /**
8394
- * Only changes we recorded at or after this instant — inclusive, and ANDed with sinceId when both are sent. A timestamp is not a cursor: poll on sinceId.
8395
- * @format date-time
8396
- */
8397
- since?: string;
8398
- /**
8399
- * Only changes with a higher id than this — exclusive, so pass back the highest id you have stored. This is the cursor to poll the feed on.
8400
- * @format int64
8401
- */
8402
- sinceId?: number;
8403
- /**
8404
- * 1-based page number; defaults to 1 when omitted. Walk it upwards within one poll, holding sinceId fixed, until a page comes back with fewer than pageSize rows.
8405
- * @format int32
8406
- * @min 1
8407
- * @max 1000
8408
- */
8409
- page?: number;
8410
- /**
8411
- * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
8412
- * @format int32
8413
- * @min 1
8414
- * @max 100
8415
- */
8416
- pageSize?: number;
8417
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfBusinessChange, ApiError | ProblemDetails>>;
8418
- /**
8419
- * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
8420
- *
8421
- * @tags Addresses
8422
- * @name V1AddressesLocationsList
8423
- * @summary City and ZIP combinations
8424
- * @request GET:/api/v1/addresses/locations
8425
- * @secure
8426
- */
8427
- v1AddressesLocationsList: (query?: {
8428
- search?: string;
8429
- /**
8430
- * 1-based page number; defaults to 1 when omitted.
8431
- * @format int32
8432
- * @min 1
8433
- * @max 1000
8517
+ * Lower bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8518
+ * @format decimal
8434
8519
  */
8435
- page?: number;
8520
+ "guv.WarenUndMaterialeinkauf_gte"?: number | null;
8436
8521
  /**
8437
- * Number of items per page; defaults to 10 when omitted.
8438
- * @format int32
8439
- * @min 1
8440
- * @max 100
8522
+ * Upper bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8523
+ * @format decimal
8441
8524
  */
8442
- pageSize?: number;
8443
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfAddressLocationResponse, ApiError | ProblemDetails>>;
8444
- /**
8445
- * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
8446
- *
8447
- * @tags Addresses
8448
- * @name V1AddressesCitiesList
8449
- * @summary Cities
8450
- * @request GET:/api/v1/addresses/cities
8451
- * @secure
8452
- */
8453
- v1AddressesCitiesList: (query?: {
8454
- search?: string;
8525
+ "guv.WarenUndMaterialeinkauf_lte"?: number | null;
8455
8526
  /**
8456
- * 1-based page number; defaults to 1 when omitted.
8457
- * @format int32
8458
- * @min 1
8459
- * @max 1000
8527
+ * Lower bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8528
+ * @format decimal
8460
8529
  */
8461
- page?: number;
8530
+ "guv.ZinsenUndAehnlicheAufwendungen_gte"?: number | null;
8462
8531
  /**
8463
- * Number of items per page; defaults to 10 when omitted.
8464
- * @format int32
8465
- * @min 1
8466
- * @max 100
8532
+ * Upper bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8533
+ * @format decimal
8467
8534
  */
8468
- pageSize?: number;
8469
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCityResponse, ApiError | ProblemDetails>>;
8535
+ "guv.ZinsenUndAehnlicheAufwendungen_lte"?: number | null;
8536
+ }, params?: RequestParams) => Promise<HttpResponse<BusinessMapTopItem[], ApiError | ProblemDetails>>;
8470
8537
  /**
8471
- * @description Ranks cities and City+ZipCode combinations against one term and answers the best few of both, as one ranking split into two lists — what a location filter's type-ahead needs, where /addresses/locations and /addresses/cities are the paged catalogues behind it. Ordered by where the term sits in the label, then by the shorter label, then by company count, so "wien" answers Wien before Wiener Neustadt and before every 1xxx ZIP that carries it. A term shorter than two characters is ignored and the biggest groups come back instead. top caps both lists together, not each. Kostet 1 Credit.
8538
+ * @description Similar companies without confirmed deletion (same OeNACE branch, same region preferred). Kostet 3 Credits.
8472
8539
  *
8473
- * @tags Addresses
8474
- * @name V1AddressesSuggestList
8475
- * @summary Location autocomplete
8476
- * @request GET:/api/v1/addresses/suggest
8540
+ * @tags Businesses
8541
+ * @name V1BusinessesSimilarList
8542
+ * @summary Similar companies
8543
+ * @request GET:/api/v1/businesses/{fnr}/similar
8477
8544
  * @secure
8478
8545
  */
8479
- v1AddressesSuggestList: (query?: {
8480
- /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
8481
- search?: string;
8482
- /**
8483
- * How many suggestions to answer, across both lists; defaults to 10 when omitted.
8484
- * @format int32
8485
- */
8486
- top?: number;
8487
- }, params?: RequestParams) => Promise<HttpResponse<LocationSuggestionsResponse, ApiError | ProblemDetails>>;
8546
+ v1BusinessesSimilarList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessListResponse[], ApiError | ProblemDetails>>;
8488
8547
  /**
8489
- * @description Returns unique zip codes from addresses with pagination and optional search. Kostet 1 Credit.
8548
+ * @description Returns the whole Firmenakte of one company: master data, addresses, people, GISA licences, Edikte, documents and the parsed annual accounts. fnr is matched exactly against the stored, normalised Firmenbuchnummer — lower case, no spaces, no leading zeros and no "FN" prefix, e.g. 34853f. Nothing is normalised on the way in, so "FN 34853 f" answers 404 rather than the company. 404 also means the company is not in the dataset yet. Kostet 1 Credit.
8490
8549
  *
8491
- * @tags Addresses
8492
- * @name V1AddressesZipcodesList
8493
- * @summary ZIP codes
8494
- * @request GET:/api/v1/addresses/zipcodes
8550
+ * @tags Businesses
8551
+ * @name V1BusinessesDetail
8552
+ * @summary Company Firmenakte
8553
+ * @request GET:/api/v1/businesses/{fnr}
8495
8554
  * @secure
8496
8555
  */
8497
- v1AddressesZipcodesList: (query?: {
8498
- search?: string;
8499
- /**
8500
- * 1-based page number; defaults to 1 when omitted.
8501
- * @format int32
8502
- * @min 1
8503
- * @max 1000
8504
- */
8505
- page?: number;
8506
- /**
8507
- * Number of items per page; defaults to 10 when omitted.
8508
- * @format int32
8509
- * @min 1
8510
- * @max 100
8511
- */
8512
- pageSize?: number;
8513
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfZipCodeResponse, ApiError | ProblemDetails>>;
8556
+ v1BusinessesDetail: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessDetailResponse, ApiError | ProblemDetails>>;
8514
8557
  /**
8515
- * @description The Gemeinde catalogue: one row per Austrian Gemeinde the register can address, with its official name, its URL slug, its Bundesland and that Land's slug, the PLZ that resolve to it, the alias slugs that name it and, for Wien, its Bezirke. This is the one source for a place's identity. The city column of an address is Firmenbuch free text and carries "Klagenfurt am Wörthersee", "Klagenfurt", "Klagenfurt-Viktring" and "Klagenfurt-Wölfnitz" side by side, so it cannot be a key; a Gemeinde is derived from the PLZ of the Geschäftsanschrift instead, and GET /businesses?gemeinde=<slug> answers every one of those spellings at once. Fold the zipCode buckets of GET /businesses/aggregate through zipCodes to count companies per Gemeinde. Unpaged and without a filter on purpose: 1.893 rows that change only with a new Gebietsstand, so one cacheable answer is cheaper for every caller than paging a list they all want whole. Companies with a foreign or unusable PLZ resolve to no Gemeinde and appear under none. Kostet 1 Credit.
8558
+ * @description Every parsed Jahresabschluss of one company, one entry per fiscal closing date, newest first. The Firmenakte itself (GET /businesses/{fnr}) carries only the last five periods. 404 only where the company itself is unknown, exactly as on GET /businesses/{fnr}. Kostet 1 Credit.
8516
8559
  *
8517
- * @tags Addresses
8518
- * @name V1AddressesGemeindenList
8519
- * @summary Gemeinden
8520
- * @request GET:/api/v1/addresses/gemeinden
8560
+ * @tags Businesses
8561
+ * @name V1BusinessesJahresabschluesseList
8562
+ * @summary Company annual accounts
8563
+ * @request GET:/api/v1/businesses/{fnr}/jahresabschluesse
8521
8564
  * @secure
8522
8565
  */
8523
- v1AddressesGemeindenList: (params?: RequestParams) => Promise<HttpResponse<GemeindeResponse[], ApiError | ProblemDetails>>;
8566
+ v1BusinessesJahresabschluesseList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<ParsedJahresabschlussDto[], ApiError | ProblemDetails>>;
8524
8567
  /**
8525
- * @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 3 Credits.
8568
+ * @description The state aid published for one company by the Transparenzportal des BMF (§ 40k TDBG), newest year first and the largest amount first within a year, plus a summary of count, sum, the years and the freshest Stichtag. Published are Leistungen from 1.500 € per calendar year to non-natural persons; the COVID-19 reports start at 10.000 €. So an empty list means "nothing published for this company", never "this company received nothing" — and a company the portal names but that could not be matched to a Firmenbuchnummer is not here either. 404 only where the company itself is unknown, exactly as on GET /businesses/{fnr}. Kostet 1 Credit.
8526
8569
  *
8527
- * @tags Documents
8528
- * @name V1DocumentsDownloadDetail
8529
- * @summary Firmenbuch document download
8530
- * @request GET:/api/v1/documents/download/{documentKey}
8570
+ * @tags Businesses
8571
+ * @name V1BusinessesFoerderungenList
8572
+ * @summary Company Foerderungen
8573
+ * @request GET:/api/v1/businesses/{fnr}/foerderungen
8531
8574
  * @secure
8532
8575
  */
8533
- v1DocumentsDownloadDetail: (documentKey: string, params?: RequestParams) => Promise<HttpResponse<void, string | ApiError | ProblemDetails>>;
8576
+ v1BusinessesFoerderungenList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessFoerderungenResponse, ApiError | ProblemDetails>>;
8534
8577
  /**
8535
- * @description Returns one document change by id, with the document's metadata. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "document" answers 404 here. Kostet 1 Credit.
8578
+ * @description Returns one Firmenbuch change by id. The id is the shared change id from GET /globalchanges, so an id that exists but whose changeType is not "business" answers 404 here. Kostet 1 Credit.
8536
8579
  *
8537
- * @tags Documents
8538
- * @name V1DocumentsChangesDetail
8539
- * @summary Document change by id
8540
- * @request GET:/api/v1/documents/changes/{id}
8580
+ * @tags Businesses
8581
+ * @name V1BusinessesChangesDetail
8582
+ * @summary Firmenbuch change by id
8583
+ * @request GET:/api/v1/businesses/changes/{id}
8541
8584
  * @secure
8542
8585
  */
8543
- v1DocumentsChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<DocumentChange, ApiError | ProblemDetails>>;
8586
+ v1BusinessesChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<BusinessChange, ApiError | ProblemDetails>>;
8544
8587
  /**
8545
- * @description Feed of newly filed Firmenbuch documents — this is how you learn that a company has published a new Jahresabschluss. Each entry names a documentKey; fetch the file itself with GET /documents/download/{documentKey}. Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on the document date, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Kostet 1 Credit.
8588
+ * @description Feed of Firmenbuch changes — one entry per new legal record (Eintragung). Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on changedDate — so a back-dated entry is not missed — and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. fnr is normalised before matching — trimmed, spaces and leading zeros removed, case left alone — so 034853 f and 34853f are the same company, exactly as on GET /businesses. Use GET /globalchanges for the same feed across all four registers. Kostet 1 Credit.
8546
8589
  *
8547
- * @tags Documents
8548
- * @name V1DocumentsChangesList
8549
- * @summary Document change feed
8550
- * @request GET:/api/v1/documents/changes
8590
+ * @tags Businesses
8591
+ * @name V1BusinessesChangesList
8592
+ * @summary Firmenbuch change feed
8593
+ * @request GET:/api/v1/businesses/changes
8551
8594
  * @secure
8552
8595
  */
8553
- v1DocumentsChangesList: (query?: {
8596
+ v1BusinessesChangesList: (query?: {
8554
8597
  /** Only changes for this Firmenbuchnummer. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company. Case is not folded: pass the lower-case form the API gives you. */
8555
8598
  fnr?: string;
8556
8599
  /**
@@ -8577,42 +8620,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8577
8620
  * @max 100
8578
8621
  */
8579
8622
  pageSize?: number;
8580
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfDocumentChange, ApiError | ProblemDetails>>;
8581
- /**
8582
- * @description The autocomplete read: /businesses and /people for one term, ranked together, so a search field costs one request per keystroke rather than two and does not have to merge two orders itself. Each row carries either business or person, whichever type names. Ordered by where the term sits in the name, then by the shorter name, then companies before people. pageSize is per side, so the answer holds up to twice as many rows. An empty search answers an empty list; use /businesses to page through the whole dataset. Kostet 1 Credit.
8583
- *
8584
- * @tags Search
8585
- * @name V1SearchList
8586
- * @summary Companies and people in one ranked list
8587
- * @request GET:/api/v1/search
8588
- * @secure
8589
- */
8590
- v1SearchList: (query?: {
8591
- /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
8592
- search?: string;
8593
- /**
8594
- * How many rows to take from each side before they are ranked together, so the answer holds at most twice this many; defaults to 10 when omitted.
8595
- * @format int32
8596
- * @min 1
8597
- * @max 100
8598
- */
8599
- pageSize?: number;
8600
- }, params?: RequestParams) => Promise<HttpResponse<SearchResponse, ApiError | ProblemDetails>>;
8601
- /**
8602
- * @description Returns the graph (nodes and edges) within 2 hops of the start entity. Exactly one of personId or fnr must be provided. The network of people and companies around one starting point — who sits on which board with whom. nodes are people ("person") and companies ("business"), each carrying the id you would pass to /people/{personId} or /businesses/{fnr} — a person's is the Firmenakte-ID, e.g. "P-7K3M-QX91"; edges are source/target pairs of those ids whose relationshipType is "assignment", a person holding a function in a company. Two further edge types the deployment can enable: "address", two companies registered at the same street address, and "ownership", a company holding shares in another — source is the shareholder, target the company it holds, and capitalAmount, currency and sharePercent carry the stake where the register gives one. Ownership edges are drawn only for companies crawled since the shareholder mapping went live, so a company not yet re-crawled reports none rather than implying it has none. The traversal depth is fixed at 2 hops and is not a parameter — a node with further connections outside that boundary carries hasMore=true, and isCentralNode marks the entity you started from. personId and fnr are mutually exclusive, not combinable: supplying both, or neither, is a 400, and an id that exists in neither register is a 404. personId answers on the canonical Firmenakte-ID; another spelling of it and a person's old "vorname-nachname-…" id answer one 308 whose relative Location carries the canonical form. Kostet 3 Credits.
8603
- *
8604
- * @tags Graph
8605
- * @name V1GraphList
8606
- * @summary Relationship graph
8607
- * @request GET:/api/v1/graph
8608
- * @secure
8609
- */
8610
- v1GraphList: (query?: {
8611
- /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
8612
- personId?: string;
8613
- /** Start from this company. Normalised before matching — trimmed, spaces and leading zeros removed — so 034853 f and 34853f are the same company; case is not folded. Mutually exclusive with personId. */
8614
- fnr?: string;
8615
- }, params?: RequestParams) => Promise<HttpResponse<GraphResponse, ApiError | ProblemDetails>>;
8623
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfBusinessChange, ApiError | ProblemDetails>>;
8616
8624
  /**
8617
8625
  * @description The single feed of every change across all registers — Firmenbuch, GISA, Ediktsdatei and the BMF Scheinunternehmen list — as lightweight reference rows. Each row carries only id, fnr, changeType and the dates; fetch the payload with GET /globalchanges/{id}, or poll one register's typed feed instead (/businesses/changes, /documents/changes, /edikte/changes, /trades/changes). Ordered by ascending id, and that id is the cursor: request with sinceId set to the highest id you have stored, walk page=1,2,… at a fixed pageSize until a page comes back with fewer than pageSize rows, keep the highest id you saw, and start the next poll from it. sinceId is exclusive, so nothing is delivered twice, and a new change always takes a higher id than every change already in the feed, so it appends to the end and never shifts a page you have already read. since is inclusive, filters on when we recorded the change rather than on changedDate, and applies together with sinceId when both are sent. Paging without sinceId is not a reliable feed: an offset is not a watermark, and page stops at 1000. totalRecords stops there too — it is counted only as far as page 1000 reaches, so it caps at 1000 × pageSize and means "at least this many" once it is that; stop on a short page, not on a count. Under concurrent writes a change can become visible just after a higher id, so a consumer that must not miss one resumes from the previous poll's watermark and de-duplicates by id. Kostet 1 Credit.
8618
8626
  *
@@ -8685,23 +8693,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8685
8693
  */
8686
8694
  v1GlobalchangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<ChangeDetailResponse, ApiError | ProblemDetails>>;
8687
8695
  /**
8688
- * @description Returns the OeNACE classification catalog with company counts. Results are ordered by company count descending — most used first. Kostet 1 Credit.
8696
+ * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
8689
8697
  *
8690
- * @tags Oenace
8691
- * @name V1OenaceList
8692
- * @summary OeNACE classification catalog
8693
- * @request GET:/api/v1/oenace
8698
+ * @tags Addresses
8699
+ * @name V1AddressesLocationsList
8700
+ * @summary City and ZIP combinations
8701
+ * @request GET:/api/v1/addresses/locations
8694
8702
  * @secure
8695
8703
  */
8696
- v1OenaceList: (query?: {
8704
+ v1AddressesLocationsList: (query?: {
8697
8705
  search?: string;
8698
- /**
8699
- * Filter by hierarchy level (1–5). Omit to return all levels.
8700
- * @format int32
8701
- */
8702
- ebene?: number;
8703
- /** @format int32 */
8704
- minCompanyCount?: number;
8705
8706
  /**
8706
8707
  * 1-based page number; defaults to 1 when omitted.
8707
8708
  * @format int32
@@ -8716,18 +8717,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8716
8717
  * @max 100
8717
8718
  */
8718
8719
  pageSize?: number;
8719
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfOenaceCatalogItemResponse, ApiError | ProblemDetails>>;
8720
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfAddressLocationResponse, ApiError | ProblemDetails>>;
8720
8721
  /**
8721
- * @description Returns all legal forms with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
8722
+ * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
8722
8723
  *
8723
- * @tags LegalForms
8724
- * @name V1LegalformsList
8725
- * @summary Legal form catalog
8726
- * @request GET:/api/v1/legalforms
8724
+ * @tags Addresses
8725
+ * @name V1AddressesCitiesList
8726
+ * @summary Cities
8727
+ * @request GET:/api/v1/addresses/cities
8727
8728
  * @secure
8728
8729
  */
8729
- v1LegalformsList: (query?: {
8730
- /** @maxLength 200 */
8730
+ v1AddressesCitiesList: (query?: {
8731
8731
  search?: string;
8732
8732
  /**
8733
8733
  * 1-based page number; defaults to 1 when omitted.
@@ -8743,18 +8743,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8743
8743
  * @max 100
8744
8744
  */
8745
8745
  pageSize?: number;
8746
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfLegalFormCatalogItemResponse, ApiError | ProblemDetails>>;
8746
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCityResponse, ApiError | ProblemDetails>>;
8747
8747
  /**
8748
- * @description Returns all courts with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
8748
+ * @description Ranks cities and City+ZipCode combinations against one term and answers the best few of both, as one ranking split into two lists — what a location filter's type-ahead needs, where /addresses/locations and /addresses/cities are the paged catalogues behind it. Ordered by where the term sits in the label, then by the shorter label, then by company count, so "wien" answers Wien before Wiener Neustadt and before every 1xxx ZIP that carries it. A term shorter than two characters is ignored and the biggest groups come back instead. top caps both lists together, not each. Kostet 1 Credit.
8749
8749
  *
8750
- * @tags Courts
8751
- * @name V1CourtsList
8752
- * @summary Court catalog
8753
- * @request GET:/api/v1/courts
8750
+ * @tags Addresses
8751
+ * @name V1AddressesSuggestList
8752
+ * @summary Location autocomplete
8753
+ * @request GET:/api/v1/addresses/suggest
8754
8754
  * @secure
8755
8755
  */
8756
- v1CourtsList: (query?: {
8757
- /** @maxLength 200 */
8756
+ v1AddressesSuggestList: (query?: {
8757
+ /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
8758
+ search?: string;
8759
+ /**
8760
+ * How many suggestions to answer, across both lists; defaults to 10 when omitted.
8761
+ * @format int32
8762
+ */
8763
+ top?: number;
8764
+ }, params?: RequestParams) => Promise<HttpResponse<LocationSuggestionsResponse, ApiError | ProblemDetails>>;
8765
+ /**
8766
+ * @description Returns unique zip codes from addresses with pagination and optional search. Kostet 1 Credit.
8767
+ *
8768
+ * @tags Addresses
8769
+ * @name V1AddressesZipcodesList
8770
+ * @summary ZIP codes
8771
+ * @request GET:/api/v1/addresses/zipcodes
8772
+ * @secure
8773
+ */
8774
+ v1AddressesZipcodesList: (query?: {
8758
8775
  search?: string;
8759
8776
  /**
8760
8777
  * 1-based page number; defaults to 1 when omitted.
@@ -8770,17 +8787,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8770
8787
  * @max 100
8771
8788
  */
8772
8789
  pageSize?: number;
8773
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCourtCatalogItemResponse, ApiError | ProblemDetails>>;
8790
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfZipCodeResponse, ApiError | ProblemDetails>>;
8774
8791
  /**
8775
- * @description Returns all assignment functions (code/text lookup) for display. Cached for at most one minute. Kostet 1 Credit.
8792
+ * @description The Gemeinde catalogue: one row per Austrian Gemeinde the register can address, with its official name, its URL slug, its Bundesland and that Land's slug, the PLZ that resolve to it, the alias slugs that name it and, for Wien, its Bezirke. This is the one source for a place's identity. The city column of an address is Firmenbuch free text and carries "Klagenfurt am Wörthersee", "Klagenfurt", "Klagenfurt-Viktring" and "Klagenfurt-Wölfnitz" side by side, so it cannot be a key; a Gemeinde is derived from the PLZ of the Geschäftsanschrift instead, and GET /businesses?gemeinde=<slug> answers every one of those spellings at once. Fold the zipCode buckets of GET /businesses/aggregate through zipCodes to count companies per Gemeinde. Unpaged and without a filter on purpose: 1.893 rows that change only with a new Gebietsstand, so one cacheable answer is cheaper for every caller than paging a list they all want whole. Companies with a foreign or unusable PLZ resolve to no Gemeinde and appear under none. Kostet 1 Credit.
8776
8793
  *
8777
- * @tags AssignmentFunctions
8778
- * @name V1AssignmentfunctionsList
8779
- * @summary Assignment function catalog
8780
- * @request GET:/api/v1/assignmentfunctions
8794
+ * @tags Addresses
8795
+ * @name V1AddressesGemeindenList
8796
+ * @summary Gemeinden
8797
+ * @request GET:/api/v1/addresses/gemeinden
8781
8798
  * @secure
8782
8799
  */
8783
- v1AssignmentfunctionsList: (params?: RequestParams) => Promise<HttpResponse<AssignmentFunctionItemResponse[], ApiError | ProblemDetails>>;
8800
+ v1AddressesGemeindenList: (params?: RequestParams) => Promise<HttpResponse<GemeindeResponse[], ApiError | ProblemDetails>>;
8784
8801
  };
8785
8802
  }
8786
8803
  export {};