diff --git a/Sources/Search/SearchClient.swift b/Sources/Search/SearchClient.swift index b919f216..9b0133d1 100644 --- a/Sources/Search/SearchClient.swift +++ b/Sources/Search/SearchClient.swift @@ -452,7 +452,7 @@ open class SearchClient { /// - parameter browseParams: (body) (optional) /// - returns: BrowseResponse @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) - open func browse( + open func browse( indexName: String, browseParams: BrowseParams? = nil, requestOptions: RequestOptions? = nil @@ -486,7 +486,7 @@ open class SearchClient { // - parameter browseParams: (body) (optional) // - returns: RequestBuilder - open func browseWithHTTPInfo( + open func browseWithHTTPInfo( indexName: String, browseParams: BrowseParams? = nil, requestOptions userRequestOptions: RequestOptions? = nil @@ -1826,7 +1826,7 @@ open class SearchClient { /// - parameter getObjectsParams: (body) Request object. /// - returns: GetObjectsResponse @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) - open func getObjects( + open func getObjects( getObjectsParams: GetObjectsParams, requestOptions: RequestOptions? = nil ) async throws -> GetObjectsResponse { @@ -1850,7 +1850,7 @@ open class SearchClient { // - parameter getObjectsParams: (body) Request object. // - returns: RequestBuilder - open func getObjectsWithHTTPInfo( + open func getObjectsWithHTTPInfo( getObjectsParams: GetObjectsParams, requestOptions userRequestOptions: RequestOptions? = nil ) async throws -> Response> { @@ -3351,7 +3351,7 @@ open class SearchClient { /// requests. /// - returns: SearchResponses @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) - open func search( + open func search( searchMethodParams: SearchMethodParams, requestOptions: RequestOptions? = nil ) async throws -> SearchResponses { @@ -3378,7 +3378,7 @@ open class SearchClient { // requests. // - returns: RequestBuilder - open func searchWithHTTPInfo( + open func searchWithHTTPInfo( searchMethodParams: SearchMethodParams, requestOptions userRequestOptions: RequestOptions? = nil ) async throws -> Response> { @@ -3620,7 +3620,7 @@ open class SearchClient { /// - parameter searchParams: (body) (optional) /// - returns: SearchResponse @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) - open func searchSingleIndex( + open func searchSingleIndex( indexName: String, searchParams: SearchSearchParams? = nil, requestOptions: RequestOptions? = nil @@ -3649,7 +3649,7 @@ open class SearchClient { // - parameter searchParams: (body) (optional) // - returns: RequestBuilder - open func searchSingleIndexWithHTTPInfo( + open func searchSingleIndexWithHTTPInfo( indexName: String, searchParams: SearchSearchParams? = nil, requestOptions userRequestOptions: RequestOptions? = nil