@@ -1027,14 +1027,14 @@ open class SearchClient {
1027
1027
1028
1028
/// - parameter indexName: (path) Name of the index on which to perform the operation.
1029
1029
/// - parameter deleteByParams: (body)
1030
- /// - returns: SearchDeletedAtResponse
1030
+ /// - returns: UpdatedAtResponse
1031
1031
@available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
1032
1032
open func deleteBy(
1033
1033
indexName: String ,
1034
1034
deleteByParams: DeleteByParams ,
1035
1035
requestOptions: RequestOptions ? = nil
1036
- ) async throws -> SearchDeletedAtResponse {
1037
- let response : Response < SearchDeletedAtResponse > = try await deleteByWithHTTPInfo (
1036
+ ) async throws -> UpdatedAtResponse {
1037
+ let response : Response < UpdatedAtResponse > = try await deleteByWithHTTPInfo (
1038
1038
indexName: indexName,
1039
1039
deleteByParams: deleteByParams,
1040
1040
requestOptions: requestOptions
@@ -1056,13 +1056,13 @@ open class SearchClient {
1056
1056
// - parameter indexName: (path) Name of the index on which to perform the operation.
1057
1057
//
1058
1058
// - parameter deleteByParams: (body)
1059
- // - returns: RequestBuilder<SearchDeletedAtResponse >
1059
+ // - returns: RequestBuilder<UpdatedAtResponse >
1060
1060
1061
1061
open func deleteByWithHTTPInfo(
1062
1062
indexName: String ,
1063
1063
deleteByParams: DeleteByParams ,
1064
1064
requestOptions userRequestOptions: RequestOptions ? = nil
1065
- ) async throws -> Response < SearchDeletedAtResponse > {
1065
+ ) async throws -> Response < UpdatedAtResponse > {
1066
1066
guard !indexName. isEmpty else {
1067
1067
throw AlgoliaError . invalidArgument ( " indexName " , " deleteBy " )
1068
1068
}
0 commit comments