@@ -1490,7 +1490,7 @@ public CompletableFuture<DeleteApiKeyResponse> deleteApiKeyAsync(@Nonnull String
1490
1490
* the transporter requestOptions.
1491
1491
* @throws AlgoliaRuntimeException If it fails to process the API call
1492
1492
*/
1493
- public DeletedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams , RequestOptions requestOptions )
1493
+ public UpdatedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams , RequestOptions requestOptions )
1494
1494
throws AlgoliaRuntimeException {
1495
1495
return LaunderThrowable .await (deleteByAsync (indexName , deleteByParams , requestOptions ));
1496
1496
}
@@ -1504,7 +1504,7 @@ public DeletedAtResponse deleteBy(@Nonnull String indexName, @Nonnull DeleteByPa
1504
1504
* @param deleteByParams (required)
1505
1505
* @throws AlgoliaRuntimeException If it fails to process the API call
1506
1506
*/
1507
- public DeletedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams ) throws AlgoliaRuntimeException {
1507
+ public UpdatedAtResponse deleteBy (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams ) throws AlgoliaRuntimeException {
1508
1508
return this .deleteBy (indexName , deleteByParams , null );
1509
1509
}
1510
1510
@@ -1519,7 +1519,7 @@ public DeletedAtResponse deleteBy(@Nonnull String indexName, @Nonnull DeleteByPa
1519
1519
* the transporter requestOptions.
1520
1520
* @throws AlgoliaRuntimeException If it fails to process the API call
1521
1521
*/
1522
- public CompletableFuture <DeletedAtResponse > deleteByAsync (
1522
+ public CompletableFuture <UpdatedAtResponse > deleteByAsync (
1523
1523
@ Nonnull String indexName ,
1524
1524
@ Nonnull DeleteByParams deleteByParams ,
1525
1525
RequestOptions requestOptions
@@ -1533,7 +1533,7 @@ public CompletableFuture<DeletedAtResponse> deleteByAsync(
1533
1533
.setMethod ("POST" )
1534
1534
.setBody (deleteByParams )
1535
1535
.build ();
1536
- return executeAsync (request , requestOptions , new TypeReference <DeletedAtResponse >() {});
1536
+ return executeAsync (request , requestOptions , new TypeReference <UpdatedAtResponse >() {});
1537
1537
}
1538
1538
1539
1539
/**
@@ -1545,7 +1545,7 @@ public CompletableFuture<DeletedAtResponse> deleteByAsync(
1545
1545
* @param deleteByParams (required)
1546
1546
* @throws AlgoliaRuntimeException If it fails to process the API call
1547
1547
*/
1548
- public CompletableFuture <DeletedAtResponse > deleteByAsync (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams )
1548
+ public CompletableFuture <UpdatedAtResponse > deleteByAsync (@ Nonnull String indexName , @ Nonnull DeleteByParams deleteByParams )
1549
1549
throws AlgoliaRuntimeException {
1550
1550
return this .deleteByAsync (indexName , deleteByParams , null );
1551
1551
}
0 commit comments