@firmenakte/api-client 2.37.0 → 2.38.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.
@@ -826,7 +826,7 @@ export type CompanySearchRequest = {
826
826
  */
827
827
  includeSummary?: boolean;
828
828
  /**
829
- * What the company does, for example Bronzeguss. Ranks by relevance, combines with filters, takes no sort; three credits. 503 where unavailable.
829
+ * What the company does, for example Bronzeguss, or a whole description of up to 2000 characters, such as a company's profile text to find similar companies. Ranks by relevance, combines with filters, takes no sort; three credits. Up to eight words also match word by word; a longer text ranks by meaning alone. 503 where unavailable.
830
830
  */
831
831
  activity?: null | string;
832
832
  where?: Filter;
@@ -1379,11 +1379,6 @@ export type CursorPageOfSearchHistoryDto = {
1379
1379
  nextCursor?: null | string;
1380
1380
  total?: null | number;
1381
1381
  };
1382
- export type CursorPageOfSimilarCompany = {
1383
- items: Array<SimilarCompany>;
1384
- nextCursor?: null | string;
1385
- total?: null | number;
1386
- };
1387
1382
  export type DeletedMeApiKeyDto = {
1388
1383
  id: string;
1389
1384
  };
@@ -3456,11 +3451,6 @@ export type SetNotificationRulesDto = {
3456
3451
  inApp: NotificationRuleSetting;
3457
3452
  email: NotificationRuleSetting;
3458
3453
  };
3459
- export type SimilarCompany = {
3460
- id: string;
3461
- name: string;
3462
- reasons: Array<string>;
3463
- };
3464
3454
  export type SourceKey = 'firmenbuch' | 'ediktsdatei' | 'evi' | 'gisa' | 'bmf-scheinunternehmen' | 'transparenzportal' | 'ama' | 'bev' | 'statistik-austria' | 'vies' | 'websites' | 'openstreetmap' | 'claims';
3465
3455
  export type SourceLicense = {
3466
3456
  name: string;
@@ -16498,166 +16488,6 @@ export type GetCompanyNetworkResponses = {
16498
16488
  200: CompanyNetworkResponse;
16499
16489
  };
16500
16490
  export type GetCompanyNetworkResponse = GetCompanyNetworkResponses[keyof GetCompanyNetworkResponses];
16501
- export type ListSimilarCompaniesData = {
16502
- body?: never;
16503
- headers?: {
16504
- /**
16505
- * ETag from a previous read. A match returns a free 304.
16506
- */
16507
- 'If-None-Match'?: string;
16508
- /**
16509
- * Optional replay key, retained for 24 hours. Replays are free.
16510
- */
16511
- 'Idempotency-Key'?: string;
16512
- };
16513
- path: {
16514
- /**
16515
- * Firmenakte-ID (compact or hyphenated, including merged IDs), scheme:value register alias, or a bare Firmenbuchnummer. Resolves to the canonical visible record without redirects.
16516
- */
16517
- id: AkteId;
16518
- };
16519
- query?: {
16520
- /**
16521
- * Page size; default 25, maximum 100. Zero returns the count.
16522
- */
16523
- limit?: number;
16524
- /**
16525
- * Opaque cursor from the previous page. Expires after 24 hours.
16526
- */
16527
- cursor?: string;
16528
- /**
16529
- * Has no effect on this collection.
16530
- */
16531
- current?: boolean;
16532
- };
16533
- url: '/api/v2/companies/{id}/similar';
16534
- };
16535
- export type ListSimilarCompaniesErrors = {
16536
- /**
16537
- * Malformed request, or a cursor from another request.
16538
- */
16539
- 400: Problem;
16540
- /**
16541
- * No valid API key or session.
16542
- */
16543
- 401: Problem;
16544
- /**
16545
- * Not enough credits for this call.
16546
- */
16547
- 402: Problem;
16548
- /**
16549
- * Not found, or it belongs to another workspace.
16550
- */
16551
- 404: Problem;
16552
- /**
16553
- * Conflict with the current state; `code` says which.
16554
- */
16555
- 409: Problem;
16556
- /**
16557
- * Erased or expired.
16558
- */
16559
- 410: Problem;
16560
- /**
16561
- * Validation failed; `errors[]` names each parameter or JSON pointer.
16562
- */
16563
- 422: Problem;
16564
- /**
16565
- * Too many requests; retry after `Retry-After`.
16566
- */
16567
- 429: Problem;
16568
- /**
16569
- * Internal error; quote `requestId` to support.
16570
- */
16571
- 500: Problem;
16572
- };
16573
- export type ListSimilarCompaniesError = ListSimilarCompaniesErrors[keyof ListSimilarCompaniesErrors];
16574
- export type ListSimilarCompaniesResponses = {
16575
- /**
16576
- * OK
16577
- */
16578
- 200: CursorPageOfSimilarCompany;
16579
- };
16580
- export type ListSimilarCompaniesResponse = ListSimilarCompaniesResponses[keyof ListSimilarCompaniesResponses];
16581
- export type ListPublicSimilarCompaniesData = {
16582
- body?: never;
16583
- headers?: {
16584
- /**
16585
- * ETag from a previous read. A match returns a free 304.
16586
- */
16587
- 'If-None-Match'?: string;
16588
- /**
16589
- * Optional replay key, retained for 24 hours. Replays are free.
16590
- */
16591
- 'Idempotency-Key'?: string;
16592
- };
16593
- path: {
16594
- /**
16595
- * Firmenakte-ID (compact or hyphenated, including merged IDs), scheme:value register alias, or a bare Firmenbuchnummer. Resolves to the canonical visible record without redirects.
16596
- */
16597
- id: AkteId;
16598
- };
16599
- query?: {
16600
- /**
16601
- * Page size, default 25, minimum 1, maximum 100. Values outside this range return 422.
16602
- */
16603
- limit?: number;
16604
- /**
16605
- * Opaque cursor from the previous page. Expires after 24 hours.
16606
- */
16607
- cursor?: string;
16608
- /**
16609
- * Has no effect on this collection.
16610
- */
16611
- current?: boolean;
16612
- };
16613
- url: '/api/v2/public/entities/companies/{id}/similar';
16614
- };
16615
- export type ListPublicSimilarCompaniesErrors = {
16616
- /**
16617
- * Malformed request, or a cursor from another request.
16618
- */
16619
- 400: Problem;
16620
- /**
16621
- * No valid API key or session.
16622
- */
16623
- 401: Problem;
16624
- /**
16625
- * Not enough credits for this call.
16626
- */
16627
- 402: Problem;
16628
- /**
16629
- * Not found, or it belongs to another workspace.
16630
- */
16631
- 404: Problem;
16632
- /**
16633
- * Conflict with the current state; `code` says which.
16634
- */
16635
- 409: Problem;
16636
- /**
16637
- * Erased or expired.
16638
- */
16639
- 410: Problem;
16640
- /**
16641
- * Validation failed; `errors[]` names each parameter or JSON pointer.
16642
- */
16643
- 422: Problem;
16644
- /**
16645
- * Too many requests; retry after `Retry-After`.
16646
- */
16647
- 429: Problem;
16648
- /**
16649
- * Internal error; quote `requestId` to support.
16650
- */
16651
- 500: Problem;
16652
- };
16653
- export type ListPublicSimilarCompaniesError = ListPublicSimilarCompaniesErrors[keyof ListPublicSimilarCompaniesErrors];
16654
- export type ListPublicSimilarCompaniesResponses = {
16655
- /**
16656
- * OK
16657
- */
16658
- 200: CursorPageOfSimilarCompany;
16659
- };
16660
- export type ListPublicSimilarCompaniesResponse = ListPublicSimilarCompaniesResponses[keyof ListPublicSimilarCompaniesResponses];
16661
16491
  export type ListChangesData = {
16662
16492
  body?: never;
16663
16493
  headers?: {