54 lines
1.7 KiB
TypeScript
54 lines
1.7 KiB
TypeScript
/**
|
|
* Innovation Search Engine API
|
|
*
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
import { Timespan } from './timespan';
|
|
import { FilterType } from './filterType';
|
|
import { CareerStage } from './careerStage';
|
|
import { KeywordOperator } from './keywordOperator';
|
|
import { PublicationType } from './publicationType';
|
|
import { CompanyStatusFilter } from './companyStatusFilter';
|
|
import { RankingWeights } from './rankingWeights';
|
|
|
|
|
|
export interface KeywordToAuthorRequest {
|
|
/**
|
|
* One or more keywords to rank the author by.
|
|
*/
|
|
keywords: Array<string>;
|
|
/**
|
|
* How to combine the keywords: \'and\' or \'or\'. Defaults to \'and\'.
|
|
*/
|
|
operator?: KeywordOperator;
|
|
/**
|
|
* What the \'keywords\' values match against: \'keyword\' (OpenAlex keyword display names) or \'topic\' (OpenAlex topic display names). Defaults to \'keyword\'.
|
|
*/
|
|
filter_type?: FilterType;
|
|
/**
|
|
* Weights for the ranking metrics. Required.
|
|
*/
|
|
weights: RankingWeights;
|
|
/**
|
|
* Optional filter: only keep authors in one of these career stages. Empty = no filter.
|
|
*/
|
|
career_stages?: Array<CareerStage>;
|
|
/**
|
|
* Optional filter: only count works of these publication types. Empty = no filter.
|
|
*/
|
|
publication_types?: Array<PublicationType>;
|
|
timespan?: Timespan | null;
|
|
/**
|
|
* Which companies to count for the company-foundations metric: \'all\', only \'active\' (non-deleted), or only \'deleted\'.
|
|
*/
|
|
company_status?: CompanyStatusFilter;
|
|
}
|
|
export namespace KeywordToAuthorRequest {
|
|
}
|
|
|
|
|