Skip to content

Commit

Permalink
fix(specs): rename composition run endpoint [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4099

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Emmanuel Krebs <e-krebs@users.noreply.github.com>
Co-authored-by: shortcuts <vannicattec@gmail.com>
  • Loading branch information
3 people committed Nov 14, 2024
1 parent 46041f0 commit 89f16c7
Show file tree
Hide file tree
Showing 16 changed files with 49 additions and 470 deletions.
6 changes: 0 additions & 6 deletions packages/client-composition/model/baseSearchParams.ts

This file was deleted.

148 changes: 0 additions & 148 deletions packages/client-composition/model/baseSearchParamsWithoutQuery.ts

This file was deleted.

16 changes: 8 additions & 8 deletions packages/client-composition/model/clientMethodProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

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

import type { RequestBody } from '../model/requestBody';

import type { SearchCompositionRulesParams } from '../model/searchCompositionRulesParams';

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

import type { SearchParams } from '../model/searchParams';

/**
* Properties for the `customDelete` method.
*/
Expand Down Expand Up @@ -125,25 +125,25 @@ export type ListCompositionsProps = {
};

/**
* Properties for the `runSingleComposition` method.
* Properties for the `saveRules` method.
*/
export type RunSingleCompositionProps = {
export type SaveRulesProps = {
/**
* Unique Composition ObjectID.
*/
compositionID: string;
searchParams?: SearchParams;
rules: CompositionRulesBatchParams;
};

/**
* Properties for the `saveRules` method.
* Properties for the `search` method.
*/
export type SaveRulesProps = {
export type SearchProps = {
/**
* Unique Composition ObjectID.
*/
compositionID: string;
rules: CompositionRulesBatchParams;
requestBody: RequestBody;
};

/**
Expand Down
14 changes: 2 additions & 12 deletions packages/client-composition/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export * from './banner';
export * from './bannerImage';
export * from './bannerImageUrl';
export * from './bannerLink';
export * from './baseSearchParams';
export * from './baseSearchParamsWithoutQuery';
export * from './baseSearchResponse';
export * from './batchCompositionAction';
export * from './batchParams';
Expand Down Expand Up @@ -48,19 +46,18 @@ export * from './highlightResultOption';
export * from './hit';
export * from './hitRankingInfo';
export * from './ignorePlurals';
export * from './indexSettingsAsSearchParams';
export * from './injection';
export * from './insetsQueryParameters';
export * from './listCompositionsResponse';
export * from './main';
export * from './mainInjectionQueryParameters';
export * from './matchedGeoLocation';
export * from './matchLevel';
export * from './mode';
export * from './multipleBatchRequest';
export * from './multipleBatchResponse';
export * from './numericFilters';
export * from './optionalFilters';
export * from './params';
export * from './personalization';
export * from './queryType';
export * from './range';
Expand All @@ -72,7 +69,7 @@ export * from './redirectURL';
export * from './removeStopWords';
export * from './removeWordsIfNoResults';
export * from './renderingContent';
export * from './reRankingApplyFilter';
export * from './requestBody';
export * from './rulesBatchCompositionAction';
export * from './rulesMultipleBatchRequest';
export * from './rulesMultipleBatchResponse';
Expand All @@ -84,20 +81,13 @@ export * from './searchForFacetValuesResponse';
export * from './searchForFacetValuesResults';
export * from './searchHits';
export * from './searchPagination';
export * from './searchParams';
export * from './searchParamsObject';
export * from './searchParamsQuery';
export * from './searchParamsSearchParams';
export * from './searchParamsString';
export * from './searchResponse';
export * from './searchResults';
export * from './searchResultsItem';
export * from './semanticSearch';
export * from './snippetResult';
export * from './snippetResultOption';
export * from './sortRemainingBy';
export * from './supportedLanguage';
export * from './tagFilters';
export * from './taskStatus';
export * from './timeRange';
export * from './typoTolerance';
Expand Down
Loading

0 comments on commit 89f16c7

Please sign in to comment.