diff --git a/packages/algoliasearch/lite/model/searchForFacetValuesResponse.ts b/packages/algoliasearch/lite/model/searchForFacetValuesResponse.ts index eb774bc6f..a842add7b 100644 --- a/packages/algoliasearch/lite/model/searchForFacetValuesResponse.ts +++ b/packages/algoliasearch/lite/model/searchForFacetValuesResponse.ts @@ -4,4 +4,14 @@ import type { FacetHits } from './facetHits'; export type SearchForFacetValuesResponse = { facetHits: FacetHits[]; + + /** + * See the `facetsCount` field of the `exhaustive` object in the response. + */ + exhaustiveFacetsCount: boolean; + + /** + * Time the server took to process the request, in milliseconds. + */ + processingTimeMS?: number; }; diff --git a/packages/client-search/model/searchForFacetValuesResponse.ts b/packages/client-search/model/searchForFacetValuesResponse.ts index eb774bc6f..a842add7b 100644 --- a/packages/client-search/model/searchForFacetValuesResponse.ts +++ b/packages/client-search/model/searchForFacetValuesResponse.ts @@ -4,4 +4,14 @@ import type { FacetHits } from './facetHits'; export type SearchForFacetValuesResponse = { facetHits: FacetHits[]; + + /** + * See the `facetsCount` field of the `exhaustive` object in the response. + */ + exhaustiveFacetsCount: boolean; + + /** + * Time the server took to process the request, in milliseconds. + */ + processingTimeMS?: number; };