regenerated services
This commit is contained in:
@@ -142,6 +142,7 @@ model/loginResponse.ts
|
||||
model/longitude.ts
|
||||
model/matchedAuthor.ts
|
||||
model/matchedOfficer.ts
|
||||
model/matchedTopic.ts
|
||||
model/mentionedPerson.ts
|
||||
model/meta.ts
|
||||
model/model2YrMeanCitedness.ts
|
||||
@@ -169,6 +170,8 @@ model/score.ts
|
||||
model/sortDirection.ts
|
||||
model/tokenType.ts
|
||||
model/topInstitutionItem.ts
|
||||
model/topTopicItem.ts
|
||||
model/topTopicsResponse.ts
|
||||
model/topic.ts
|
||||
model/topicCount.ts
|
||||
model/topicDomain.ts
|
||||
@@ -181,6 +184,7 @@ model/topicsByTime.ts
|
||||
model/topicsByYear.ts
|
||||
model/topicsListResponse.ts
|
||||
model/trendResponse.ts
|
||||
model/trendSearchType.ts
|
||||
model/trendSeries.ts
|
||||
model/universityRanking.ts
|
||||
model/universityTopicData.ts
|
||||
|
||||
@@ -1514,6 +1514,7 @@ export class AuthService extends BaseService {
|
||||
|
||||
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
||||
|
||||
// to determine the Content-Type header
|
||||
const consumes: string[] = ['application/json'];
|
||||
const httpContentTypeSelected: string | undefined =
|
||||
this.configuration.selectHeaderContentType(consumes);
|
||||
@@ -1555,7 +1556,7 @@ export class AuthService extends BaseService {
|
||||
|
||||
/**
|
||||
* Reset Password
|
||||
* Reset the user's password using a one-time password reset token.
|
||||
* Reset the user\'s password using a one-time password reset token.
|
||||
* @endpoint post /api/auth/v2/reset-password
|
||||
* @param bodyResetPassword
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
@@ -1624,6 +1625,7 @@ export class AuthService extends BaseService {
|
||||
|
||||
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
||||
|
||||
// to determine the Content-Type header
|
||||
const consumes: string[] = ['application/json'];
|
||||
const httpContentTypeSelected: string | undefined =
|
||||
this.configuration.selectHeaderContentType(consumes);
|
||||
|
||||
@@ -31,7 +31,11 @@ import { RankingResponse } from '../model/rankingResponse';
|
||||
// @ts-ignore
|
||||
import { TopInstitutionItem } from '../model/topInstitutionItem';
|
||||
// @ts-ignore
|
||||
import { TopTopicsResponse } from '../model/topTopicsResponse';
|
||||
// @ts-ignore
|
||||
import { TrendResponse } from '../model/trendResponse';
|
||||
// @ts-ignore
|
||||
import { TrendSearchType } from '../model/trendSearchType';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -421,24 +425,183 @@ export class UniversityRankingsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns timeseries publication data for compared institutions, countries and regions.
|
||||
* Returns top 10 research topics for a selected entity.
|
||||
* @endpoint get /api/inse-service/university-rankings/top-topics
|
||||
* @param entityId Entity ID
|
||||
* @param entityType Entity type: institution, author, country, region
|
||||
* @param startYear Start year
|
||||
* @param endYear End year
|
||||
* @param searchType Search strategy type
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet(
|
||||
entityId: string,
|
||||
entityType: string,
|
||||
startYear?: number,
|
||||
endYear?: number,
|
||||
searchType?: string,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<TopTopicsResponse>;
|
||||
public getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet(
|
||||
entityId: string,
|
||||
entityType: string,
|
||||
startYear?: number,
|
||||
endYear?: number,
|
||||
searchType?: string,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpResponse<TopTopicsResponse>>;
|
||||
public getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet(
|
||||
entityId: string,
|
||||
entityType: string,
|
||||
startYear?: number,
|
||||
endYear?: number,
|
||||
searchType?: string,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<HttpEvent<TopTopicsResponse>>;
|
||||
public getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet(
|
||||
entityId: string,
|
||||
entityType: string,
|
||||
startYear?: number,
|
||||
endYear?: number,
|
||||
searchType?: string,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
httpHeaderAccept?: 'application/json';
|
||||
context?: HttpContext;
|
||||
transferCache?: boolean;
|
||||
},
|
||||
): Observable<any> {
|
||||
if (entityId === null || entityId === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter entityId was null or undefined when calling getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet.',
|
||||
);
|
||||
}
|
||||
if (entityType === null || entityType === undefined) {
|
||||
throw new Error(
|
||||
'Required parameter entityType was null or undefined when calling getTopTopicsApiInseServiceUniversityRankingsTopTopicsGet.',
|
||||
);
|
||||
}
|
||||
|
||||
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>entityId,
|
||||
'entity_id',
|
||||
);
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>entityType,
|
||||
'entity_type',
|
||||
);
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>startYear,
|
||||
'start_year',
|
||||
);
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>endYear,
|
||||
'end_year',
|
||||
);
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>searchType,
|
||||
'search_type',
|
||||
);
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
const localVarHttpHeaderAcceptSelected: string | undefined =
|
||||
options?.httpHeaderAccept ??
|
||||
this.configuration.selectHeaderAccept(['application/json']);
|
||||
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
||||
localVarHeaders = localVarHeaders.set(
|
||||
'Accept',
|
||||
localVarHttpHeaderAcceptSelected,
|
||||
);
|
||||
}
|
||||
|
||||
const localVarHttpContext: HttpContext =
|
||||
options?.context ?? new HttpContext();
|
||||
|
||||
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
||||
|
||||
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
||||
if (localVarHttpHeaderAcceptSelected) {
|
||||
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
||||
responseType_ = 'text';
|
||||
} else if (
|
||||
this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)
|
||||
) {
|
||||
responseType_ = 'json';
|
||||
} else {
|
||||
responseType_ = 'blob';
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/api/inse-service/university-rankings/top-topics`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<TopTopicsResponse>(
|
||||
'get',
|
||||
`${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
params: localVarQueryParameters,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
observe: observe,
|
||||
...(localVarTransferCache !== undefined
|
||||
? { transferCache: localVarTransferCache }
|
||||
: {}),
|
||||
reportProgress: reportProgress,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns timeseries publication data for compared institutions, countries, and regions.
|
||||
* @endpoint get /api/inse-service/university-rankings/trend
|
||||
* @param topics List of topics to analyze
|
||||
* @param keywords List of raw keywords corresponding to topics
|
||||
* @param softSearch True if using mapped topics, False if using raw keywords
|
||||
* @param institutions List of OpenAlex Institution IDs
|
||||
* @param countries List of country codes
|
||||
* @param regions List of region identifiers
|
||||
* @param authors List of OpenAlex Author IDs
|
||||
* @param searchType
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getTrendApiInseServiceUniversityRankingsTrendGet(
|
||||
topics: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
institutions?: Array<string>,
|
||||
countries?: Array<string>,
|
||||
regions?: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
searchType?: string,
|
||||
authors?: Array<string>,
|
||||
searchType?: TrendSearchType,
|
||||
observe?: 'body',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -449,13 +612,13 @@ export class UniversityRankingsService extends BaseService {
|
||||
): Observable<TrendResponse>;
|
||||
public getTrendApiInseServiceUniversityRankingsTrendGet(
|
||||
topics: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
institutions?: Array<string>,
|
||||
countries?: Array<string>,
|
||||
regions?: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
searchType?: string,
|
||||
authors?: Array<string>,
|
||||
searchType?: TrendSearchType,
|
||||
observe?: 'response',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -466,13 +629,13 @@ export class UniversityRankingsService extends BaseService {
|
||||
): Observable<HttpResponse<TrendResponse>>;
|
||||
public getTrendApiInseServiceUniversityRankingsTrendGet(
|
||||
topics: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
institutions?: Array<string>,
|
||||
countries?: Array<string>,
|
||||
regions?: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
searchType?: string,
|
||||
authors?: Array<string>,
|
||||
searchType?: TrendSearchType,
|
||||
observe?: 'events',
|
||||
reportProgress?: boolean,
|
||||
options?: {
|
||||
@@ -483,13 +646,13 @@ export class UniversityRankingsService extends BaseService {
|
||||
): Observable<HttpEvent<TrendResponse>>;
|
||||
public getTrendApiInseServiceUniversityRankingsTrendGet(
|
||||
topics: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
institutions?: Array<string>,
|
||||
countries?: Array<string>,
|
||||
regions?: Array<string>,
|
||||
keywords?: Array<string>,
|
||||
softSearch?: boolean,
|
||||
searchType?: string,
|
||||
authors?: Array<string>,
|
||||
searchType?: TrendSearchType,
|
||||
observe: any = 'body',
|
||||
reportProgress: boolean = false,
|
||||
options?: {
|
||||
@@ -514,6 +677,20 @@ export class UniversityRankingsService extends BaseService {
|
||||
);
|
||||
});
|
||||
}
|
||||
if (keywords) {
|
||||
keywords.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>element,
|
||||
'keywords',
|
||||
);
|
||||
});
|
||||
}
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>softSearch,
|
||||
'soft_search',
|
||||
);
|
||||
if (institutions) {
|
||||
institutions.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
@@ -541,29 +718,6 @@ export class UniversityRankingsService extends BaseService {
|
||||
);
|
||||
});
|
||||
}
|
||||
if (keywords) {
|
||||
keywords.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>element,
|
||||
'keywords',
|
||||
);
|
||||
});
|
||||
}
|
||||
if (softSearch !== undefined && softSearch !== null) {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>softSearch,
|
||||
'soft_search',
|
||||
);
|
||||
}
|
||||
if (searchType) {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>searchType,
|
||||
'search_type',
|
||||
);
|
||||
}
|
||||
if (authors) {
|
||||
authors.forEach((element) => {
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
@@ -573,6 +727,11 @@ export class UniversityRankingsService extends BaseService {
|
||||
);
|
||||
});
|
||||
}
|
||||
localVarQueryParameters = this.addToHttpParams(
|
||||
localVarQueryParameters,
|
||||
<any>searchType,
|
||||
'search_type',
|
||||
);
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
export interface BodyRequestPasswordReset {
|
||||
/**
|
||||
* User's email address
|
||||
* User\'s email address
|
||||
*/
|
||||
email: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
export interface MatchedTopic {
|
||||
id?: string | null;
|
||||
display_name?: string | null;
|
||||
subfield_name?: string | null;
|
||||
field_name?: string | null;
|
||||
domain_name?: string | null;
|
||||
source_keyword?: string | null;
|
||||
}
|
||||
@@ -117,6 +117,7 @@ export * from './loginResponse';
|
||||
export * from './longitude';
|
||||
export * from './matchedAuthor';
|
||||
export * from './matchedOfficer';
|
||||
export * from './matchedTopic';
|
||||
export * from './mentionedPerson';
|
||||
export * from './meta';
|
||||
export * from './model2YrMeanCitedness';
|
||||
@@ -143,6 +144,8 @@ export * from './score';
|
||||
export * from './sortDirection';
|
||||
export * from './tokenType';
|
||||
export * from './topInstitutionItem';
|
||||
export * from './topTopicItem';
|
||||
export * from './topTopicsResponse';
|
||||
export * from './topic';
|
||||
export * from './topicCount';
|
||||
export * from './topicDomain';
|
||||
@@ -155,6 +158,7 @@ export * from './topicsByTime';
|
||||
export * from './topicsByYear';
|
||||
export * from './topicsListResponse';
|
||||
export * from './trendResponse';
|
||||
export * from './trendSearchType';
|
||||
export * from './trendSeries';
|
||||
export * from './universityRanking';
|
||||
export * from './universityTopicData';
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { MatchedTopic } from './matchedTopic';
|
||||
import { MentionedPerson } from './mentionedPerson';
|
||||
|
||||
export interface NewsArticleDetail {
|
||||
@@ -20,6 +21,6 @@ export interface NewsArticleDetail {
|
||||
related?: boolean | null;
|
||||
full_content?: string | null;
|
||||
authors?: Array<MentionedPerson>;
|
||||
topics?: Array<string>;
|
||||
keywords?: Array<string>;
|
||||
topics?: Array<MatchedTopic>;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
export interface TopTopicItem {
|
||||
name: string;
|
||||
count: number;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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 { TopTopicItem } from './topTopicItem';
|
||||
|
||||
export interface TopTopicsResponse {
|
||||
items: Array<TopTopicItem>;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
export const TrendSearchType = {
|
||||
Publications: 'publications',
|
||||
Authors: 'authors',
|
||||
Patents: 'patents',
|
||||
Projects: 'projects',
|
||||
News: 'news',
|
||||
All: 'all',
|
||||
} as const;
|
||||
export type TrendSearchType =
|
||||
(typeof TrendSearchType)[keyof typeof TrendSearchType];
|
||||
@@ -21,6 +21,7 @@ export namespace TrendSeries {
|
||||
Institution: 'institution',
|
||||
Country: 'country',
|
||||
Region: 'region',
|
||||
Author: 'author',
|
||||
} as const;
|
||||
export type EntityTypeEnum =
|
||||
(typeof EntityTypeEnum)[keyof typeof EntityTypeEnum];
|
||||
|
||||
Reference in New Issue
Block a user