@@ -1027,14 +1027,14 @@ open class SearchClient {
10271027
10281028 /// - parameter indexName: (path) Name of the index on which to perform the operation.
10291029 /// - parameter deleteByParams: (body)
1030- /// - returns: SearchDeletedAtResponse
1030+ /// - returns: UpdatedAtResponse
10311031 @available ( macOS 10 . 15 , iOS 13 . 0 , tvOS 13 . 0 , watchOS 6 . 0 , * )
10321032 open func deleteBy(
10331033 indexName: String ,
10341034 deleteByParams: DeleteByParams ,
10351035 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 (
10381038 indexName: indexName,
10391039 deleteByParams: deleteByParams,
10401040 requestOptions: requestOptions
@@ -1056,13 +1056,13 @@ open class SearchClient {
10561056 // - parameter indexName: (path) Name of the index on which to perform the operation.
10571057 //
10581058 // - parameter deleteByParams: (body)
1059- // - returns: RequestBuilder<SearchDeletedAtResponse >
1059+ // - returns: RequestBuilder<UpdatedAtResponse >
10601060
10611061 open func deleteByWithHTTPInfo(
10621062 indexName: String ,
10631063 deleteByParams: DeleteByParams ,
10641064 requestOptions userRequestOptions: RequestOptions ? = nil
1065- ) async throws -> Response < SearchDeletedAtResponse > {
1065+ ) async throws -> Response < UpdatedAtResponse > {
10661066 guard !indexName. isEmpty else {
10671067 throw AlgoliaError . invalidArgument ( " indexName " , " deleteBy " )
10681068 }
0 commit comments