@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 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",
@@ -759,6 +774,10 @@ export interface CompanyProfileDto {
759
774
  * @format date-time
760
775
  */
761
776
  generatedAt: string;
777
+ /** Who buys from the company, read by the AI from its website and general knowledge: b2b (businesses), b2c (consumers), public (the public sector). Any combination; empty when unknown, which never means none. */
778
+ customers?: string[];
779
+ /** The widest area the company serves, read by the AI from its website and general knowledge: local, regional, national (all of Austria) or international. Null when unknown. */
780
+ reach?: string | null;
762
781
  }
763
782
  export interface CompanyProfileSource {
764
783
  /** website. */
@@ -810,6 +829,7 @@ export interface DocumentMetadata {
810
829
  createdAt?: string;
811
830
  /** @format date-time */
812
831
  updatedAt?: string;
832
+ /** The DOKUMENTART.CODE of the document type, read off its ref ID; the v1 answers carry it. */
813
833
  documentTypeCode?: string | null;
814
834
  /** @format date-time */
815
835
  documentDate?: string | null;
@@ -934,7 +954,7 @@ export interface FoerderungDto {
934
954
  /** Municipality. Only the Energiekrise and ARF reports carry one. */
935
955
  gemeinde?: string | null;
936
956
  /**
937
- * 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).
938
958
  * @format int32
939
959
  */
940
960
  jahr?: number;
@@ -1229,7 +1249,8 @@ export interface InsolvencyProceeding {
1229
1249
  courtEvent: InsolvencyCourtEvidence | null;
1230
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. */
1231
1251
  typeEvidence: InsolvencyCourtEvidence | null;
1232
- 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;
1233
1254
  }
1234
1255
  export type JsonDocument = any;
1235
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. */
@@ -2448,6 +2469,83 @@ export declare namespace Api {
2448
2469
  type RequestHeaders = {};
2449
2470
  type ResponseBody = PagedResponseOfFoerderungChange;
2450
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
+ }
2451
2549
  /**
2452
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.
2453
2551
  * @tags Edikte
@@ -2508,6 +2606,51 @@ export declare namespace Api {
2508
2606
  type RequestHeaders = {};
2509
2607
  type ResponseBody = PagedResponseOfEdiktChange;
2510
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
+ }
2511
2654
  /**
2512
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.
2513
2656
  * @tags People
@@ -2589,6 +2732,123 @@ export declare namespace Api {
2589
2732
  type RequestHeaders = {};
2590
2733
  type ResponseBody = PersonDetailResponse;
2591
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
+ }
2592
2852
  /**
2593
2853
  * @description Resolve company names to FNRs by exact name match (1:1). Used for CSV import. Kostet 1 Credit.
2594
2854
  * @tags Businesses
@@ -5070,271 +5330,18 @@ export declare namespace Api {
5070
5330
  type ResponseBody = PagedResponseOfBusinessChange;
5071
5331
  }
5072
5332
  /**
5073
- * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
5074
- * @tags Addresses
5075
- * @name V1AddressesLocationsList
5076
- * @summary City and ZIP combinations
5077
- * @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
5078
5338
  * @secure
5079
5339
  */
5080
- namespace V1AddressesLocationsList {
5340
+ namespace V1GlobalchangesList {
5081
5341
  type RequestParams = {};
5082
5342
  type RequestQuery = {
5083
- search?: string;
5084
- /**
5085
- * 1-based page number; defaults to 1 when omitted.
5086
- * @format int32
5087
- * @min 1
5088
- * @max 1000
5089
- */
5090
- page?: number;
5091
- /**
5092
- * Number of items per page; defaults to 10 when omitted.
5093
- * @format int32
5094
- * @min 1
5095
- * @max 100
5096
- */
5097
- pageSize?: number;
5098
- };
5099
- type RequestBody = never;
5100
- type RequestHeaders = {};
5101
- type ResponseBody = PagedResponseOfAddressLocationResponse;
5102
- }
5103
- /**
5104
- * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
5105
- * @tags Addresses
5106
- * @name V1AddressesCitiesList
5107
- * @summary Cities
5108
- * @request GET:/api/v1/addresses/cities
5109
- * @secure
5110
- */
5111
- namespace V1AddressesCitiesList {
5112
- type RequestParams = {};
5113
- type RequestQuery = {
5114
- search?: string;
5115
- /**
5116
- * 1-based page number; defaults to 1 when omitted.
5117
- * @format int32
5118
- * @min 1
5119
- * @max 1000
5120
- */
5121
- page?: number;
5122
- /**
5123
- * Number of items per page; defaults to 10 when omitted.
5124
- * @format int32
5125
- * @min 1
5126
- * @max 100
5127
- */
5128
- pageSize?: number;
5129
- };
5130
- type RequestBody = never;
5131
- type RequestHeaders = {};
5132
- type ResponseBody = PagedResponseOfCityResponse;
5133
- }
5134
- /**
5135
- * @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.
5136
- * @tags Addresses
5137
- * @name V1AddressesSuggestList
5138
- * @summary Location autocomplete
5139
- * @request GET:/api/v1/addresses/suggest
5140
- * @secure
5141
- */
5142
- namespace V1AddressesSuggestList {
5143
- type RequestParams = {};
5144
- type RequestQuery = {
5145
- /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
5146
- search?: string;
5147
- /**
5148
- * How many suggestions to answer, across both lists; defaults to 10 when omitted.
5149
- * @format int32
5150
- */
5151
- top?: number;
5152
- };
5153
- type RequestBody = never;
5154
- type RequestHeaders = {};
5155
- type ResponseBody = LocationSuggestionsResponse;
5156
- }
5157
- /**
5158
- * @description Returns unique zip codes from addresses with pagination and optional search. Kostet 1 Credit.
5159
- * @tags Addresses
5160
- * @name V1AddressesZipcodesList
5161
- * @summary ZIP codes
5162
- * @request GET:/api/v1/addresses/zipcodes
5163
- * @secure
5164
- */
5165
- namespace V1AddressesZipcodesList {
5166
- type RequestParams = {};
5167
- type RequestQuery = {
5168
- search?: string;
5169
- /**
5170
- * 1-based page number; defaults to 1 when omitted.
5171
- * @format int32
5172
- * @min 1
5173
- * @max 1000
5174
- */
5175
- page?: number;
5176
- /**
5177
- * Number of items per page; defaults to 10 when omitted.
5178
- * @format int32
5179
- * @min 1
5180
- * @max 100
5181
- */
5182
- pageSize?: number;
5183
- };
5184
- type RequestBody = never;
5185
- type RequestHeaders = {};
5186
- type ResponseBody = PagedResponseOfZipCodeResponse;
5187
- }
5188
- /**
5189
- * @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.
5190
- * @tags Addresses
5191
- * @name V1AddressesGemeindenList
5192
- * @summary Gemeinden
5193
- * @request GET:/api/v1/addresses/gemeinden
5194
- * @secure
5195
- */
5196
- namespace V1AddressesGemeindenList {
5197
- type RequestParams = {};
5198
- type RequestQuery = {};
5199
- type RequestBody = never;
5200
- type RequestHeaders = {};
5201
- type ResponseBody = GemeindeResponse[];
5202
- }
5203
- /**
5204
- * @description Downloads a Firmenbuch document (PDF/XML) by its document key. Kostet 3 Credits.
5205
- * @tags Documents
5206
- * @name V1DocumentsDownloadDetail
5207
- * @summary Firmenbuch document download
5208
- * @request GET:/api/v1/documents/download/{documentKey}
5209
- * @secure
5210
- */
5211
- namespace V1DocumentsDownloadDetail {
5212
- type RequestParams = {
5213
- documentKey: string;
5214
- };
5215
- type RequestQuery = {};
5216
- type RequestBody = never;
5217
- type RequestHeaders = {};
5218
- type ResponseBody = void;
5219
- }
5220
- /**
5221
- * @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.
5222
- * @tags Documents
5223
- * @name V1DocumentsChangesDetail
5224
- * @summary Document change by id
5225
- * @request GET:/api/v1/documents/changes/{id}
5226
- * @secure
5227
- */
5228
- namespace V1DocumentsChangesDetail {
5229
- type RequestParams = {
5230
- /** @format int64 */
5231
- id: number;
5232
- };
5233
- type RequestQuery = {};
5234
- type RequestBody = never;
5235
- type RequestHeaders = {};
5236
- type ResponseBody = DocumentChange;
5237
- }
5238
- /**
5239
- * @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.
5240
- * @tags Documents
5241
- * @name V1DocumentsChangesList
5242
- * @summary Document change feed
5243
- * @request GET:/api/v1/documents/changes
5244
- * @secure
5245
- */
5246
- namespace V1DocumentsChangesList {
5247
- type RequestParams = {};
5248
- type RequestQuery = {
5249
- /** 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. */
5250
- fnr?: string;
5251
- /**
5252
- * 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.
5253
- * @format date-time
5254
- */
5255
- since?: string;
5256
- /**
5257
- * 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.
5258
- * @format int64
5259
- */
5260
- sinceId?: number;
5261
- /**
5262
- * 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.
5263
- * @format int32
5264
- * @min 1
5265
- * @max 1000
5266
- */
5267
- page?: number;
5268
- /**
5269
- * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
5270
- * @format int32
5271
- * @min 1
5272
- * @max 100
5273
- */
5274
- pageSize?: number;
5275
- };
5276
- type RequestBody = never;
5277
- type RequestHeaders = {};
5278
- type ResponseBody = PagedResponseOfDocumentChange;
5279
- }
5280
- /**
5281
- * @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.
5282
- * @tags Search
5283
- * @name V1SearchList
5284
- * @summary Companies and people in one ranked list
5285
- * @request GET:/api/v1/search
5286
- * @secure
5287
- */
5288
- namespace V1SearchList {
5289
- type RequestParams = {};
5290
- type RequestQuery = {
5291
- /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
5292
- search?: string;
5293
- /**
5294
- * 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.
5295
- * @format int32
5296
- * @min 1
5297
- * @max 100
5298
- */
5299
- pageSize?: number;
5300
- };
5301
- type RequestBody = never;
5302
- type RequestHeaders = {};
5303
- type ResponseBody = SearchResponse;
5304
- }
5305
- /**
5306
- * @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.
5307
- * @tags Graph
5308
- * @name V1GraphList
5309
- * @summary Relationship graph
5310
- * @request GET:/api/v1/graph
5311
- * @secure
5312
- */
5313
- namespace V1GraphList {
5314
- type RequestParams = {};
5315
- type RequestQuery = {
5316
- /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
5317
- personId?: string;
5318
- /** 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. */
5319
- fnr?: string;
5320
- };
5321
- type RequestBody = never;
5322
- type RequestHeaders = {};
5323
- type ResponseBody = GraphResponse;
5324
- }
5325
- /**
5326
- * @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.
5327
- * @tags GlobalChanges
5328
- * @name V1GlobalchangesList
5329
- * @summary All-register change feed
5330
- * @request GET:/api/v1/globalchanges
5331
- * @secure
5332
- */
5333
- namespace V1GlobalchangesList {
5334
- type RequestParams = {};
5335
- type RequestQuery = {
5336
- /** 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. */
5337
- 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;
5338
5345
  /**
5339
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.
5340
5347
  * @format date-time
@@ -5412,24 +5419,17 @@ export declare namespace Api {
5412
5419
  type ResponseBody = ChangeDetailResponse;
5413
5420
  }
5414
5421
  /**
5415
- * @description Returns the OeNACE classification catalog with company counts. Results are ordered by company count descending — most used first. Kostet 1 Credit.
5416
- * @tags Oenace
5417
- * @name V1OenaceList
5418
- * @summary OeNACE classification catalog
5419
- * @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
5420
5427
  * @secure
5421
5428
  */
5422
- namespace V1OenaceList {
5429
+ namespace V1AddressesLocationsList {
5423
5430
  type RequestParams = {};
5424
5431
  type RequestQuery = {
5425
5432
  search?: string;
5426
- /**
5427
- * Filter by hierarchy level (1–5). Omit to return all levels.
5428
- * @format int32
5429
- */
5430
- ebene?: number;
5431
- /** @format int32 */
5432
- minCompanyCount?: number;
5433
5433
  /**
5434
5434
  * 1-based page number; defaults to 1 when omitted.
5435
5435
  * @format int32
@@ -5447,20 +5447,19 @@ export declare namespace Api {
5447
5447
  };
5448
5448
  type RequestBody = never;
5449
5449
  type RequestHeaders = {};
5450
- type ResponseBody = PagedResponseOfOenaceCatalogItemResponse;
5450
+ type ResponseBody = PagedResponseOfAddressLocationResponse;
5451
5451
  }
5452
5452
  /**
5453
- * @description Returns all legal forms with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
5454
- * @tags LegalForms
5455
- * @name V1LegalformsList
5456
- * @summary Legal form catalog
5457
- * @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
5458
5458
  * @secure
5459
5459
  */
5460
- namespace V1LegalformsList {
5460
+ namespace V1AddressesCitiesList {
5461
5461
  type RequestParams = {};
5462
5462
  type RequestQuery = {
5463
- /** @maxLength 200 */
5464
5463
  search?: string;
5465
5464
  /**
5466
5465
  * 1-based page number; defaults to 1 when omitted.
@@ -5479,20 +5478,42 @@ export declare namespace Api {
5479
5478
  };
5480
5479
  type RequestBody = never;
5481
5480
  type RequestHeaders = {};
5482
- type ResponseBody = PagedResponseOfLegalFormCatalogItemResponse;
5481
+ type ResponseBody = PagedResponseOfCityResponse;
5483
5482
  }
5484
5483
  /**
5485
- * @description Returns all courts with pagination and optional search, sorted by business count descending. Kostet 1 Credit.
5486
- * @tags Courts
5487
- * @name V1CourtsList
5488
- * @summary Court catalog
5489
- * @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
5490
5489
  * @secure
5491
5490
  */
5492
- 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 {
5493
5515
  type RequestParams = {};
5494
5516
  type RequestQuery = {
5495
- /** @maxLength 200 */
5496
5517
  search?: string;
5497
5518
  /**
5498
5519
  * 1-based page number; defaults to 1 when omitted.
@@ -5511,22 +5532,22 @@ export declare namespace Api {
5511
5532
  };
5512
5533
  type RequestBody = never;
5513
5534
  type RequestHeaders = {};
5514
- type ResponseBody = PagedResponseOfCourtCatalogItemResponse;
5535
+ type ResponseBody = PagedResponseOfZipCodeResponse;
5515
5536
  }
5516
5537
  /**
5517
- * @description Returns all assignment functions (code/text lookup) for display. Cached for at most one minute. Kostet 1 Credit.
5518
- * @tags AssignmentFunctions
5519
- * @name V1AssignmentfunctionsList
5520
- * @summary Assignment function catalog
5521
- * @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
5522
5543
  * @secure
5523
5544
  */
5524
- namespace V1AssignmentfunctionsList {
5545
+ namespace V1AddressesGemeindenList {
5525
5546
  type RequestParams = {};
5526
5547
  type RequestQuery = {};
5527
5548
  type RequestBody = never;
5528
5549
  type RequestHeaders = {};
5529
- type ResponseBody = AssignmentFunctionItemResponse[];
5550
+ type ResponseBody = GemeindeResponse[];
5530
5551
  }
5531
5552
  }
5532
5553
  export type QueryParamsType = Record<string | number, any>;
@@ -5897,6 +5918,63 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5897
5918
  */
5898
5919
  pageSize?: number;
5899
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>>;
5900
5978
  /**
5901
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.
5902
5980
  *
@@ -5944,6 +6022,41 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
5944
6022
  */
5945
6023
  pageSize?: number;
5946
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>>;
5947
6060
  /**
5948
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.
5949
6062
  *
@@ -6007,6 +6120,103 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
6007
6120
  * @secure
6008
6121
  */
6009
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>>;
6010
6220
  /**
6011
6221
  * @description Resolve company names to FNRs by exact name match (1:1). Used for CSV import. Kostet 1 Credit.
6012
6222
  *
@@ -8304,249 +8514,86 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8304
8514
  */
8305
8515
  "guv.Umsatzerloese_lte"?: number | null;
8306
8516
  /**
8307
- * Lower bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8308
- * @format decimal
8309
- */
8310
- "guv.WarenUndMaterialeinkauf_gte"?: number | null;
8311
- /**
8312
- * Upper bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8313
- * @format decimal
8314
- */
8315
- "guv.WarenUndMaterialeinkauf_lte"?: number | null;
8316
- /**
8317
- * Lower bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8318
- * @format decimal
8319
- */
8320
- "guv.ZinsenUndAehnlicheAufwendungen_gte"?: number | null;
8321
- /**
8322
- * Upper bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8323
- * @format decimal
8324
- */
8325
- "guv.ZinsenUndAehnlicheAufwendungen_lte"?: number | null;
8326
- }, params?: RequestParams) => Promise<HttpResponse<BusinessMapTopItem[], ApiError | ProblemDetails>>;
8327
- /**
8328
- * @description Similar companies without confirmed deletion (same OeNACE branch, same region preferred). Kostet 3 Credits.
8329
- *
8330
- * @tags Businesses
8331
- * @name V1BusinessesSimilarList
8332
- * @summary Similar companies
8333
- * @request GET:/api/v1/businesses/{fnr}/similar
8334
- * @secure
8335
- */
8336
- v1BusinessesSimilarList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessListResponse[], ApiError | ProblemDetails>>;
8337
- /**
8338
- * @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.
8339
- *
8340
- * @tags Businesses
8341
- * @name V1BusinessesDetail
8342
- * @summary Company Firmenakte
8343
- * @request GET:/api/v1/businesses/{fnr}
8344
- * @secure
8345
- */
8346
- v1BusinessesDetail: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessDetailResponse, ApiError | ProblemDetails>>;
8347
- /**
8348
- * @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.
8349
- *
8350
- * @tags Businesses
8351
- * @name V1BusinessesJahresabschluesseList
8352
- * @summary Company annual accounts
8353
- * @request GET:/api/v1/businesses/{fnr}/jahresabschluesse
8354
- * @secure
8355
- */
8356
- v1BusinessesJahresabschluesseList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<ParsedJahresabschlussDto[], ApiError | ProblemDetails>>;
8357
- /**
8358
- * @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.
8359
- *
8360
- * @tags Businesses
8361
- * @name V1BusinessesFoerderungenList
8362
- * @summary Company Foerderungen
8363
- * @request GET:/api/v1/businesses/{fnr}/foerderungen
8364
- * @secure
8365
- */
8366
- v1BusinessesFoerderungenList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessFoerderungenResponse, ApiError | ProblemDetails>>;
8367
- /**
8368
- * @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.
8369
- *
8370
- * @tags Businesses
8371
- * @name V1BusinessesChangesDetail
8372
- * @summary Firmenbuch change by id
8373
- * @request GET:/api/v1/businesses/changes/{id}
8374
- * @secure
8375
- */
8376
- v1BusinessesChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<BusinessChange, ApiError | ProblemDetails>>;
8377
- /**
8378
- * @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.
8379
- *
8380
- * @tags Businesses
8381
- * @name V1BusinessesChangesList
8382
- * @summary Firmenbuch change feed
8383
- * @request GET:/api/v1/businesses/changes
8384
- * @secure
8385
- */
8386
- v1BusinessesChangesList: (query?: {
8387
- /** 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. */
8388
- fnr?: string;
8389
- /**
8390
- * 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.
8391
- * @format date-time
8392
- */
8393
- since?: string;
8394
- /**
8395
- * 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.
8396
- * @format int64
8397
- */
8398
- sinceId?: number;
8399
- /**
8400
- * 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.
8401
- * @format int32
8402
- * @min 1
8403
- * @max 1000
8404
- */
8405
- page?: number;
8406
- /**
8407
- * Number of items per page; defaults to 100 when omitted. A page shorter than this is the end of the feed.
8408
- * @format int32
8409
- * @min 1
8410
- * @max 100
8411
- */
8412
- pageSize?: number;
8413
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfBusinessChange, ApiError | ProblemDetails>>;
8414
- /**
8415
- * @description Returns unique City+ZipCode combinations from addresses with pagination and optional search. Kostet 1 Credit.
8416
- *
8417
- * @tags Addresses
8418
- * @name V1AddressesLocationsList
8419
- * @summary City and ZIP combinations
8420
- * @request GET:/api/v1/addresses/locations
8421
- * @secure
8422
- */
8423
- v1AddressesLocationsList: (query?: {
8424
- search?: string;
8425
- /**
8426
- * 1-based page number; defaults to 1 when omitted.
8427
- * @format int32
8428
- * @min 1
8429
- * @max 1000
8517
+ * Lower bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8518
+ * @format decimal
8430
8519
  */
8431
- page?: number;
8520
+ "guv.WarenUndMaterialeinkauf_gte"?: number | null;
8432
8521
  /**
8433
- * Number of items per page; defaults to 10 when omitted.
8434
- * @format int32
8435
- * @min 1
8436
- * @max 100
8522
+ * Upper bound (inclusive) for Filter by profit and loss item: WarenUndMaterialeinkauf
8523
+ * @format decimal
8437
8524
  */
8438
- pageSize?: number;
8439
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfAddressLocationResponse, ApiError | ProblemDetails>>;
8440
- /**
8441
- * @description Returns unique cities from addresses with pagination and optional search. Kostet 1 Credit.
8442
- *
8443
- * @tags Addresses
8444
- * @name V1AddressesCitiesList
8445
- * @summary Cities
8446
- * @request GET:/api/v1/addresses/cities
8447
- * @secure
8448
- */
8449
- v1AddressesCitiesList: (query?: {
8450
- search?: string;
8525
+ "guv.WarenUndMaterialeinkauf_lte"?: number | null;
8451
8526
  /**
8452
- * 1-based page number; defaults to 1 when omitted.
8453
- * @format int32
8454
- * @min 1
8455
- * @max 1000
8527
+ * Lower bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8528
+ * @format decimal
8456
8529
  */
8457
- page?: number;
8530
+ "guv.ZinsenUndAehnlicheAufwendungen_gte"?: number | null;
8458
8531
  /**
8459
- * Number of items per page; defaults to 10 when omitted.
8460
- * @format int32
8461
- * @min 1
8462
- * @max 100
8532
+ * Upper bound (inclusive) for Filter by profit and loss item: ZinsenUndAehnlicheAufwendungen
8533
+ * @format decimal
8463
8534
  */
8464
- pageSize?: number;
8465
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCityResponse, ApiError | ProblemDetails>>;
8535
+ "guv.ZinsenUndAehnlicheAufwendungen_lte"?: number | null;
8536
+ }, params?: RequestParams) => Promise<HttpResponse<BusinessMapTopItem[], ApiError | ProblemDetails>>;
8466
8537
  /**
8467
- * @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.
8468
8539
  *
8469
- * @tags Addresses
8470
- * @name V1AddressesSuggestList
8471
- * @summary Location autocomplete
8472
- * @request GET:/api/v1/addresses/suggest
8540
+ * @tags Businesses
8541
+ * @name V1BusinessesSimilarList
8542
+ * @summary Similar companies
8543
+ * @request GET:/api/v1/businesses/{fnr}/similar
8473
8544
  * @secure
8474
8545
  */
8475
- v1AddressesSuggestList: (query?: {
8476
- /** The term to rank against. Shorter than two characters it is ignored entirely and the biggest groups come back instead. */
8477
- search?: string;
8478
- /**
8479
- * How many suggestions to answer, across both lists; defaults to 10 when omitted.
8480
- * @format int32
8481
- */
8482
- top?: number;
8483
- }, params?: RequestParams) => Promise<HttpResponse<LocationSuggestionsResponse, ApiError | ProblemDetails>>;
8546
+ v1BusinessesSimilarList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessListResponse[], ApiError | ProblemDetails>>;
8484
8547
  /**
8485
- * @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.
8486
8549
  *
8487
- * @tags Addresses
8488
- * @name V1AddressesZipcodesList
8489
- * @summary ZIP codes
8490
- * @request GET:/api/v1/addresses/zipcodes
8550
+ * @tags Businesses
8551
+ * @name V1BusinessesDetail
8552
+ * @summary Company Firmenakte
8553
+ * @request GET:/api/v1/businesses/{fnr}
8491
8554
  * @secure
8492
8555
  */
8493
- v1AddressesZipcodesList: (query?: {
8494
- search?: string;
8495
- /**
8496
- * 1-based page number; defaults to 1 when omitted.
8497
- * @format int32
8498
- * @min 1
8499
- * @max 1000
8500
- */
8501
- page?: number;
8502
- /**
8503
- * Number of items per page; defaults to 10 when omitted.
8504
- * @format int32
8505
- * @min 1
8506
- * @max 100
8507
- */
8508
- pageSize?: number;
8509
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfZipCodeResponse, ApiError | ProblemDetails>>;
8556
+ v1BusinessesDetail: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessDetailResponse, ApiError | ProblemDetails>>;
8510
8557
  /**
8511
- * @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.
8512
8559
  *
8513
- * @tags Addresses
8514
- * @name V1AddressesGemeindenList
8515
- * @summary Gemeinden
8516
- * @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
8517
8564
  * @secure
8518
8565
  */
8519
- v1AddressesGemeindenList: (params?: RequestParams) => Promise<HttpResponse<GemeindeResponse[], ApiError | ProblemDetails>>;
8566
+ v1BusinessesJahresabschluesseList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<ParsedJahresabschlussDto[], ApiError | ProblemDetails>>;
8520
8567
  /**
8521
- * @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.
8522
8569
  *
8523
- * @tags Documents
8524
- * @name V1DocumentsDownloadDetail
8525
- * @summary Firmenbuch document download
8526
- * @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
8527
8574
  * @secure
8528
8575
  */
8529
- v1DocumentsDownloadDetail: (documentKey: string, params?: RequestParams) => Promise<HttpResponse<void, string | ApiError | ProblemDetails>>;
8576
+ v1BusinessesFoerderungenList: (fnr: string, params?: RequestParams) => Promise<HttpResponse<BusinessFoerderungenResponse, ApiError | ProblemDetails>>;
8530
8577
  /**
8531
- * @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.
8532
8579
  *
8533
- * @tags Documents
8534
- * @name V1DocumentsChangesDetail
8535
- * @summary Document change by id
8536
- * @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}
8537
8584
  * @secure
8538
8585
  */
8539
- v1DocumentsChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<DocumentChange, ApiError | ProblemDetails>>;
8586
+ v1BusinessesChangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<BusinessChange, ApiError | ProblemDetails>>;
8540
8587
  /**
8541
- * @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.
8542
8589
  *
8543
- * @tags Documents
8544
- * @name V1DocumentsChangesList
8545
- * @summary Document change feed
8546
- * @request GET:/api/v1/documents/changes
8590
+ * @tags Businesses
8591
+ * @name V1BusinessesChangesList
8592
+ * @summary Firmenbuch change feed
8593
+ * @request GET:/api/v1/businesses/changes
8547
8594
  * @secure
8548
8595
  */
8549
- v1DocumentsChangesList: (query?: {
8596
+ v1BusinessesChangesList: (query?: {
8550
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. */
8551
8598
  fnr?: string;
8552
8599
  /**
@@ -8573,42 +8620,7 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8573
8620
  * @max 100
8574
8621
  */
8575
8622
  pageSize?: number;
8576
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfDocumentChange, ApiError | ProblemDetails>>;
8577
- /**
8578
- * @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.
8579
- *
8580
- * @tags Search
8581
- * @name V1SearchList
8582
- * @summary Companies and people in one ranked list
8583
- * @request GET:/api/v1/search
8584
- * @secure
8585
- */
8586
- v1SearchList: (query?: {
8587
- /** The term. Empty answers an empty list — this endpoint suggests, it does not list. */
8588
- search?: string;
8589
- /**
8590
- * 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.
8591
- * @format int32
8592
- * @min 1
8593
- * @max 100
8594
- */
8595
- pageSize?: number;
8596
- }, params?: RequestParams) => Promise<HttpResponse<SearchResponse, ApiError | ProblemDetails>>;
8597
- /**
8598
- * @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.
8599
- *
8600
- * @tags Graph
8601
- * @name V1GraphList
8602
- * @summary Relationship graph
8603
- * @request GET:/api/v1/graph
8604
- * @secure
8605
- */
8606
- v1GraphList: (query?: {
8607
- /** Start from this person, by Firmenakte-ID ("P-7K3M-QX91"). Mutually exclusive with fnr. */
8608
- personId?: string;
8609
- /** 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. */
8610
- fnr?: string;
8611
- }, params?: RequestParams) => Promise<HttpResponse<GraphResponse, ApiError | ProblemDetails>>;
8623
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfBusinessChange, ApiError | ProblemDetails>>;
8612
8624
  /**
8613
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.
8614
8626
  *
@@ -8681,23 +8693,16 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8681
8693
  */
8682
8694
  v1GlobalchangesDetail: (id: number, params?: RequestParams) => Promise<HttpResponse<ChangeDetailResponse, ApiError | ProblemDetails>>;
8683
8695
  /**
8684
- * @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.
8685
8697
  *
8686
- * @tags Oenace
8687
- * @name V1OenaceList
8688
- * @summary OeNACE classification catalog
8689
- * @request GET:/api/v1/oenace
8698
+ * @tags Addresses
8699
+ * @name V1AddressesLocationsList
8700
+ * @summary City and ZIP combinations
8701
+ * @request GET:/api/v1/addresses/locations
8690
8702
  * @secure
8691
8703
  */
8692
- v1OenaceList: (query?: {
8704
+ v1AddressesLocationsList: (query?: {
8693
8705
  search?: string;
8694
- /**
8695
- * Filter by hierarchy level (1–5). Omit to return all levels.
8696
- * @format int32
8697
- */
8698
- ebene?: number;
8699
- /** @format int32 */
8700
- minCompanyCount?: number;
8701
8706
  /**
8702
8707
  * 1-based page number; defaults to 1 when omitted.
8703
8708
  * @format int32
@@ -8712,18 +8717,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8712
8717
  * @max 100
8713
8718
  */
8714
8719
  pageSize?: number;
8715
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfOenaceCatalogItemResponse, ApiError | ProblemDetails>>;
8720
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfAddressLocationResponse, ApiError | ProblemDetails>>;
8716
8721
  /**
8717
- * @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.
8718
8723
  *
8719
- * @tags LegalForms
8720
- * @name V1LegalformsList
8721
- * @summary Legal form catalog
8722
- * @request GET:/api/v1/legalforms
8724
+ * @tags Addresses
8725
+ * @name V1AddressesCitiesList
8726
+ * @summary Cities
8727
+ * @request GET:/api/v1/addresses/cities
8723
8728
  * @secure
8724
8729
  */
8725
- v1LegalformsList: (query?: {
8726
- /** @maxLength 200 */
8730
+ v1AddressesCitiesList: (query?: {
8727
8731
  search?: string;
8728
8732
  /**
8729
8733
  * 1-based page number; defaults to 1 when omitted.
@@ -8739,18 +8743,35 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8739
8743
  * @max 100
8740
8744
  */
8741
8745
  pageSize?: number;
8742
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfLegalFormCatalogItemResponse, ApiError | ProblemDetails>>;
8746
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCityResponse, ApiError | ProblemDetails>>;
8743
8747
  /**
8744
- * @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.
8745
8749
  *
8746
- * @tags Courts
8747
- * @name V1CourtsList
8748
- * @summary Court catalog
8749
- * @request GET:/api/v1/courts
8750
+ * @tags Addresses
8751
+ * @name V1AddressesSuggestList
8752
+ * @summary Location autocomplete
8753
+ * @request GET:/api/v1/addresses/suggest
8750
8754
  * @secure
8751
8755
  */
8752
- v1CourtsList: (query?: {
8753
- /** @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?: {
8754
8775
  search?: string;
8755
8776
  /**
8756
8777
  * 1-based page number; defaults to 1 when omitted.
@@ -8766,17 +8787,17 @@ export declare class Api<SecurityDataType extends unknown> extends HttpClient<Se
8766
8787
  * @max 100
8767
8788
  */
8768
8789
  pageSize?: number;
8769
- }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfCourtCatalogItemResponse, ApiError | ProblemDetails>>;
8790
+ }, params?: RequestParams) => Promise<HttpResponse<PagedResponseOfZipCodeResponse, ApiError | ProblemDetails>>;
8770
8791
  /**
8771
- * @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.
8772
8793
  *
8773
- * @tags AssignmentFunctions
8774
- * @name V1AssignmentfunctionsList
8775
- * @summary Assignment function catalog
8776
- * @request GET:/api/v1/assignmentfunctions
8794
+ * @tags Addresses
8795
+ * @name V1AddressesGemeindenList
8796
+ * @summary Gemeinden
8797
+ * @request GET:/api/v1/addresses/gemeinden
8777
8798
  * @secure
8778
8799
  */
8779
- v1AssignmentfunctionsList: (params?: RequestParams) => Promise<HttpResponse<AssignmentFunctionItemResponse[], ApiError | ProblemDetails>>;
8800
+ v1AddressesGemeindenList: (params?: RequestParams) => Promise<HttpResponse<GemeindeResponse[], ApiError | ProblemDetails>>;
8780
8801
  };
8781
8802
  }
8782
8803
  export {};