Skip to content

Commit cfac4cb

Browse files
fix(specs): saveRule response type [skip-bc] (generated)
algolia/api-clients-automation#4170 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 2f644d2 commit cfac4cb

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

packages/client-search/model/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ export * from './typoToleranceEnum';
175175
export * from './updateApiKeyResponse';
176176
export * from './updatedAtResponse';
177177
export * from './updatedAtWithObjectIdResponse';
178-
export * from './updatedRuleResponse';
179178
export * from './userHighlightResult';
180179
export * from './userHit';
181180
export * from './userId';

packages/client-search/model/updatedRuleResponse.ts

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

packages/client-search/src/searchClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ import type { SynonymHit } from '../model/synonymHit';
7676
import type { UpdateApiKeyResponse } from '../model/updateApiKeyResponse';
7777
import type { UpdatedAtResponse } from '../model/updatedAtResponse';
7878
import type { UpdatedAtWithObjectIdResponse } from '../model/updatedAtWithObjectIdResponse';
79-
import type { UpdatedRuleResponse } from '../model/updatedRuleResponse';
8079
import type { UserId } from '../model/userId';
8180

8281
import type {
@@ -2330,7 +2329,7 @@ export function createSearchClient({
23302329
saveRule(
23312330
{ indexName, objectID, rule, forwardToReplicas }: SaveRuleProps,
23322331
requestOptions?: RequestOptions,
2333-
): Promise<UpdatedRuleResponse> {
2332+
): Promise<UpdatedAtResponse> {
23342333
if (!indexName) {
23352334
throw new Error('Parameter `indexName` is required when calling `saveRule`.');
23362335
}

0 commit comments

Comments
 (0)