@@ -37,11 +37,11 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
3737 * @summary Search for papers using a PDF
3838 * @param {File } pdf Research paper PDF
3939 * @param {string | null } [query]
40- * @param {string | null } [filter ]
40+ * @param {string | null } [advancedFilter ]
4141 * @param {* } [options] Override http request option.
4242 * @throws {RequiredError }
4343 */
44- searchByPdfSearchPdfPost : async ( pdf : File , query ?: string | null , filter ?: string | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
44+ searchByPdfSearchPdfPost : async ( pdf : File , query ?: string | null , advancedFilter ?: string | null , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > => {
4545 // verify required parameter 'pdf' is not null or undefined
4646 assertParamExists ( 'searchByPdfSearchPdfPost' , 'pdf' , pdf )
4747 const localVarPath = `/search/pdf` ;
@@ -66,8 +66,8 @@ export const SearchApiAxiosParamCreator = function (configuration?: Configuratio
6666 localVarFormParams . append ( 'query' , query as any ) ;
6767 }
6868
69- if ( filter !== undefined ) {
70- localVarFormParams . append ( 'filter ' , filter as any ) ;
69+ if ( advancedFilter !== undefined ) {
70+ localVarFormParams . append ( 'advanced_filter ' , advancedFilter as any ) ;
7171 }
7272 localVarHeaderParameter [ 'Content-Type' ] = 'multipart/form-data' ;
7373 localVarHeaderParameter [ 'Accept' ] = 'application/json' ;
@@ -131,12 +131,12 @@ export const SearchApiFp = function(configuration?: Configuration) {
131131 * @summary Search for papers using a PDF
132132 * @param {File } pdf Research paper PDF
133133 * @param {string | null } [query]
134- * @param {string | null } [filter ]
134+ * @param {string | null } [advancedFilter ]
135135 * @param {* } [options] Override http request option.
136136 * @throws {RequiredError }
137137 */
138- async searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , filter ?: string | null , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SearchResponse > > {
139- const localVarAxiosArgs = await localVarAxiosParamCreator . searchByPdfSearchPdfPost ( pdf , query , filter , options ) ;
138+ async searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , advancedFilter ?: string | null , options ?: RawAxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => AxiosPromise < SearchResponse > > {
139+ const localVarAxiosArgs = await localVarAxiosParamCreator . searchByPdfSearchPdfPost ( pdf , query , advancedFilter , options ) ;
140140 const localVarOperationServerIndex = configuration ?. serverIndex ?? 0 ;
141141 const localVarOperationServerBasePath = operationServerMap [ 'SearchApi.searchByPdfSearchPdfPost' ] ?. [ localVarOperationServerIndex ] ?. url ;
142142 return ( axios , basePath ) => createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , localVarOperationServerBasePath || basePath ) ;
@@ -168,12 +168,12 @@ export const SearchApiFactory = function (configuration?: Configuration, basePat
168168 * @summary Search for papers using a PDF
169169 * @param {File } pdf Research paper PDF
170170 * @param {string | null } [query]
171- * @param {string | null } [filter ]
171+ * @param {string | null } [advancedFilter ]
172172 * @param {* } [options] Override http request option.
173173 * @throws {RequiredError }
174174 */
175- searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , filter ?: string | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < SearchResponse > {
176- return localVarFp . searchByPdfSearchPdfPost ( pdf , query , filter , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
175+ searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , advancedFilter ?: string | null , options ?: RawAxiosRequestConfig ) : AxiosPromise < SearchResponse > {
176+ return localVarFp . searchByPdfSearchPdfPost ( pdf , query , advancedFilter , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
177177 } ,
178178 /**
179179 * Returns a list of papers that match the search query. Optionally accepts an advanced filter with year range and text conditions.
@@ -197,12 +197,12 @@ export class SearchApi extends BaseAPI {
197197 * @summary Search for papers using a PDF
198198 * @param {File } pdf Research paper PDF
199199 * @param {string | null } [query]
200- * @param {string | null } [filter ]
200+ * @param {string | null } [advancedFilter ]
201201 * @param {* } [options] Override http request option.
202202 * @throws {RequiredError }
203203 */
204- public searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , filter ?: string | null , options ?: RawAxiosRequestConfig ) {
205- return SearchApiFp ( this . configuration ) . searchByPdfSearchPdfPost ( pdf , query , filter , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
204+ public searchByPdfSearchPdfPost ( pdf : File , query ?: string | null , advancedFilter ?: string | null , options ?: RawAxiosRequestConfig ) {
205+ return SearchApiFp ( this . configuration ) . searchByPdfSearchPdfPost ( pdf , query , advancedFilter , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
206206 }
207207
208208 /**
0 commit comments