Skip to content

Commit 131d43f

Browse files
algolia-bote-krebsshortcuts
authored andcommitted
fix(specs): rename composition run endpoint [skip-bc] (#4099) (generated) [skip ci]
Co-authored-by: Emmanuel Krebs <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 21afa99 commit 131d43f

21 files changed

+933
-3394
lines changed

clients/algoliasearch-client-javascript/packages/client-composition/model/baseSearchParams.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

clients/algoliasearch-client-javascript/packages/client-composition/model/baseSearchParamsWithoutQuery.ts

Lines changed: 0 additions & 148 deletions
This file was deleted.

clients/algoliasearch-client-javascript/packages/client-composition/model/clientMethodProps.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
import type { CompositionRulesBatchParams } from '../model/compositionRulesBatchParams';
44

5+
import type { RequestBody } from '../model/requestBody';
6+
57
import type { SearchCompositionRulesParams } from '../model/searchCompositionRulesParams';
68

79
import type { SearchForFacetValuesRequest } from '../model/searchForFacetValuesRequest';
810

9-
import type { SearchParams } from '../model/searchParams';
10-
1111
/**
1212
* Properties for the `customDelete` method.
1313
*/
@@ -125,25 +125,25 @@ export type ListCompositionsProps = {
125125
};
126126

127127
/**
128-
* Properties for the `runSingleComposition` method.
128+
* Properties for the `saveRules` method.
129129
*/
130-
export type RunSingleCompositionProps = {
130+
export type SaveRulesProps = {
131131
/**
132132
* Unique Composition ObjectID.
133133
*/
134134
compositionID: string;
135-
searchParams?: SearchParams;
135+
rules: CompositionRulesBatchParams;
136136
};
137137

138138
/**
139-
* Properties for the `saveRules` method.
139+
* Properties for the `search` method.
140140
*/
141-
export type SaveRulesProps = {
141+
export type SearchProps = {
142142
/**
143143
* Unique Composition ObjectID.
144144
*/
145145
compositionID: string;
146-
rules: CompositionRulesBatchParams;
146+
requestBody: RequestBody;
147147
};
148148

149149
/**

clients/algoliasearch-client-javascript/packages/client-composition/model/index.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export * from './banner';
1111
export * from './bannerImage';
1212
export * from './bannerImageUrl';
1313
export * from './bannerLink';
14-
export * from './baseSearchParams';
15-
export * from './baseSearchParamsWithoutQuery';
1614
export * from './baseSearchResponse';
1715
export * from './batchCompositionAction';
1816
export * from './batchParams';
@@ -48,19 +46,18 @@ export * from './highlightResultOption';
4846
export * from './hit';
4947
export * from './hitRankingInfo';
5048
export * from './ignorePlurals';
51-
export * from './indexSettingsAsSearchParams';
5249
export * from './injection';
5350
export * from './insetsQueryParameters';
5451
export * from './listCompositionsResponse';
5552
export * from './main';
5653
export * from './mainInjectionQueryParameters';
5754
export * from './matchedGeoLocation';
5855
export * from './matchLevel';
59-
export * from './mode';
6056
export * from './multipleBatchRequest';
6157
export * from './multipleBatchResponse';
6258
export * from './numericFilters';
6359
export * from './optionalFilters';
60+
export * from './params';
6461
export * from './personalization';
6562
export * from './queryType';
6663
export * from './range';
@@ -72,7 +69,7 @@ export * from './redirectURL';
7269
export * from './removeStopWords';
7370
export * from './removeWordsIfNoResults';
7471
export * from './renderingContent';
75-
export * from './reRankingApplyFilter';
72+
export * from './requestBody';
7673
export * from './rulesBatchCompositionAction';
7774
export * from './rulesMultipleBatchRequest';
7875
export * from './rulesMultipleBatchResponse';
@@ -84,20 +81,13 @@ export * from './searchForFacetValuesResponse';
8481
export * from './searchForFacetValuesResults';
8582
export * from './searchHits';
8683
export * from './searchPagination';
87-
export * from './searchParams';
88-
export * from './searchParamsObject';
89-
export * from './searchParamsQuery';
90-
export * from './searchParamsSearchParams';
91-
export * from './searchParamsString';
9284
export * from './searchResponse';
9385
export * from './searchResults';
9486
export * from './searchResultsItem';
95-
export * from './semanticSearch';
9687
export * from './snippetResult';
9788
export * from './snippetResultOption';
9889
export * from './sortRemainingBy';
9990
export * from './supportedLanguage';
100-
export * from './tagFilters';
10191
export * from './taskStatus';
10292
export * from './timeRange';
10393
export * from './typoTolerance';

0 commit comments

Comments
 (0)