Skip to content

Commit b99375c

Browse files
feat(specs): add resultCard to renderingContent widgets (generated)
algolia/api-clients-automation#7084 Co-authored-by: algolia-api-clients-automation-bot[bot] <288895823+algolia-api-clients-automation-bot[bot]@users.noreply.github.com> Co-authored-by: Fabien Motte <662153+FabienMotte@users.noreply.github.com>
1 parent e44ad25 commit b99375c

13 files changed

Lines changed: 62 additions & 0 deletions

File tree

‎packages/algoliasearch/builds/models.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ import type {
9090
RemoveStopWords,
9191
RemoveWordsIfNoResults,
9292
RenderingContent,
93+
ResultCard,
9394
SearchForFacetValuesProps,
9495
SearchForFacetValuesRequest,
9596
SearchForFacetValuesResponse,
@@ -285,6 +286,7 @@ export type {
285286
RemoveStopWords,
286287
RemoveWordsIfNoResults,
287288
RenderingContent,
289+
ResultCard,
288290
SearchForFacetValuesProps,
289291
SearchForFacetValuesRequest,
290292
SearchForFacetValuesResponse,

‎packages/algoliasearch/lite/model/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export * from './removeWordsIfNoResults';
9696
export * from './renderingContent';
9797
export * from './reRankingApplyFilter';
9898
export * from './responseExtensions';
99+
export * from './resultCard';
99100
export * from './searchExtensions';
100101
export * from './searchExtensionsQueryCategorization';
101102
export * from './searchForFacets';
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 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.
2+
3+
/**
4+
* Agent Studio Result Card to display for a given search.
5+
*/
6+
export type ResultCard = {
7+
/**
8+
* Whether to show the Result Card for the current search.
9+
*/
10+
enabled?: boolean | undefined;
11+
};

‎packages/algoliasearch/lite/model/widgets.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

33
import type { Banner } from './banner';
4+
import type { ResultCard } from './resultCard';
45

56
/**
67
* Widgets returned from any rules that are applied to the current search.
@@ -10,4 +11,6 @@ export type Widgets = {
1011
* Banners defined in the Merchandising Studio for a given search.
1112
*/
1213
banners?: Array<Banner> | undefined;
14+
15+
resultCard?: ResultCard | undefined;
1316
};

‎packages/client-search/model/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export * from './replaceAllObjectsWithTransformationResponse';
141141
export * from './replaceSourceResponse';
142142
export * from './reRankingApplyFilter';
143143
export * from './responseExtensions';
144+
export * from './resultCard';
144145
export * from './rule';
145146
export * from './saveObjectResponse';
146147
export * from './saveSynonymResponse';
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 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.
2+
3+
/**
4+
* Agent Studio Result Card to display for a given search.
5+
*/
6+
export type ResultCard = {
7+
/**
8+
* Whether to show the Result Card for the current search.
9+
*/
10+
enabled?: boolean | undefined;
11+
};

‎packages/client-search/model/widgets.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

33
import type { Banner } from './banner';
4+
import type { ResultCard } from './resultCard';
45

56
/**
67
* Widgets returned from any rules that are applied to the current search.
@@ -10,4 +11,6 @@ export type Widgets = {
1011
* Banners defined in the Merchandising Studio for a given search.
1112
*/
1213
banners?: Array<Banner> | undefined;
14+
15+
resultCard?: ResultCard | undefined;
1316
};

‎packages/composition/model/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ export * from './removeStopWords';
104104
export * from './removeWordsIfNoResults';
105105
export * from './renderingContent';
106106
export * from './requestBody';
107+
export * from './resultCard';
107108
export * from './resultsCompositionInfoResponse';
108109
export * from './resultsCompositionsResponse';
109110
export * from './resultsInjectedItemAppliedRulesInfoResponse';
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 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.
2+
3+
/**
4+
* Agent Studio Result Card to display for a given search.
5+
*/
6+
export type ResultCard = {
7+
/**
8+
* Whether to show the Result Card for the current search.
9+
*/
10+
enabled?: boolean | undefined;
11+
};

‎packages/composition/model/widgets.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

33
import type { Banner } from './banner';
4+
import type { ResultCard } from './resultCard';
45

56
/**
67
* Widgets returned from any rules that are applied to the current search.
@@ -10,4 +11,6 @@ export type Widgets = {
1011
* Banners defined in the Merchandising Studio for a given search.
1112
*/
1213
banners?: Array<Banner> | undefined;
14+
15+
resultCard?: ResultCard | undefined;
1316
};

0 commit comments

Comments
 (0)