@@ -1490,7 +1490,7 @@ public CompletableFuture<DeleteApiKeyResponse> deleteApiKeyAsync(@Nonnull String
14901490 * the transporter requestOptions.
14911491 * @throws AlgoliaRuntimeException If it fails to process the API call
14921492 */
1493- public DeletedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams , RequestOptions requestOptions )
1493+ public UpdatedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams , RequestOptions requestOptions )
14941494 throws AlgoliaRuntimeException {
14951495 return LaunderThrowable .await (deleteByAsync (indexName , deleteByParams , requestOptions ));
14961496 }
@@ -1504,7 +1504,7 @@ public DeletedAtResponse deleteBy(@Nonnull String indexName, @Nonnull DeleteByPa
15041504 * @param deleteByParams (required)
15051505 * @throws AlgoliaRuntimeException If it fails to process the API call
15061506 */
1507- public DeletedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams ) throws AlgoliaRuntimeException {
1507+ public UpdatedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams ) throws AlgoliaRuntimeException {
15081508 return this .deleteBy (indexName , deleteByParams , null );
15091509 }
15101510
@@ -1519,7 +1519,7 @@ public DeletedAtResponse deleteBy(@Nonnull String indexName, @Nonnull DeleteByPa
15191519 * the transporter requestOptions.
15201520 * @throws AlgoliaRuntimeException If it fails to process the API call
15211521 */
1522- public CompletableFuture <DeletedAtResponse > deleteByAsync (
1522+ public CompletableFuture <UpdatedAtResponse > deleteByAsync (
15231523 @ Nonnull String indexName ,
15241524 @ Nonnull DeleteByParams deleteByParams ,
15251525 RequestOptions requestOptions
@@ -1533,7 +1533,7 @@ public CompletableFuture<DeletedAtResponse> deleteByAsync(
15331533 .setMethod ("POST" )
15341534 .setBody (deleteByParams )
15351535 .build ();
1536- return executeAsync (request , requestOptions , new TypeReference <DeletedAtResponse >() {});
1536+ return executeAsync (request , requestOptions , new TypeReference <UpdatedAtResponse >() {});
15371537 }
15381538
15391539 /**
@@ -1545,7 +1545,7 @@ public CompletableFuture<DeletedAtResponse> deleteByAsync(
15451545 * @param deleteByParams (required)
15461546 * @throws AlgoliaRuntimeException If it fails to process the API call
15471547 */
1548- public CompletableFuture <DeletedAtResponse > deleteByAsync (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams )
1548+ public CompletableFuture <UpdatedAtResponse > deleteByAsync (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams )
15491549 throws AlgoliaRuntimeException {
15501550 return this .deleteByAsync (indexName , deleteByParams , null );
15511551 }
0 commit comments