@firmenakte/api-client 2.27.0 → 2.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firmenakte/api-client",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "description": "TypeScript/JavaScript client for the Firmenakte API",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -504,7 +504,7 @@ export declare class FirmenakteApi extends HeyApiClient {
504
504
  /**
505
505
  * Search companies
506
506
  *
507
- * Search companies using a nested filter tree. Keyset cursors bind filter and sort and expire after 24 hours. Costs 1 credit, including cache hits. Use limit 0 for a count; limits above 100 are clamped.
507
+ * Search companies using a nested filter tree. Keyset cursors bind filter and sort and expire after 24 hours. Costs 1 credit, including cache hits. The limit must be 1–100 (default 25); values outside that range return 422 invalid_value. Set includeSummary:true to include the total match count.
508
508
  */
509
509
  searchCompanies<ThrowOnError extends boolean = true>(options: Options<SearchCompaniesData, ThrowOnError>): RequestResult<SearchCompaniesResponses, SearchCompaniesErrors, ThrowOnError>;
510
510
  /**
@@ -1075,7 +1075,7 @@ class FirmenakteApi extends HeyApiClient {
1075
1075
  /**
1076
1076
  * Search companies
1077
1077
  *
1078
- * Search companies using a nested filter tree. Keyset cursors bind filter and sort and expire after 24 hours. Costs 1 credit, including cache hits. Use limit 0 for a count; limits above 100 are clamped.
1078
+ * Search companies using a nested filter tree. Keyset cursors bind filter and sort and expire after 24 hours. Costs 1 credit, including cache hits. The limit must be 1–100 (default 25); values outside that range return 422 invalid_value. Set includeSummary:true to include the total match count.
1079
1079
  */
1080
1080
  searchCompanies(options) {
1081
1081
  return (options.client ?? this.client).post({