Skip to content

Commit 804c186

Browse files
algolia-botraed667Fluf22
committed
fix(specs): remove baseRecommendRequest from trendingFacets [CR-10264] (generated)
algolia/api-clients-automation#5858 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Raed <raed.chammam@algolia.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent 58e4ab6 commit 804c186

File tree

4 files changed

+32
-10
lines changed

4 files changed

+32
-10
lines changed
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3-
import type { FallbackParams } from './fallbackParams';
43
import type { TrendingFacetsModel } from './trendingFacetsModel';
54

65
export type TrendingFacets = {
6+
/**
7+
* Index name (case-sensitive).
8+
*/
9+
indexName: string;
10+
11+
/**
12+
* Minimum score a recommendation must have to be included in the response.
13+
*/
14+
threshold: number;
15+
16+
/**
17+
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
18+
*/
19+
maxRecommendations?: number | undefined;
20+
721
/**
822
* Facet attribute for which to retrieve trending facet values.
923
*/
1024
facetName: string;
1125

1226
model: TrendingFacetsModel;
13-
14-
fallbackParameters?: FallbackParams | undefined;
1527
};
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3-
import type { BaseRecommendRequest } from './baseRecommendRequest';
43
import type { TrendingFacets } from './trendingFacets';
54

6-
export type TrendingFacetsQuery = BaseRecommendRequest & TrendingFacets;
5+
export type TrendingFacetsQuery = TrendingFacets;
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,27 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3-
import type { FallbackParams } from './fallbackParams';
43
import type { TrendingFacetsModel } from './trendingFacetsModel';
54

65
export type TrendingFacets = {
6+
/**
7+
* Index name (case-sensitive).
8+
*/
9+
indexName: string;
10+
11+
/**
12+
* Minimum score a recommendation must have to be included in the response.
13+
*/
14+
threshold: number;
15+
16+
/**
17+
* Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
18+
*/
19+
maxRecommendations?: number | undefined;
20+
721
/**
822
* Facet attribute for which to retrieve trending facet values.
923
*/
1024
facetName: string;
1125

1226
model: TrendingFacetsModel;
13-
14-
fallbackParameters?: FallbackParams | undefined;
1527
};
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
22

3-
import type { BaseRecommendRequest } from './baseRecommendRequest';
43
import type { TrendingFacets } from './trendingFacets';
54

6-
export type TrendingFacetsQuery = BaseRecommendRequest & TrendingFacets;
5+
export type TrendingFacetsQuery = TrendingFacets;

0 commit comments

Comments
 (0)